On this page
If you have met eigenvalues of a matrix, Sturm–Liouville theory is the same idea for differential equations: an operator plays the matrix, functions play the vectors, and boundary conditions decide which eigenvalues are allowed.
What is a Sturm–Liouville problem?
A Sturm–Liouville equation has the form (p y′)′ + q y + λ w y = 0 on an interval [a, b], where p, q and w are given functions and λ is a number to be found (Sturm–Liouville theory, Wikipedia). The function w is called the weight. The problem is regular when p, p′, q and w are continuous on [a, b], p > 0 and w > 0 there, and each end carries a separated boundary condition such as α₁y(a) + α₂y′(a) = 0 (same source).
A value of λ for which a non-zero solution exists is an eigenvalue, and that solution is its eigenfunction.
The theory is named after Charles-François Sturm (1803–1855) and Joseph Liouville, whose papers of 1836–1837 on differential equations involved expansions of functions in series (MacTutor biography of Sturm).
Why are the eigenvalues real and the eigenfunctions orthogonal?
Both facts come from one identity. Write L y = (p y′)′ + q y. For any two twice-differentiable functions u and v, Lagrange's identity says u Lv − v Lu = [p(u v′ − v u′)]′ (Herman, Introduction to Partial Differential Equations, LibreTexts/04%3A_Sturm-Liouville_Boundary_Value_Problems/4.02%3A_Properties_of_Sturm-Liouville_Eigenvalue_Problems)). Integrated from a to b, the right-hand side becomes a boundary term that separated boundary conditions make zero. So the integral of u Lv equals the integral of v Lu: L is symmetric, like a symmetric matrix.
Real eigenvalues. If φ has eigenvalue λ, its conjugate φ̄ has eigenvalue λ̄. Putting u = φ̄, v = φ gives (λ − λ̄) times the integral of w φ̄ φ equal to zero. That integral is positive because w > 0, so λ = λ̄.
Orthogonal eigenfunctions. For φₘ, φₙ with λₘ ≠ λₙ, the same step gives (λₘ − λₙ) times the integral of w φₘ φₙ equal to zero, so that integral is zero.
That integral is a weighted dot product of two functions, so orthogonal eigenfunctions behave like the eigenvectors of a symmetric matrix; our guide to eigenvalues of a 2x2 matrix covers the finite version. For a regular problem the eigenvalues can also be listed as λ₁ < λ₂ < λ₃ < …, growing without limit (Wikipedia).
Worked example: y″ + λy = 0 on [0, π]
Take y″ + λy = 0 with y(0) = y(π) = 0: the Sturm–Liouville form with p = 1, q = 0 and w = 1. Check each sign of λ.
λ = −k² < 0. y = A cosh(kx) + B sinh(kx). y(0) = 0 gives A = 0; sinh(kπ) > 0, so y(π) = 0 forces B = 0. No eigenvalue.
λ = 0. y = A + Bx, and both conditions force A = B = 0. No eigenvalue.
λ = k² > 0. y = A cos(kx) + B sin(kx). y(0) = 0 gives A = 0. For B ≠ 0 we need sin(kπ) = 0, so k = n, a positive integer.
So the eigenvalues are λₙ = n² = 1, 4, 9, 16, … and the eigenfunctions are yₙ = sin(nx), the standard result in Herman's text/04%3A_Sturm-Liouville_Boundary_Value_Problems/4.02%3A_Properties_of_Sturm-Liouville_Eigenvalue_Problems). For m ≠ n, the integral of sin(mx) sin(nx) from 0 to π is zero, which you can check with sin A sin B = ½[cos(A − B) − cos(A + B)]. When m = n the integral is π/2.
How does this lead to Fourier series?
Write f(x) = b₁ sin x + b₂ sin 2x + b₃ sin 3x + … on [0, π], multiply by sin(nx) and integrate. Orthogonality kills every cross term, leaving bₙ = (2/π) times the integral of f(x) sin(nx) from 0 to π: the Fourier sine series. The theory adds that the normalised eigenfunctions form an orthonormal basis, which is why such expansions work (Wikipedia).
For f(x) = x, integration by parts gives the integral of x sin(nx) from 0 to π as π(−1)ⁿ⁺¹/n, so bₙ = 2(−1)ⁿ⁺¹/n and x = 2(sin x − sin 2x/2 + sin 3x/3 − …) for 0 ≤ x < π. To watch partial sums converge, see how a Fourier series builds a square wave.
A checklist for any Sturm–Liouville problem
Rewrite the equation as (p y′)′ + q y + λ w y = 0 and read off p, q and w.
Check p > 0 and w > 0, and that each boundary condition involves one end only.
Solve the cases λ < 0, λ = 0 and λ > 0 separately.
The condition for a non-zero solution gives the eigenvalues.
Test orthogonality on two eigenfunctions, weight included.
Expand f with cₙ = (integral of f yₙ w) ÷ (integral of yₙ² w).
If an earlier idea such as integration by parts is shaky, the Fermi Concept Library covers concepts across mathematics and physics. For practice, the Fermi Problem Library has a step-by-step solver that explains the reasoning rather than printing an answer.



