Skip to content

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.

Let {ϕi}i=1n\{\phi_i\}_{i=1}^n be linearly independent functions in the quadratic-form domain of a self-adjoint Hamiltonian bounded below. Write ψ=∑iciϕi\psi=\sum_i c_i\phi_i and assemble

Sij=⟨ϕi∣ϕj⟩,Hij=⟨ϕi∣H∣ϕj⟩.S_{ij}=\langle\phi_i|\phi_j\rangle,\qquad H_{ij}=\langle\phi_i|H|\phi_j\rangle.

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

E(c)=c†Hcc†Sc.E(c)=\frac{c^\dagger Hc}{c^\dagger Sc}.

Varying c†c^\dagger under c†Sc=1c^\dagger Sc=1 yields Hc=EScHc=ESc. A coefficient vector of Euclidean norm one need not represent a normalized state. All overlaps, observables, and orthogonality constraints must respect SS.

For a positive-definite overlap, factor S=LL†S=LL^\dagger and solve

H~y=Ey,H~=L−1HL−†,c=L−†y.\widetilde H y=Ey,\qquad \widetilde H=L^{-1}HL^{-\dagger},\qquad c=L^{-\dagger}y.

Use triangular solves rather than explicit inverses. Alternatively diagonalize S=Udiag⁡(si)U†S=U\operatorname{diag}(s_i)U^\dagger and orthogonalize with retained columns Ui/siU_i/\sqrt{s_i}.

A very small sis_i signals a combination of basis functions with tiny norm. Scaling by 1/si1/\sqrt{s_i} 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 Vn⊂Vn+1V_n\subset V_{n+1}, with the same Hamiltonian and exact matrix elements, the ordered Ritz values obey

Ek≤Ek(n+1)≤Ek(n)E_k\leq E_k^{(n+1)}\leq E_k^{(n)}

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.

In dimensionless units take H=(−d2/dx2+x2)/2H=(-d^2/dx^2+x^2)/2 and the normalized Gaussian

ϕα(x)=(α/π)1/4e−αx2/2,α>0.\phi_\alpha(x)=(\alpha/\pi)^{1/4}e^{-\alpha x^2/2}, \qquad \alpha>0.

Using ⟨x2⟩=1/(2α)\langle x^2\rangle=1/(2\alpha) and ⟨p2⟩=α/2\langle p^2\rangle=\alpha/2 gives

E(α)=14(α+α−1)≥12.E(\alpha)=\frac14(\alpha+\alpha^{-1})\geq\frac12.

The minimum at α=1\alpha=1 reaches the exact ground energy. With two widths, the off-diagonal overlap is

Sαβ=(2αβα+β)1/2.S_{\alpha\beta} =\left(\frac{2\sqrt{\alpha\beta}}{\alpha+\beta}\right)^{1/2}.

As β→α\beta\to\alpha, 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.

For two normalized functions with real overlap ss, find the overlap eigenvalues and describe the limit s→1s\to1.

Solution

S=(1ss1)S=\begin{pmatrix}1&s\\s&1\end{pmatrix} has eigenvalues 1+s1+s and 1−s1-s. The antisymmetric coefficient combination has norm proportional to 1−s\sqrt{1-s}. At s=1s=1 the functions are identical and the nominal two-dimensional basis represents only one independent direction.

  • 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.