Boundary Value Problems
Problem
Solve y'' + y = 0 with y(0) = 0, y(pi) = 0. Identify the eigenvalue condition that produces non-trivial solutions and explain why infinitely many exist.
Explanation
IVP vs BVP — why they're different
An initial value problem (IVP) pins both the value and (usually) the derivative at the same point: , . Picard–Lindelöf guarantees a unique solution nearby.
A boundary value problem (BVP) pins values at different points: , . This is a totally different beast. A BVP may have
- Zero solutions,
- A unique solution, or
- Infinitely many solutions — depending on the ODE and the boundary values. There's no Picard–Lindelöf analogue.
When a BVP admits only the trivial solution for generic data but infinitely many for special data, those special data points are eigenvalues and the corresponding solutions are eigenfunctions. This is the structure that turns up in quantum mechanics, vibrating-string / drum-head problems, and PDEs solved by separation of variables.
The given BVP
Step-by-step analysis
Step 1 — General solution of the ODE.
Characteristic equation . See #184.
Step 2 — Apply boundary condition at .
So .
Step 3 — Apply boundary condition at .
This is satisfied for every value of . So the BVP has infinitely many solutions: for any constant .
Why this happened — the eigenvalue structure
The BVP is part of a family: parameterised by . For generic , the unique solution satisfying both boundary conditions is (the trivial solution). For special values of , non-trivial solutions exist.
Step A. General solution for : .
Step B. , so .
Step C. . Either (trivial solution) or . The latter requires for integer :
These are the eigenvalues, and the corresponding eigenfunctions are
Our original problem has , so it's the first eigenvalue () and the first eigenfunction .
Why there are infinitely many eigenvalues
Every integer works because for every integer . So we get an infinite sequence of eigenvalue–eigenfunction pairs:
- , (one half-wave on ).
- , (two half-waves).
- , (three half-waves).
- , ( half-waves).
These are the standing-wave modes of a guitar string of length pinned at both ends.
Sturm–Liouville perspective
Any linear BVP of the form with appropriate boundary conditions, is a Sturm–Liouville problem. Under mild hypotheses, its eigenvalues form a discrete, increasing, unbounded sequence , and its eigenfunctions are orthogonal under the weight :
This orthogonality is the foundation of Fourier series (the case of ) and generalises to Legendre polynomials, Bessel functions, spherical harmonics, etc.
When a BVP has no solution
Consider , , . General solution , boundary conditions give and → . Unique solution .
Now change to , , with as the second boundary condition (both at the same point, a contradiction). No solution — the boundary data is inconsistent.
Non-homogeneous BVPs at resonance with an eigenvalue can also fail to have a solution. The Fredholm alternative makes this precise: a BVP at an eigenvalue has solutions iff the forcing is orthogonal to the homogeneous eigenfunctions.
Physical meaning — standing waves on a string
The BVP , describes a taut string fixed at both ends of length . Allowed modes are with frequencies (for wave speed ). The fundamental () is the lowest pitch; are overtones. This is literally the math of musical instruments.
Initial conditions vs boundary conditions
IVP: "Given where you are and how fast you're moving right now, where will you be later?" — a forward-in-time propagation.
BVP: "You start here, and you must end there — how should you get there?" — a constraint across space/time; no unique answer unless the ODE plus endpoints cooperate.
Common mistakes
- Using Picard–Lindelöf for BVPs. The existence–uniqueness theorem is specifically for IVPs. BVPs can have many or no solutions even for smooth ODEs.
- Missing negative- and cases. In the systematic eigenvalue search for , one has to rule out (by showing only the trivial solution satisfies the BCs for those values) before pinning down the positive eigenvalue ladder.
- Forgetting orthogonality. Sturm–Liouville eigenfunctions are orthogonal — a miraculous fact that makes Fourier-style expansions possible. Knowing this shapes how you solve associated PDEs.
- Confusing eigenvalue of a BVP with eigenvalue of a matrix. They're related (one is the spectrum of a differential operator, the other of a matrix) but involve very different machinery.
Try it in the visualization
Sweep continuously and watch how the solution satisfying evolves. As hits , the solution's value at is forced to zero — the eigenvalue condition — and you unlock a whole line of non-trivial solutions. Between eigenvalues, only the flat can satisfy both BCs.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.