Maths WorkshopMaths problems with full solutions
Exercise 2181Linear algebra › Matrices and linear systemsL1Added 3 Nov 2026

Orthogonal diagonalization of a symmetric matrix

#symmetric matrix#orthogonal diagonalization#spectral theorem

Statement

Orthogonally diagonalize
A=(2112).A = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix}.

Hint

Find the eigenvalues, then orthonormalize the eigenvectors using Gram-Schmidt.

Show solutionHide solution

Solution

Eigenvalues. det⁡(A−λI)=(2−λ)2−1=λ2−4λ+3=(λ−1)(λ−3)\det(A - \lambda I) = (2-\lambda)^2 - 1 = \lambda^2 - 4\lambda + 3 = (\lambda-1)(\lambda-3), so the eigenvalues are 11 and 33.

Eigenvectors. For λ=1\lambda = 1: v1=(1,−1)v_1 = (1,-1). For λ=3\lambda = 3: v2=(1,1)v_2 = (1,1). These are already orthogonal.

Normalization. ∥v1∥=2\|v_1\| = \sqrt2, ∥v2∥=2\|v_2\| = \sqrt2, so
u1=12(1−1),u2=12(11).u_1 = \frac{1}{\sqrt2}\begin{pmatrix} 1 \\ -1 \end{pmatrix}, \qquad u_2 = \frac{1}{\sqrt2}\begin{pmatrix} 1 \\ 1 \end{pmatrix}.

Orthogonal matrix QQ. Let
Q=12(11−11).Q = \frac{1}{\sqrt2}\begin{pmatrix} 1 & 1 \\ -1 & 1 \end{pmatrix}.
Then QTQ=IQ^T Q = I and
QTAQ=(1003).Q^T A Q = \begin{pmatrix} 1 & 0 \\ 0 & 3 \end{pmatrix}.

Conclusion. A=Qdiag⁡(1,3)QTA = Q \operatorname{diag}(1,3) Q^T with QQ orthogonal.