Differential Equations

Sturm-Liouville Theory: The Master Eigenvalue Problem Behind Special Functions

Almost every "special function" you met in a physics course — Legendre polynomials, Bessel functions, Hermite and Laguerre polynomials, spherical harmonics — is secretly the same object: an eigenfunction of a second-order differential operator that is self-adjoint. Sturm-Liouville theory is the single structural fact that explains why. It says that the operator ℒu = −(p u′)′ + q u, acting on functions on [a,b] with suitable boundary conditions, has a purely discrete real spectrum λ₁ < λ₂ < λ₃ < ⋯ → +∞, and that its eigenfunctions {φₙ} form a complete orthonormal basis of the weighted Hilbert space L²([a,b], w dx).

The payoff: any reasonable function can be expanded as f = ∑ₙ ⟨f, φₙ⟩ φₙ, a generalized Fourier series that converges in L². Ordinary Fourier series (sines and cosines) are just the special case p ≡ w ≡ 1, q ≡ 0. The theory, developed by Jacques Charles François Sturm and Joseph Liouville in a celebrated series of papers from 1836–1837, is the prototype of all spectral theory.

  • FieldSpectral theory / ODEs / functional analysis
  • Named forCharles Sturm & Joseph Liouville (1836–1837)
  • Core operatorℒu = −(p u′)′ + q u, self-adjoint on L²(w)
  • Key conclusionDiscrete real spectrum λₙ ↑ +∞; eigenfunctions complete & orthogonal
  • Proof techniqueGreen's function → compact self-adjoint integral operator → spectral theorem
  • Generalizes toFourier series, special functions, unbounded self-adjoint operators, Weyl–Titchmarsh

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

The precise statement: a regular Sturm-Liouville problem

A regular Sturm-Liouville problem on a finite interval [a,b] is the eigenvalue equation

−(p(x) u′(x))′ + q(x) u(x) = λ w(x) u(x),   a ≤ x ≤ b,

together with separated boundary conditions α₁u(a) + α₂u′(a) = 0 and β₁u(b) + β₂u′(b) = 0 (with (α₁,α₂) ≠ 0, (β₁,β₂) ≠ 0). The regularity hypotheses are essential: p ∈ C¹[a,b] with p(x) > 0, w ∈ C[a,b] with w(x) > 0, and q ∈ C[a,b] real. Then:

  • The eigenvalues form an increasing real sequence λ₁ < λ₂ < λ₃ < ⋯ → +∞, each simple (one-dimensional eigenspace).
  • The eigenfunctions {φₙ} are orthogonal in the weighted inner product ⟨f,g⟩ = ∫ₐᵇ f g̅ w dx, and after normalization form a complete orthonormal basis of L²([a,b], w dx).
  • φₙ has exactly n−1 zeros in the open interval (a,b) — Sturm's oscillation theorem.

Completeness is the deep claim: every f ∈ L²(w) equals ∑ₙ ⟨f,φₙ⟩ φₙ in the L² norm.

The picture: self-adjointness forced by a perfect derivative

The whole theory rests on one integration-by-parts identity, Lagrange's identity. For the operator ℒu = −(p u′)′ + q u,

∫ₐᵇ (ℒu · v̅ − u · ℒ̅v) dx = −[ p (u′ v̅ − u v̅′) ]ₐᵇ,

and the boundary term on the right vanishes precisely because of the separated boundary conditions. So ⟨ℒu, v⟩ = ⟨u, ℒv⟩: the operator is symmetric (formally self-adjoint) on its domain. That single fact is the engine. Symmetry immediately forces eigenvalues to be real (⟨ℒφ,φ⟩ = λ‖φ‖² = ⟨φ,ℒφ⟩ = λ̅‖φ‖²) and eigenfunctions with different eigenvalues to be orthogonal ((λₘ − λₙ)⟨φₘ,φₙ⟩ = 0). Writing the ODE in the divergence form −(p u′)′ is not cosmetic — it is exactly what makes the boundary term a perfect bracket. Any second-order operator au″ + bu′ + cu can be converted to this self-adjoint form by multiplying through by the integrating factor (1/a)·exp(∫ b/a dx), which is why the theory is universal rather than special.

