Every diagonalizable matrix has an eigenvector basis, but that basis need not be orthogonal. A real symmetric matrix has stronger structure: it scales independently along mutually perpendicular directions.

Symmetry connects a matrix to the inner product

A real matrix is symmetric when AT=AA^{\mathsf T}=A. It satisfies

⟨Ax,y⟩=⟨x,Ay⟩.\langle A\mathbf x,\mathbf y\rangle =\langle\mathbf x,A\mathbf y\rangle.

If Av=λvA\mathbf v=\lambda\mathbf v and Aw=μwA\mathbf w=\mu\mathbf w with λ≠μ\lambda\ne\mu, symmetry gives

λ⟨v,w⟩=μ⟨v,w⟩.\lambda\langle\mathbf v,\mathbf w\rangle =\mu\langle\mathbf v,\mathbf w\rangle.

Thus eigenvectors for distinct eigenvalues are orthogonal.

The real spectral theorem

TheoremSpectral theorem for real symmetric matrices

Every real symmetric matrix admits an orthogonal matrix QQ and a real diagonal matrix Λ\Lambda such that

A=QΛQT.A=Q\Lambda Q^{\mathsf T}.

The statement contains three facts: every eigenvalue is real, an orthonormal eigenvector basis exists, and the matrix is diagonal in that basis. Conversely, every matrix QΛQTQ\Lambda Q^{\mathsf T} of this form is symmetric.

Complete the induction behind the spectral theorem

A real symmetric matrix also satisfies A∗=AA^*=A over the complex numbers. For Av=λvA\mathbf v=\lambda\mathbf v, the scalar v∗Av\mathbf v^*A\mathbf v equals its conjugate, so

λ=v∗Avv∗v∈R.\lambda=\frac{\mathbf v^*A\mathbf v}{\mathbf v^*\mathbf v}\in\mathbb R.

The real and imaginary parts of the eigenvector satisfy the same real eigenvalue equation, and at least one is nonzero. Choose a real unit eigenvector q\mathbf q. For w⊥q\mathbf w\perp\mathbf q,

⟨Aw,q⟩=⟨w,Aq⟩=0.\langle A\mathbf w,\mathbf q\rangle =\langle\mathbf w,A\mathbf q\rangle=0.

Thus q⊥\mathbf q^\perp is invariant and the restriction is still symmetric. Induction supplies an orthonormal eigenbasis there. The initial existence of a complex eigenvalue uses the fundamental theorem of algebra.

A quadratic form measures direction-dependent energy

A square matrix defines

q(x)=xTAx.q(\mathbf x)=\mathbf x^{\mathsf T}A\mathbf x.

The skew-symmetric part contributes zero, so qq depends only on (A+AT)/2(A+A^{\mathsf T})/2. With the symmetric spectral decomposition and y=QTx\mathbf y=Q^{\mathsf T}\mathbf x,

q(x)=∑iλiyi2.q(\mathbf x)=\sum_i\lambda_i y_i^2.

Cross terms disappear, leaving independent squares along the eigenvector directions.

How a coordinate change removes cross terms

For A=(2112)A=\begin{pmatrix}2&1\\1&2\end{pmatrix}, unit eigenvectors are (1,1)/2(1,1)/\sqrt2 and (1,−1)/2(1,-1)/\sqrt2. Set

u=x+y2,v=x−y2.u=\frac{x+y}{\sqrt2},\qquad v=\frac{x-y}{\sqrt2}.

Then

2x2+2xy+2y2=3u2+v2.2x^2+2xy+2y^2=3u^2+v^2.

The level set q=1q=1 has semiaxes 1/31/\sqrt3 and 11 along these directions. Diagonalization identifies both simpler coordinates and the actual axes of the ellipse.

Eigenvalue signs determine definiteness

A matrix is positive definite when xTAx>0\mathbf x^{\mathsf T}A\mathbf x>0 for every nonzero x\mathbf x. Positive semidefinite allows equality. For a real symmetric matrix,

A≻0⟺λi>0 for every i,A\succ0\Longleftrightarrow \lambda_i>0\text{ for every }i, A⪰0⟺λi≥0 for every i.A\succeq0\Longleftrightarrow \lambda_i\ge0\text{ for every }i.

Level sets of a positive-definite quadratic form are ellipsoids. Small eigenvalues give flat directions and large eigenvalues give steep directions, explaining why condition number affects optimization speed.

