Skip to content

Spectral Decomposition

The spectral decomposition of a finite-dimensional Hermitian operator separates its possible spectral values from the orthogonal subspaces on which those values act. If A=A†A=A^\dagger, then

A=∑a∈σ(A)aPa,A=\sum_{a\in\sigma(A)}aP_a,

where the sum is over distinct eigenvalues and PaP_a is the orthogonal projector onto the full eigenspace belonging to aa.

This page is the mathematical home for the finite-dimensional theorem, including degeneracy and projector reconstruction. The interpretation of aa as a possible observable value and PaP_a as an outcome sector belongs to Spectral Decomposition in Core Formalism.

Let H\mathcal H be a finite-dimensional complex Hilbert space and let A:H→HA:\mathcal H\to\mathcal H be Hermitian. Write

Ea=ker⁡(A−aI)E_a=\ker(A-aI)

for the eigenspace associated with the distinct eigenvalue aa. Then:

  1. every a∈σ(A)a\in\sigma(A) is real;
  2. eigenspaces belonging to distinct eigenvalues are orthogonal;
  3. the eigenspaces span the whole space;
  4. there is an orthonormal basis consisting of eigenvectors of AA.

Equivalently,

H=⨁ ⁣a∈σ(A)⊥Ea.\mathcal H =\mathop{\bigoplus_{\!a\in\sigma(A)}}_{\perp}E_a.

If PaP_a denotes the orthogonal projector onto EaE_a, the theorem takes the basis-independent form

A=∑a∈σ(A)aPa,I=∑a∈σ(A)Pa.\begin{aligned} A &=\sum_{a\in\sigma(A)}aP_a,\\ I &=\sum_{a\in\sigma(A)}P_a. \end{aligned}

The second identity is completeness. The first says that AA acts as scalar multiplication by aa on the subspace EaE_a.

The proof can be organized as an induction on dim⁡H\dim\mathcal H.

Because the scalar field is C\mathbb C, the characteristic polynomial has a root, so AA has an eigenvector uu. Hermiticity makes its eigenvalue real. Normalize uu and write Au=auAu=au.

The orthogonal complement u⊥u^\perp is invariant under AA. If v∈u⊥v\in u^\perp, then

⟨u∣Av⟩=⟨Au∣v⟩=a⟨u∣v⟩=0.\begin{aligned} \langle u\vert Av\rangle &=\langle Au\vert v\rangle\\ &=a\langle u\vert v\rangle\\ &=0. \end{aligned}

Thus Av∈u⊥Av\in u^\perp. The restriction of AA to u⊥u^\perp remains Hermitian, so the same argument applies on a space of dimension one less. Induction produces an orthonormal eigenbasis of the whole space.

Orthogonality between distinct eigenspaces follows directly. If Au=auAu=au, Av=bvAv=bv, and a≠ba\ne b, then

b⟨u∣v⟩=⟨u∣Av⟩=⟨Au∣v⟩=a⟨u∣v⟩,\begin{aligned} b\langle u\vert v\rangle &=\langle u\vert Av\rangle\\ &=\langle Au\vert v\rangle\\ &=a\langle u\vert v\rangle, \end{aligned}

so ⟨u∣v⟩=0\langle u\vert v\rangle=0.

The proof uses finite dimensionality twice: an eigenvector exists, and the induction terminates. Infinite-dimensional self-adjoint operators require a different statement.

Suppose the distinct eigenvalues are a1,…,asa_1,\ldots,a_s, and let

da=dim⁡Ead_a=\dim E_a

be the multiplicity of aa. Choose an orthonormal basis {∣a,α⟩}α=1da\{\lvert a,\alpha\rangle\}_{\alpha=1}^{d_a} inside each eigenspace. Then

Pa=∑α=1da∣a,α⟩⟨a,α∣P_a =\sum_{\alpha=1}^{d_a} \lvert a,\alpha\rangle \langle a,\alpha\rvert

and

A=∑a∑α=1daa∣a,α⟩⟨a,α∣.A =\sum_a\sum_{\alpha=1}^{d_a} a\lvert a,\alpha\rangle \langle a,\alpha\rvert.

