Skip to content
The book

Sturm–Liouville problems and Green's functions

Why this is asked: Eigenvalues of a regular Sturm–Liouville problem are real, simple and unbounded above; eigenfunctions for distinct eigenvalues are orthogonal with respect to the weight. Green's function is built from the two boundary solutions.

In one sentence

A Sturm–Liouville problem has real, simple eigenvalues increasing to infinity with eigenfunctions orthogonal in a weighted inner product, and the Green's function inverts the operator exactly when zero is not among those eigenvalues.

Why the exam asks it

Because it is the ODE topic with the most structure — everything is forced, so questions can ask precise things — and because the weight function and the Fredholm alternative are two places where a plausible-sounding option is wrong.

The idea

The Sturm–Liouville problem is

(p(x)y′)′+q(x)y+λw(x)y=0on [a,b],\big(p(x)y'\big)' + q(x)y + \lambda w(x)y = 0 \quad\text{on } [a,b],

with separated boundary conditions, p,w>0p, w > 0 and everything continuous. That is the regular case; if pp or ww vanishes at an endpoint, or the interval is infinite, it is singular and the conclusions weaken.

For a regular problem:

  • Eigenvalues are real, simple, and form an increasing sequence λ1<λ2<⋯→∞\lambda_1 < \lambda_2 < \cdots \to \infty.
  • Eigenfunctions for distinct eigenvalues are orthogonal with respect to the weight ww: ∫abymynw dx=0\int_a^b y_m y_n w\,dx = 0.
  • The eigenfunctions form a complete orthogonal basis of Lw2[a,b]L^2_w[a,b].
  • The nn-th eigenfunction has exactly n−1n-1 zeros inside (a,b)(a,b).

The reality of the eigenvalues comes from self-adjointness, exactly as for Hermitian matrices in the linear algebra unit — this is that theorem in infinite dimensions.

The example everything is checked against

y′′+λy=0,y(0)=y(π)=0.y'' + \lambda y = 0, \qquad y(0) = y(\pi) = 0.

Here p=w=1p = w = 1 and q=0q = 0. Solutions sin⁡(λ x)\sin(\sqrt\lambda\, x) satisfy the left condition; the right one forces λ π=nπ\sqrt\lambda\,\pi = n\pi, so

λn=n2,yn=sin⁡(nx),n=1,2,3,…\lambda_n = n^2, \qquad y_n = \sin(nx), \qquad n = 1,2,3,\dots

Real, simple, increasing to infinity. Orthogonal: ∫0πsin⁡(mx)sin⁡(nx) dx=0\int_0^\pi \sin(mx)\sin(nx)\,dx = 0 for m≠nm\ne n, and π/2\pi/2 when m=nm = n. And sin⁡(nx)\sin(nx) has exactly n−1n-1 interior zeros. That is the Fourier sine series, and it is a Sturm–Liouville expansion.

Changing the boundary conditions to y′(0)=y′(π)=0y'(0) = y'(\pi) = 0 gives λn=n2\lambda_n = n^2 with yn=cos⁡(nx)y_n = \cos(nx) and n=0n = 0 now allowed — so λ=0\lambda = 0 becomes an eigenvalue, which matters below.

Green's functions

To solve Ly=fLy = f with homogeneous boundary conditions, write

y(x)=∫abG(x,t)f(t) dt.y(x) = \int_a^b G(x,t)f(t)\,dt .

GG is built from two homogeneous solutions, uu satisfying the left condition and vv the right:

G(x,t)=u(x<) v(x>)p(t) W(t),G(x,t) = \frac{u(x_<)\,v(x_>)}{p(t)\,W(t)},

with x<=min⁡(x,t)x_< = \min(x,t) and x>=max⁡(x,t)x_> = \max(x,t). Properties worth carrying:

  • GG is symmetric, G(x,t)=G(t,x)G(x,t) = G(t,x), because the operator is self-adjoint.
  • GG is continuous in xx, and ∂G/∂x\partial G/\partial x jumps by 1/p(t)1/p(t) across x=tx = t.

Existence is the Fredholm alternative. GG exists exactly when the homogeneous problem has only the zero solution — that is, when λ=0\lambda = 0 is not an eigenvalue. If it is, then Ly=fLy = f is solvable only for ff orthogonal to the null space, and the solution is not unique.

So for y′′=fy'' = f with y(0)=y(π)=0y(0)=y(\pi)=0 a Green's function exists, since the eigenvalues are n2≥1n^2 \ge 1. With Neumann conditions it does not, since λ=0\lambda = 0 is an eigenvalue with constant eigenfunction.

Where intuition breaks

"Eigenfunctions are orthogonal in the usual L2L^2 inner product." With respect to the weight ww. When w=1w = 1 the two coincide, which is why the qualifier is easy to lose — and questions set w≠1w \ne 1 precisely to test it.

"Eigenvalues could be complex." Real, for a regular problem, by self-adjointness. Options offer complex eigenvalues as a plausible-looking possibility.

"Eigenvalues could repeat." Simple, in the regular separated case — one eigenfunction each up to scalars. Periodic boundary conditions are the exception, where sin⁡\sin and cos⁡\cos share an eigenvalue.

"A Green's function always exists." Only when zero is not an eigenvalue. Neumann conditions on y′′=fy'' = f are the standard failure.

"GG is smooth." Continuous, with a jump in its xx-derivative across the diagonal. That jump is what produces the delta function, and it is often the thing being asked for.

"The eigenfunctions span everything." They span Lw2L^2_w, which is the right statement — completeness in the weighted space, not pointwise convergence for every function.

"Singular problems behave the same." Bessel and Legendre are singular, and the conclusions need care: the spectrum may be continuous, and boundedness at the singular endpoint replaces a boundary condition.

The exam's angle

  1. Put the equation into Sturm–Liouville form by finding the integrating factor; then pp, qq and ww are readable and the weight is settled.
  2. Solve the constant-coefficient case and impose the boundary conditions. Almost every examinable problem is y′′+λy=0y'' + \lambda y = 0 with some pair of conditions.
  3. Count zeros to identify which eigenfunction is which — the nn-th has n−1n-1 interior zeros.
  4. For Green's function existence, ask whether λ=0\lambda = 0 is an eigenvalue. That is the whole test.
  5. Use orthogonality to compute coefficients — the expansion coefficients are inner products with the weight.

The night before

  • Regular Sturm–Liouville: (py′)′+qy+λwy=0(py')' + qy + \lambda wy = 0, p,w>0p, w > 0, separated conditions.
  • Eigenvalues real, simple, increasing to ∞\infty. Eigenfunctions orthogonal with weight ww, complete in Lw2L^2_w, the nn-th with n−1n-1 interior zeros.
  • y′′+λy=0y'' + \lambda y = 0, y(0)=y(π)=0y(0)=y(\pi)=0: λn=n2\lambda_n = n^2, yn=sin⁡nxy_n = \sin nx, ∫0πsin⁡2(nx)=π/2\int_0^\pi \sin^2(nx) = \pi/2.
  • Self-adjointness is why the eigenvalues are real — the Hermitian theorem in infinite dimensions.
  • G(x,t)=u(x<)v(x>)/(pW)G(x,t) = u(x_<)v(x_>)/(pW); symmetric; continuous with a derivative jump 1/p(t)1/p(t).
  • Green's function exists   ⟺  \iff λ=0\lambda = 0 is not an eigenvalue. Fails for Neumann on y′′=fy'' = f.
  • Singular problems (Bessel, Legendre) need separate care.

See it move

Sturm–Liouville: what self-adjointness buysinteractive

This visual is part of Trap Analysis

Real eigenvalues, orthogonal eigenfunctions and simplicity — from one integration by parts.

Unlock interactive visuals

The trap here

“Every boundary value problem has a Green's function” — false

y′′+π2y=fy'' + \pi^{2}y = f on [0,1] with y(0) = y(1) = 0

λ=π2\lambda = \pi^{2} is an eigenvalue of the homogeneous problem, so the operator is not invertible and no Green's function exists.

More on this →

More in Ordinary Differential Equations

Take it further

Last revised . Found a mistake? Tell us — corrections are the fastest thing we act on.

Next: Stability and phase portraits

Create a free account to keep your place and have this feed your study plan.

ShareWhatsAppTelegram

Open this in the full syllabus view · Unit 3