Proof

If all eigenvalues are positive, every nonzero coordinate vector has at least one nonzero square, so ∑iλiyi2>0\sum_i\lambda_i y_i^2>0. Conversely test the quadratic form on each unit eigenvector to obtain λi>0\lambda_i>0. Replacing strict inequalities by non-strict ones proves the semidefinite equivalence. For a level c>0c>0, the equation is ∑iyi2/(c/λi)=1\sum_i y_i^2/(c/\lambda_i)=1, giving semiaxes c/λi\sqrt{c/\lambda_i}. The zero level contains only the origin, and negative levels are empty.

Positive definiteness gives a unique minimum

Let AA be symmetric positive definite and define f(x)=12xTAx−bTxf(\mathbf x)=\tfrac12\mathbf x^{\mathsf T}A\mathbf x-\mathbf b^{\mathsf T}\mathbf x. For x∗=A−1b\mathbf x_*=A^{-1}\mathbf b, expansion gives

f(x)−f(x∗)=12(x−x∗)TA(x−x∗).f(\mathbf x)-f(\mathbf x_*) =\tfrac12(\mathbf x-\mathbf x_*)^{\mathsf T}A(\mathbf x-\mathbf x_*).

This is positive unless x=x∗\mathbf x=\mathbf x_*, proving a unique minimum without multivariable calculus. In Hessian language, the Hessian is precisely AA.

The Rayleigh quotient finds extreme directions

For nonzero x\mathbf x, define

RA(x)=xTAxxTx.R_A(\mathbf x) =\frac{\mathbf x^{\mathsf T}A\mathbf x} {\mathbf x^{\mathsf T}\mathbf x}.

In an orthonormal eigenbasis, this is a weighted average of eigenvalues. Therefore

λmin⁡≤RA(x)≤λmax⁡,\lambda_{\min}\le R_A(\mathbf x)\le\lambda_{\max},

with equality in the corresponding extreme eigendirections. This variational view connects principal components, stability, and spectral graph theory.

More explicitly, the weights are yi2/∑jyj2y_i^2/\sum_jy_j^2, are nonnegative, and sum to one. Subtracting λmin⁡\lambda_{\min} gives a sum of nonnegative terms. Equality requires every coordinate attached to a strictly larger eigenvalue to vanish. Thus equality holds on the entire minimum eigenspace; the maximum case is identical. This includes repeated extreme eigenvalues.

The complex counterpart is Hermitian

In a complex vector space, symmetry becomes A∗=AA^*=A, the Hermitian condition. Hermitian matrices also have real eigenvalues and a unitary orthonormal eigenbasis. The algebra of conjugation is reviewed in complex numbers.

The same induction proves the Hermitian statement: the fundamental theorem of algebra supplies an eigenvector, the quotient v∗Av/(v∗v)\mathbf v^*A\mathbf v/(\mathbf v^*\mathbf v) makes its eigenvalue real, and its complex orthogonal complement is invariant. The restriction remains Hermitian. Normalize and induct, starting from dimension one. Unlike the real case, there is no need to extract real or imaginary parts. The required fundamental theorem of algebra is proved in the complex-numbers chapter.

Exercises

ExerciseTest positive definiteness

Determine whether A=(2112)A=\begin{pmatrix}2&1\\1&2\end{pmatrix} is positive definite.

Solution

Its eigenvalues are 33 and 11, both positive, so AA is positive definite.

ExerciseThe skew part disappears

For a real matrix KT=−KK^{\mathsf T}=-K, prove xTKx=0\mathbf x^{\mathsf T}K\mathbf x=0.

Solution

The scalar equals its transpose, xTKTx=−xTKx\mathbf x^{\mathsf T}K^{\mathsf T}\mathbf x=-\mathbf x^{\mathsf T}K\mathbf x, so it must vanish.

ExerciseWeights in a Rayleigh quotient

For A=diag⁡(1,4)A=\operatorname{diag}(1,4), write the Rayleigh quotient of the unit vector (cos⁡θ,sin⁡θ)(\cos\theta,\sin\theta).

Solution

RA=cos⁡2θ+4sin⁡2θR_A=\cos^2\theta+4\sin^2\theta, which ranges from 11 to 44. The trigonometric parameterization enforces unit length.