Key idea of the proof: invert the operator to get compactness

Symmetry gives orthogonality and real eigenvalues cheaply, but completeness — that the eigenfunctions span everything — is harder, because ℒ is an unbounded operator and unbounded symmetric operators need not have any complete eigenbasis. The trick is to invert. Shift λ so that 0 is not an eigenvalue; then ℒ has a Green's function G(x,ξ), built from two solutions y₁, y₂ satisfying the left/right boundary conditions, glued by the Wronskian jump condition. The inverse operator

(ℒ⁻¹ f)(x) = ∫ₐᵇ G(x,ξ) f(ξ) w(ξ) dξ = K f

is an integral operator with a continuous, symmetric kernel. By the Arzelà–Ascoli / Hilbert–Schmidt argument, K is a compact self-adjoint operator on L²(w). Now invoke the spectral theorem for compact self-adjoint operators: K has a complete orthonormal eigenbasis with eigenvalues μₙ → 0. Undoing the inversion, φₙ are eigenfunctions of ℒ with λₙ = 1/μₙ → ∞, and completeness of K's basis is completeness for ℒ. Compactness, obtained by inverting, is the whole game.

Canonical example: Fourier series as the simplest case

Take p ≡ 1, q ≡ 0, w ≡ 1 on [0, π] with Dirichlet conditions u(0) = u(π) = 0. The problem collapses to −u″ = λu, the classical vibrating-string equation. Solutions are u(x) = sin(√λ x); the boundary condition u(π)=0 forces √λ π = nπ, so

λₙ = n²,   φₙ(x) = √(2/π) · sin(n x),   n = 1, 2, 3, …

Everything the theorem promises is visible: eigenvalues n² are real, simple, increasing to +∞; φₙ has exactly n−1 interior zeros; the {sin nx} are orthogonal; and completeness is precisely the classical Fourier sine-series theorem. A less trivial case: Legendre's equation ((1−x²)u′)′ + λu = 0 on [−1,1] is Sturm-Liouville with p = 1−x², w = 1. Requiring boundedness at the singular endpoints x = ±1 selects λ = n(n+1) and the eigenfunctions are the Legendre polynomials Pₙ(x) — the same machine, run on a singular problem, produces an entire family of orthogonal polynomials.

Why the hypotheses matter — and where they break

Positivity of p and w is not optional. If p vanishes inside (a,b), the leading term degenerates, the ODE becomes singular, and eigenvalues can cease to be discrete or bounded below. Separated (or periodic) boundary conditions are what kill the Lagrange boundary term; drop them and ℒ is no longer symmetric, so eigenvalues may go complex and the eigenfunctions lose orthogonality. Simplicity of eigenvalues also depends on separated conditions: the periodic problem u(a)=u(b), u′(a)=u′(b) is self-adjoint but eigenvalues can be double — e.g. −u″ = λu on [0,2π] periodic gives λ = n² with the two-dimensional span {cos nx, sin nx}. On infinite intervals or with singular endpoints (Hermite on ℝ, Bessel at 0) the resolvent may fail to be compact and continuous spectrum appears; the correct framework is then Weyl–Titchmarsh theory and the limit-point/limit-circle dichotomy. The theory connects directly to the spectral theorem for self-adjoint operators in Hilbert space, of which it is the founding archetype.

Why it matters: the master template for eigenfunction expansions