The vectors inside a degenerate eigenspace are not unique. Any unitary change of basis within EaE_a gives another orthonormal eigenbasis. The projector PaP_a, however, is unchanged. It is the canonical object associated with the degenerate spectral value.

For a Hermitian operator, algebraic and geometric multiplicities agree. The characteristic polynomial can therefore be written

χA(z)=∏a∈σ(A)(z−a)da,∑ada=dim⁡H.\begin{aligned} \chi_A(z) &=\prod_{a\in\sigma(A)} (z-a)^{d_a},\\ \sum_a d_a &=\dim\mathcal H. \end{aligned}

The minimal polynomial has no repeated factor:

mA(z)=∏a∈σ(A)(z−a).m_A(z) =\prod_{a\in\sigma(A)}(z-a).

This absence of repeated roots is the algebraic signature of diagonalizability.

The spectral projectors form an orthogonal resolution of the identity:

Pa†=Pa,PaPb=δabPa,∑aPa=I.\begin{aligned} P_a^\dagger &=P_a,\\ P_aP_b &=\delta_{ab}P_a,\\ \sum_aP_a &=I. \end{aligned}

They also satisfy

APa=PaA=aPa,Ran⁡Pa=Ea.\begin{aligned} AP_a &=P_aA=aP_a,\\ \operatorname{Ran}P_a &=E_a. \end{aligned}

Conversely, suppose {Pa}\{P_a\} is any finite orthogonal resolution of the identity and the labels aa are real. Then

A=∑aaPaA=\sum_a aP_a

defines a Hermitian operator whose eigenspace for aa is Ran⁡Pa\operatorname{Ran}P_a, provided distinct projectors carry distinct labels. The decomposition is therefore both a consequence and a characterization of finite-dimensional Hermiticity.

The eigenspace projectors can be recovered without choosing eigenvector phases or a basis inside a degenerate block. For each distinct eigenvalue aa, define the Lagrange polynomial

pa(z)=∏b∈σ(A)b≠az−ba−b.p_a(z) =\prod_{\substack{ b\in\sigma(A)\\ b\ne a }} \frac{z-b}{a-b}.

It obeys pa(a)=1p_a(a)=1 and pa(b)=0p_a(b)=0 for every other spectral value bb. Applying the polynomial to AA gives

Pa=pa(A)=∏b∈σ(A)b≠aA−bIa−b.P_a=p_a(A) =\prod_{\substack{ b\in\sigma(A)\\ b\ne a }} \frac{A-bI}{a-b}.

This identity proves directly that the spectral projectors are unique. It also shows that every operator commuting with AA commutes with each PaP_a.

For an operator with only two distinct eigenvalues aa and bb,

Pa=A−bIa−b,Pb=A−aIb−a.\begin{aligned} P_a &=\frac{A-bI}{a-b},\\ P_b &=\frac{A-aI}{b-a}. \end{aligned}

If AA has just one eigenvalue, Hermiticity forces A=aIA=aI and the single spectral projector is II.

Spectral Decomposition and Diagonalization

Section titled “Spectral Decomposition and Diagonalization”

Choose an orthonormal eigenbasis and place its vectors in the columns of a unitary matrix UU. If DD is the diagonal matrix of eigenvalues, repeated according to multiplicity, then

U†AU=D,A=UDU†.\begin{aligned} U^\dagger AU &=D,\\ A &=UDU^\dagger. \end{aligned}

This is unitary diagonalization. The diagonal matrix depends on an ordering, and UU is nonunique whenever phases or degenerate basis rotations are changed. By contrast,

A=∑aaPaA=\sum_a aP_a

is basis independent and groups all copies of one eigenvalue into a single canonical subspace.

General diagonalization may use a nonunitary similarity A=SDS−1A=SDS^{-1}. The spectral theorem says that Hermitian, and more generally normal, matrices admit the stronger choice S=US=U with U−1=U†U^{-1}=U^\dagger. See Diagonalization and Normal Operators.

