Sturm-Liouville Theory and Eigenfunction Expansions

Almost every exactly solvable problem in mathematical physics passes through one gateway: separation of variables turns a PDE into ODEs, and one of those is a Sturm–Liouville eigenvalue problem. The separation constant becomes an eigenvalue, the separated factor an eigenfunction, and the series solution an expansion of the data over those eigenfunctions. Sturm–Liouville theory guarantees this works — that the eigenfunctions exist, are mutually orthogonal, and are complete — exactly the facts one silently assumes when writing a Fourier-type series. The structural engine is a single observation: the operator L[y]=−(p y′)′+q yL[y] = -(p\,y')' + q\,y is formally self-adjoint, and becomes genuinely self-adjoint the moment the boundary conditions kill the boundary term in Lagrange's identity. Self-adjointness is the infinite-dimensional analogue of a real symmetric matrix, paying the same three dividends: real eigenvalues, orthogonal eigenvectors, and a spectral decomposition. The catch beginners miss is that orthogonality lives in a weighted inner product set by the density w(x)w(x) — the weight is part of the problem, not a decoration. This is the flagship of the PDE-methods chapter. It grounds the abstract machinery — self-adjoint form, reality and orthogonality, eigenfunction expansions and completeness — in the two figures every physicist carries: the ladder of vibrating-string modes ordered by node count, and the reconstruction of arbitrary data by a generalized Fourier series. Everything that follows (spherical and cylindrical separation, Green's functions, Helmholtz) is a special case of what is proved here.

