Rayleigh–Ritz Variational Method
The Rayleigh–Ritz method turns a trial subspace of wavefunctions into a finite eigenproblem by making the energy stationary within that space. The variational principle gives an upper bound on the ground energy. Here we explain how to retain that bound when assembling and solving matrices, especially in a nonorthogonal basis.
Helpful background. Matrix diagonalization supplies finite-matrix residual and orthogonality tests.
Projecting the energy functional
Section titled “Projecting the energy functional”Let be linearly independent functions in the quadratic-form domain of a self-adjoint Hamiltonian bounded below. Write and assemble
When only form-domain regularity is available, the second expression means the associated quadratic form, often evaluated after integration by parts with the appropriate boundary conditions. Then
Varying under yields . A coefficient vector of Euclidean norm one need not represent a normalized state. All overlaps, observables, and orthogonality constraints must respect .
For a positive-definite overlap, factor and solve
Use triangular solves rather than explicit inverses. Alternatively diagonalize and orthogonalize with retained columns .
Linear dependence and variational bounds
Section titled “Linear dependence and variational bounds”A very small signals a combination of basis functions with tiny norm. Scaling by amplifies assembly noise. Removing directions below a stated threshold can improve stability, but it changes the trial space; vary that threshold as part of the calculation. A negative overlap eigenvalue larger than roundoff is an assembly or quadrature failure for an ordinary positive Hilbert-space metric.
For conforming nested spaces , with the same Hamiltonian and exact matrix elements, the ordered Ritz values obey
for discrete eigenvalues covered by the min–max principle. Non-nested bases need not give a monotone sequence. Approximate quadrature, pseudopotential changes, or inconsistent boundary conditions can invalidate the claimed upper bound. A small algebraic residual only proves that the projected matrix problem was solved accurately; the residual outside the trial space may remain large.
A Gaussian oscillator calculation
Section titled “A Gaussian oscillator calculation”In dimensionless units take and the normalized Gaussian
Using and gives
The minimum at reaches the exact ground energy. With two widths, the off-diagonal overlap is
As , the smaller eigenvalue of the two-function overlap tends to zero. More functions do not automatically mean more independent physical information. This example simultaneously checks variational minimization, overlap normalization, and linear-dependence handling.
Exercises
Section titled “Exercises”For two normalized functions with real overlap , find the overlap eigenvalues and describe the limit .
Solution
has eigenvalues and . The antisymmetric coefficient combination has norm proportional to . At the functions are identical and the nominal two-dimensional basis represents only one independent direction.
References
Section titled “References”- Anderson, E., et al., LAPACK Users’ Guide, 3rd ed., SIAM, 1999, online guide — generalized Hermitian definite eigensystems.
- Bai, Z., J. Demmel, J. Dongarra, A. Ruhe, and H. van der Vorst, eds., Templates for the Solution of Algebraic Eigenvalue Problems: A Practical Guide, SIAM, 2000, online text — Rayleigh–Ritz projection and eigenvalue approximation.