Spectral Theorem for Symmetric Matrices
One-line statement: Every real symmetric matrix can be diagonalized by an orthogonal matrix, with all-real eigenvalues. Key result: If , then where is orthogonal and is diagonal real. Where it applies: quadratic forms, principal axes, covariance/PCA, vibrations, quantum observables, optimization (Hessians). Who/when: Cauchy (1829) for the reality of eigenvalues; the full orthogonal-diagonalization picture matured through the 19th century.
A symmetric matrix is exactly a self-adjoint operator with respect to the standard dot product: . Self-adjointness has two immediate, devastating consequences — eigenvalues cannot be complex, and eigenvectors for distinct eigenvalues are automatically orthogonal. Once you know orthogonality is built into the structure, the only remaining work is to peel off eigenvectors one at a time and show the process exhausts all of . The result: acts as a pure scaling by along each of mutually perpendicular axes.
Formal Statement
A real matrix is symmetric if it equals its transpose:
Derivation hint: This is the definition; the transpose has entries , so equality means each off-diagonal pair matches. A real matrix is orthogonal if its columns form an orthonormal basis of :
Derivation hint: The entry of is the dot product of columns and ; demanding it equal is precisely orthonormality. Here denotes the standard Euclidean inner product, and .
Let with . Then: 1. All eigenvalues of are real: . 2. has an orthonormal basis of eigenvectors of . 3. There exists an orthogonal matrix and a real diagonal matrix with
Derivation hint: Stack as the matrix equation , then right-multiply by ; the rank-one expansion follows from since has columns . The matrices are the orthogonal projections onto the eigenlines, satisfying
Derivation hint: since ; since ; completeness .
Why It Holds
Step 1. Let be an eigenvalue with eigenvector , : . Write for the complex conjugate and for the conjugate transpose.
Step 2. Compute in two ways. On one hand,
Derivation hint: Substitute the eigenvalue equation and factor the scalar out of the inner product.
Step 3. On the other hand, since is real and symmetric (, ), is a scalar, hence equal to its own conjugate transpose:
Derivation hint: A matrix equals its conjugate transpose; use . Taking conjugate transpose of gives , forcing .
Step 4. Since , we get , so . A real eigenvalue of a real matrix then has a real eigenvector (the kernel of the real matrix is a real subspace).
∎Step 1 (orthogonality for distinct eigenvalues). Suppose , with . Then
Derivation hint: Self-adjointness uses . Since , conclude .
Step 2 (base case). For the matrix is already diagonal; take .
Step 3 (inductive step). Assume the result for dimension . By reality, has a real eigenvalue with a unit eigenvector (). Let , an -dimensional subspace.
Step 4 (invariance of ). is -invariant: if then
Derivation hint: Move across the inner product via symmetry, then use and . Thus . so . The restriction is a symmetric operator on the -dimensional inner-product space .
Step 5 (apply induction). By the inductive hypothesis has an orthonormal basis of eigenvectors of . Adjoining gives an orthonormal basis of of eigenvectors. Forming gives , i.e. .
∎A common misreading is that orthogonality of eigenvectors only follows when eigenvalues are distinct (Step 1). For repeated eigenvalues the eigenspace is multi-dimensional, and orthogonality within it must be imposed by hand (e.g. Gram–Schmidt). The induction above sidesteps this: it never assumes simple eigenvalues — it only ever needs one eigenvector at a time and the invariance of the orthogonal complement.
Cauchy, working on the principal axes of quadric surfaces and of moments of inertia, proved in 1829 that the eigenvalues of a symmetric matrix (he worked with the "characteristic equation" of a real symmetric system) are always real. He recognized that the principal-axis problem — finding directions in which a quadratic form decouples into independent squares — was equivalent to diagonalizing a symmetric array. His result removed the apparent paradox that physical, real-valued problems might produce complex resonant frequencies, and it anchored the later development of the spectral theory of operators by Hilbert.
Building Intuition
Picture a symmetric matrix as a stretching field. The unit sphere is mapped by to an ellipsoid. The Spectral Theorem says this ellipsoid's principal axes are mutually perpendicular, that they point along the eigenvectors , and that the semi-axis lengths are . No shearing, no twisting — pure stretching along orthogonal directions, possibly with a flip (). The orthogonal change of basis rotates your viewpoint so these axes become the coordinate axes; in that frame is simply , and scales coordinate by . The quadratic form where , so symmetry "diagonalizable by rotation" "a quadratic form is a weighted sum of squares of orthogonal coordinates."
Worked Examples
Given. Diagonalize (symmetric).
Step 1 — eigenvalues. . So , (both real ✓).
Step 2 — eigenvectors. For : . For : .
Step 3 — check orthogonality. ✓ (automatic, since ).
Step 4 — normalize. , .
Step 5 — assemble.
Derivation hint: Place normalized eigenvectors as columns of in the same order as their eigenvalues in ; verify and recompute .
Given. (symmetric).
Step 1 — eigenvalues. Block structure: the lower block has eigenvalues ; the top gives . So eigenvalues are (simple) and (multiplicity 2).
Step 2 — eigenspace for . , kernel spanned by . Normalize: .
Step 3 — eigenspace for . , kernel = solutions of , i.e. span of and .
Step 4 — orthogonalize within the 2D eigenspace. The two vectors and are already orthogonal (dot product ). Normalize: , .
Step 5 — result.
Derivation hint: Within a repeated eigenspace, choose any orthonormal basis (Gram–Schmidt if needed); eigenvectors from different eigenspaces are auto-orthogonal. Columns of pair with entries in order.
Common Misconceptions
"Every diagonalizable matrix is orthogonally diagonalizable" is false. A non-symmetric matrix may have a full set of eigenvectors that are not orthogonal, so with invertible but . The Spectral Theorem's converse holds tightly: is orthogonally diagonalizable over if and only if is symmetric. (Indeed if then .)
Take (rotation by ). It is real but not symmetric (). Its eigenvalues are — not real — and it has no real eigenvectors at all. This shows that the reality and orthogonal-diagonalizability conclusions genuinely require symmetry; they fail for general real matrices. A second instructive case: is non-symmetric, has the real repeated eigenvalue , yet is defective (only a one-dimensional eigenspace), so it is not diagonalizable at all. Symmetry rules out both pathologies simultaneously.
In the -th column of must be the eigenvector for the -th diagonal entry of . Reordering eigenvalues without reordering columns yields a wrong matrix. Also, eigenvectors must be normalized (); using un-normalized eigenvectors gives but , breaking the orthogonal form.
Connections
The Spectral Theorem is the finite-dimensional, real prototype of a tower of results. Over , the natural class is Hermitian Matrices (), unitarily diagonalizable with real eigenvalues; the even broader class of Normal Matrices () is exactly the set of unitarily diagonalizable matrices. It underlies the Singular Value Decomposition, since the SVD of any matrix comes from spectrally decomposing the symmetric matrices and . It governs Quadratic Forms through Sylvester's law of inertia and the principal-axis theorem, and it specializes to Positive Definite Matrices (all ). In infinite dimensions it generalizes to the Spectral Theorem for Compact Self-Adjoint Operators and ultimately to the spectral theory of bounded and unbounded operators on Hilbert Spaces. It is also the engine of Principal Component Analysis via the covariance matrix.
Real-World Applications
Historical Development
Subtleties & Limits
The undergraduate theorem is complete and admits no open questions — but its boundaries are where the subtleties live. (1) Numerical stability: eigenvalue/eigenvector computation for symmetric matrices is far better-conditioned than for general matrices, but eigenvectors of nearly-degenerate eigenvalues are ill-conditioned (the eigenspace is stable, individual vectors are not). (2) Generalized eigenproblems: with symmetric and positive definite still diagonalizes simultaneously, but if is merely symmetric (indefinite) the clean theory breaks. (3) Infinite dimensions: for unbounded self-adjoint operators the eigenvector expansion must be replaced by a projection-valued measure (continuous spectrum), and not every self-adjoint operator has eigenvectors — the spectral theorem survives only in integral form. (4) Non-real fields: over fields without a notion of orthogonality (e.g. finite fields), "symmetric" loses its spectral force entirely.
See Also
Hermitian Matrices · Normal Matrices · Diagonalization · Rayleigh Quotient · Sylvester's Law of Inertia · Gram–Schmidt Process · Spectral Graph Theory