4.6 Self-adjoint operators and the spectral theorem
This is the closing lesson of the chapter. It is short on new mechanics — most of the algebra was set up in the previous five lessons — but heavy on consequence. The spectral theorem is the deep statement that ties together everything we have built: the eigenvalues of 4.4, the inner-product geometry of 4.5, and the mode-and-modal-sum picture of Foundations 6.5. It is the algebraic reason separation of variables works.
Self-adjoint matrices
A real matrix is symmetric if it equals its own transpose: . In components, for all .
Symmetric matrices have a remarkable property hinted at in the 4.4 worked example: their eigenvalues are always real, and their eigenvectors can always be chosen orthogonal. Stated as a theorem:
Spectral theorem (real symmetric form). Every real symmetric matrix has real eigenvalues (counted with multiplicity) and an orthonormal basis of consisting of corresponding eigenvectors .
In symbols: can be written as
where is the diagonal matrix of eigenvalues and is the orthogonal matrix whose columns are the eigenvectors (so ). This is the eigendecomposition of . In the eigenbasis, the matrix is simply diagonal — every linear operation involving (matrix powers, exponentials, inverses, function evaluation) becomes componentwise multiplication in that basis.
There is a complex-vector-space generalisation. A complex matrix is Hermitian if , where is the conjugate transpose (transpose and complex-conjugate every entry). Hermitian matrices have exactly the same spectral structure as real symmetric matrices: real eigenvalues, orthonormal eigenvectors (with orthogonality measured under the Hermitian inner product ). The Hamiltonian operator in Foundations 6.8 is Hermitian; that is why its eigenvalues — the allowed energies — are real numbers rather than complex ones, and why its eigenstates can be chosen orthogonal.
Why symmetric matrices have these properties
A short proof outline, because the result is so central:
Eigenvalues are real. Suppose with possibly complex. Take the Hermitian inner product with :
The right side is times a real positive number . The left side is a complex number; by the Hermitian property of ,
so it equals its own complex conjugate, which means it’s real. The quotient of a real number by a positive real number is real, so is real. ✓
Eigenvectors of distinct eigenvalues are orthogonal. Suppose and with . Compute two ways:
- Direct: .
- Via adjoint: .
(Using that is real, so it pops out of the inner product unchanged.)
Setting the two equal: , hence . Since , the inner product is zero. ✓
Within a repeated eigenvalue’s eigenspace you can always pick orthogonal eigenvectors by Gram–Schmidt, completing the orthonormal basis.
This proof is short and elementary, yet it does the entire heavy lifting of mode-decomposition physics. Notice what it depends on: just the symmetry / Hermitian property of and the basic inner-product algebra of 4.5. No deeper machinery is required.
Self-adjoint operators on function spaces
The spectral theorem generalises to self-adjoint operators on infinite-dimensional inner-product spaces (Hilbert spaces). The setting most relevant for the bookshelf is the space of square-integrable functions with the inner product , and the operator is a linear differential operator like acting on functions satisfying chosen boundary conditions.
An operator on a function space is self-adjoint if for all in its domain. For differential operators this condition mixes the operator’s coefficients with the boundary conditions; the Sturm–Liouville form is the standard rewriting that makes the self-adjointness manifest.
The infinite-dimensional spectral theorem says:
Spectral theorem (Sturm–Liouville form). A regular Sturm–Liouville operator on a bounded interval, with self-adjoint boundary conditions, has a countably infinite sequence of real eigenvalues and a corresponding sequence of orthonormal eigenfunctions that forms a complete basis of — any sufficiently well-behaved function can be expanded as with .
This is the theorem that makes Foundations 6.5 — Modes and mode sums work. The clamped-string spatial operator with boundary conditions is self-adjoint; its eigenfunctions are therefore guaranteed to be orthogonal and complete. The Fourier sine series of any reasonable function on converges to that function in the sense.
The Hamiltonian operator in Foundations 6.8 is self-adjoint (Hermitian); its energy eigenvalues are therefore real, and its energy eigenstates form a complete orthonormal basis for the Hilbert space of wavefunctions. That is why every quantum mechanics textbook starts with this theorem.
The unified picture
Putting everything in the chapter together:
- Linear algebra is the language of linear transformations. Vectors are the things being transformed; matrices and operators are the transformations.
- Eigenvalues and eigenvectors capture the “principal directions” of any linear transformation — the directions in which the action reduces to simple scaling.
- Inner products endow the space with geometry — length, angle, perpendicularity, projection.
- The spectral theorem unifies the previous three for self-adjoint operators: the principal directions are guaranteed to exist, they are guaranteed to be orthogonal, and they are guaranteed to be complete. The operator is therefore fully described by listing its eigenvalues and eigenfunctions.
Almost every linear problem in this bookshelf reduces, under the hood, to “find the eigenvalues and eigenfunctions of a particular self-adjoint operator, then expand the answer in that basis.” The wave equation has the Laplacian; the heat equation has the Laplacian; the Helmholtz equation has the Laplacian; the Schrödinger equation has the Hamiltonian; the linearised Navier–Stokes equations have a (complicated, sometimes non-self-adjoint) flow operator. In every well-behaved case, the spectral theorem promises an orthonormal eigenbasis, and the physics decomposes mode by mode.
What we use this for
The spectral theorem is the theoretical underpinning rather than a tool you wield directly, but it is invoked tacitly wherever modes appear:
- Mode expansions for PDEs (Foundations 6.5) — the existence of a complete orthonormal mode basis is the spectral theorem applied to the spatial operator.
- Fourier series and Fourier transform (Foundations 7) — the eigenfunctions of on with periodic boundary conditions are , the complex Fourier basis. Completeness of that basis is the spectral theorem.
- Helmholtz cavity modes (Foundations 6.7) — the room modes are the eigenfunctions of with Dirichlet or Neumann boundary conditions; their orthogonality and completeness underpin all of room acoustics.
- Energy eigenstates of a quantum system (Foundations 6.8) — the Hamiltonian is self-adjoint; its eigenstates form a complete orthonormal basis, into which any state can be decomposed.
- Principal component analysis (PCA), modal decomposition of vibrating structures, proper orthogonal decomposition (POD) for fluid flows — all are instances of the spectral theorem for an empirically constructed symmetric matrix.
Closing the chapter
The chapter started with the question “what is a vector?” and ended with the spectral theorem. The arc, in one paragraph: vectors and matrices are the elementary objects; matrix–vector multiplication is the elementary operation; eigenvalues capture invariant directions; inner products supply geometry; the spectral theorem guarantees that for self-adjoint operators, the invariant directions are orthogonal and complete. Every linear problem on this bookshelf is, at some level, an application of that final guarantee.
The next chapter, Foundations 5 — Linear ODEs, already used this material — the eigenvalues of a matrix decided whether the damped oscillator was overdamped, critically damped, or underdamped. Now you can return to it knowing exactly what the algebra was doing.