Sturm-Liouville Theory
Why does the heat equation on a rod, solved by Separation of Variables for the Heat Equation, always produce sines? Separation splits the PDE into a time equation and a spatial ODE. Boundary and Initial Conditions for PDEs get attached to that ODE. This spatial ODE is not arbitrary. It belongs to a single unifying family: Sturm–Liouville problems. These are self-adjoint second-order eigenvalue problems on an interval. Recognizing this family explains several things at once. It shows why eigenvalues come out real. It shows why eigenfunctions for different eigenvalues are automatically orthogonal. It also shows why an arbitrary function can be expanded in them. This works the way a periodic function expands in a Fourier series. This matters because it unifies a zoo of special functions. Legendre polynomials, Bessel functions, Chebyshev polynomials, and ordinary trigonometric functions all become instances of one theorem. There is no need to re-derive orthogonality by brute-force integration each time. Sturm–Liouville theory delivers orthogonality, reality of eigenvalues, and completeness of eigenfunctions from one source. That source is the structure of the differential operator alone. Specifically, it is a symmetric ("self-adjoint") second-order operator with respect to a suitable inner product. The big picture is an analogy with linear algebra. A real symmetric matrix has real eigenvalues and an orthogonal eigenbasis. A Sturm–Liouville operator is the infinite-dimensional analogue. It acts on functions instead of vectors. An integral plays the role of the dot product. This analogy is not decorative. It is made precise via a genuine self-adjointness identity (Lagrange's identity). This identity mimics . This article builds the Sturm–Liouville operator and proves the self-adjointness identity. It then uses that identity to prove two things. First, eigenvalues are real. Second, eigenfunctions are orthogonal with respect to a weight function. It closes by pointing toward Eigenfunction Expansions. There, these eigenfunctions serve as a generalized Fourier basis. It also points toward Green's Functions for Boundary Value Problems. These functions invert the same operator directly.
- A Sturm–Liouville (SL) problem is on with separated boundary conditions.
- The SL differential expression is formally self-adjoint: Lagrange's identity gives .
- Regular SL boundary conditions make the boundary term vanish, so is symmetric on the space of functions satisfying them.
- Symmetry forces all eigenvalues to be real numbers, exactly as for real symmetric matrices.
- Eigenfunctions for distinct eigenvalues are orthogonal with respect to the weight , not the plain inner product.
- Eigenfunctions form a complete orthogonal basis (Sturm–Liouville expansion theorem), the engine behind Fourier, Legendre, and Bessel series.
- Key idea: self-adjointness of a differential operator plays the same role for eigenfunctions that symmetry of a matrix plays for eigenvectors.
Where this lives today
Sturm–Liouville theory is the mathematical spine underneath separation of variables for essentially every linear PDE with variable coefficients on a bounded domain: heat conduction in a non-uniform rod, vibrations of a hanging chain of varying density, and the radial part of the Laplacian in spherical or cylindrical coordinates, where it produces Legendre polynomials and Bessel functions as eigenfunctions. In quantum mechanics, the time-independent Schrödinger equation for a particle in a potential well is literally a Sturm–Liouville eigenvalue problem, and the reality of eigenvalues proved here is the mathematical reason energy levels are real numbers rather than complex ones. Numerical analysts exploit self-adjointness to build stable finite-difference and finite-element discretizations (the resulting stiffness matrices are symmetric, mirroring the continuous operator). In applied statistics and signal processing, weighted orthogonal polynomial families arising from Sturm–Liouville problems (Legendre, Chebyshev, Hermite, Laguerre) underlie Gaussian quadrature rules and orthogonal polynomial regression. The theory also foreshadows Green's Functions for Boundary Value Problems, where the same self-adjoint operator, now inverted rather than diagonalized, produces a symmetric kernel directly from the identity proved in part (B) above, and it sets up Eigenfunction Expansions, the general machine for writing arbitrary functions as convergent series in these orthogonal eigenfunctions.
Ask the tutor: How do the boundary-term cancellations in Lagrange's identity change if the Sturm–Liouville problem is posed on a half-line with a decay condition at infinity instead of a second endpoint condition?
Let be a finite closed interval and let satisfy: 1. , for all ; 2. , real-valued; 3. , for all (the weight function). The Sturm–Liouville differential expression is
A regular Sturm–Liouville problem consists of the eigenvalue equation
together with separated boundary conditions
where and are real constants. A number for which this problem has a nontrivial solution is an eigenvalue, and any such is a corresponding eigenfunction. (The adjectives regular and positive on can be relaxed to give singular Sturm–Liouville problems, e.g. for Legendre's or Bessel's equation, discussed in the Scope table below.)
Intuition
Think of the vector space of smooth functions on satisfying the boundary conditions as an infinite-dimensional analogue of . The weighted inner product
plays the role of the dot product. The differential expression plays the role of a matrix . In linear algebra, symmetry of (meaning for all ) is exactly the property that forces real eigenvalues and an orthogonal eigenbasis via the spectral theorem. Sturm–Liouville theory shows that the same symmetry statement, , holds for acting on functions satisfying the boundary conditions — provided the boundary terms that appear from integrating by parts twice cancel out. That cancellation is precisely what "separated boundary conditions" are built to guarantee. The picture below shows the analogy directly: a symmetric matrix diagonalizes into orthogonal eigenvectors on the left, while the Sturm–Liouville operator diagonalizes into an infinite orthogonal family of eigenfunctions (here, the familiar family from the Dirichlet problem) on the right.
Central Theorem
Let with satisfying the hypotheses in the Regular Sturm–Liouville problem definition, on with separated boundary conditions as given there. Then:
(A) (Lagrange's identity / formal self-adjointness). For any ,
(B) (Symmetry under the boundary conditions). If both satisfy the separated boundary conditions at and at , then
equivalently .
(C) (Reality of eigenvalues). Every eigenvalue of the regular Sturm–Liouville problem is real.
(D) (Orthogonality with weight). If are eigenfunctions corresponding to distinct eigenvalues , then
We prove (A)–(D) in order; each part is used by the next, and none is circular since (A) is a direct computation, (B) uses only (A) and the boundary conditions, and (C), (D) use only (B).
Proof of (A). This is a direct computation via the product rule, the technique being straightforward differentiation and rearrangement — no appeal to the eigenvalue problem is made yet. Expand:
Subtracting, the -terms cancel since :
Now compute the derivative on the right-hand side of the claimed identity using the product rule twice:
The and terms cancel. Meanwhile,
More carefully: . This is the negative of , but note and , so in fact
which matches exactly. This proves (A).
Proof of (B). Integrate identity (A) from to and apply the Fundamental Theorem of Calculus:
It remains to show the right-hand side vanishes when satisfy the separated boundary conditions. At : since , suppose first . Then and , so
If instead (so ), the boundary condition forces directly, and again . Either way the term at vanishes; the identical argument at (using ) shows the term at vanishes too. Hence
which proves (B).
Proof of (C). Let be an eigenvalue with eigenfunction , a nontrivial (possibly complex-valued) solution of satisfying the boundary conditions. Since are real, if is a complex solution then its complex conjugate satisfies
using that is real, and satisfies the same (real-coefficient) boundary conditions since does. Apply part (B) with , (both satisfy the boundary conditions, both are in ):
Substitute and :
Because on and is continuous, . Dividing, , i.e. , so . This proves (C).
Proof of (D). Let be eigenfunctions for eigenvalues ; by (C) both eigenvalues, and (choosing eigenfunctions real, which is always possible once eigenvalues are real, since the real and imaginary parts of a complex eigenfunction each independently solve the real ODE and boundary conditions) both eigenfunctions may be taken real-valued. Apply (B) with , :
Substitute and :
Since , we may divide by , giving
This proves (D) and completes the proof of the theorem.
∎For a regular Sturm–Liouville problem as above, it is a standard further fact (proved using oscillation theory / Prüfer substitution, beyond the scope of this proof) that the eigenvalues form an increasing sequence
each eigenvalue is simple (its eigenspace is one-dimensional), and the corresponding eigenfunctions , orthogonal by part (D), form a complete orthogonal system in the weighted space : every piecewise-smooth on satisfying the boundary conditions has a convergent generalized Fourier expansion
This completeness statement is the subject of Eigenfunction Expansions and is stated here, proof beyond scope — it requires compactness of the resolvent operator, not just the algebraic symmetry proved above.
Worked examples
Example 1 — Robin (radiation) boundary conditions, asymmetric interval. Consider on with
Here , , , so this is a regular Sturm–Liouville problem (, continuous, boundary conditions separated with at and at ). By part (C) all eigenvalues are real, so we search over real and rule out first. Case : write , . General solution . The condition forces , so . Then . Since with always, the bracket is strictly positive unless and then it equals trivially, but makes . So no nontrivial solution for : all eigenvalues are strictly positive, consistent with intuition. Case : general solution . The condition gives , so , . The right boundary condition:
This transcendental equation has infinitely many positive roots (one in each interval where decreases through ), giving eigenvalues and eigenfunctions . By part (D), for ,
even though are not the simple multiples of the pure Dirichlet problem — orthogonality here is a structural consequence of self-adjointness, not a lucky trigonometric identity. This is exactly the situation for a rod radiating heat into its surroundings (Newton cooling) at .
Example 2 — Legendre's equation on : a genuinely singular Sturm–Liouville problem. Legendre's equation,
is the Sturm–Liouville equation with , , , . Notice : the regularity hypothesis on the closed interval fails at both endpoints, so this is a singular Sturm–Liouville problem, not covered directly by the theorem above. Boundedness at replaces a boundary condition. Nevertheless the Lagrange identity computation in part (A) is purely algebraic and does not use positivity of , only that . So for any two solutions bounded on ,
because the factor itself vanishes at , killing the boundary term automatically — no separated boundary condition is even needed, provided and their derivatives stay bounded there (true for the Legendre polynomials , which are polynomials, hence bounded, and it is a fact, provable by Frobenius analysis, that any second linearly independent solution blows up logarithmically at and must be excluded). Repeating the argument of part (D) with , , , for gives, exactly as before,
Since for nonnegative integers (the map is strictly increasing on ), we conclude
the classical orthogonality of Legendre polynomials — obtained here without a single integration by parts beyond Lagrange's identity, and without ever invoking the closed-form Rodrigues formula for .
Consider on , i.e. , but replace the separated boundary conditions with the mixed, non-self-adjoint pair
This is not of the separated form required by the theorem, since the right-hand condition involves , mixing endpoints. Check part (B) fails: take (satisfies , and ? — no, , so does not even satisfy the boundary condition). Instead exhibit directly that the boundary term in the proof of (B),
need not vanish under a condition coupling to rather than to : the substitution used in the theorem's proof (isolating or purely in terms of data at ) is unavailable, because the condition at references the other endpoint. Concretely, solving with gives (for ); imposing forces , so either (trivial) or , giving a discrete but perfectly real spectrum in this particular example — so to see genuine failure one must go further and consider a condition such as
(periodic-like but with a sign flip, an anti-periodic, non-separated pairing). Direct substitution of solutions shows the resulting characteristic equation can force off the real axis for suitable sign choices, and more importantly the boundary term
computed with becomes , a nonzero twisted boundary pairing in general rather than the clean cancellation the separated case guarantees. The moral, made precise by the theorem's proof: it is the separated form (each condition confined to a single endpoint) that is exactly tailored to make every term in cancel individually; remove that structure and the cancellation — hence symmetry, hence real eigenvalues and orthogonality — is no longer guaranteed by the argument (periodic boundary conditions on a genuinely periodic problem, , are a special coupled case that happens to still work, which is precisely why the article restricts attention to the separated case for the general theorem).
Scope, edge cases & common traps
| Situation | What happens | Why |
|---|---|---|
| at an endpoint (Legendre, Bessel) | Singular SL problem; boundedness replaces a boundary condition | Boundary term in Lagrange's identity vanishes automatically via |
| vanishes or is unbounded at an endpoint | Still singular; convergence of needs care | Weighted inner product may fail to be finite without boundedness assumptions |
| Periodic boundary conditions with | Symmetry does hold (special coupled case) | The boundary term telescopes to zero even though conditions are not separated |
| Non-separated, non-periodic mixed conditions | Symmetry can fail; complex eigenvalues possible | See the counterexample above |
| somewhere | Eigenvalues can be negative | Positivity of is not guaranteed by the theorem, only reality |
| Confusing orthogonality with orthogonality | Wrong inner product used in Fourier coefficient formula | Orthogonality proved is with respect to , not |
The mathematician behind it
Origins · 1 minJacques Charles François Sturm and how this was discovered
Sturm, a Swiss-born mathematician working in Paris, and Joseph Liouville, his close collaborator and fellow editor of mathematical journals, developed the theory jointly in a series of papers in the 1830s. Sturm's independent work on the number of real roots of polynomials (Sturm's theorem in algebra) fed directly into the oscillation theory underlying eigenvalue counting for these boundary value problems, while Liouville's expertise in analysis supplied the rigorous machinery for expansions in eigenfunctions — the two strands merged into what is now inseparably called Sturm–Liouville theory.
What exactly does "self-adjoint" mean for a differential operator, and how is it different from a symmetric matrix?
For a matrix , symmetry means for the standard dot product, for all vectors . For the Sturm–Liouville operator , "formally self-adjoint" means the differential expression itself, , produces the Lagrange identity for any two functions, with no boundary conditions imposed yet. Genuine self-adjointness — the operator equalling its own adjoint on a specific domain — additionally requires the boundary term to vanish, which is where separated boundary conditions enter. So self-adjointness is a joint property of the differential expression and the boundary conditions together, not of the expression alone.
Why must the boundary conditions be "separated" rather than just any two linear conditions?
Separated means each condition involves function values only at a single endpoint: one condition purely in , the other purely in . The proof of part (B) isolates or using only the endpoint- condition and substitutes directly into the boundary term evaluated at , and does the same independently at . If a condition mixes both endpoints (as in the counterexample), this isolation step breaks, and the two contributions to no longer cancel term-by-term. Periodic boundary conditions are a notable exception that still work, but for a different, coincidental reason tied to .
Are all eigenvalues of a regular Sturm–Liouville problem necessarily positive?
No. The theorem proves eigenvalues are real, not that they are positive. Positivity requires an additional hypothesis, typically together with boundary conditions of a compatible sign (e.g. Dirichlet, Neumann with the right sign, or Robin with type conditions), which make the associated quadratic form nonnegative. Without such extra structure, can be sufficiently negative to force some eigenvalues negative, as happens for certain Schrödinger-type potentials with deep wells.
How does this connect to the completeness claims used in Fourier series?
Ordinary Fourier series (sines and cosines on ) are the special case , , with Dirichlet, Neumann, or periodic boundary conditions. Orthogonality of functions, usually verified by a direct trigonometric integral in introductory courses, is revealed here as one instance of part (D) of the general theorem. The deeper fact that these eigenfunctions form a complete basis (every reasonable function is a convergent sum of them) is the content of Eigenfunction Expansions, which builds on the orthogonality proved here but needs additional analytic tools (compactness, oscillation counting) beyond the algebraic symmetry argument given in this article.
Can a Sturm–Liouville problem have complex-valued eigenfunctions?
For a regular problem with the hypotheses stated (real , real separated boundary conditions), every eigenvalue is real by part (C), and one can always choose a real eigenfunction: if is a complex eigenfunction, both and independently satisfy the same real linear ODE and the same real boundary conditions (since is real, the ODE has real coefficients once is substituted), so at least one of them is nontrivial and serves as a real eigenfunction. In practice one always works with real eigenfunctions for regular problems; complex eigenfunctions only enter as a proof device, as in the proof of part (C) itself.
What breaks if the interval is infinite or are unbounded — does the theorem still apply?
Not directly. The theorem as stated requires a finite closed interval with continuous and strictly positive throughout, including the endpoints, which is the "regular" case. Problems on infinite intervals (like the Hermite or Laguerre equations on or ) or with or vanishing/blowing up at an endpoint (Legendre, Bessel, Chebyshev) are "singular" Sturm–Liouville problems. The Lagrange identity computation in part (A) still holds pointwise since it never used positivity, but establishing that the boundary term vanishes — and hence recovering parts (B)–(D) — requires separate, case-by-case analysis of the behavior of solutions near the singular endpoint, as illustrated in Worked Example 2.
Why does Sturm–Liouville theory guarantee real eigenvalues but real symmetric matrices are the finite-dimensional version — is this an exact analogy or just a loose one?
It is an exact and rigorous analogy, not merely a mnemonic. The weighted inner product makes a genuine (infinite-dimensional) real inner product space, and part (B) proves for all in the domain (functions satisfying the boundary conditions) — the exact defining property of a symmetric linear operator. The proofs of reality of eigenvalues (part C) and orthogonality (part D) are verbatim translations of the standard linear-algebra proofs for symmetric matrices, with the dot product replaced by and matrix-vector multiplication replaced by .