The spectral theorem for symmetric matrices
8 min read
Short answer
If is a real symmetric matrix (), then it has real eigenvalues, eigenvectors for different eigenvalues are orthogonal, and with orthogonal and diagonal. A symmetric matrix is a pure stretch along perpendicular axes, with no twisting.
Why eigenvectors are perpendicular
Suppose and with . Because is symmetric, . Then
Since , we get . Symmetry is exactly what lets move from one side of a dot product to the other.
Why the eigenvalues are real
A rotation has complex eigenvalues because it twists. A symmetric matrix cannot twist. Formally, if with possibly complex, compute two ways. It equals and also (using with real entries). Since , we get , so is real.
The remaining step, that there are enough eigenvectors even for repeated eigenvalues, comes from peeling off one eigenvector at a time and repeating inside its perpendicular complement.
The decomposition and why it matters
Normalizing the eigenvectors into columns of gives : a sum of rank-one projections, each scaled by its eigenvalue.
- Quadratic forms. In eigen-coordinates , so the signs of the eigenvalues decide whether a critical point is a minimum, maximum or saddle.
- PCA. The covariance matrix is symmetric, so its eigenvectors are perpendicular directions of variance, ordered by eigenvalue.
- Easy inverse. because .
Worked example
Write in the form .
gives and . Eigenvectors: for and for , already perpendicular. Normalize: , .
Try it yourself
For find the eigenvalues and eigenvectors and confirm the eigenvectors are perpendicular.
Show the answer
gives with eigenvector , and with eigenvector . Their dot product is , so they are perpendicular.
Keep going with practice
Vidi's diagonalization lessons note when the orthogonal shortcut for symmetric matrices applies.