Symmetric Matrices and the Spectral Theorem
Symmetric matrices () are the most well-behaved matrices in linear algebra: the Spectral Theorem guarantees they have only real eigenvalues and an orthonormal basis of eigenvectors, so every real symmetric matrix can be written with orthogonal and diagonal. Applies wherever quadratic forms, covariance, or self-adjoint operators appear — statistics, mechanics, optimization, quantum theory. Proven in stages by Cauchy, Jacobi, and Hilbert (19th–early 20th century).
Symmetry of a matrix is equivalent to a geometric condition: the associated linear map is self-adjoint with respect to the standard inner product, . This single identity is the engine that forces eigenvalues to be real, eigenvectors of distinct eigenvalues to be orthogonal, and — crucially — guarantees a complete orthonormal eigenbasis. Diagonalization becomes a rotation of coordinates in which the map acts by independent stretches along perpendicular axes.
Formal Statement
A matrix is symmetric if it equals its own transpose:
Derivation hint: the transpose reflects entries across the main diagonal; equality means each off-diagonal pair matches. Equivalently, is symmetric iff it is self-adjoint for the Euclidean inner product:
Derivation hint: expand and ; equality for all forces .
is orthogonally diagonalizable if there exist an orthogonal matrix () and a diagonal matrix such that
Derivation hint: the columns of are orthonormal eigenvectors; projects onto the line spanned by , so is a weighted sum of orthogonal projections. where the columns of are orthonormal eigenvectors of satisfying .
Let with . Then: 1. All eigenvalues of are real. 2. Eigenvectors corresponding to distinct eigenvalues are orthogonal. 3. There exists an orthonormal basis of consisting of eigenvectors of ; equivalently, with orthogonal and real diagonal. Conversely, any matrix of the form with orthogonal and real diagonal is symmetric.
Why It Holds
Let be an eigenvalue with (possibly complex) eigenvector , so .
Step 1. Take the conjugate-transpose inner product with :
Derivation hint: multiply on the left by .
Step 2. Take the conjugate transpose of the scalar . Since it is a matrix it equals its own transpose, and because is real symmetric ():
Derivation hint: ; use for real symmetric matrices.
Step 3. Thus is real. From [4], is real and , so .
∎Let , with (both real).
Step 1. Using self-adjointness [2]:
Derivation hint: substitute on the left and on the right, pulling scalars out of the inner product.
Step 2. Therefore . Since , we get .
∎We prove the full diagonalization by induction on .
Base case : a matrix is trivially diagonal.
Inductive step. Assume the result for . By the fundamental theorem of algebra and reality (proven above), has a real eigenvalue with a unit eigenvector , .
Step 1. Let , an -dimensional subspace. Claim: is invariant under . For ,
Derivation hint: move across the inner product by self-adjointness, then use and . so .
Step 2. The restriction is a self-adjoint operator on an -dimensional inner product space. Choosing any orthonormal basis of , its matrix is symmetric, so by the inductive hypothesis has an orthonormal basis of eigenvectors of .
Step 3. Then is an orthonormal eigenbasis of . Assembling them as columns of gives , i.e. .
∎While Cauchy (1829) first proved the reality of eigenvalues of symmetric matrices in his study of quadratic surfaces, it was David Hilbert who, in his 1904–1910 work on integral equations, generalized the spectral theorem to infinite-dimensional self-adjoint operators, coining the term Spektrum. Hilbert's framework — later abstracted into Hilbert spaces by von Neumann — revealed the finite-dimensional Spectral Theorem as the simplest instance of a vast theory underlying quantum mechanics and functional analysis.
Building Intuition
Picture a symmetric matrix as describing a stretching of space along perpendicular axes. A general matrix can rotate and stretch in a tangled way (its singular vectors and eigenvectors differ), but a symmetric matrix decouples into clean orthogonal directions. The eigenvectors are the principal axes, and the eigenvalues are the stretch factors. The decomposition literally says: project onto each principal axis, scale by , and add up. The quadratic form becomes a sum of independent squares once you rotate into the eigenbasis — this is why symmetric matrices are exactly the ones whose level sets are ellipsoids (or hyperboloids), with axes along the eigenvectors.
Worked Examples
Given: .
Step 1 — Characteristic polynomial.
Derivation hint: expand the determinant of . So , (both real, as guaranteed).
Step 2 — Eigenvectors. For : . For : . Note — orthogonal, as guaranteed.
Step 3 — Assemble.
Derivation hint: columns of are the normalized eigenvectors; verify reproduces by direct multiplication.
Given: Classify the conic .
Step 1 — Matrix form. Write with the symmetric matrix
Derivation hint: the off-diagonal entry is half the coefficient of the cross-term , split symmetrically.
Step 2 — Eigenvalues. , so , .
Step 3 — Rotate to principal axes. Eigenvectors (for ) and (for ). In rotated coordinates :
Derivation hint: substitute ; the quadratic form becomes . This is an ellipse with semi-axes and , rotated .
Common Misconceptions
Symmetry depends on the inner product, not just the entries. Over , the natural analogue of "symmetric" is Hermitian (, i.e. ), not . A complex matrix with need NOT have real eigenvalues or an orthonormal eigenbasis. The Spectral Theorem as stated requires real symmetric (or complex Hermitian); do not apply it to a complex symmetric matrix.
Repeated eigenvalues do not break the theorem. Even when an eigenvalue has multiplicity , the eigenspace has full dimension equal to the multiplicity (no defective directions), so an orthonormal eigenbasis still exists. Within a repeated eigenspace you must apply Gram–Schmidt to manufacture orthonormal eigenvectors, since eigenvectors of the same eigenvalue need not be orthogonal automatically.
The matrix is not symmetric. It has the single eigenvalue with a one-dimensional eigenspace spanned by — it is defective and cannot be diagonalized at all. This shows symmetry is essential: dropping it destroys both diagonalizability and the orthonormal eigenbasis. Likewise (antisymmetric) has eigenvalues — non-real, confirming symmetry is what forces real spectra.
Connections
The Spectral Theorem is the finite-dimensional heart of a web of results. It underlies the Singular Value Decomposition (apply spectral decomposition to and ). It generalizes to Hermitian Matrices over and, infinitely, to the Spectral Theorem for Self-Adjoint Operators on Hilbert spaces. The connection between sign of eigenvalues and definiteness gives Positive Definite Matrices and the Quadratic Forms classification (Sylvester's law of inertia). The diagonalizing rotation is exactly the construction behind Principal Component Analysis, and the variational characterization of eigenvalues feeds the Rayleigh Quotient and Courant–Fischer Theorem.
Real-World Applications
Historical Development
Subtleties & Limits
While the finite-dimensional Spectral Theorem is complete and elementary, its infinite-dimensional descendants remain subtle. For unbounded self-adjoint operators the "eigenvalues" may form a continuous spectrum with no eigenvectors in the Hilbert space, requiring the measure-theoretic spectral resolution . Determining the spectrum of specific operators (e.g. random Schrödinger operators, the question of Anderson localization, or the conjectured spectral interpretation of the Riemann zeta zeros via the Hilbert–Pólya conjecture) is an active research frontier. Numerically, computing eigendecompositions of very large symmetric matrices stably and at scale (e.g. for sparse Laplacians) remains a driving challenge in scientific computing.
See Also
Eigenvalues and Eigenvectors · Singular Value Decomposition · Hermitian Matrices · Positive Definite Matrices · Quadratic Forms · Orthogonal Matrices · Rayleigh Quotient · Principal Component Analysis · Courant–Fischer Theorem