Consider

A=(5232032520001).A= \begin{pmatrix} \frac52&\frac32&0\\ \frac32&\frac52&0\\ 0&0&1 \end{pmatrix}.

The normalized vector

u=12(110)u=\frac{1}{\sqrt2} \begin{pmatrix} 1\\1\\0 \end{pmatrix}

has eigenvalue 44. Its orthogonal complement is the two-dimensional eigenspace with eigenvalue 11. The projectors are

P4=12(110110000),P1=12(1−10−110002).\begin{aligned} P_4 &=\frac12 \begin{pmatrix} 1&1&0\\ 1&1&0\\ 0&0&0 \end{pmatrix},\\[4pt] P_1 &=\frac12 \begin{pmatrix} 1&-1&0\\ -1&1&0\\ 0&0&2 \end{pmatrix}. \end{aligned}

They satisfy

P4P1=0,P4+P1=I,P_4P_1=0, \qquad P_4+P_1=I,

and the spectral decomposition is

A=4P4+P1.A=4P_4+P_1.

The polynomial formulas recover the same projectors:

P4=A−I3,P1=4I−A3.\begin{aligned} P_4 &=\frac{A-I}{3},\\ P_1 &=\frac{4I-A}{3}. \end{aligned}

An orthonormal basis of the eigenvalue-11 subspace could be (1,−1,0)T/2(1,-1,0)^T/\sqrt2 and (0,0,1)T(0,0,1)^T, but rotating those two vectors leaves P1P_1 and AA unchanged.

Once the distinct values aa and multiplicities dad_a are known, many operator properties are immediate:

tr⁡A=∑adaa,det⁡A=∏aada,rank⁡A=∑a≠0da,∥A∥op=max⁡a∣a∣.\begin{aligned} \operatorname{tr}A &=\sum_a d_a a,\\ \det A &=\prod_a a^{d_a},\\ \operatorname{rank}A &=\sum_{a\ne0}d_a,\\ \lVert A\rVert_{\mathrm{op}} &=\max_a\lvert a\rvert. \end{aligned}

If 0∈σ(A)0\in\sigma(A), then

ker⁡A=Ran⁡P0.\ker A=\operatorname{Ran}P_0.

The operator is positive semidefinite precisely when every a≥0a\ge0, and it is positive definite precisely when every a>0a>0.

For a normalized vector ψ\psi,

⟨ψ∣A∣ψ⟩=∑aa∥Paψ∥2.\langle\psi\vert A\vert\psi\rangle =\sum_a a\lVert P_a\psi\rVert^2.

Because the nonnegative weights sum to one, the quadratic form lies between the smallest and largest eigenvalues. This is the spectral origin of the Rayleigh bounds.

Orthogonality eliminates mixed products. For every positive integer nn,

An=∑aanPa.A^n=\sum_a a^nP_a.

More generally, for any function defined on the finite set σ(A)\sigma(A),

f(A)=∑af(a)Pa.f(A)=\sum_a f(a)P_a.

Examples include

eA=∑aeaPa,A−1=∑a1aPaif 0∉σ(A).\begin{aligned} e^A &=\sum_a e^aP_a,\\ A^{-1} &=\sum_a\frac{1}{a}P_a \quad\text{if }0\notin\sigma(A). \end{aligned}

In finite dimensions, every such f(A)f(A) can also be represented by a polynomial in AA through interpolation. The construction, analytic definitions, square roots, and exponentials are developed in Matrix Functions and Exponentials.

Suppose AA and BB are Hermitian and [A,B]=0[A,B]=0. Since each PaP_a is a polynomial in AA,

[B,Pa]=0.[B,P_a]=0.

Therefore BB preserves every eigenspace of AA:

B(Ea)⊆Ea.B(E_a)\subseteq E_a.

Within each possibly degenerate EaE_a, the restriction of BB is Hermitian and can be diagonalized using an orthonormal basis. Combining the bases from all blocks gives a common orthonormal eigenbasis for AA and BB.

