Maths WorkshopMaths problems with full solutions
Exercise 2213Linear algebra › Quadratic formsL1Added 3 Nov 2026

The Rayleigh quotient

#Rayleigh quotient#eigenvalues#optimization

Statement

Let AA be a symmetric matrix. The Rayleigh quotient of X≠0X\neq0 is
R(X)=XTAXXTX.R(X)=\frac{X^TAX}{X^TX}.
Show that the minimum and maximum of RR over Rn∖{0}\mathbb{R}^n\setminus\{0\} are the smallest and largest eigenvalues of AA.

Hint

Use the Lagrange multiplier method on the sphere, or the orthogonal diagonalization A=QDQTA=QDQ^T.

Show solutionHide solution

Solution

Diagonalization. A=QDQTA=QDQ^T with QQ orthogonal, D=diag⁡(λ1,…,λn)D=\operatorname{diag}(\lambda_1,\ldots,\lambda_n).

Change of variables. Let Y=QTXY=Q^TX. Then XTAX=YTDY=∑iλiyi2X^TAX=Y^TDY=\sum_i\lambda_i y_i^2 and ∥X∥2=∥Y∥2=∑iyi2\|X\|^2=\|Y\|^2=\sum_i y_i^2. So
R(X)=∑iλiyi2∑iyi2.R(X)=\frac{\sum_i\lambda_i y_i^2}{\sum_i y_i^2}.

Bounding. Since λ1≤λi≤λn\lambda_1\le\lambda_i\le\lambda_n, the quotient lies in [λ1,λn][\lambda_1,\lambda_n].

Attainment. Take YY proportional to e1e_1 (for λ1\lambda_1) or ene_n (for λn\lambda_n); then X=QYX=QY is the corresponding eigenvector.

Conclusion. min⁡R=λmin⁡\min R=\lambda_{\min} and max⁡R=λmax⁡\max R=\lambda_{\max}.