Variational Principles for Eigenvalue Problems
Solving an eigenvalue problem the direct way — write down the differential operator, impose the boundary conditions, and hunt for the values of that admit a non-trivial solution — is often hopeless. The variational principle offers a different route. It recasts as extremisation: the eigenvalues are the stationary values of a single scalar functional, the Rayleigh quotient , and the eigenfunctions are the functions where it is stationary. This is the eigenvalue analogue of Hamilton's principle of stationary action, governed by the machinery of the first variation and stationarity developed earlier in this chapter. One structural fact does all the work. For a self-adjoint operator the gradient of the Rayleigh quotient vanishes precisely at the eigenfunctions, where the quotient equals the corresponding eigenvalue. Three consequences follow. First, the ground-state eigenvalue is the global minimum, so any normalised trial function delivers a rigorous upper bound — the workhorse of quantum chemistry and nuclear physics. Second, higher eigenvalues follow by minimising over subspaces orthogonal to the lower modes, or, free of that, through the Courant–Fischer minimax theorem. Third, restricting to a finite-dimensional span converts the continuous problem into a generalised matrix eigenproblem whose roots interlace and bound the true spectrum — the Rayleigh–Ritz method, and through it the finite element method and most of computational quantum mechanics, producing bounds that improve monotonically as the basis grows.
- The eigenvalues of a self-adjoint are the stationary values of the Rayleigh quotient ; the eigenfunctions are where is stationary.
- The lowest eigenvalue is a genuine minimum, : every admissible trial function is an upper bound, and the error in is quadratic in the trial-function error.
- Higher eigenvalues follow from orthogonality constraints, or free of them from the Courant–Fischer minimax principle .
- For a Sturm–Liouville operator the quotient is , with boundary terms treated according to the imposed self-adjoint boundary conditions; stationarity reproduces the eigenvalue equation, and where the endpoint values are free the variational principle also yields the corresponding natural boundary conditions.
- A finite basis turns the problem into the generalised matrix eigenproblem — the Rayleigh–Ritz method behind Hartree–Fock and finite elements.
- Ritz estimates decrease monotonically as the basis grows and interlace the true spectrum, so refinement only sharpens them.
- Key idea: for a self-adjoint operator the eigenvalues are exactly the stationary values of the Rayleigh quotient ; the lowest is a true minimum, so every trial function bounds the ground state from above.
For a self-adjoint operator , the eigenvalues are exactly the stationary values of the Rayleigh quotient ; the lowest is a genuine minimum, so every admissible trial function bounds the ground state from above, with an error only quadratic in the trial function's error.
Where this lives today
The variational principle is the live engine of computational physics and chemistry. Every mainstream electronic-structure method — Hartree–Fock, configuration interaction, Kohn–Sham density-functional theory — is a Rayleigh–Ritz calculation in disguise: molecular orbitals expanded in a finite atomic-orbital basis, the energy stationarity condition becoming the Roothaan generalised eigenproblem , with the overlap matrix precisely because atomic orbitals are non-orthogonal. Enlarging the basis lowers the energy monotonically — "basis-set convergence" is the monotone-convergence theorem measured in kilojoules per mole. In condensed matter and nuclear physics, variational Monte Carlo optimises Jastrow, BCS, and Gutzwiller trial states by direct minimisation, reaching ground states no exact method can. In engineering, the finite element method — Rayleigh–Ritz with piecewise-polynomial shape functions on a mesh — computes turbine-blade vibration modes and aircraft-frame buckling loads as bounds that tighten under mesh refinement. Even quantum computing leans on it: the variational quantum eigensolver prepares a trial state on a processor and minimises its measured Rayleigh quotient classically — the oldest idea in the subject on the newest hardware.
The physical picture
Read as energy per unit norm: the expected value of in the state , divided by the state's size. Nature settles into the configuration that makes this ratio smallest at fixed normalisation, so the minimum of the quotient is the ground-state energy and the minimiser is the ground-state mode. Everything else — bounds, the matrix method, convergence — follows from that identification. The cleanest way to see the whole spectrum is to walk a straight line in function space. Mix two true eigenfunctions, ; being orthogonal eigenfunctions, the quotient collapses to — a smooth curve pinned to and at its ends and flat at both. That flatness at the ground eigenfunction, at and at , is why variational estimates work: for a normalised trial function close to the ground state, the error in the variational energy is second order in the wavefunction error.
Now let an arbitrary trial function loose. Expand it in the true eigenbasis, ; the quotient becomes , a weighted average of the eigenvalues with non-negative weights. An average can never dip below its smallest member, so for every — the variational bound, with no calculus at all. The second figure shows the payoff: a one-parameter hydrogen trial whose energy we minimise to pin the ground state exactly.
The core equations
The whole subject hangs on one object: the Rayleigh quotient assigns to every admissible function the expectation of in the state , normalised by the state's norm in the inner product that makes self-adjoint.
where: — self-adjoint linear operator; — trial function in the form domain of ; — weight defining the inner product; — weighted inner product on . Reading: is scale-invariant — replacing by leaves it unchanged — so normalisation is a convenience. The central theorem: the stationary points of this functional are exactly the eigenfunctions, the stationary values exactly the eigenvalues — vanishing first variation and the eigenequation are one statement.
where: — first variation under ; — eigenvalue, equal to at the stationary point. Reading: to find an eigenpair you may either solve a differential equation or seek a stationary point of a scalar functional. For a self-adjoint operator bounded below, the ground-state eigenvalue is the global minimum of the Rayleigh quotient, while excited-state eigenvalues are characterised by constrained minimisation or, equivalently, the Courant–Fischer min–max principle.
where: — eigenvalues in increasing order; — an -dimensional trial subspace; the inner minimax is Courant–Fischer. Reading: the second form pins without knowing a single lower eigenfunction — legitimising finite-basis estimates of excited states. For the operator governing vibrating strings, quantum wells, and waveguide modes, the regular Sturm–Liouville form makes the quotient a ratio of quadratic functionals once integrated by parts.
where: — the Sturm–Liouville coefficients; ; — the boundary term, vanishing under standard self-adjoint conditions. Reading: the numerator is a strain-energy-like quadratic form; make it non-negative, so the spectrum is bounded below and the minimisation well posed. Restrict to a finite span and stationarity in the coefficients turns the problem into linear algebra: a generalised matrix eigenproblem in the stiffness matrix and overlap matrix .
where: — chosen (not necessarily orthogonal) basis functions; — Hamiltonian or stiffness matrix; — overlap or mass matrix; — expansion coefficients. Reading: because a practical basis is often non-orthogonal — why the problem is generalised, not a standard eigenproblem. The Ritz roots provide upper bounds on the corresponding exact eigenvalues; for nested trial spaces, enlarging the basis lowers each Ritz estimate, and the new roots interlace the old ones.
where: — the -th Ritz value from an -function trial space; for nested trial spaces, the left inequality gives monotone convergence from above, while the right inequality is the Cauchy interlacing relation. Reading: systematic enlargement of a nested trial space only lowers the Ritz upper bounds, so the sequence of estimates provides its own convergence certificate.
The goal is to prove the theorem on which the entire subject rests: for admissible variations, demanding the first variation of vanish is equivalent to the eigenvalue equation , with the stationary value equal to the eigenvalue itself. We vary the numerator and denominator separately, use self-adjointness together with the admissible boundary conditions to move onto the variation, and invoke the fundamental lemma to remove the arbitrary test function — establishing the equivalence between the differential eigenvalue problem and the variational formulation.
Step 1. Write with , , and perturb for arbitrary admissible and small real . By the quotient rule the first variation is . Why: the denominator is harmless since for any non-zero .
Step 2. Self-adjointness gives and , so . Why: this is the step that needs — without it the variation would not collapse to a single inner product and eigenfunctions would not be stationary.
Step 3. Demand for every admissible . Taking and in turn, the fundamental lemma forces the bracket to vanish: . Why: a vector orthogonal to every direction is the zero vector — the calculus-of-variations analogue of "gradient equals zero".
Step 4. So the stationarity condition is : the eigenvalue equation with . Conversely gives , so eigenfunctions are stationary. Why: the equivalence runs both ways — "stationary point of " and "eigenfunction of " are the same set.
Go deeper · Derivation B · 1 minWhy every trial function bounds the ground state — the spectral proof
The goal is to turn the stationarity theorem into the practical bound variational calculations use: for every admissible , with equality only at the true ground state, and to extend it to excited states. Expanding an arbitrary trial function in the complete orthonormal eigenbasis makes the quotient a weighted average of eigenvalues, after which the bounds are elementary facts about averages — holding for any , however crude, not merely near-eigenfunctions.
Step 1. Assume self-adjoint with orthonormal eigenfunctions , eigenvalues , and expand with . Why: the eigenfunctions form a complete orthonormal set, so no generality is lost by working in coordinates aligned with the spectrum.
Step 2. Insert this into the quotient. Using and orthonormality, — a weighted average of the eigenvalues with weights . Why: this rewrite is the heart of the subject; once is manifestly an average of eigenvalues, every bound is a statement about averages.
Step 3. Bound below by replacing every with the smallest: , with equality precisely when lies entirely in the ground-state eigenspace. For a nondegenerate ground state, this reduces to and , i.e. . Thus . Why: this is the Rayleigh–Ritz bound — even an imperfect trial function gives a rigorous upper bound on the true ground-state energy.
Step 4. Climb: if then , the sum starts at , and . Equality holds when lies in the eigenspace associated with ; for a nondegenerate , this means . Hence . Why: excited states are constrained by orthogonality to the lower eigenspaces, which the Ritz formulation enforces through the corresponding constrained subspace.
Go deeper · Derivation C · 1 minThe Sturm–Liouville equation and its natural boundary conditions from stationarity
The goal is to show that making the Sturm–Liouville quadratic functional stationary at fixed normalisation reproduces the eigenvalue ODE and generates the correct boundary conditions without our imposing them — the clean illustration of the essential-versus-natural distinction. We enforce normalisation with a Lagrange multiplier, vary, integrate by parts once, and read the bulk and boundary pieces separately; the multiplier turns out to be the eigenvalue itself, tying this to constrained variation.
Step 1. Extremise subject to by forming . Fixing the norm is essential because is scale-invariant. Why: the multiplier enters as bookkeeping but will emerge as the physical eigenvalue — the surprise of this derivation.
Step 2. Vary and keep first-order terms: , with arbitrary and admissible. Why: the term still carries a derivative on , which the fundamental lemma needs undifferentiated.
Step 3. Integrate that term by parts, giving . Why: integration by parts splits the variation into a bulk integral and a boundary term — the pieces that give the ODE and the boundary conditions.
Step 4. Since is arbitrary in the interior, the bracket vanishes pointwise: , the Sturm–Liouville equation, with the multiplier revealed as the eigenvalue . Why: this recovers the operator of equation (4) from pure extremisation — solving the ODE and minimising the quotient are the same task.
Step 5. The leftover must also hold. Where is pinned (essential/Dirichlet) vanishes and the term dies; where is free, forces — a natural Neumann-type condition supplied for free. Why: the operational meaning of "natural versus essential" — you impose essential conditions by hand, but the natural ones follow from stationarity.
Limiting cases
The variational characterisation sharpens, specialises, and — instructively — fails in identifiable regimes.
| Case | Result | Meaning |
|---|---|---|
| Ground state | Unconstrained minimum; any admissible trial function is a rigorous upper bound on . | |
| Excited states, modes known | A constrained minimum requiring the lower eigenfunctions in advance. | |
| Excited states, minimax | Courant–Fischer: fixes over all -dimensional subspaces, needing no lower modes. | |
| Trial function near an eigenfunction | Quadratic insensitivity: a shape error costs only in the eigenvalue. | |
| Non-self-adjoint | in general | The bounding property fails; eigenvalues may be complex, and the usual Rayleigh quotient no longer provides a real minimum or upper-bound principle. |
Worked examples
1 · Particle in a box, and how the bound tightens (fully worked)
Take with on and — the infinite square well, exact spectrum , so . Estimate from a crude single trial, then sharpen it with a two-function Rayleigh–Ritz matrix.
Step 1. Pick the simplest polynomial satisfying the essential conditions: , which vanishes at both ends. Its quotient needs and , with .
Step 2. Evaluate: and , so . Against the exact , this crude guess is an upper bound just high — from one parabola. The variational energy is stationary at the exact eigenfunction, so sufficiently small errors in the trial function produce only a second-order error in the energy.
Step 3. Enlarge the basis: add , also vanishing at both ends, and build the matrices of equation (5) with (boundary term vanishing after parts) and :
Step 4. Solve , a quadratic in , with roots and . The lower root has fallen from to — now only above , a thousandfold reduction in the ground-state error from one additional basis function. The monotone-convergence inequality is made concrete.
Step 5. The second root: both are symmetric about , so the trial space contains only even-parity states . Thus the upper Ritz root is a (loose) upper bound on , not on . To approximate , the trial space must include an antisymmetric function such as . The ground-state estimate improves from 10 (1.3% high) to 9.8697 (0.0015% high), while each Ritz value is an upper bound to the corresponding eigenvalue within the symmetry sector represented by the trial space.
2 · The hydrogen atom by a one-parameter trial (fully worked)
Estimate the ground-state energy of hydrogen, in Hartree atomic units, with the trial family , . Minimise over .
Step 1. The Rayleigh quotient here is the energy expectation . For the exponential trial the standard integrals give the normalised expectations and (using ).
Step 2. Assemble the energy functional: — the entire variational problem reduced to a one-dimensional curve (the second figure), whose minimum is the best estimate this family can give.
Step 3. Minimise: — ordinary calculus in one parameter, the Ritz reduction in its simplest form.
Step 4. Evaluate: — the exact hydrogen ground state, because the true eigenfunction lies inside the family at . When the family contains the exact eigenfunction, the minimum hits it and the bound becomes an equality.
Step 5. Contrast a family that does not contain the answer: a single Gaussian , optimised the same way, gives Ha — a genuine upper bound above the truth, because a Gaussian has the wrong cusp and tail. The exponential trial saturates at −0.5 Ha; the Gaussian gives a strict bound of −0.424 Ha — the estimate equals the truth only when the exact state is reachable.
Physics of the portrait
The Rayleigh quotient records two names and spans acoustics, quantum mechanics, and numerical analysis — from a trick for guessing a bell's pitch to the organising principle of computational physics.
Origins · 1 minRayleigh quotient and how this was discovered
The quotient is named for John William Strutt, third Baron Rayleigh, who in The Theory of Sound (1877) needed the fundamental frequencies of drums, bells, and plates without solving their eigenvalue equations. His insight — Rayleigh's principle — was that the square of the lowest natural frequency is the minimum of a ratio of potential to kinetic energy over all admissible shapes, so a guessed mode shape gives a frequency always too high but usually close. The decisive generalisation came from Walther Ritz, who in 1909, in one of the last papers of a life cut short by tuberculosis at thirty-one, made the guess systematic: expand the trial function in a finite basis with adjustable coefficients and minimise over them, turning the variational problem into linear algebra. The Rayleigh–Ritz method was born, and with it the template for finite elements (made explicit by Richard Courant in 1943) and basis-set quantum chemistry. The rigorous spectral theory — that these minima really are the eigenvalues, with the minimax characterisation reaching excited states — was supplied by Ernst Fischer (1905) and Courant (1920), and Egil Hylleraas turned it into a precision instrument in 1929, computing the helium ground state to spectroscopic accuracy. What Rayleigh introduced to guess a pitch now runs, as , inside every electronic-structure and structural-vibration code on Earth.
Going further
Texts. Stone & Goldbart, Mathematics for Physics, Ch. 1 (Calculus of Variations) and Ch. 4 (Linear Differential Operators) · Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., Ch. 22 · Hassani, Mathematical Physics, 2nd ed., Ch. 19 (Sturm–Liouville systems) · Byron & Fuller, Mathematics of Classical and Quantum Physics, Ch. 5 · Courant & Hilbert, Methods of Mathematical Physics, Vol. I, Ch. VI · Gould, Variational Methods for Eigenvalue Problems. Key numerical checks: the first variation of yields ; the spectral-average argument gives ; the box trial gives (1.3% above ) and the Ritz matrix gives (0.0015% high) and ; the hydrogen trial gives Ha at , and the single-Gaussian bound is Ha.
Prerequisites. Functionals and Function Spaces · First Variation and Stationarity · Euler–Lagrange Equation · Constrained Variation and Lagrange Multipliers · Natural and Essential Boundary Conditions. Leads to. Isoperimetric Problems · Hamilton's Principle of Stationary Action · Geodesics as Variational Problems.
Ask the tutor: Ask me to walk you through why a wrong guess still bounds the ground state, or to set up the Rayleigh–Ritz matrix for a potential of your choosing.
Is the Rayleigh quotient the same thing as the energy expectation value?
For the quantum Hamiltonian, yes — is exactly the expectation value of the energy in the (unnormalised) state , and the variational principle reads as physics: the ground state is the configuration of least energy at fixed normalisation. But the quotient is more general. Replace by any self-adjoint operator — the Laplacian of a drum, the stiffness operator of a beam, the Sturm–Liouville operator of a waveguide — and becomes the relevant "energy per unit norm", whose minimum is the lowest frequency or the buckling load. The quantum reading is the most famous special case, not the definition.
Why does the eigenvalue come out so much more accurately than the wavefunction?
Because is stationary at every eigenfunction, its first variation there is zero. Write the trial function as the true eigenfunction plus a small error, ; the leading correction to is not order but order , since the linear term vanishes by stationarity. So a error in the shape produces only about error in the eigenvalue. This quadratic insensitivity is the most useful fact about variational methods: a modest, physically motivated guess delivers an energy far more accurate than the guess deserves, which is why the method dominates practical quantum chemistry.
What is the difference between the constrained-minimum and minimax routes to excited states?
Both compute , but need different information. The constrained-minimum formula requires you to already know the lower eigenfunctions, so you can restrict to their orthogonal complement — practical only when the low modes are in hand. The Courant–Fischer minimax formula needs nothing of the kind: it ranges over all -dimensional subspaces and takes the worst-case quotient in each. The minimax route legitimises finite-basis estimates of excited states, because diagonalising the Rayleigh–Ritz matrix in an -function space realises exactly this minimax over the subspaces it can build.
Why must a trial function satisfy the essential boundary conditions but not the natural ones?
The essential (Dirichlet-type) conditions define the space of admissible functions — they are part of the problem's statement, and a function that violates them is not in the game at all. Impose them and the boundary term in the variation vanishes because the variation itself is pinned there. The natural (Neumann-type) conditions are different: they emerge from setting the boundary term to zero at a free end, so stationarity supplies them automatically. A trial function need not satisfy a natural condition in advance; if it does not, the variational principle simply enforces it in the limit. Violating an essential condition, by contrast, can push the Rayleigh quotient below the true ground state and wreck the bound.
Does the variational bound work for excited states too, or only the ground state?
The clean upper bound is unconditional only for the ground state. For excited states you get a bound only if you respect orthogonality: a trial function orthogonal to the exact lower eigenfunctions bounds from above. In practice you rarely know those exactly, so instead you diagonalise a Rayleigh–Ritz matrix in a multi-function basis — its -th root is a rigorous upper bound on , guaranteed by the Courant–Fischer minimax principle and Cauchy interlacing. Excited-state bounds are real, but they come from the matrix method, not from naively minimising a single trial function.
When does the variational estimate become exact rather than just an upper bound?
Exactly when the trial family contains the true eigenfunction. If the exact ground state lies inside your trial space — as lies inside the family for hydrogen — then the minimisation finds it and the bound is saturated: with no gap. This is why the hydrogen exponential trial returns Ha exactly, while a Gaussian trial, whose family excludes the true cusped eigenfunction, can only reach Ha. In the finite-basis picture, the estimate becomes exact when the basis spans the true eigenfunction, which is the sense in which enlarging a complete basis converges to the truth. This is also why the finite element method delivers guaranteed bounds: refining the mesh enlarges the trial space, so computed frequencies fall toward the exact ones from above.