4.7.2 · D3Partial Differential Equations

Worked examples — Initial value problems (IVP) vs boundary value problems (BVP)

2,179 words10 min readBack to topic

This page is the exhaustive case-book for the parent topic on IVPs and BVPs. The parent told you what the distinction is. Here we walk through every kind of outcome a second-order problem can produce, so you never meet a scenario you have not already seen solved.


The scenario matrix

Before defining anything new, here is the map of every cell we must cover. Each row is a class of situation; the last column names the example that hits it.

# Cell (scenario class) Key question Outcome Example
A IVP, both data at one point Wronskian ? Always unique Ex 1
B IVP with (the " trap") Same point, not zero? Still unique Ex 2
C BVP, Matrix invertible? Unique Ex 3
D BVP, , target reachable Compatible RHS? Infinitely many Ex 4
E BVP, , target unreachable Incompatible RHS? No solution Ex 5
F Eigenvalue sweep (which break it?) For which parameter is ? Discrete "resonant" values Ex 6
G Degenerate ODE () — real-world rod Straight-line family Unique linear profile Ex 7
H Mixed / Robin BVP (value at one end, slope at other) Different points still? BVP, check Ex 8
I Exam twist: same numbers, IVP vs BVP swap Where do the conditions live? One unique, one singular Ex 9

Two symbols recur, both built in the parent — let us re-anchor them in one breath so nothing here is unexplained.


Group 1 — IVPs always work (cells A, B)


Group 2 — BVPs: the three fates (cells C, D, E)

Here we hit the same ODE three times, changing only the endpoints. This is the heart of the topic: counting conditions is not enough. Look at the figure — it shows why is the "dangerous" interval.

Figure — Initial value problems (IVP) vs boundary value problems (BVP)
Recall The fork at

When , is the answer "no solution" or "infinitely many"? ::: Depends on the target: if the boundary data is compatible with the singular system (RHS in the column space) → infinitely many; if incompatible → none.


Group 3 — The eigenvalue sweep (cell F)

Now vary a parameter and ask: for which values does the BVP go singular? These special values are eigenvalues; the whole subject of Sturm-Liouville Theory is this question asked systematically.

Figure — Initial value problems (IVP) vs boundary value problems (BVP)

Group 4 — Degenerate ODE, real-world word problem (cell G)


Group 5 — Mixed / Robin BVP (cell H)

A condition can mix a value and a slope — but what makes it a BVP is that they live at different points. Contrast this with the parent's warning: and (same point) would be an IVP.


Group 6 — Exam twist (cell I)


Recall check

Recall Rapid-fire over the whole matrix

Cell C vs D: what single quantity separates "unique" from "infinitely many"? ::: — nonzero gives unique, zero pushes you to the none/∞ fork. Cell F: for , , list the eigenvalues. ::: with eigenfunctions . Cell H: are and together an IVP or BVP? ::: BVP — different points, even though one is a slope. Cell G: solution of , ? ::: , midpoint C, unique since . Cell I: same data — why does IVP give one solution but BVP give infinitely many? ::: IVP has both conditions at one point (Wronskian ); BVP reads the second at where frees .

Connections