Thus two finite-dimensional Hermitian operators commute if and only if they are simultaneously unitarily diagonalizable. Degeneracy is not an obstacle; it is the freedom that allows the second operator to be diagonalized within the first operator’s spectral blocks.

The spectral theorem supplies values aa and orthogonal projectors PaP_a. It does not, by itself, supply the Born rule, identify a laboratory observable, or prescribe a post-measurement state. Those are physical inputs to quantum theory.

For the probabilistic interpretation, degeneracy, moments, coarse graining, and outcome sectors, see Spectral Decomposition in Core Formalism and The Discrete Born Rule. The mathematical decomposition should not be mistaken for a complete measurement model.

The finite sum over eigenspaces is not the general spectral theorem. A self-adjoint operator may have continuous spectrum and no normalizable eigenvectors at some spectral values. The replacement is a projection-valued measure EE:

A=∫Rλ dE(λ).A=\int_{\mathbb R}\lambda\,dE(\lambda).

For an unbounded operator, the integral also determines the operator domain; formal manipulation without domain control can be invalid.

Compact self-adjoint operators retain a largely discrete picture: their nonzero spectral values are eigenvalues of finite multiplicity, with no nonzero accumulation point. General self-adjoint operators need the full measure-theoretic formulation. See Spectral Theorem, Practical Version for that extension.

For a Hermitian matrix, use a Hermitian eigensolver. It returns an approximately unitary eigenvector matrix QQ and a real diagonal matrix Λ\Lambda such that

A≈QΛQ†.A\approx Q\Lambda Q^\dagger.

Useful diagnostics include

rj=∥Aqj−λjqj∥,ϵorth=∥Q†Q−I∥,ϵrec=∥A−QΛQ†∥.\begin{aligned} r_j &=\lVert Aq_j-\lambda_jq_j\rVert,\\ \epsilon_{\mathrm{orth}} &=\lVert Q^\dagger Q-I\rVert,\\ \epsilon_{\mathrm{rec}} &=\lVert A-Q\Lambda Q^\dagger\rVert. \end{aligned}

Report these relative to an appropriate scale such as ∥A∥\lVert A\rVert.

Individual eigenvectors inside an exactly or nearly degenerate cluster are not stable objects: tiny perturbations can rotate them substantially. The invariant subspace is the meaningful result. If QCQ_C contains an orthonormal basis for a resolved eigenvalue cluster CC, form

PC=QCQC†.P_C=Q_CQ_C^\dagger.

Compare projectors or subspaces across calculations rather than comparing eigenvectors column by column. Clustering requires a tolerance informed by residuals, spectral gaps, matrix scale, and the underlying model, not merely a fixed number of decimal places. See Matrix Diagonalization for algorithms and conditioning.

  • Summing over eigenvectors without grouping a degenerate eigenspace into one projector.
  • Treating a chosen eigenbasis inside a degenerate subspace as canonical.
  • Assuming a matrix with real eigenvalues must be Hermitian.
  • Confusing general similarity diagonalization with unitary diagonalization.
  • Applying a scalar function separately to matrix entries.
  • Dividing by a−ba-b in a projector formula before checking that the spectral values are distinct.
  • Comparing numerical eigenvectors directly inside a degenerate cluster.
  • Replacing the infinite-dimensional spectral theorem by an unjustified sum over generalized eigenvectors.
  • Inferring the Born rule or state-update law from linear algebra alone.
  1. Suppose

    A=∑aaPaA=\sum_a aP_a

    is a finite-dimensional spectral decomposition. Prove that p(A)=∑ap(a)Pap(A)=\sum_a p(a)P_a for every polynomial pp. Deduce the formula for A−1A^{-1} when no aa is zero.

Solution

The orthogonal projector algebra gives

PaPb=δabPa.P_aP_b=\delta_{ab}P_a.

Therefore, for every positive integer nn,

An=(∑aaPa)n=∑aanPa.A^n =\left(\sum_a aP_a\right)^n =\sum_a a^nP_a.

Linearity then gives

p(A)=∑ap(a)Pap(A)=\sum_a p(a)P_a

