The Spectral Theorem
The Spectral Theorem is the cornerstone of this chapter: every symmetric matrix can be diagonalized by an orthogonal matrix. Specifically, for any symmetric matrix , there exists an orthogonal matrix (meaning ) and a diagonal matrix such that .
The columns of form an orthonormal basis of , called the principal axes of . The diagonal entries of are called the eigenvalues of . The eigenvalues are always real (never complex) for symmetric matrices — this is a key structural fact.
Geometrically, the decomposition says: rotating to the principal-axis frame (via ), scaling independently along each axis (via ), then rotating back (via ). This makes symmetric matrices far easier to analyze than general matrices.
Formal View
This decomposition is called the spectral decomposition or eigendecomposition of . MATLAB: `[U, Lambda] = eig(A)`.
Interactive Visualization
Eigenvector Explorer
Why This Matters
The Spectral Theorem is what makes symmetric matrices so powerful — it guarantees a clean coordinate system where everything diagonalizes.
- PCA relies on the spectral theorem: the covariance matrix is symmetric, so it has orthogonal eigenvectors (principal components).
- Vibration analysis: natural frequencies of a structure are eigenvalues of a symmetric stiffness matrix.
- Quantum mechanics: observables are represented by symmetric (Hermitian) operators, whose eigenvalues are the measurable quantities.
Quiz
The spectral theorem guarantees that every symmetric matrix has real eigenvalues.
In the spectral decomposition , what does tell us about ?
Common Mistakes
- Confusing the spectral theorem (for symmetric matrices) with the general diagonalization theorem (which requires linearly independent eigenvectors but not necessarily orthonormal ones).
- Forgetting that is orthogonal, so — this simplifies many calculations.