Sturm-Liouville theory is the reason separation of variables works for the heat, wave, and Schrödinger equations. Separating a PDE on a domain produces an ODE eigenvalue problem in each coordinate; because that problem is Sturm-Liouville, its eigenfunctions form a complete basis, so the full PDE solution is a convergent series ∑ cₙ φₙ(x) Tₙ(t). This is exactly how you get Fourier series on an interval, Fourier–Bessel series in a cylinder, and Legendre/spherical-harmonic expansions on a sphere. In quantum mechanics the time-independent Schrödinger equation −ψ″ + V ψ = E ψ is a Sturm-Liouville problem: discreteness of the spectrum is the quantization of energy, and completeness is the statement that energy eigenstates span the Hilbert space. Historically the theory launched spectral analysis: it is the finite, tractable ancestor of the Hilbert-space spectral theorem, of Weyl's work on singular operators, and of the modern inverse spectral problem ("can you hear the shape of a drum?"). Nearly every eigenfunction expansion in applied mathematics is a Sturm-Liouville expansion in disguise.

Classical special functions realized as regular or singular Sturm-Liouville eigenproblems −(pu′)′ + qu = λ w u.
Special functionInterval [a,b]p(x)weight w(x)eigenvalues λₙ
Fourier (sine/cosine)[0, π]11
Legendre Pₙ[−1, 1]1 − x²1n(n+1)
Chebyshev Tₙ[−1, 1]√(1 − x²)1/√(1 − x²)
Hermite Hₙ(−∞, ∞)e^(−x²)e^(−x²)2n
Laguerre Lₙ[0, ∞)x e^(−x)e^(−x)n
Bessel Jᵥ (order ν)[0, R]xxj²ᵥ,ₙ / R²

Frequently asked questions

Why must the operator be written in the divergence form −(p u′)′ rather than p u″ + p′ u′?

They are algebraically equal, but the divergence form is what makes Lagrange's identity produce a perfect boundary bracket [p(u′v̅ − uv̅′)] under integration by parts. That bracket vanishes exactly for separated boundary conditions, which is what makes ℒ symmetric. Any second-order operator au″ + bu′ + cu can be put into self-adjoint form by multiplying by the integrating factor (1/a)exp(∫b/a dx), so no generality is lost.

Why is completeness (not just orthogonality) the hard part?

Orthogonality and real eigenvalues follow immediately from symmetry, which is elementary. But a symmetric unbounded operator can fail to have a complete eigenbasis. Completeness requires compactness, obtained by inverting ℒ to the integral operator with the Green's-function kernel and applying the spectral theorem for compact self-adjoint operators. Without that inversion step there is no guarantee the eigenfunctions span L²(w).

What is the weight function w and why does the inner product use it?

w appears on the right-hand side, λ w u, so the natural inner product for which ℒ is symmetric is ⟨f,g⟩ = ∫ f g̅ w dx, and the eigenfunctions are orthogonal in THAT weighted L²(w), not the plain L². For Chebyshev polynomials w = 1/√(1−x²); for Hermite w = e^(−x²). Using the wrong weight makes the eigenfunctions look non-orthogonal.

Does the theory work on infinite intervals like ℝ for the Hermite functions?

Not as a regular problem — those are singular Sturm-Liouville problems. The resolvent may fail to be compact and continuous spectrum can appear. The correct machinery is Weyl–Titchmarsh theory with the limit-point/limit-circle classification of endpoints. For Hermite on ℝ you happen to still get a pure point spectrum (λ = 2n) because the confining potential x² grows, but that is a fact to be proved, not assumed.

Why are the eigenvalues of a regular problem simple, but periodic problems can have double eigenvalues?

Simplicity comes from the separated boundary conditions: a solution is pinned by one condition at each endpoint, leaving a one-dimensional solution space per eigenvalue. Periodic conditions u(a)=u(b), u′(a)=u′(b) are still self-adjoint but couple both endpoints, allowing a two-dimensional eigenspace — e.g. −u″ = n²u on [0,2π] periodic has both cos nx and sin nx.

How does Sturm's oscillation theorem — φₙ has exactly n−1 zeros — get proved?

Via the Sturm comparison and separation theorems: between consecutive zeros of a solution for eigenvalue λ, any solution for a larger eigenvalue λ′ > λ must have a zero. Increasing λ monotonically increases the number of oscillations, and a Prüfer-angle argument (writing u = r sinθ, pu′ = r cosθ and tracking θ) shows the count increases by exactly one at each eigenvalue, giving n−1 interior zeros for φₙ.