for any polynomial. If every a≠0a\ne0, define

B=∑a1aPa.B=\sum_a\frac{1}{a}P_a.

Then

AB=BA=∑aPa=I,AB=BA=\sum_aP_a=I,

so B=A−1B=A^{-1}.

  1. Let

    A=(2i−i2).A= \begin{pmatrix} 2&i\\ -i&2 \end{pmatrix}.

    Find the distinct eigenvalues and recover their projectors as polynomials in AA. Verify the spectral decomposition.

Solution

The characteristic polynomial is

det⁡(λI−A)=(λ−2)2−1,\det(\lambda I-A) =(\lambda-2)^2-1,

so the eigenvalues are 11 and 33. The two-value formulas give

P3=A−I2=12(1i−i1),P1=3I−A2=12(1−ii1).\begin{aligned} P_3 &=\frac{A-I}{2} =\frac12 \begin{pmatrix} 1&i\\ -i&1 \end{pmatrix},\\[4pt] P_1 &=\frac{3I-A}{2} =\frac12 \begin{pmatrix} 1&-i\\ i&1 \end{pmatrix}. \end{aligned}

Direct multiplication shows

P12=P1,P32=P3,P1P3=0.P_1^2=P_1, \qquad P_3^2=P_3, \qquad P_1P_3=0.

Also P1+P3=IP_1+P_3=I, and

P1+3P3=(2i−i2)=A.P_1+3P_3 = \begin{pmatrix} 2&i\\ -i&2 \end{pmatrix} =A.
  1. Let a1,…,asa_1,\ldots,a_s be the distinct eigenvalues of a Hermitian operator AA. Prove directly that

    Pj=∏k≠jA−akIaj−akP_j =\prod_{k\ne j} \frac{A-a_kI}{a_j-a_k}

    acts as the identity on EajE_{a_j} and as zero on every other eigenspace.

Solution

Take v∈Eaℓv\in E_{a_\ell}, so Av=aℓvAv=a_\ell v. Every factor in the product acts on vv by scalar multiplication:

Pjv=[∏k≠jaℓ−akaj−ak]v.P_jv = \left[ \prod_{k\ne j} \frac{a_\ell-a_k}{a_j-a_k} \right]v.

If ℓ=j\ell=j, every numerator equals its denominator, so Pjv=vP_jv=v. If ℓ≠j\ell\ne j, the factor with k=ℓk=\ell has zero numerator, so Pjv=0P_jv=0. The eigenspaces span the Hilbert space, hence this operator is exactly the orthogonal projector onto EajE_{a_j}.

  1. Let AA and BB be commuting Hermitian matrices. Show that every eigenspace of AA is invariant under BB, and use this fact to construct a common orthonormal eigenbasis.
Solution

If v∈Eav\in E_a, then Av=avAv=av. Commutation gives

A(Bv)=B(Av)=aBv.A(Bv) =B(Av) =aBv.

Thus Bv∈EaBv\in E_a, so each eigenspace of AA is invariant under BB. The restriction of BB to EaE_a is Hermitian: for u,v∈Eau,v\in E_a,

⟨u∣Bv⟩=⟨Bu∣v⟩.\langle u\vert Bv\rangle =\langle Bu\vert v\rangle.

Apply the finite-dimensional spectral theorem to this restriction and choose an orthonormal basis of BB-eigenvectors within every EaE_a. Eigenspaces of AA are mutually orthogonal, so the union of these blockwise bases is an orthonormal basis of the full space. Every basis vector is an eigenvector of both AA and BB.

  • S. Axler, Linear Algebra Done Right, 3rd ed., Springer, 2015.
  • R. A. Horn and C. R. Johnson, Matrix Analysis, 2nd ed., Cambridge University Press, 2013.
  • B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013.
  • M. Reed and B. Simon, Methods of Modern Mathematical Physics, Vol. I: Functional Analysis, revised and enlarged ed., Academic Press, 1980.
  • L. N. Trefethen and D. Bau III, Numerical Linear Algebra, SIAM, 1997.