Key takeaways
  • A Sturm–Liouville problem is the eigenvalue equation (p y′)′+(q+λw) y=0(p\,y')' + (q + \lambda w)\,y = 0 on [a,b][a,b] together with separated, self-adjoint boundary conditions; the eigenvalue λ\lambda is the separation constant.
  • Self-adjointness in the weighted inner product ⟨f,g⟩w=∫abfˉ g w dx\langle f,g\rangle_w = \int_a^b \bar f\,g\,w\,\mathrm{d}x forces all λn\lambda_n real, eigenfunctions for distinct λn\lambda_n orthogonal, and (regular case) {yn}\{y_n\} a complete basis of Lw2[a,b]L^2_w[a,b].
  • Any second-order linear ODE a2y′′+a1y′+a0y=0a_2 y'' + a_1 y' + a_0 y = 0 is a disguised S–L equation via the integrating factor p=exp⁡ ⁣∫(a1/a2) dxp = \exp\!\int (a_1/a_2)\,\mathrm{d}x, so the theory is universal.
  • Eigenfunction expansions f=∑ncnynf = \sum_n c_n y_n with cn=⟨yn,f⟩w/⟨yn,yn⟩wc_n = \langle y_n,f\rangle_w / \langle y_n,y_n\rangle_w generalize Fourier series, turning PDE solving into projection onto modes.
  • Regular problems have a discrete, simple, real spectrum λ1<λ2<⋯→∞\lambda_1 < \lambda_2 < \cdots \to \infty with yny_n carrying exactly n−1n-1 interior nodes (Sturm); singular problems (Bessel, Legendre, Hermite) trade a boundary value for a regularity or decay condition and generate the special functions of physics.
  • Key idea: cast any second-order linear ODE into the self-adjoint form −(p y′)′+q y=λw y-(p\,y')' + q\,y = \lambda w\,y; self-adjointness under the boundary conditions then forces real eigenvalues, ww-orthogonal eigenfunctions, and a complete basis, turning PDE solving into the projection of data onto eigenmodes.

Where this lives today

The theory is the silent backbone of computational physics. Every finite-element and spectral-method PDE solver diagonalizes a discretized self-adjoint operator and expands the solution in its eigenmodes — the descendant of f=∑cnynf = \sum c_n y_n. In quantum mechanics the Schrödinger equation is a singular S–L problem, and bound-state expansions, orthonormal eigenstates and variational energy bounds (the Rayleigh–Ritz method behind quantum chemistry and density-functional theory) are S–L theory in physics notation; an electronic-structure code computing a molecule's ground state is Example 2 at scale. Structural engineering reads the eigenvalues as vibration frequencies and buckling loads — the modal analysis certifying a bridge or turbine blade; in photonics and acoustics they are the guided modes of a fiber or waveguide, with the S–L weight as the mode-overlap metric. Even the open frontier is S–L-shaped: "can you hear the shape of a drum?", PT\mathcal{PT}-symmetric operators with real spectra, and quantum graphs are all live programs about the same operator, its weight, and its boundary conditions.

The physical picture

Hold the whole theory in one image: the Sturm–Liouville operator is an infinite-dimensional Hermitian matrix. A real symmetric MM has real eigenvalues and orthogonal eigenvectors spanning the space; the self-adjoint LL has real eigenvalues λn\lambda_n and orthogonal eigenfunctions yny_n spanning Lw2L^2_w. Separating variables is just diagonalizing LL and re-expressing the data in its eigenbasis — rotating a vector into the principal axes of a quadratic form. The first figure shows that eigenbasis for the cleanest case, a string clamped at both ends, and carries the quantization rule Sturm's theorem makes visual: mode nn has exactly n−1n-1 interior zeros, so counting nodes is ordering the spectrum.

Figure
First three eigenmodes of a string fixed at both ends: yₙ = √(2/L) sin(nπx/L) with eigenvalue λₙ = n²π²/L². Mode n has exactly n−1 interior nodes (Sturm's theorem), so the ladder λ₁ = π²/L² < λ₂ = 4π²/L² < λ₃ = 9π²/L² is fixed purely by node count.
Eigenmodes of yʺ + λy = 0 on [0, L], y(0) = y(L) = 0 — node count fixes the ladder n = 1 · 0 nodes · λ₁ = π²/L² n = 2 · 1 node · λ₂ = 4π²/L² n = 3 · 2 nodes · λ₃ = 9π²/L² x = 0 x = L

The second image is the payoff of completeness. Because {yn}\{y_n\} spans Lw2L^2_w, any square-integrable datum can be written f=∑ncnynf = \sum_n c_n y_n with cnc_n the projection onto mode nn. The picture rebuilds a blunt target, f=1f = 1, from a few sine modes: one term is a lone arch, five odd terms track the flat top, and the overshoot near each end is the Gibbs phenomenon — the signature that L2L^2 (mean-square) convergence is not convergence at every point. Completeness promises the mean-square error vanishes, not a pointwise match at a jump.

Figure
Completeness in action: Fourier sine partial sums Sₙ(x) = Σ (4/nπ) sin(nπx/L) rebuild the constant f = 1 on (0, L). One term (N = 1) is a single arch; five odd terms (N = 9) track the flat top but overshoot by ≈ 18% near each end — the Gibbs phenomenon of mean-square (L²) convergence.
Eigenfunction expansion of f = 1: more modes, smaller mean-square error f = 1 N = 1 (c₁ = 4/π) N = 9 (n = 1,3,5,7,9) x = 0 x = L Gibbs overshoot ≈ 1.18

The core equations

The starting point is the equation itself, in divergence (self-adjoint) form where the top term appears as the derivative of p y′p\,y' — the packaging that later lets an integration by parts land cleanly.

ddx ⁣(p(x) dydx)+(q(x)+λ w(x)) y=0,a≤x≤b(1)\frac{\mathrm{d}}{\mathrm{d}x}\!\left(p(x)\,\frac{\mathrm{d}y}{\mathrm{d}x}\right) + \big(q(x) + \lambda\,w(x)\big)\,y = 0, \qquad a \le x \le b \qquad (1)

where: p(x)p(x) — leading coefficient, p∈C1p \in C^1 with p>0p > 0 on (a,b)(a,b) for the regular case; q(x)q(x) — real continuous potential-like term; w(x)w(x) — weight (density), w>0w > 0, defining the inner product; λ\lambda — eigenvalue (separation constant); y(x)y(x) — eigenfunction. Reading it: a stiffness pp, a restoring term qq, and an eigenvalue-scaled mass density ww set the balance a mode must strike. The same equation rearranges into an operator eigenvalue problem L[y]=λyL[y] = \lambda y, the form that makes the analogy with a Hermitian matrix exact.

L[y]≡−1w[ddx ⁣(p dydx)+q y]=λ y(2)L[y] \equiv -\frac{1}{w}\left[\frac{\mathrm{d}}{\mathrm{d}x}\!\left(p\,\frac{\mathrm{d}y}{\mathrm{d}x}\right) + q\,y\right] = \lambda\,y \qquad (2)

where: LL — the self-adjoint Sturm–Liouville operator on the weighted space Lw2[a,b]L^2_w[a,b]. Reading it: its eigenvalues are the physical spectrum (frequencies, decay rates, energies) and its eigenfunctions are the modes. The theory is universal because every second-order linear ODE can be dragged into form (1) by an integrating factor — which is why Bessel, Legendre, Hermite and Laguerre all inherit the S–L guarantees.

a2y′′+a1y′+a0y=0 ⟹ p=exp⁡ ⁣∫ ⁣a1a2 dx,q=a0a2 p,w=pa2(3)a_2 y'' + a_1 y' + a_0 y = 0 \ \Longrightarrow\ p = \exp\!\int\!\frac{a_1}{a_2}\,\mathrm{d}x, \quad q = \frac{a_0}{a_2}\,p, \quad w = \frac{p}{a_2} \qquad (3)

where: a2,a1,a0a_2, a_1, a_0 — the original coefficients, a2≠0a_2 \neq 0. Reading it: the weight w=p/a2w = p/a_2 is forced by the ODE, and computing coefficients without it is the most common source of wrong answers. Orthogonality only makes sense once the inner product is fixed, and for S–L it is the weighted one — ww is the metric of the function space (w=1w = 1 for Fourier, w=rw = r for Bessel, w=e−x2w = e^{-x^2} for Hermite).

⟨f,g⟩w=∫abf(x)‾ g(x) w(x) dx(4)\langle f, g\rangle_w = \int_a^b \overline{f(x)}\,g(x)\,w(x)\,\mathrm{d}x \qquad (4)

where: f‾\overline{f} — complex conjugate (eigenfunctions may be chosen real in the regular case). Reading it: "orthogonal" always means ⟨ym,yn⟩w=0\langle y_m, y_n\rangle_w = 0, never the unweighted integral. The heart of the machinery is Lagrange's identity, which converts the difference of two operator actions into a pure boundary term. Self-adjointness — and every spectral guarantee — is exactly the statement that this boundary term vanishes.

∫ab(uˉ L[v]−L[u]‾ v) w dx=[ p(uˉ v′−uˉ′ v)]ab(5)\int_a^b \big(\bar u\,L[v] - \overline{L[u]}\,v\big)\,w\,\mathrm{d}x = \Big[\,p\big(\bar u\,v' - \bar u'\,v\big)\Big]_a^b \qquad (5)

where: u,vu, v — twice-differentiable functions on [a,b][a,b]. Reading it: Dirichlet, Neumann, Robin and periodic conditions all zero the right-hand side, making ⟨u,Lv⟩w=⟨Lu,v⟩w\langle u, Lv\rangle_w = \langle Lu, v\rangle_w. Once LL is self-adjoint, expansions become projection: any datum in Lw2L^2_w is the sum of its eigenmode components, each coefficient a single inner product.

f(x)=∑n=1∞cn yn(x),cn=⟨yn,f⟩w⟨yn,yn⟩w=∫abynf w dx∫abyn2 w dx(6)f(x) = \sum_{n=1}^{\infty} c_n\,y_n(x), \qquad c_n = \frac{\langle y_n, f\rangle_w}{\langle y_n, y_n\rangle_w} = \frac{\int_a^b y_n f\,w\,\mathrm{d}x}{\int_a^b y_n^2\,w\,\mathrm{d}x} \qquad (6)

where: cnc_n — the generalized Fourier coefficient (projection onto mode nn); ff — any function in Lw2[a,b]L^2_w[a,b]. Reading it: a coefficient is the data dotted against a normalized mode. Because LL is bounded below, its lowest eigenvalue is the minimum of a Rayleigh quotient — yielding rigorous upper bounds from any trial function.

λ1=min⁡y≠0 R[y]=min⁡y≠0 [−p y y′]ab+∫ab(p y′2−q y2) dx∫aby2 w dx(7)\lambda_1 = \min_{y \neq 0}\ \mathcal{R}[y] = \min_{y \neq 0}\ \frac{\big[-p\,y\,y'\big]_a^b + \displaystyle\int_a^b \big(p\,y'^2 - q\,y^2\big)\,\mathrm{d}x}{\displaystyle\int_a^b y^2\,w\,\mathrm{d}x} \qquad (7)

where: R[y]\mathcal{R}[y] — the Rayleigh quotient; its infimum over admissible yy is λ1\lambda_1. Reading it: any admissible shape plugged in can only overestimate the fundamental — the basis of the Rayleigh–Ritz method. Finally, completeness is a closure relation: the eigenfunctions resolve the identity, and the same sum weighted by 1/(λn−λ)1/(\lambda_n - \lambda) builds the Green's function whose poles are the spectrum.

∑n=1∞yn(x) yn(ξ)⟨yn,yn⟩w=δ(x−ξ)w(ξ),G(x,ξ)=∑n=1∞yn(x) yn(ξ)(λn−λ) ⟨yn,yn⟩w(8)\sum_{n=1}^{\infty} \frac{y_n(x)\,y_n(\xi)}{\langle y_n, y_n\rangle_w} = \frac{\delta(x-\xi)}{w(\xi)}, \qquad G(x,\xi) = \sum_{n=1}^{\infty} \frac{y_n(x)\,y_n(\xi)}{(\lambda_n - \lambda)\,\langle y_n, y_n\rangle_w} \qquad (8)

where: δ\delta — the Dirac delta; GG — the resolvent kernel of L−λL - \lambda. Reading it: completeness is the delta identity; the Green's function is the same eigenbasis with energy denominators, tying boundary-value problems to the spectrum.

Derivation AReality of eigenvalues and orthogonality of eigenfunctions

The two load-bearing pillars of the whole theory — real eigenvalues, and orthogonality of eigenfunctions for different eigenvalues — are not separate assumptions but a single consequence of self-adjointness. The goal is to derive both from Lagrange's identity in one stroke, pairing an eigenfunction against the conjugate of another so the boundary term vanishes and the remaining algebra forces reality when the indices coincide and orthogonality when they differ. Assume Lyn=λnwynL y_n = \lambda_n w y_n with boundary conditions that kill the boundary term.

Step 1. Write the eigenequation for yny_n and the complex-conjugated eigenequation for ymy_m: −(pyn′)′−qyn=λnwyn-(p y_n')' - q y_n = \lambda_n w y_n and −(pyˉm′)′−qyˉm=λˉmwyˉm-(p \bar y_m')' - q \bar y_m = \bar\lambda_m w \bar y_m. Why: conjugating lets a potentially complex eigenvalue λˉm\bar\lambda_m enter, so demanding consistency will pin it down as real.

Step 2. Multiply the first by yˉm\bar y_m, the second by yny_n, and subtract; the q yq\,y terms cancel because qq is real, leaving yˉm(pyn′)′−yn(pyˉm′)′=(λˉm−λn) w yˉmyn\bar y_m (p y_n')' - y_n (p \bar y_m')' = (\bar\lambda_m - \lambda_n)\,w\,\bar y_m y_n. Why: the qq-cancellation is why qq must be real for self-adjointness — a complex qq would spoil the argument.

Step 3. Recognize the left side as ddx[p(yˉmyn′−yˉm′yn)]\frac{\mathrm{d}}{\mathrm{d}x}[p(\bar y_m y_n' - \bar y_m' y_n)] and integrate over [a,b][a,b]: [p(yˉmyn′−yˉm′yn)]ab=(λˉm−λn)∫abyˉmyn w dx[p(\bar y_m y_n' - \bar y_m' y_n)]_a^b = (\bar\lambda_m - \lambda_n)\int_a^b \bar y_m y_n\,w\,\mathrm{d}x. Why: Lagrange's identity in the flesh — the interior integral is traded for a boundary term the self-adjoint conditions make zero.

Step 4. Set m=nm = n: 0=(λˉn−λn)∫ab∣yn∣2w dx0 = (\bar\lambda_n - \lambda_n)\int_a^b |y_n|^2 w\,\mathrm{d}x. Since the integral is strictly positive, λˉn=λn\bar\lambda_n = \lambda_n, so every eigenvalue is real and the eigenfunctions can be taken real. Why: positivity of the weighted norm does the work — why w>0w > 0 is a hypothesis, not a convenience.

Step 5. Now take m≠nm \neq n with λm≠λn\lambda_m \neq \lambda_n: the same vanishing boundary term gives 0=(λm−λn)⟨ym,yn⟩w0 = (\lambda_m - \lambda_n)\langle y_m, y_n\rangle_w, and the nonzero gap forces ⟨ym,yn⟩w=0\langle y_m, y_n\rangle_w = 0. Why: orthogonality for free — no hypothesis beyond the self-adjoint conditions already used for reality.

Go deeper · Derivation B · 1 minAny second-order linear ODE is a disguised Sturm–Liouville equation
Derivation BAny second-order linear ODE is a disguised Sturm–Liouville equation

It is not obvious that Bessel's, Legendre's and Hermite's equations — which look nothing alike and carry no visible weight — are all instances of one self-adjoint problem. The goal is to show that any a2y′′+a1y′+a0y=0a_2 y'' + a_1 y' + a_0 y = 0 can be multiplied by an integrating factor μ(x)\mu(x) turning its top two terms into a perfect derivative (p y′)′(p\,y')', after which the weight ww is read off directly — which is why the S–L guarantees are universal, not a lucky feature of a few textbook equations.

Step 1. Demand that the first two terms be an exact derivative, μa2y′′+μa1y′=(μa2 y′)′\mu a_2 y'' + \mu a_1 y' = (\mu a_2\,y')'. Expanding gives (μa2)′=μa1(\mu a_2)' = \mu a_1, so μ′/μ=a1/a2−a2′/a2\mu'/\mu = a_1/a_2 - a_2'/a_2. Why: forcing divergence form is the entire content of "self-adjoint" — the shape that makes integration by parts produce only a boundary term.

Step 2. Integrate: μ(x)=1a2exp⁡ ⁣∫a1a2 dx\mu(x) = \dfrac{1}{a_2}\exp\!\int \dfrac{a_1}{a_2}\,\mathrm{d}x, whence p≡μa2=exp⁡ ⁣∫(a1/a2) dxp \equiv \mu a_2 = \exp\!\int (a_1/a_2)\,\mathrm{d}x, automatically positive. Why: the exponential guarantees p>0p > 0 wherever a2a_2 keeps a fixed sign, so the regularity hypothesis p>0p > 0 holds away from coefficient singularities.

Step 3. With the ODE now (p y′)′+μa0 y=0(p\,y')' + \mu a_0\,y = 0, identify q=μa0=p a0/a2q = \mu a_0 = p\,a_0/a_2; and an eigenvalue term +λy+\lambda y becomes +λμy+\lambda\mu y, so w=μ=p/a2w = \mu = p/a_2. Why: the weight is derived, not chosen — why Bessel modes are orthogonal with w=rw = r and Hermite with w=e−x2w = e^{-x^2}, and why dropping ww corrupts every coefficient.

Go deeper · Derivation C · 1 minThe vibrating string: recovering the Fourier sine basis with numbers
Derivation CThe vibrating string: recovering the Fourier sine basis with numbers

The abstract theorems become concrete in the simplest regular problem, the archetype for the heat and wave equations after separation. The goal is to solve p=w=1p = w = 1, q=0q = 0 on [0,L][0,L] with Dirichlet ends, extracting the spectrum, the node structure Sturm predicts, and the normalization making the eigenfunctions orthonormal — showing the ordinary Fourier sine series is just the S–L expansion for this operator.

Step 1. The equation is y′′+λy=0y'' + \lambda y = 0 with y(0)=y(L)=0y(0) = y(L) = 0. Rule out λ≤0\lambda \le 0: the solutions y=A+Bxy = A + Bx (λ=0\lambda = 0) and Acosh⁡kx+Bsinh⁡kxA\cosh kx + B\sinh kx (λ=−k2\lambda = -k^2) are both driven to zero by the boundary conditions. Why: this is the Rayleigh quotient (7) speaking — with q=0q = 0 and Dirichlet ends R[y]>0\mathcal{R}[y] > 0, so no non-positive eigenvalue exists.

Step 2. For λ=k2>0\lambda = k^2 > 0, y=Acos⁡kx+Bsin⁡kxy = A\cos kx + B\sin kx; y(0)=0y(0) = 0 kills the cosine, giving y=Bsin⁡kxy = B\sin kx. Why: fixing one endpoint removes one constant, leaving a one-parameter family to be quantized by the other end.

Step 3. Impose y(L)=0y(L) = 0: sin⁡kL=0⇒kL=nπ\sin kL = 0 \Rightarrow kL = n\pi, so λn=n2π2/L2\lambda_n = n^2\pi^2/L^2, and yn=Bsin⁡(nπx/L)y_n = B\sin(n\pi x/L) has exactly n−1n-1 interior zeros. Why: the second boundary condition is the quantization; the node count n−1n-1 is Sturm's oscillation theorem made explicit, ordering the spectrum automatically.

Step 4. Normalize using ∫0Lsin⁡2(nπx/L) dx=L/2\int_0^L \sin^2(n\pi x/L)\,\mathrm{d}x = L/2, so B=2/LB = \sqrt{2/L} and yn=2/L sin⁡(nπx/L)y_n = \sqrt{2/L}\,\sin(n\pi x/L); expansions f=∑ncnynf = \sum_n c_n y_n are then precisely Fourier sine series. Why: the factor 2/L\sqrt{2/L} makes ⟨ym,yn⟩=δmn\langle y_m, y_n\rangle = \delta_{mn}, converting the projection formula (6) into the familiar Fourier coefficient.

Limiting cases

The character of the spectrum — discrete or continuous, real or complex, complete or not — is set by the regularity of pp, ww and the interval, and by whether the boundary conditions are self-adjoint.

CaseResultMeaning
Regular S–L (finite [a,b][a,b], p,w>0p, w > 0, separated BC)λ1<λ2<⋯→+∞\lambda_1 < \lambda_2 < \cdots \to +\infty, with λn∼n2π2/(∫abw/p dx)2\lambda_n \sim n^2\pi^2 / \left(\int_a^b \sqrt{w/p}\,\mathrm{d}x\right)^2Discrete, simple, real, bounded-below spectrum; complete orthonormal basis; yny_n has exactly n−1n-1 interior zeros.
Singular endpoint, p(a)=0p(a) = 0Boundedness of yy at aa replaces an explicit boundary valueBessel (p=rp = r, r→0r \to 0) and Legendre (p=1−x2p = 1 - x^2, x→±1x \to \pm 1): regularity selects the eigenfunctions; the spectrum stays discrete on a finite interval.
Singular on an infinite intervalσ(L)=σpoint∪σcont\sigma(L) = \sigma_{\text{point}} \cup \sigma_{\text{cont}}Hermite (harmonic oscillator) keeps a pure point spectrum via the e−x2e^{-x^2} weight; the free particle on R\mathbb{R} has purely continuous spectrum, so expansions become Fourier integrals.
Non-self-adjoint boundary conditions[p(uˉu′−uˉ′u)]ab≠0[p(\bar u u' - \bar u' u)]_a^b \neq 0Eigenvalues may be complex, eigenfunctions need not be orthogonal or complete; the spectral theorem fails outright.

Worked examples

1 · Heat flow on a rod, solved by eigenfunction expansion (fully worked)

An insulated rod of length L=1L = 1 (units where the diffusivity κ=1\kappa = 1) is held at zero temperature at both ends and starts with the parabolic profile u(x,0)=x(1−x)u(x, 0) = x(1 - x). Find the exact modal solution, the leading coefficients, and the times over which each mode dies.

Step 1. Separate u(x,t)=X(x)T(t)u(x,t) = X(x)T(t) in ut=uxxu_t = u_{xx}: the spatial factor solves X′′+λX=0X'' + \lambda X = 0 with X(0)=X(1)=0X(0) = X(1) = 0 — Derivation 3 with L=1L = 1, giving λn=n2π2\lambda_n = n^2\pi^2 and Xn=2 sin⁡(nπx)X_n = \sqrt{2}\,\sin(n\pi x); the time factor decays as e−λnte^{-\lambda_n t}, so u(x,t)=∑nbnsin⁡(nπx) e−n2π2tu(x,t) = \sum_n b_n \sin(n\pi x)\,e^{-n^2\pi^2 t}.

Step 2. Project the data onto the modes (equation 6, w=1w = 1): bn=2∫01x(1−x)sin⁡(nπx) dxb_n = 2\int_0^1 x(1-x)\sin(n\pi x)\,\mathrm{d}x. This is 4/(n3π3)4/(n^3\pi^3) for odd nn and vanishes for even nn (the data is symmetric about x=1/2x = 1/2, killing the antisymmetric modes), so bn=8/(n3π3)\mathbf{b_n = 8/(n^3\pi^3)} for odd nn.

Step 3. In numbers: b1=8/π3=0.2580b_1 = 8/\pi^3 = \mathbf{0.2580}, b3=8/(27π3)=0.009556b_3 = 8/(27\pi^3) = \mathbf{0.009556}, b5=0.002064b_5 = \mathbf{0.002064}. The coefficients fall off like n−3n^{-3}, so the parabola is nearly a single sine arch, as the two-term check b1−b3=0.2485b_1 - b_3 = 0.2485 against the exact peak u(0.5,0)=0.25u(0.5,0) = 0.25 confirms.

Step 4. Decay rates: mode nn dies with e-folding time τn=1/(n2π2)\tau_n = 1/(n^2\pi^2), so τ1=0.1013\tau_1 = \mathbf{0.1013} while τ3=0.01126\tau_3 = \mathbf{0.01126} — the third mode fades nine times faster. After a time of order τ1≈0.10\tau_1 \approx 0.10 the profile is, to better than 1%, the pure fundamental 0.2580 sin⁡(πx) e−π2t0.2580\,\sin(\pi x)\,e^{-\pi^2 t} — why smooth initial data relaxes to its lowest mode.

2 · A Rayleigh–Ritz bound on the fundamental (fully worked)

Without solving the eigenproblem, estimate the lowest eigenvalue of y′′+λy=0y'' + \lambda y = 0 on [0,1][0,1] with y(0)=y(1)=0y(0) = y(1) = 0 from a single trial function, and compare with the exact value.

Step 1. Choose the simplest admissible shape: ϕ(x)=x(1−x)\phi(x) = x(1 - x), vanishing at both ends. With p=w=1p = w = 1, q=0q = 0 and ϕ\phi meeting the Dirichlet conditions, the boundary term in (7) drops and R[ϕ]=∫01ϕ′2 dx/∫01ϕ2 dx\mathcal{R}[\phi] = \int_0^1 \phi'^2\,\mathrm{d}x \big/ \int_0^1 \phi^2\,\mathrm{d}x.

Step 2. Compute the two integrals. Numerator: ϕ′=1−2x\phi' = 1 - 2x, so ∫01(1−2x)2 dx=1/3\int_0^1 (1-2x)^2\,\mathrm{d}x = 1/3. Denominator: ∫01x2(1−x)2 dx=1/3−1/2+1/5=1/30\int_0^1 x^2(1-x)^2\,\mathrm{d}x = 1/3 - 1/2 + 1/5 = 1/30.

Step 3. Divide: R[ϕ]=(1/3)/(1/30)=10\mathcal{R}[\phi] = (1/3)/(1/30) = \mathbf{10}. The exact fundamental is λ1=π2=9.8696\lambda_1 = \pi^2 = \mathbf{9.8696}, so the crude one-parameter trial overestimates by only 1.3% — and by the variational principle it must be an upper bound. A parabola guessed in one line pins the ground-state eigenvalue to better than 2%, which is why Rayleigh–Ritz is the workhorse for drums, quantum wells and molecular energies where exact solutions are unavailable.

3 · Reading off the weight from a singular equation

Bessel's equation x2y′′+xy′+(x2−ν2)y=0x^2 y'' + x y' + (x^2 - \nu^2)y = 0 governs cylindrical modes. Cast the eigenvalue version into S–L form and identify the weight.

Step 1. Write the parametric form on [0,a][0, a]: x2y′′+xy′+(λx2−ν2)y=0x^2 y'' + x y' + (\lambda x^2 - \nu^2)y = 0, with λ\lambda the eigenvalue. Divide by xx to expose the structure: xy′′+y′+(λx−ν2/x)y=0x y'' + y' + (\lambda x - \nu^2/x)y = 0.

Step 2. Recognize xy′′+y′=(xy′)′x y'' + y' = (x y')' exactly — already divergence form with p=xp = x. Matching to (1) gives p=x\mathbf{p = x}, q=−ν2/xq = -\nu^2/x, and w=x\mathbf{w = x}.

Step 3. Because p(0)=0p(0) = 0, the endpoint x=0x = 0 is singular and boundedness of yy there replaces an explicit boundary value. Orthogonality of the Bessel modes Jν(ανkx/a)J_\nu(\alpha_{\nu k} x / a) is therefore weighted by w=xw = x: ∫0aJν(ανjx/a) Jν(ανkx/a) x dx=0\int_0^a J_\nu(\alpha_{\nu j}x/a)\,J_\nu(\alpha_{\nu k}x/a)\,x\,\mathrm{d}x = 0 for j≠kj \neq k — the "r drr\,\mathrm{d}r" every student meets in cylindrical integrals is the S–L weight, not an accident of the area element.

Physics of the portrait

Sturm–Liouville theory is where two nineteenth-century friends built, almost simultaneously, the first infinite-dimensional spectral theory — decades before Hilbert spaces existed to name it. The result reads today like linear algebra done in a space of functions.

Origins · 1 minSturm–Liouville theory and how this was discovered
ST
Sturm–Liouville theory
Jacques Sturm 1803–1855 · Joseph Liouville 1809–1882 · spectral theory of self-adjoint differential operators

The theory carries two names because it was genuinely a collaboration. Jacques Charles François Sturm, a Geneva-born mathematician in Paris, took the qualitative side: in an 1829 announcement and the memoirs that followed he proved his oscillation and comparison theorems, showing without ever solving the equation that the nn-th eigenfunction has exactly n−1n-1 interior zeros and the eigenvalues form an increasing sequence. Joseph Liouville, his friend and founder of the Journal de Mathématiques Pures et Appliquées, supplied the analytic half: that arbitrary functions expand in these eigenfunctions and the series converge — completeness. Between 1836 and 1837 they published a linked series of papers establishing, for the general second-order operator with a weight, what we now call the Sturm–Liouville problem. Their motivation was physical — Fourier's theory of heat had produced trigonometric expansions that cried out for a rigorous foundation. The abstract vindication came later: Weyl's 1910 limit-point/limit-circle classification of singular endpoints, and the von Neumann–Stone spectral theorem of the late 1920s, revealed that they had been diagonalizing Hermitian operators in Hilbert space before the language existed — and that Schrödinger's 1926 wave equation was, all along, a singular Sturm–Liouville problem.

History
1822
— Fourier's Théorie analytique de la chaleur expands heat data in trigonometric eigenfunctions
1829
— Sturm announces his oscillation and comparison theorems for second-order boundary-value problems
1836
— Sturm and Liouville publish the linked memoirs founding the general theory with a weight function
1910
— Weyl classifies singular endpoints as limit-point or limit-circle
1926
— Schrödinger's wave equation is recognized as a singular Sturm–Liouville problem

Going further

Texts. Stone & Goldbart, Mathematics for Physics, Ch. 8 (Linear Differential Operators) · Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., Ch. 8 · Hassani, Mathematical Physics, Ch. 19–20 (Sturm–Liouville systems) · Byron & Fuller, Mathematics of Classical and Quantum Physics, Ch. 5 · Courant & Hilbert, Methods of Mathematical Physics, Vol. I, Ch. V–VI · Coddington & Levinson, Theory of Ordinary Differential Equations, Ch. 7–8.

Provenance. All results are standard Sturm–Liouville theory. A verifier should recompute: (1) the integrating-factor reduction p=exp⁡∫(a1/a2) dxp = \exp\int(a_1/a_2)\,\mathrm{d}x, w=p/a2w = p/a_2; (2) the Lagrange boundary-term cancellation for separated and periodic conditions, hence reality and orthogonality; (3) the string spectrum λn=n2π2/L2\lambda_n = n^2\pi^2/L^2 with ∫0Lsin⁡2(nπx/L) dx=L/2\int_0^L \sin^2(n\pi x/L)\,\mathrm{d}x = L/2; (4) the heat-rod coefficients bn=8/(n3π3)b_n = 8/(n^3\pi^3) odd (b1=0.2580b_1 = 0.2580) and decay times τn=1/(n2π2)\tau_n = 1/(n^2\pi^2) (τ1=0.1013\tau_1 = 0.1013); (5) the Rayleigh bound R[x(1−x)]=10\mathcal{R}[x(1-x)] = 10 versus exact π2=9.8696\pi^2 = 9.8696; (6) the Bessel weight w=xw = x. No nonstandard constants are asserted.

Prerequisites. Boundary Conditions and Well-Posedness · Separation of Variables in Cartesian Coordinates · Classification of Second-Order Linear PDEs. Leads to. Separation of Variables in Spherical Coordinates · Separation of Variables in Cylindrical Coordinates · Green's Functions for PDEs · The Helmholtz Equation.

Ask the tutor: ask me to reduce any specific ODE — Bessel, Legendre, Hermite, or one from your own problem set — to self-adjoint form and read off its weight, spectrum, and orthogonality relation step by step.

Why does the weight function appear at all — isn't orthogonality just an integral?

The weight is dictated by the equation, not chosen. Putting a generic ODE into self-adjoint form by the integrating factor multiplies the eigenvalue term λy\lambda y by that factor, turning it into λwy\lambda w y, so w=p/a2w = p/a_2 is forced on you. Self-adjointness — and therefore orthogonality — then holds only in ∫fˉg w dx\int \bar f g\,w\,\mathrm{d}x. This is why Bessel integrals carry r drr\,\mathrm{d}r, Hermite integrals e−x2 dxe^{-x^2}\,\mathrm{d}x, and Chebyshev integrals (1−x2)−1/2 dx(1-x^2)^{-1/2}\,\mathrm{d}x. Compute a coefficient with the plain integral instead and the modes are not orthogonal in that pairing, so the series converges to the wrong function.

What is the difference between a regular and a singular Sturm–Liouville problem?

A regular problem lives on a finite interval [a,b][a,b] with pp and ww strictly positive and separated boundary conditions at both ends; it has the cleanest behaviour — a discrete, simple, increasing spectrum and a complete orthonormal basis. A singular problem breaks one of these: pp vanishes at an endpoint (Bessel at r=0r=0, Legendre at x=±1x=\pm1), the interval is infinite (Hermite, the free particle), or a coefficient blows up. There an explicit boundary value is replaced by a milder demand — boundedness or square-integrability — and the spectrum may acquire a continuous part. Almost all special functions of physics are eigenfunctions of singular problems, which is why they inherit orthogonality and completeness despite the missing endpoint condition.

How is the Schrödinger equation a Sturm–Liouville problem?

Write −ℏ22mψ′′+V(x)ψ=Eψ-\tfrac{\hbar^2}{2m}\psi'' + V(x)\psi = E\psi and compare with the S–L form: it matches with p=ℏ2/2mp = \hbar^2/2m (constant), q=−Vq = -V, weight w=1w = 1, and eigenvalue λ=E\lambda = E. Bound states are the discrete point spectrum, selected by the singular condition that ψ\psi be square-integrable (decaying at infinity), and the theory then guarantees exactly what quantum mechanics postulates: real energies, orthogonal eigenstates, and a complete basis. Even the variational principle for ground-state energies is the Rayleigh quotient of S–L theory. Quantum mechanics did not invent its spectral apparatus; it inherited it.

Why must the eigenvalues be real and the eigenfunctions orthogonal?

Both come from one fact: the operator is self-adjoint (Hermitian) in the weighted inner product, the function-space analogue of a real symmetric matrix. Reality follows from pairing an eigenfunction with itself in Lagrange's identity: the boundary term vanishes, the weighted norm is positive, so the eigenvalue equals its own conjugate. Orthogonality follows from pairing two different eigenfunctions: the same vanishing boundary term leaves (λm−λn)⟨ym,yn⟩w=0(\lambda_m - \lambda_n)\langle y_m, y_n\rangle_w = 0, and distinct eigenvalues force the inner product to zero. Strip away self-adjointness — use conditions that leave the boundary term alive — and both can fail: eigenvalues drift complex and the eigenfunctions stop being orthogonal.

What does Sturm's oscillation theorem actually tell me physically?

It says the eigenfunctions of a regular problem are ordered by wiggliness: the nn-th crosses zero exactly n−1n-1 times in the interior, and eigenvalues increase monotonically with that node count, λ1<λ2<⋯\lambda_1 < \lambda_2 < \cdots. More nodes means more curvature, hence more "energy" — the same intuition as the overtones of a plucked string (each harmonic adds a node) or the excited states of a quantum well. The theorem is powerful because it is qualitative: you can order the spectrum and locate a mode's nodes without ever solving the equation, which is how Sturm founded the subject.

When does an eigenfunction expansion actually converge to my function?

For a regular problem the eigenfunctions are complete in Lw2[a,b]L^2_w[a,b], so any square-integrable ff has an expansion ∑cnyn\sum c_n y_n converging in the mean-square sense — the integrated squared error goes to zero as terms are added. That is weaker than pointwise convergence: at a jump the series converges to the midpoint and overshoots nearby, the Gibbs phenomenon in the second figure. Where ff is smooth the convergence is fast and uniform, and smoother data gives faster-decaying coefficients (the parabola in Example 1 falls off like n−3n^{-3}). So completeness guarantees mean-square convergence for all Lw2L^2_w data, and the smoother the data, the better the pointwise behaviour.

Before this

Where this leads