Mathematical Methods Handbook

Eigenvalues and matrix decompositions

Spectral theory of matrices and its uses.

In this chapter 10

Tick a unit to add it to your PDF basket.

  1. Eigenvalues and diagonalization
  2. Quadratic forms, SVD and matrix functions

Eigenvalues and diagonalization

5

Definition

Eigenvalues and eigenvectors

Adapted

Defines eigenvalues, eigenvectors, eigenspaces and the characteristic polynomial, distinguishes algebraic from geometric multiplicity, and gives the diagonalizability criterion together with trace and determinant as the sum and product of the eigenvalues.

Prerequisites: Determinants, Vector spaces and bases

Definition(Eigenvalue, eigenvector, eigenspace)AdaptedAdapted from Hassani (2013), §6.2, Defs 6.2.1 and 6.2.3, Prop 6.2.2, pp. 172-173; Riley, Hobson & Bence (2006), §8.13, Eqs (8.67)-(8.68), pp. 272-273, and §8.13.1 (the word 'degenerate'), p. 275

Let AA be an n×nn \times n matrix with complex entries, n≥1n \ge 1, equivalently a linear operator on an nn-dimensional complex vector space with a basis fixed. A number λ∈C\lambda \in \mathbb{C} is an eigenvalue of AA if

Ax=λxfor some x∈Cn, x≠0,A x = \lambda x \quad \text{for some } x \in \mathbb{C}^n,\ x \neq 0,

and any such xx is an eigenvector of AA for λ\lambda. The zero vector is excluded; without that exclusion every λ\lambda would qualify. Any non-zero scalar multiple of an eigenvector for λ\lambda is again an eigenvector for λ\lambda, so a single eigenvector never comes with a preferred length; for that reason eigenvectors are usually normalised to x†x=1x^\dagger x = 1. (When λ\lambda has more than one independent eigenvector, as happens below, normalisation leaves far more freedom than a scalar: the choice is then a choice of basis in the eigenspace.)

The set

Eλ=ker⁡(A−λI)={x∈Cn:Ax=λx}E_\lambda = \ker(A - \lambda I) = \{x \in \mathbb{C}^n : A x = \lambda x\}

is a subspace of Cn\mathbb{C}^n, called the eigenspace of λ\lambda; its non-zero vectors are exactly the eigenvectors for λ\lambda. Its dimension g(λ)=dim⁡Eλ≥1g(\lambda) = \dim E_\lambda \ge 1 is the geometric multiplicity of λ\lambda, and λ\lambda is simple when g(λ)=1g(\lambda) = 1 and degenerate when g(λ)≥2g(\lambda) \ge 2. The set of all eigenvalues is the spectrum σ(A)\sigma(A).

Definition(Characteristic polynomial and algebraic multiplicity)AdaptedAdapted from Hassani (2013), §6.2, Eqs (6.7)-(6.8) and Def 6.2.9, pp. 173-174; Riley, Hobson & Bence (2006), §8.14, Eqs (8.85)-(8.86), p. 280; Arfken, Weber & Harris (2013), §6.5, 'Defective Matrices', p. 324

Ax=λxA x = \lambda x has a non-zero solution exactly when A−λIA - \lambda I fails to be invertible. Since that happens precisely when its determinant vanishes, σ(A)\sigma(A) is the zero set of the characteristic polynomial

χA(λ)=det⁡(A−λI),\chi_A(\lambda) = \det(A - \lambda I),

a polynomial of degree exactly nn in λ\lambda with leading term (−1)nλn(-1)^n \lambda^n. The equation χA(λ)=0\chi_A(\lambda) = 0 is the characteristic (or secular) equation. Over C\mathbb{C}, if λ1,…,λp\lambda_1, \dots, \lambda_p are the distinct roots then

χA(λ)=∏j=1p(λj−λ)mj,∑j=1pmj=n,\chi_A(\lambda) = \prod_{j=1}^{p} (\lambda_j - \lambda)^{m_j}, \qquad \sum_{j=1}^{p} m_j = n,

and the exponent mj=m(λj)≥1m_j = m(\lambda_j) \ge 1 is the algebraic multiplicity of λj\lambda_j.

AA is diagonalizable if Cn\mathbb{C}^n has a basis consisting of eigenvectors of AA; collecting such a basis v1,…,vnv_1,\dots,v_n as the columns of an invertible SS gives S−1AS=diag⁡(μ1,…,μn)S^{-1} A S = \operatorname{diag}(\mu_1, \dots, \mu_n), where μk\mu_k is the eigenvalue of vkv_k. The μk\mu_k are the eigenvalues listed with repetitions, each λj\lambda_j occurring g(λj)g(\lambda_j) times; they are not the distinct roots λ1,…,λp\lambda_1,\dots,\lambda_p above unless p=np = n. A matrix that is not diagonalizable is called defective.

Definition(Spectrum, trace and determinant)AdaptedAdapted from Hassani (2013), Thm 6.2.5, Props 6.2.4 and 6.2.6, Eq. (6.9), pp. 173-174; Riley, Hobson & Bence (2006), Eq. (8.87), p. 280; Arfken, Weber & Harris (2013), §6.4, p. 313, which states part 3 for a Hermitian matrix

Let AA be an n×nn \times n complex matrix, n≥1n \ge 1, with distinct eigenvalues λ1,…,λp\lambda_1, \dots, \lambda_p of algebraic multiplicities m1,…,mpm_1, \dots, m_p. Then:

  1. AA has at least one eigenvalue, and ∑jmj=n\sum_j m_j = n.
  2. Eigenvectors belonging to distinct eigenvalues are linearly independent, and Eλi∩Eλj={0}E_{\lambda_i} \cap E_{\lambda_j} = \{0\} for i≠ji \neq j.
  3. det⁡A=∏j=1pλjmj\displaystyle \det A = \prod_{j=1}^{p} \lambda_j^{m_j} and tr⁡A=∑j=1pmjλj\displaystyle \operatorname{tr} A = \sum_{j=1}^{p} m_j \lambda_j: the determinant is the product and the trace the sum of the nn eigenvalues counted with algebraic multiplicity.
  4. AA is invertible if and only if 0∉σ(A)0 \notin \sigma(A).

Statement 1 uses that a non-constant polynomial over C\mathbb{C} has a root; over R\mathbb{R} it can fail. Part 3 is asserted for every complex AA, which is the generality of Hassani's Eq. (6.9) for the determinant and of Riley, Hobson and Bence (Riley, Hobson & Bence (2006), Eq. (8.87), p. 280) for the trace; Arfken's §6.4 gives the pair only for a Hermitian matrix, as invariants of a unitary transformation.

Idea of the proofOriginal

The characteristic polynomial carries three of the four claims. Its degree is exactly nn because, in the sum over permutations that defines the determinant, only the identity permutation keeps all nn diagonal entries and so reaches that degree; the fundamental theorem of algebra then hands over a root, and a root is an eigenvalue because a vanishing determinant means a non-trivial kernel. The determinant and the trace are two of the polynomial's coefficients, each computable in two ways — from the matrix entries, and from the factorization into roots — and equating the two readings is exactly the assertion that they are the product and the sum of the eigenvalues. Independence of eigenvectors for distinct eigenvalues is a separate and shorter argument: applying A−λpIA-\lambda_p I to a relation annihilates its last term and leaves a shorter relation.

ProofAdaptedAdapted from Hassani (2013), §6.2, Thm 6.2.5, Prop 6.2.4, Prop 6.2.6 and eqs. (6.7)-(6.9), pp. 173-174; Riley, Hobson & Bence (2006), §8.14, the coefficient of lambda^(N-1) and Eq. (8.87), p. 280

Part 1. By the permutation formula for the determinant (Determinants),

χA(λ)=det⁡(A−λI)=∑σsgn⁡(σ)∏i=1n(A−λI)iσ(i).\chi_A(\lambda) = \det(A-\lambda I) = \sum_{\sigma} \operatorname{sgn}(\sigma)\prod_{i=1}^{n}(A-\lambda I)_{i\sigma(i)} .

Each factor is a polynomial in λ\lambda of degree at most 11, and a factor has degree 11 only when σ(i)=i\sigma(i) = i. A permutation other than the identity moves at least two indices, so its term has degree at most n−2n-2; the identity contributes ∏i(Aii−λ)\prod_{i}(A_{ii}-\lambda), of degree nn with leading term (−1)nλn(-1)^n\lambda^n. Hence χA\chi_A has degree exactly nn with leading coefficient (−1)n(-1)^n, and is non-constant because n≥1n\ge1. The fundamental theorem of algebra gives a root λ1∈C\lambda_1\in\mathbb{C}; then det⁡(A−λ1I)=0\det(A-\lambda_1I) = 0, so A−λ1IA-\lambda_1I is not invertible and its kernel contains some x≠0x\neq0 with Ax=λ1xAx = \lambda_1x. So AA has an eigenvalue. Its eigenvalues are exactly the roots of χA\chi_A, by the same equivalence read in both directions. Factoring χA\chi_A completely over C\mathbb{C} and collecting equal roots gives χA(λ)=c∏j(λj−λ)mj\chi_A(\lambda) = c\prod_{j}(\lambda_j-\lambda)^{m_j}; comparing degrees gives ∑jmj=n\sum_jm_j = n, and comparing leading coefficients gives c(−1)n=(−1)nc(-1)^n = (-1)^n, so c=1c=1.

Part 2. Let x1,…,xpx_1,\dots,x_p be eigenvectors for the distinct eigenvalues λ1,…,λp\lambda_1,\dots,\lambda_p and suppose ∑j=1pcjxj=0\sum_{j=1}^{p}c_jx_j = 0. We argue by induction on pp. For p=1p=1, c1x1=0c_1x_1 = 0 with x1≠0x_1\neq0 gives c1=0c_1 = 0. For p≥2p\ge2, apply A−λpIA-\lambda_pI to the relation; since (A−λpI)xj=(λj−λp)xj(A-\lambda_pI)x_j = (\lambda_j-\lambda_p)x_j and the xpx_p term dies,

∑j=1p−1cj(λj−λp) xj=0.\sum_{j=1}^{p-1}c_j(\lambda_j-\lambda_p)\,x_j = 0 .

By the inductive hypothesis cj(λj−λp)=0c_j(\lambda_j-\lambda_p) = 0 for j<pj<p, and λj≠λp\lambda_j\neq\lambda_p, so cj=0c_j = 0 for j<pj<p. The original relation then reads cpxp=0c_px_p = 0, giving cp=0c_p = 0 as well. For the intersection: if v∈Eλi∩Eλjv\in E_{\lambda_i}\cap E_{\lambda_j} with i≠ji\neq j then λiv=Av=λjv\lambda_iv = Av = \lambda_jv, so (λi−λj)v=0(\lambda_i-\lambda_j)v = 0 and v=0v = 0.

Part 3. For the determinant, evaluate both expressions for χA\chi_A at λ=0\lambda = 0: the definition gives χA(0)=det⁡A\chi_A(0) = \det A, and the factorization gives χA(0)=∏jλjmj\chi_A(0) = \prod_j\lambda_j^{m_j}.

For the trace, compare the coefficients of λn−1\lambda^{n-1}. On the matrix side, only the identity permutation contributes in that degree, as observed in part 1, and

∏i=1n(Aii−λ)=(−1)nλn+(−1)n−1(∑i=1nAii)λn−1+⋯ .\prod_{i=1}^{n}(A_{ii}-\lambda) = (-1)^n\lambda^n+(-1)^{n-1}\Bigl(\sum_{i=1}^{n}A_{ii}\Bigr)\lambda^{n-1}+\cdots .

On the factorized side, χA(λ)=∏j(λj−λ)mj=(−1)n∏j(λ−λj)mj\chi_A(\lambda) = \prod_j(\lambda_j-\lambda)^{m_j} = (-1)^n\prod_j(\lambda-\lambda_j)^{m_j}, a product of nn linear factors λ−λj\lambda-\lambda_j in which λj\lambda_j appears mjm_j times; expanding it, the coefficient of λn−1\lambda^{n-1} is minus the sum of those nn roots, so the coefficient of λn−1\lambda^{n-1} in χA\chi_A is (−1)n(−∑jmjλj)=(−1)n−1∑jmjλj(-1)^{n}\bigl(-\sum_jm_j\lambda_j\bigr) = (-1)^{n-1}\sum_jm_j\lambda_j. Equating the two gives tr⁡A=∑jmjλj\operatorname{tr}A = \sum_jm_j\lambda_j.

Part 4. By part 3, det⁡A=∏jλjmj\det A = \prod_j\lambda_j^{m_j}, which is non-zero exactly when no λj\lambda_j equals 00; and AA is invertible exactly when det⁡A≠0\det A\neq0 (Determinants). □\square

Definition(The two multiplicities and diagonalizability)Original

With the notation above:

  1. 1≤g(λj)≤m(λj)1 \le g(\lambda_j) \le m(\lambda_j) for every jj.
  2. AA is diagonalizable if and only if g(λj)=m(λj)g(\lambda_j) = m(\lambda_j) for every jj, equivalently if and only if ∑jg(λj)=n\sum_j g(\lambda_j) = n.
  3. If AA has nn distinct eigenvalues, then every mj=1m_j = 1, so AA is diagonalizable. This is sufficient but not necessary: the identity matrix has one eigenvalue and is diagonal.
  4. Similar matrices have the same characteristic polynomial, hence the same eigenvalues with the same algebraic multiplicities, the same trace and the same determinant; corresponding eigenspaces have the same dimension. If B=S−1ASB = S^{-1} A S and Ax=λxA x = \lambda x, then B(S−1x)=λ(S−1x)B (S^{-1} x) = \lambda (S^{-1} x).
Idea of the proofOriginal

Take part 4 first, since the rest leans on it: a similarity leaves det⁡(A−λI)\det(A-\lambda I) alone, because the two copies of SS cancel inside the determinant. Then the bound g≤mg\le m becomes visible by choosing coordinates well: put a basis of the eigenspace first, and in those coordinates the matrix begins with gg columns that are λ\lambda times the first gg standard basis vectors, which forces gg factors of (λ−μ)(\lambda-\mu) out of the characteristic polynomial. The diagonalizability criterion is then a counting argument: the eigenspaces are independent of one another, so the only way to accumulate nn independent eigenvectors is for each eigenspace to be as large as its algebraic multiplicity allows.

ProofOriginal

Part 4 comes first, because the other parts use it. Let B=S−1ASB = S^{-1}AS with SS invertible. Then B−λI=S−1(A−λI)SB-\lambda I = S^{-1}(A-\lambda I)S, so similarity invariance of the determinant (Determinants) gives

χB(λ)=det⁡(S−1(A−λI)S)=det⁡(A−λI)=χA(λ)\chi_B(\lambda) = \det\bigl(S^{-1}(A-\lambda I)S\bigr) = \det(A-\lambda I) = \chi_A(\lambda)

for every λ\lambda. Equal characteristic polynomials have the same roots with the same exponents, which is the same spectrum with the same algebraic multiplicities; the trace and determinant then agree by part 3 of the previous statement. For the eigenspaces, the map x↦S−1xx\mapsto S^{-1}x is linear and injective, and it carries Eλ(A)E_\lambda(A) into Eλ(B)E_\lambda(B): if Ax=λxAx = \lambda x then

B(S−1x)=S−1AS S−1x=S−1Ax=λ (S−1x).B(S^{-1}x) = S^{-1}AS\,S^{-1}x = S^{-1}Ax = \lambda\,(S^{-1}x) .

The same computation with AA and BB exchanged, and S−1S^{-1} in place of SS, shows y↦Syy\mapsto Sy carries Eλ(B)E_\lambda(B) into Eλ(A)E_\lambda(A). The two maps are mutually inverse, so Eλ(A)E_\lambda(A) and Eλ(B)E_\lambda(B) are isomorphic and have the same dimension.

Part 1. g(λj)≥1g(\lambda_j)\ge1 because an eigenspace contains an eigenvector, which is non-zero by definition.

For the upper bound, write λ=λj\lambda = \lambda_j and g=g(λ)g = g(\lambda), choose a basis v1,…,vgv_1,\dots,v_g of EλE_\lambda, and extend it to a basis v1,…,vnv_1,\dots,v_n of Cn\mathbb{C}^n (Vector spaces and bases). Let SS be the invertible matrix with these columns, so Sei=viSe_i = v_i, and put B=S−1ASB = S^{-1}AS. For i≤gi\le g the iith column of BB is

Bei=S−1Avi=S−1(λvi)=λei,Be_i = S^{-1}Av_i = S^{-1}(\lambda v_i) = \lambda e_i ,

so the first gg columns of B−μIB-\mu I are (λ−μ)e1,…,(λ−μ)eg(\lambda-\mu)e_1,\dots,(\lambda-\mu)e_g. Expand det⁡(B−μI)\det(B-\mu I) along its first column by cofactors (Determinants): only the (1,1)(1,1) entry is non-zero there, so det⁡(B−μI)=(λ−μ)det⁡M\det(B-\mu I) = (\lambda-\mu)\det M, where MM is B−μIB-\mu I with its first row and column deleted. That deletion turns the old columns 2,…,g2,\dots,g into (λ−μ)e1,…,(λ−μ)eg−1(\lambda-\mu)e_1,\dots,(\lambda-\mu)e_{g-1}, so MM has the same shape with g−1g-1 in place of gg. Iterating the expansion gg times,

χB(μ)=(λ−μ)g q(μ)\chi_B(\mu) = (\lambda-\mu)^g\,q(\mu)

for some polynomial qq. By part 4, χA=χB\chi_A = \chi_B, so (λ−μ)g(\lambda-\mu)^g divides χA(μ)\chi_A(\mu), and therefore the exponent m(λ)m(\lambda) in the factorization of χA\chi_A is at least gg.

Part 2. Suppose AA is diagonalizable and fix a basis of Cn\mathbb{C}^n of eigenvectors. Sort its members by eigenvalue, say kjk_j of them lie in EλjE_{\lambda_j}; then ∑jkj=n\sum_jk_j = n, and those kjk_j members are linearly independent elements of EλjE_{\lambda_j}, so kj≤g(λj)k_j\le g(\lambda_j). With part 1 and ∑jmj=n\sum_jm_j = n from the previous statement,

n=∑jkj ≤ ∑jg(λj) ≤ ∑jm(λj)=n,n = \sum_j k_j \ \le\ \sum_j g(\lambda_j) \ \le\ \sum_j m(\lambda_j) = n ,

so both inequalities are equalities. Since g(λj)≤m(λj)g(\lambda_j)\le m(\lambda_j) term by term, equality of the sums forces g(λj)=m(λj)g(\lambda_j) = m(\lambda_j) for every jj.

Conversely, suppose ∑jg(λj)=n\sum_jg(\lambda_j) = n; by part 1 and ∑jmj=n\sum_jm_j = n this is the same condition as g(λj)=m(λj)g(\lambda_j) = m(\lambda_j) for all jj. Choose a basis of each EλjE_{\lambda_j} and concatenate them into a list of nn vectors. The list is linearly independent: group a vanishing linear combination by eigenvalue as ∑juj=0\sum_ju_j = 0 with uj∈Eλju_j\in E_{\lambda_j}. If some uju_j were non-zero, the non-zero ones would be eigenvectors for distinct eigenvalues obeying a non-trivial relation, which part 2 of the previous statement forbids. So every uj=0u_j = 0, and then every coefficient vanishes because each chosen basis is independent. A list of nn independent vectors in Cn\mathbb{C}^n is a basis, and this one consists of eigenvectors, so AA is diagonalizable.

Part 3. If AA has nn distinct eigenvalues then p=np = n, and mj≥1m_j\ge1 with ∑j=1nmj=n\sum_{j=1}^{n}m_j = n forces mj=1m_j = 1 for each jj. By part 1, 1≤g(λj)≤mj=11\le g(\lambda_j)\le m_j = 1, so the two multiplicities agree and part 2 makes AA diagonalizable. The converse fails: InI_n has the single eigenvalue 11 with m=g=nm = g = n, and is already diagonal. □\square

NoteOriginal

An eigenvector is a direction that AA only stretches, by the factor λ\lambda. If there are enough such directions to make a basis, AA acts as nn independent one-dimensional stretches and every question about AA — powers, inverses, exponentials, long-time behaviour of x˙=Ax\dot x = Ax — becomes nn scalar questions. The characteristic polynomial is how you find the stretch factors; the gap between algebraic and geometric multiplicity is what can stop the basis from existing.

Remark(Where the hypotheses matter)AdaptedAdapted from Hassani (2013), §6.2, the rotation R_z(theta), p. 172, and Example 6.2.8, p. 174; Arfken, Weber & Harris (2013), §6.5, 'Defective Matrices', p. 324

The field matters. A rotation of the plane through an angle that is not a multiple of π\pi moves every non-zero vector off its own line, as Hassani (Hassani (2013), §6.2, p. 172) observes of Rz(θ)R_z(\theta); concretely, (01−10)\begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix} has χ(λ)=λ2+1\chi(\lambda) = \lambda^2 + 1 and so no real eigenvalue and no real eigenvector, although as a complex matrix it has the eigenvalues ±i\pm i. All statements above are for C\mathbb{C}; a real matrix is handled by regarding it as complex, and its non-real eigenvalues then come in conjugate pairs.

Algebraic multiplicity does not bound geometric multiplicity from below. For (1101)\begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} the only eigenvalue is λ=1\lambda = 1 with m=2m = 2, but (A−I)x=0(A - I)x = 0 forces the second component of xx to vanish, so g=1g = 1. The matrix is defective: it has no eigenbasis, and the shortfall m−gm - g is what the Jordan form of a defective matrix records.

Conventions. Many texts use det⁡(λI−A)\det(\lambda I - A), which is monic, instead of det⁡(A−λI)\det(A - \lambda I); the two differ by (−1)n(-1)^n and have the same roots. "Degenerate" (physics) and "repeated" or "multiple" (mathematics) both signal that an eigenvalue occurs more than once, but they count different things: "repeated" refers to algebraic multiplicity, m(λ)≥2m(\lambda)\ge2, and "degenerate" to geometric multiplicity, g(λ)≥2g(\lambda)\ge2. On a defective matrix the two conditions come apart, so the words are not interchangeable there; the second example below is repeated but not degenerate. The spectrum is sometimes defined as a set and sometimes as a list with multiplicities; we take it as a set.

Example(A diagonalizable 3 by 3 matrix, worked through)Original

Let

A=(41−125−2112).A = \begin{pmatrix}4&1&-1\\2&5&-2\\1&1&2\end{pmatrix} .

The characteristic polynomial. Expanding det⁡(A−λI)\det(A-\lambda I) along the first row,

χA(λ)=(4−λ)[(5−λ)(2−λ)+2]−[2(2−λ)+2]−[2−(5−λ)].\chi_A(\lambda) = (4-\lambda)\bigl[(5-\lambda)(2-\lambda)+2\bigr]-\bigl[2(2-\lambda)+2\bigr]-\bigl[2-(5-\lambda)\bigr] .

Since (5−λ)(2−λ)+2=λ2−7λ+12(5-\lambda)(2-\lambda)+2 = \lambda^2-7\lambda+12, the three brackets give −λ3+11λ2−40λ+48-\lambda^3+11\lambda^2-40\lambda+48, then 2λ−62\lambda-6, then 3−λ3-\lambda, so

χA(λ)=−λ3+11λ2−39λ+45=−(λ−5)(λ−3)2.\chi_A(\lambda) = -\lambda^3+11\lambda^2-39\lambda+45 = -(\lambda-5)(\lambda-3)^2 .

The factorization is checked by expanding: (λ−5)(λ2−6λ+9)=λ3−11λ2+39λ−45(\lambda-5)(\lambda^2-6\lambda+9) = \lambda^3-11\lambda^2+39\lambda-45. So σ(A)={5,3}\sigma(A) = \{5,3\} with m(5)=1m(5) = 1 and m(3)=2m(3) = 2.

First check. tr⁡A=4+5+2=11\operatorname{tr}A = 4+5+2 = 11 and 5+3+3=115+3+3 = 11; det⁡A=χA(0)=45\det A = \chi_A(0) = 45 and 5⋅3⋅3=455\cdot3\cdot3 = 45. Computing det⁡A\det A from the matrix independently, 4(10+2)−1(4+2)−1(2−5)=48−6+3=454(10+2)-1(4+2)-1(2-5) = 48-6+3 = 45.

The eigenspaces. For λ=5\lambda = 5,

A−5I=(−11−120−211−3),A-5I = \begin{pmatrix}-1&1&-1\\2&0&-2\\1&1&-3\end{pmatrix} ,

whose second row gives x1=x3x_1 = x_3 and whose first row then gives x2=x1+x3=2x1x_2 = x_1+x_3 = 2x_1; the third row is satisfied automatically, since x1+2x1−3x1=0x_1+2x_1-3x_1 = 0. So E5=span⁡{(1,2,1)}E_5 = \operatorname{span}\{(1,2,1)\} and g(5)=1=m(5)g(5) = 1 = m(5).

For λ=3\lambda = 3,

A−3I=(11−122−211−1),A-3I = \begin{pmatrix}1&1&-1\\2&2&-2\\1&1&-1\end{pmatrix} ,

all of whose rows are multiples of (1,1,−1)(1,1,-1), so the single condition is x1+x2−x3=0x_1+x_2-x_3 = 0. Hence E3E_3 is a plane, g(3)=2=m(3)g(3) = 2 = m(3), with basis (−1,1,0)(-1,1,0) and (1,0,1)(1,0,1).

Diagonalization. Since ∑jg(λj)=1+2=3\sum_jg(\lambda_j) = 1+2 = 3, part 2 of the second statement says AA is diagonalizable, and the three eigenvectors found are a basis. Collecting them as columns,

S=(1−11210101),det⁡S=1(1)−(−1)(2)+1(−1)=2≠0,S = \begin{pmatrix}1&-1&1\\2&1&0\\1&0&1\end{pmatrix}, \qquad \det S = 1(1)-(-1)(2)+1(-1) = 2\neq0 ,

and S−1AS=diag⁡(5,3,3)S^{-1}AS = \operatorname{diag}(5,3,3). Rather than invert SS, verify the equivalent form AS=Sdiag⁡(5,3,3)AS = S\operatorname{diag}(5,3,3) column by column:

A(121)=(5105),A(−110)=(−330),A(101)=(303),A\begin{pmatrix}1\\2\\1\end{pmatrix} = \begin{pmatrix}5\\10\\5\end{pmatrix}, \qquad A\begin{pmatrix}-1\\1\\0\end{pmatrix} = \begin{pmatrix}-3\\3\\0\end{pmatrix}, \qquad A\begin{pmatrix}1\\0\\1\end{pmatrix} = \begin{pmatrix}3\\0\\3\end{pmatrix} ,

which are 55, 33 and 33 times the respective columns.

Example(One entry away: a defective matrix)Original

Change the (2,2)(2,2) entry of the previous matrix from 55 to 66:

B=(41−126−2112).B = \begin{pmatrix}4&1&-1\\2&6&-2\\1&1&2\end{pmatrix} .

The same expansion along the first row changes in two places: the first bracket becomes (6−λ)(2−λ)+2=λ2−8λ+14(6-\lambda)(2-\lambda)+2 = \lambda^2-8\lambda+14, and the third cofactor det⁡(26−λ11)=λ−4\det\begin{pmatrix}2&6-\lambda\\1&1\end{pmatrix} = \lambda-4 contributes 4−λ4-\lambda where it contributed 3−λ3-\lambda before. The middle bracket, 2(2−λ)+22(2-\lambda)+2, is unchanged. Hence

χB(λ)=−λ3+12λ2−45λ+54=−(λ−6)(λ−3)2,\chi_B(\lambda) = -\lambda^3+12\lambda^2-45\lambda+54 = -(\lambda-6)(\lambda-3)^2 ,

so m(6)=1m(6) = 1 and m(3)=2m(3) = 2, and the two checks hold again: tr⁡B=12=6+3+3\operatorname{tr}B = 12 = 6+3+3 and det⁡B=54=6⋅9\det B = 54 = 6\cdot9. The spectrum looks much like before. The eigenspaces do not.

For λ=6\lambda = 6, the rows of B−6I=(−21−120−211−4)B-6I = \begin{pmatrix}-2&1&-1\\2&0&-2\\1&1&-4\end{pmatrix} give x1=x3x_1 = x_3 from the second and then x2=2x1+x3=3x1x_2 = 2x_1+x_3 = 3x_1 from the first, so E6=span⁡{(1,3,1)}E_6 = \operatorname{span}\{(1,3,1)\} and g(6)=1g(6) = 1.

For λ=3\lambda = 3,

B−3I=(11−123−211−1).B-3I = \begin{pmatrix}1&1&-1\\2&3&-2\\1&1&-1\end{pmatrix} .

Rows one and three are identical and give x1+x2−x3=0x_1+x_2-x_3 = 0; subtracting twice that from the second row leaves x2=0x_2 = 0, and then x1=x3x_1 = x_3. So E3=span⁡{(1,0,1)}E_3 = \operatorname{span}\{(1,0,1)\} is only a line: g(3)=1<2=m(3)g(3) = 1 < 2 = m(3).

Hence ∑jg(λj)=1+1=2<3\sum_jg(\lambda_j) = 1+1 = 2 < 3, and by part 2 of the second statement BB has no eigenbasis: it is defective. The two multiplicities differ by exactly one, which is the amount of Jordan structure BB carries (Jordan normal form). Note how little the spectrum revealed: the trace and determinant tests passed, the eigenvalues were real and simple to find, and nothing but computing dim⁡E3\dim E_3 exposed the defect.

ApplicationOriginal

Decoupling a linear system. The reason to want an eigenbasis is that it reduces one nn-dimensional problem to nn one-dimensional ones. For x˙=Ax\dot x = Ax with AA diagonalizable, substituting x=Syx = Sy turns the system into y˙=diag⁡(λk)y\dot y = \operatorname{diag}(\lambda_k)y, whose solutions are yk(t)=yk(0)eλkty_k(t) = y_k(0)e^{\lambda_kt}; the general solution is then a superposition x(t)=∑kckeλktvkx(t) = \sum_kc_ke^{\lambda_kt}v_k over the eigenvectors. Every qualitative question becomes a question about where the λk\lambda_k sit: the equilibrium is stable when all Re⁡λk<0\operatorname{Re}\lambda_k<0, the slowest decay rate is max⁡kRe⁡λk\max_k\operatorname{Re}\lambda_k, and a complex conjugate pair α±iβ\alpha\pm i\beta is an oscillation of frequency β\beta with envelope eαte^{\alpha t}. The same substitution in xt+1=Axtx_{t+1} = Ax_t turns a discrete model — a population projection matrix, a Markov chain, a numerical iteration — into independent geometric sequences, and the eigenvalue of largest modulus governs the long-run behaviour.

Where the defect shows up physically. The gap m−gm-g of the second example is not a curiosity. A damped oscillator u¨+2γu˙+ω02u=0\ddot u+2\gamma\dot u+\omega_0^2u = 0 written as a first-order system has a defective coefficient matrix exactly at critical damping γ=ω0\gamma = \omega_0, where the two roots coincide but only one eigenvector survives; the solution there is (c1+c2t)e−γt(c_1+c_2t)e^{-\gamma t}, and the factor of tt is what stands in for the eigenvector that is missing. The same thing produces secular growth in perturbation theory at resonance and in orbital mechanics: a repeated root with a shortfall in eigenvectors always contributes polynomial-times-exponential behaviour, which is why engineers avoid designing near such a coincidence.

Observables and degeneracy. In quantum mechanics the measurable values of a quantity are the eigenvalues of its operator and the states with a definite value are the eigenvectors, so the spectrum is literally the set of possible outcomes of a measurement. The geometric multiplicity is what physics calls the degree of degeneracy — the 2ℓ+12\ell+1 states of a given angular momentum, the two spin states of an electron — and it is almost always forced by a symmetry of the Hamiltonian. Splitting a degeneracy by an applied field (the Zeeman and Stark effects) is the statement that a perturbation has reduced some g(λ)g(\lambda) by breaking the symmetry that protected it. For such operators the eigenbasis is guaranteed and can even be chosen orthonormal; that is the subject of the spectral theorem for Hermitian matrices.

Theorem

Spectral theorem for Hermitian matrices

Adapted

A Hermitian matrix has real eigenvalues, orthogonal eigenvectors for distinct eigenvalues, and an orthonormal eigenbasis, so some unitary matrix of eigenvector columns diagonalizes it; a real symmetric matrix can be diagonalized by a real orthogonal matrix.

Prerequisites: Eigenvalues and eigenvectors, Orthonormal bases and Gram-Schmidt, Inner products and norms, Determinants

Definition(Hermitian matrix)AdaptedAdapted from Riley, Hobson & Bence (2006), §8.12.5, p. 271; Arfken, Weber & Harris (2013), §6.3, p. 310

For a complex m×nm \times n matrix AA, the Hermitian conjugate (adjoint) A†A^\dagger is the conjugate transpose, (A†)ij=Aji‾(A^\dagger)_{ij} = \overline{A_{ji}}. On Cn\mathbb{C}^n we use the inner product

(x,y)=∑i=1nxiyi‾=y†x,(x, y) = \sum_{i=1}^{n} x_i \overline{y_i} = y^\dagger x ,

which is linear in the first slot and conjugate-linear in the second, with ∥x∥2=(x,x)\|x\|^2 = (x, x).

A square matrix AA is Hermitian if A=A†A = A^\dagger, equivalently if (Ax,y)=(x,Ay)(A x, y) = (x, A y) for all x,y∈Cnx, y \in \mathbb{C}^n. For a matrix with real entries this is the condition A=ATA = A^{\mathsf T}, i.e. that AA is symmetric. A matrix UU is unitary if U†U=IU^\dagger U = I, and a real matrix QQ is orthogonal if QTQ=IQ^{\mathsf T} Q = I; see unitary and orthogonal matrices.

Theorem(Spectral theorem)AdaptedAdapted from Arfken, Weber & Harris (2013), §6.3, pp. 310-311 and §6.4, pp. 311-313; Riley, Hobson & Bence (2006), §8.13.1-§8.13.2, pp. 274-277; Hassani (2013), Cor 6.4.9, p. 181 and Cor 6.4.13, p. 182

Let AA be an n×nn \times n complex matrix with A=A†A = A^\dagger. Then:

  1. Reality. Every eigenvalue of AA is real.
  2. Orthogonality. If Ax=λxA x = \lambda x, Ay=μyA y = \mu y and λ≠μ\lambda \neq \mu, then (x,y)=0(x, y) = 0.
  3. Orthonormal eigenbasis. There is an orthonormal basis u1,…,unu_1, \dots, u_n of Cn\mathbb{C}^n with Auk=λkukA u_k = \lambda_k u_k, the λk\lambda_k real and listed with repetitions. Within a degenerate eigenspace the basis is not forced on you: any linearly independent set spanning the eigenspace can be orthonormalised by the Gram-Schmidt process, and the result is still an eigenbasis of that eigenspace.
  4. Unitary diagonalization. Equivalently, the matrix U=(u1 ⋯ un)U = (u_1 \ \cdots \ u_n) whose columns are such a basis is unitary and
U†AU=Λ=diag⁡(λ1,…,λn),soA=UΛU†.U^\dagger A U = \Lambda = \operatorname{diag}(\lambda_1, \dots, \lambda_n), \qquad \text{so} \qquad A = U \Lambda U^\dagger .
  1. Spectral resolution. Writing this out columnwise, A=∑k=1nλk ukuk†\displaystyle A = \sum_{k=1}^{n} \lambda_k\, u_k u_k^\dagger, and tr⁡A=∑kλk\operatorname{tr} A = \sum_k \lambda_k, det⁡A=∏kλk\det A = \prod_k \lambda_k.
  2. Real symmetric case. If in addition AA is real, then A=ATA = A^{\mathsf T}, the eigenvalues are real, and the uku_k may be chosen real, so that S=(u1 ⋯ un)S = (u_1 \ \cdots \ u_n) is a real orthogonal matrix with STAS=ΛS^{\mathsf T} A S = \Lambda.
Idea of the proofOriginal

Parts 1 and 2 are one manoeuvre done twice: move AA from one side of the inner product to the other, which is free because A=A†A = A^\dagger, and compare the two readings of the same number. A conjugate appears on one side and not on the other, and that mismatch is what makes the eigenvalue real and makes eigenvectors belonging to different eigenvalues perpendicular. Part 3 is where the work is. It is an induction that peels off one direction at a time: over C\mathbb{C} there is always at least one eigenvalue, and the hyperplane perpendicular to its eigenvector is again carried into itself by AA — this is the third use of A=A†A = A^\dagger — so the same argument runs in one dimension lower. Parts 4 and 5 then only restate part 3: an orthonormal basis written as the columns of a matrix is a unitary matrix, and A=UΛU†A = U\Lambda U^\dagger read entry by entry is the spectral resolution.

ProofAdaptedAdapted from Arfken, Weber & Harris (2013), §6.3, Eqs. (6.17)-(6.21), pp. 310-311, and §6.4, Eqs. (6.22)-(6.24), pp. 311-312; Riley, Hobson & Bence (2006), §8.13.2, Eqs. (8.81)-(8.84), pp. 276-277; Hassani (2013), §6.4, Thm 6.4.3, p. 177, Cor 6.4.9, p. 181, and Cor 6.4.13, p. 182

Throughout we use hermiticity in the form (Ax,y)=(x,Ay)(Ax,y) = (x,Ay) recorded in the definition, and conjugate-linearity of (⋅,⋅)(\cdot,\cdot) in its second slot.

Part 1. Let Ax=λxA x = \lambda x with x≠0x\neq0. Then

λ (x,x)=(λx,x)=(Ax,x)=(x,Ax)=(x,λx)=λ‾ (x,x),\lambda\,(x,x) = (\lambda x, x) = (Ax,x) = (x,Ax) = (x,\lambda x) = \overline{\lambda}\,(x,x) ,

the second-to-last step using A=A†A = A^\dagger and the last conjugate-linearity in the second slot. Since x≠0x\neq0 gives (x,x)=∥x∥2>0(x,x) = \|x\|^2>0, we may cancel it and conclude λ=λ‾\lambda = \overline\lambda, that is λ∈R\lambda\in\mathbb{R}.

Part 2. Let Ax=λxAx = \lambda x, Ay=μyAy = \mu y with λ≠μ\lambda\neq\mu; both are real by part 1. Then

λ (x,y)=(Ax,y)=(x,Ay)=(x,μy)=μ‾ (x,y)=μ (x,y),\lambda\,(x,y) = (Ax,y) = (x,Ay) = (x,\mu y) = \overline{\mu}\,(x,y) = \mu\,(x,y) ,

where the last equality uses that μ\mu is real. Hence (λ−μ)(x,y)=0(\lambda-\mu)(x,y) = 0, and λ≠μ\lambda\neq\mu forces (x,y)=0(x,y) = 0.

Part 3. We prove, by induction on dd, the following statement: if WW is a complex inner product space with dim⁡CW=d≥1\dim_{\mathbb{C}}W = d\ge1 and T ⁣:W→WT\colon W\to W is linear with (Tx,y)=(x,Ty)(Tx,y) = (x,Ty) for all x,y∈Wx,y\in W, then WW has an orthonormal basis of eigenvectors of TT, and the corresponding eigenvalues are real. Taking W=CnW = \mathbb{C}^n and T=AT = A gives part 3.

For d=1d=1, any unit vector uu of WW spans it, so TuTu is a multiple of uu and (u)(u) is such a basis; the eigenvalue is real by the computation of part 1, which used nothing but (Tx,y)=(x,Ty)(Tx,y) = (x,Ty).

Let d≥2d\ge2 and assume the statement in dimension d−1d-1. Fixing any basis of WW represents TT by a d×dd\times d complex matrix, which has an eigenvalue by part 1 of Eigenvalues and eigenvectors; so there are λ1∈C\lambda_1\in\mathbb{C} and u1∈Wu_1\in W with u1≠0u_1\neq0 and Tu1=λ1u1Tu_1 = \lambda_1u_1, and we may scale u1u_1 to ∥u1∥=1\|u_1\| = 1. By part 1, λ1\lambda_1 is real. Put

W1={w∈W:(w,u1)=0}.W_1 = \{w\in W : (w,u_1) = 0\} .

W1W_1 has dimension d−1d-1. Extend (u1)(u_1) to an orthonormal basis (u1,f2,…,fd)(u_1,f_2,\dots,f_d) of WW, which is possible by part 3 of the Gram-Schmidt statement in Orthonormal bases and Gram-Schmidt. By the expansion statement there, w=(w,u1)u1+∑i≥2(w,fi)fiw = (w,u_1)u_1+\sum_{i\ge2}(w,f_i)f_i for every w∈Ww\in W, so (w,u1)=0(w,u_1) = 0 holds exactly when w∈span⁡{f2,…,fd}w\in\operatorname{span}\{f_2,\dots,f_d\}. Hence W1=span⁡{f2,…,fd}W_1 = \operatorname{span}\{f_2,\dots,f_d\}, an inner product space of dimension d−1d-1 under the restricted inner product.

TT maps W1W_1 into itself. For w∈W1w\in W_1,

(Tw,u1)=(w,Tu1)=(w,λ1u1)=λ1‾ (w,u1)=0,(Tw,u_1) = (w,Tu_1) = (w,\lambda_1u_1) = \overline{\lambda_1}\,(w,u_1) = 0 ,

the first equality being the hypothesis on TT. So Tw∈W1Tw\in W_1.

The restriction of TT to W1W_1 is linear and still satisfies (Tx,y)=(x,Ty)(Tx,y) = (x,Ty) for x,y∈W1x,y\in W_1, so the induction hypothesis supplies an orthonormal basis u2,…,udu_2,\dots,u_d of W1W_1 consisting of eigenvectors of TT with real eigenvalues. Each uiu_i with i≥2i\ge2 lies in W1W_1 and is therefore orthogonal to u1u_1, so (u1,…,ud)(u_1,\dots,u_d) is orthonormal; it has dd members in a space of dimension dd, hence is a basis by part 1 of the expansion statement. This completes the induction.

The freedom inside a degenerate eigenspace. Let λ\lambda be an eigenvalue of AA and let (w1,…,wd)(w_1,\dots,w_d) be any linearly independent list spanning EλE_\lambda. Gram-Schmidt applied inside the inner product space EλE_\lambda returns an orthonormal basis of EλE_\lambda, and each output is a linear combination of w1,…,wdw_1,\dots,w_d, hence still an element of the subspace EλE_\lambda, hence still an eigenvector for λ\lambda. Doing this in each eigenspace and taking the union gives an orthonormal set, because vectors drawn from eigenspaces of different eigenvalues are orthogonal by part 2 and those drawn from one eigenspace are orthonormal by construction.

It remains to see that this set is a basis of Cn\mathbb{C}^n, that is that ∑λdim⁡Eλ=n\sum_\lambda\dim E_\lambda = n, the sum running over the distinct eigenvalues. One inequality comes from the eigenbasis u1,…,unu_1,\dots,u_n just constructed: sorting its members by eigenvalue, the kλk_\lambda of them lying in EλE_\lambda are linearly independent elements of EλE_\lambda, so kλ≤dim⁡Eλk_\lambda\le\dim E_\lambda, and summing over λ\lambda gives n=∑λkλ≤∑λdim⁡Eλn = \sum_\lambda k_\lambda\le\sum_\lambda\dim E_\lambda. The other comes from the union itself: being orthonormal it is linearly independent, by part 1 of the expansion statement in Orthonormal bases and Gram-Schmidt, and it has ∑λdim⁡Eλ\sum_\lambda\dim E_\lambda members in Cn\mathbb{C}^n, so ∑λdim⁡Eλ≤n\sum_\lambda\dim E_\lambda\le n. Hence the two are equal to nn, and an orthonormal list of nn vectors in Cn\mathbb{C}^n is an orthonormal basis.

Part 4. Let U=(u1 ⋯ un)U = (u_1\ \cdots\ u_n) for such a basis. Then

(U†U)ij=∑l=1nUli‾ Ulj=(uj,ui)=δij,(U^\dagger U)_{ij} = \sum_{l=1}^{n}\overline{U_{li}}\,U_{lj} = (u_j,u_i) = \delta_{ij} ,

so U†U=IU^\dagger U = I: UU is unitary and U−1=U†U^{-1} = U^\dagger. Column jj of AUAU is Auj=λjujAu_j = \lambda_ju_j, which is also column jj of UΛU\Lambda; so AU=UΛAU = U\Lambda, and multiplying on the left by U†U^\dagger gives U†AU=ΛU^\dagger AU = \Lambda, on the right by U†U^\dagger gives A=UΛU†A = U\Lambda U^\dagger.

Part 5. Read A=UΛU†A = U\Lambda U^\dagger entry by entry:

Aij=∑k=1nUikλkUjk‾=∑k=1nλk (uk)i (uk)j‾=(∑k=1nλk ukuk†)ij.A_{ij} = \sum_{k=1}^{n}U_{ik}\lambda_k\overline{U_{jk}} = \sum_{k=1}^{n}\lambda_k\,(u_k)_i\,\overline{(u_k)_j} = \Bigl(\sum_{k=1}^{n}\lambda_k\,u_ku_k^\dagger\Bigr)_{ij} .

For the last two identities, Λ=U−1AU\Lambda = U^{-1}AU is similar to AA, so it has the same trace and the same determinant (Eigenvalues and eigenvectors, second statement, part 4); and for a diagonal matrix those are ∑kλk\sum_k\lambda_k and ∏kλk\prod_k\lambda_k read off the diagonal.

Part 6. Let AA be real with A=ATA = A^{\mathsf T}; then A=A†A = A^\dagger, so every eigenvalue of AA is real by part 1. Give Rn\mathbb{R}^n the real inner product x⋅y=∑ixiyix\cdot y = \sum_ix_iy_i, which is symmetric, so that A=ATA = A^{\mathsf T} reads (Aw)⋅z=w⋅(Az)(Aw)\cdot z = w\cdot(Az).

We prove by induction on dd: if W⊆RnW\subseteq\mathbb{R}^n is a subspace with dim⁡RW=d≥1\dim_{\mathbb{R}}W = d\ge1 and AW⊆WAW\subseteq W, then WW has an orthonormal basis of real eigenvectors of AA. Part 6 is the case W=RnW = \mathbb{R}^n, which satisfies ARn⊆RnA\mathbb{R}^n\subseteq\mathbb{R}^n because AA is real.

One real eigenvector in WW. The point of the induction is that the restriction of AA to WW must be made to look symmetric again, and for that the basis of WW has to be orthonormal. So take an orthonormal basis (f1,…,fd)(f_1,\dots,f_d) of WW, which exists by part 3 of the Gram-Schmidt statement in Orthonormal bases and Gram-Schmidt applied to the real inner product space WW (the statement is proved there over R\mathbb{R} as well as over C\mathbb{C}). Let B∈Md×d(R)B\in M_{d\times d}(\mathbb{R}) be the matrix of A∣WA|_W in that basis, so Afj=∑iBijfiAf_j = \sum_iB_{ij}f_i; pairing with fif_i and using orthonormality gives Bij=(Afj)⋅fiB_{ij} = (Af_j)\cdot f_i. Then

Bji=(Afi)⋅fj=fi⋅(Afj)=(Afj)⋅fi=Bij,B_{ji} = (Af_i)\cdot f_j = f_i\cdot(Af_j) = (Af_j)\cdot f_i = B_{ij} ,

the middle equality being A=ATA = A^{\mathsf T} and the last the symmetry of the real inner product. So BB is real symmetric, hence Hermitian as a complex matrix. Read as a complex matrix it has an eigenvalue (Eigenvalues and eigenvectors, first statement, part 1, which applies because d≥1d\ge1), and that eigenvalue λ\lambda is real by part 1 above. Therefore B−λIdB-\lambda I_d is a real matrix with det⁡(B−λId)=0\det(B-\lambda I_d) = 0, so its columns are linearly dependent over R\mathbb{R} (Determinants): there is a real c≠0c\neq0 in Rd\mathbb{R}^d with (B−λId)c=0(B-\lambda I_d)c = 0. Setting u=∑jcjfju = \sum_jc_jf_j, a non-zero real vector of WW,

Au=∑jcjAfj=∑i(∑jBijcj)fi=λ∑icifi=λu.Au = \sum_jc_jAf_j = \sum_i\Bigl(\sum_jB_{ij}c_j\Bigr)f_i = \lambda\sum_ic_if_i = \lambda u .

Scale uu to ∥u∥=1\lVert u\rVert = 1. If d=1d = 1 then (u)(u) is the required basis and we are done.

Peeling it off. Let d≥2d\ge2 and put W′={w∈W:w⋅u=0}W' = \{w\in W : w\cdot u = 0\}. Expanding any w∈Ww\in W in an orthonormal basis of WW whose first member is uu — which Gram-Schmidt supplies, by part 3 of the Gram-Schmidt statement applied inside WW — shows dim⁡RW′=d−1\dim_{\mathbb{R}}W' = d-1, exactly as in part 3. And AW′⊆W′AW'\subseteq W': for w∈W′w\in W' we have Aw∈WAw\in W because AW⊆WAW\subseteq W, and

(Aw)⋅u=w⋅(Au)=λ (w⋅u)=0.(Aw)\cdot u = w\cdot(Au) = \lambda\,(w\cdot u) = 0 .

By the induction hypothesis W′W' has an orthonormal basis u2,…,udu_2,\dots,u_d of real eigenvectors of AA; each lies in W′W' and so is orthogonal to uu, so (u,u2,…,ud)(u,u_2,\dots,u_d) is an orthonormal list of dd vectors in WW, hence a basis of WW, and all of its members are real eigenvectors of AA. This closes the induction.

Applying it to W=RnW = \mathbb{R}^n gives a real orthonormal basis u1,…,unu_1,\dots,u_n of Rn\mathbb{R}^n of eigenvectors of AA, with real eigenvalues λ1,…,λn\lambda_1,\dots,\lambda_n. Then S=(u1 ⋯ un)S = (u_1\ \cdots\ u_n) satisfies STS=IS^{\mathsf T}S = I and STAS=ΛS^{\mathsf T}AS = \Lambda by the computation of part 4 with every conjugation removed. □\square

NoteOriginal

A Hermitian matrix is, after a rotation of the coordinate axes, just a list of real numbers: it stretches nn mutually perpendicular directions by nn real factors and does nothing else. This is why Hermitian operators model observables (real measured values, orthogonal states) and why a real symmetric matrix always has principal axes. Reach for it whenever a matrix built as a Gram matrix, a Hessian, an energy or an adjacency matrix turns out to equal its own adjoint.

Remark(Where the hypotheses are used, and conventions)Original

Real eigenvalues are not enough. (1101)\begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} has the single real eigenvalue 11 but a one-dimensional eigenspace, so no eigenbasis exists; it is not symmetric. Part 3 is a statement about A=A†A = A^\dagger, not about where the spectrum lies.

Diagonalizability is not enough; orthogonality is exactly enough. (1002)\begin{pmatrix} 1 & 0 \\ 0 & 2 \end{pmatrix} and (1102)\begin{pmatrix} 1 & 1 \\ 0 & 2 \end{pmatrix} have the same eigenvalues, and the second is diagonalizable, but only the first is symmetric and only the first has orthogonal eigenvectors. The converse of parts 3-4 holds in the sharp form: if U†AUU^\dagger A U is diagonal with real entries for some unitary UU, then A=UΛU†A = U \Lambda U^\dagger satisfies A†=AA^\dagger = A. Dropping "real entries" gives exactly the normal matrices; see normal matrices.

No Hermitian matrix is defective. Part 3 supplies nn independent eigenvectors, so geometric and algebraic multiplicity agree for every eigenvalue of a Hermitian matrix.

Conventions. Some books state part 4 as "UAU−1U A U^{-1} is diagonal", with the columns of U−1U^{-1}, not of UU, being the eigenvectors; that is the same statement with UU replaced by U†U^\dagger. Mathematical texts write A∗A^* for A†A^\dagger and say "self-adjoint" where physics texts say "Hermitian". Our inner product is linear in the first argument; texts that take it linear in the second obtain (x,Ay)=(Ax,y)(x, Ay) = (A x, y) in the same form, because AA is Hermitian, so no statement above changes.

Example(A real symmetric matrix with a degenerate eigenvalue)Original

Let

H=(62−423−2−4−26)=HT.H = \begin{pmatrix}6&2&-4\\2&3&-2\\-4&-2&6\end{pmatrix} = H^{\mathsf T} .

Eigenvalues. Expanding det⁡(H−λI)\det(H-\lambda I) along the first row, with (3−λ)(6−λ)−4=λ2−9λ+14(3-\lambda)(6-\lambda)-4 = \lambda^2-9\lambda+14,

det⁡(H−λI)=(6−λ)(λ2−9λ+14)−2(4−2λ)−4(8−4λ)=−λ3+15λ2−48λ+44,\det(H-\lambda I) = (6-\lambda)(\lambda^2-9\lambda+14)-2(4-2\lambda)-4(8-4\lambda) = -\lambda^3+15\lambda^2-48\lambda+44 ,

which factors as −(λ−11)(λ−2)2-(\lambda-11)(\lambda-2)^2. The eigenvalues 11,2,211,2,2 are real, as part 1 requires, and the two checks hold: tr⁡H=6+3+6=15=11+2+2\operatorname{tr}H = 6+3+6 = 15 = 11+2+2 and det⁡H=44=11⋅2⋅2\det H = 44 = 11\cdot2\cdot2.

The simple eigenvalue. The rows of H−11I=(−52−42−8−2−4−2−5)H-11I = \begin{pmatrix}-5&2&-4\\2&-8&-2\\-4&-2&-5\end{pmatrix} reduce to x1=−x3x_1 = -x_3 and 2x2=−x32x_2 = -x_3, so E11=span⁡{(2,1,−2)}E_{11} = \operatorname{span}\{(2,1,-2)\}. Since ∥(2,1,−2)∥=3\|(2,1,-2)\| = 3, take

u1=13(2,1,−2),Hu1=13(22,11,−22)=11u1.u_1 = \tfrac13(2,1,-2), \qquad Hu_1 = \tfrac13(22,11,-22) = 11u_1 .

The degenerate eigenvalue. Every row of H−2I=(42−421−2−4−24)H-2I = \begin{pmatrix}4&2&-4\\2&1&-2\\-4&-2&4\end{pmatrix} is a multiple of (2,1,−2)(2,1,-2), so E2E_2 is the plane 2x1+x2−2x3=02x_1+x_2-2x_3 = 0, of dimension 22: here g=m=2g = m = 2, as part 3 requires, since an eigenbasis of R3\mathbb{R}^3 has to take two of its three members from E2E_2. A convenient spanning pair is

v1=(1,0,1),v2=(0,2,1),v_1 = (1,0,1), \qquad v_2 = (0,2,1) ,

and these are not orthogonal: v1⋅v2=1v_1\cdot v_2 = 1. Part 3 says Gram-Schmidt inside E2E_2 fixes that. First ∥v1∥=2\|v_1\| = \sqrt2, so q1=12(1,0,1)q_1 = \tfrac{1}{\sqrt2}(1,0,1). Then v2⋅q1=1/2v_2\cdot q_1 = 1/\sqrt2 and

v2−12q1=(0,2,1)−12(1,0,1)=12(−1,4,1),v_2-\tfrac{1}{\sqrt2}q_1 = (0,2,1)-\tfrac12(1,0,1) = \tfrac12(-1,4,1) ,

of norm 1218=32\tfrac12\sqrt{18} = \tfrac{3}{\sqrt2}, so q2=132(−1,4,1)q_2 = \tfrac{1}{3\sqrt2}(-1,4,1). Both are still in E2E_2 — check 2(−1)+4−2(1)=02(-1)+4-2(1) = 0 — hence still eigenvectors for λ=2\lambda = 2.

Orthogonality across eigenspaces is automatic by part 2, and visibly so: u1⋅q1=2−232=0u_1\cdot q_1 = \frac{2-2}{3\sqrt2} = 0 and u1⋅q2=−2+4−292=0u_1\cdot q_2 = \frac{-2+4-2}{9\sqrt2} = 0.

The diagonalizing matrix. Put

S=(2/31/2−1/(32)1/304/(32)−2/31/21/(32)).S = \begin{pmatrix} 2/3 & 1/\sqrt2 & -1/(3\sqrt2)\\ 1/3 & 0 & 4/(3\sqrt2)\\ -2/3 & 1/\sqrt2 & 1/(3\sqrt2) \end{pmatrix} .

Its columns are orthonormal: each was normalised to length 11 above, the two pairings u1⋅q1u_1\cdot q_1 and u1⋅q2u_1\cdot q_2 were just computed, and q1⋅q2=0q_1\cdot q_2 = 0 holds by the Gram-Schmidt construction of q2q_2 — which one can also read off directly, q1⋅q2=−1+0+16=0q_1\cdot q_2 = \frac{-1+0+1}{6} = 0. So STS=I3S^{\mathsf T}S = I_3 and STHS=diag⁡(11,2,2)S^{\mathsf T}HS = \operatorname{diag}(11,2,2), which is part 6.

The spectral resolution, checked. Part 5 reads H=11 u1u1T+2 q1q1T+2 q2q2TH = 11\,u_1u_1^{\mathsf T}+2\,q_1q_1^{\mathsf T}+2\,q_2q_2^{\mathsf T}. Because the three projectors sum to II, this is the same as H=2I+9 u1u1TH = 2I+9\,u_1u_1^{\mathsf T}, and

9 u1u1T=9⋅19(42−421−2−4−24)=H−2I,9\,u_1u_1^{\mathsf T} = 9\cdot\tfrac19\begin{pmatrix}4&2&-4\\2&1&-2\\-4&-2&4\end{pmatrix} = H-2I ,

which is exactly the matrix H−2IH-2I written out above.

Example(A complex Hermitian matrix of size two)Original

Let

H=(11+i1−i0).H = \begin{pmatrix}1&1+i\\1-i&0\end{pmatrix} .

It is Hermitian: the diagonal is real and the off-diagonal entries are conjugates. Since (1+i)(1−i)=2(1+i)(1-i) = 2,

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

so the eigenvalues are 22 and −1-1: real, and summing to tr⁡H=1\operatorname{tr}H = 1 with product det⁡H=−2\det H = -2.

For λ=2\lambda = 2, the first row of H−2IH-2I gives −x1+(1+i)x2=0-x_1+(1+i)x_2 = 0, so x=(1+i,1)x = (1+i,1) spans E2E_2; its squared norm is 2+1=32+1 = 3. For λ=−1\lambda = -1, the first row of H+IH+I gives 2x1+(1+i)x2=02x_1+(1+i)x_2 = 0, hence x2=−21+ix1=−(1−i)x1x_2 = -\tfrac{2}{1+i}x_1 = -(1-i)x_1, so x=(1,−1+i)x = (1,-1+i) spans E−1E_{-1}, again of squared norm 33. Normalising,

u1=13(1+i, 1),u2=13(1, −1+i).u_1 = \tfrac{1}{\sqrt3}(1+i,\,1), \qquad u_2 = \tfrac{1}{\sqrt3}(1,\,-1+i) .

Part 2 is confirmed directly: (u1,u2)=13[(1+i)1‾+1⋅(−1+i)‾]=13[(1+i)+(−1−i)]=0(u_1,u_2) = \tfrac13\bigl[(1+i)\overline{1}+1\cdot\overline{(-1+i)}\bigr] = \tfrac13\bigl[(1+i)+(-1-i)\bigr] = 0. Note where the conjugate sits — without it the two vectors would not come out orthogonal.

Spectral resolution. With

u1u1†=13(21+i1−i1),u2u2†=13(1−1−i−1+i2),u_1u_1^\dagger = \tfrac13\begin{pmatrix}2&1+i\\1-i&1\end{pmatrix}, \qquad u_2u_2^\dagger = \tfrac13\begin{pmatrix}1&-1-i\\-1+i&2\end{pmatrix} ,

part 5 predicts

2u1u1†−u2u2†=13(4−12+2i+1+i2−2i+1−i2−2)=13(33+3i3−3i0)=(11+i1−i0)=H.2u_1u_1^\dagger-u_2u_2^\dagger = \tfrac13\begin{pmatrix}4-1&2+2i+1+i\\2-2i+1-i&2-2\end{pmatrix} = \tfrac13\begin{pmatrix}3&3+3i\\3-3i&0\end{pmatrix} = \begin{pmatrix}1&1+i\\1-i&0\end{pmatrix} = H .

Inside the bracket each slot is 2(u1u1†)ij−(u2u2†)ij2(u_1u_1^\dagger)_{ij}-(u_2u_2^\dagger)_{ij} with the common factor 13\tfrac13 pulled out; in the (2,1)(2,1) slot that is 2(1−i)−(−1+i)=2−2i+1−i=3−3i2(1-i)-(-1+i) = 2-2i+1-i = 3-3i, where the minus sign in front of u2u2†u_2u_2^\dagger and the minus signs inside it combine, and in the (1,2)(1,2) slot it is the conjugate 3+3i3+3i.

Equivalently U=13(1+i11−1+i)U = \tfrac{1}{\sqrt3}\begin{pmatrix}1+i&1\\1&-1+i\end{pmatrix} satisfies U†U=I2U^\dagger U = I_2 and U†HU=diag⁡(2,−1)U^\dagger HU = \operatorname{diag}(2,-1).

ApplicationOriginal

Observables and measurement. Quantum mechanics represents a measurable quantity by a Hermitian operator, and the theorem is what makes that representation coherent: part 1 says the possible measured values are real, part 2 says states with different values are distinguishable (orthogonal), and part 3 says every state can be expanded in states of definite value, with ∣(ψ,uk)∣2\lvert(\psi,u_k)\rvert^2 the probability of the outcome λk\lambda_k. Part 5 is the resolution of the identity that textbook derivations insert between operators, and the geometric multiplicity of an eigenvalue is the degeneracy of that energy level. For 2×22\times2 problems the matrix of the second example is the generic case: any Hermitian 2×22\times2 matrix is aI+b⋅σaI+\mathbf{b}\cdot\boldsymbol{\sigma} with aa and b\mathbf{b} real, so its eigenvalues are a±∣b∣a\pm\lvert\mathbf{b}\rvert and its eigenvectors are the spin states along b\mathbf{b}.

Principal axes. A real symmetric matrix met as a physical tensor acquires, through part 6, a frame in which it is diagonal and which is still a genuine rotation or reflection of space. For the inertia tensor these are the principal axes and the eigenvalues are the principal moments, which is why a rigid body has three special axes about which it can spin without wobble; for the stress tensor they are the principal stresses and the directions of zero shear; for the strain tensor they give the directions of pure extension; for the Hessian of a potential they give the directions of pure curvature, with the signs of the eigenvalues classifying the critical point. In each case the content of part 6 is that the diagonalizing change of coordinates is orthogonal, so lengths and angles — and therefore the physics — are unchanged.

Small oscillations and data. A system near a stable equilibrium has a symmetric stiffness matrix and a symmetric positive-definite mass matrix, and the simultaneous diagonalization of the two is what produces normal modes with definite frequencies, each oscillating independently (Generalized eigenproblems and normal modes). The same theorem underlies principal component analysis: a covariance matrix is symmetric by construction, its orthonormal eigenvectors are the principal directions of a cloud of data, and the eigenvalues are the variances along them, so part 5 decomposes the covariance into uncorrelated contributions ranked by size. Because the eigenvalues are real they can be ordered, which is what makes the Rayleigh quotient a usable bound on them (Quadratic forms and the Rayleigh quotient).

Definition

Unitary and orthogonal matrices

Adapted

Defines unitary and orthogonal matrices, shows they are exactly the matrices that preserve the inner product and have orthonormal columns, and records that their eigenvalues have modulus one and that the real ones reduce to rotations and reflections.

Prerequisites: Inner products and norms, Eigenvalues and eigenvectors, Determinants

Definition(Unitary and orthogonal matrices)AdaptedAdapted from Riley, Hobson & Bence (2006), §8.12.4 and §8.12.6, pp. 270-272

Let UU be an n×nn \times n complex matrix. UU is unitary if it is invertible with

U†=U−1,equivalentlyU†U=I,U^\dagger = U^{-1}, \qquad \text{equivalently} \qquad U^\dagger U = I ,

and for a square matrix U†U=IU^\dagger U = I already implies UU†=IU U^\dagger = I. A real matrix QQ with QT=Q−1Q^{\mathsf T} = Q^{-1} is orthogonal; an orthogonal matrix is exactly a unitary matrix with real entries. The real orthogonal n×nn \times n matrices form the group O(n)\mathrm{O}(n), those with det⁡Q=+1\det Q = +1 the subgroup SO(n)\mathrm{SO}(n), and the unitary n×nn \times n matrices the group U(n)\mathrm{U}(n): in each case the identity belongs to the set, and products and inverses stay in it.

As in the spectral theorem we use (x,y)=y†x(x, y) = y^\dagger x on Cn\mathbb{C}^n, with ∥x∥2=(x,x)\|x\|^2 = (x,x).

Definition(Characterisation)Original

For an n×nn \times n complex matrix UU the following are equivalent:

  1. U†U=IU^\dagger U = I;
  2. the columns of UU are orthonormal in Cn\mathbb{C}^n, i.e. (Uej,Uek)=δjk(U e_j, U e_k) = \delta_{jk} — and likewise for the rows;
  3. (Ux,Uy)=(x,y)(U x, U y) = (x, y) for all x,y∈Cnx, y \in \mathbb{C}^n;
  4. ∥Ux∥=∥x∥\|U x\| = \|x\| for all x∈Cnx \in \mathbb{C}^n.

The same four statements are equivalent for a real matrix QQ with QTQ=IQ^{\mathsf T} Q = I, real vectors and the real inner product xTyx^{\mathsf T} y. That 4 implies 3 is the polarization identity. Over R\mathbb{R} one identity suffices,

2xTy=∥x+y∥2−∥x∥2−∥y∥2,2 x^{\mathsf T} y = \|x+y\|^2 - \|x\|^2 - \|y\|^2 ,

and over C\mathbb{C} the real and imaginary parts are recovered separately,

2Re⁡(x,y)=∥x+y∥2−∥x∥2−∥y∥2,2Im⁡(x,y)=∥x+iy∥2−∥x∥2−∥y∥2,2\operatorname{Re}(x, y) = \|x+y\|^2 - \|x\|^2 - \|y\|^2 , \qquad 2\operatorname{Im}(x, y) = \|x+iy\|^2 - \|x\|^2 - \|y\|^2 ,

the second being the first applied with yy replaced by iyiy; each right-hand side is built only from norms, so hypothesis 4 — used at xx, at yy and at x+yx+y and x+iyx+iy — reproduces (Ux,Uy)=(x,y)(Ux, Uy) = (x,y) in full.

Idea of the proofOriginal

The single identity (Ux,Uy)=y†U†Ux(Ux, Uy) = y^\dagger U^\dagger U x turns the matrix condition U†U=IU^\dagger U = I into a statement about inner products, and reading it at the basis vectors x=ejx = e_j, y=eky = e_k turns it back again. So conditions 1, 2 and 3 are the same equation tested on all vectors, on basis vectors, and as a matrix. Condition 4 looks weaker, because it tests only x=yx = y; the polarization identities say it is not, because an inner product on Cn\mathbb{C}^n is already determined by the norms of xx, yy, x+yx+y and x+iyx+iy.

ProofOriginal

Throughout, (x,y)=y†x(x,y) = y^\dagger x, which is linear in the first slot and conjugate-linear in the second, since (x,cy)=(cy)†x=c‾ (x,y)(x, cy) = (cy)^\dagger x = \overline{c}\,(x,y).

1 implies 3. For any x,yx, y, the associativity of matrix multiplication gives

(Ux,Uy)=(Uy)†(Ux)=y†U†Ux=y†Ix=(x,y),(U x, U y) = (Uy)^\dagger (Ux) = y^\dagger U^\dagger U x = y^\dagger I x = (x, y),

where hypothesis 1 was used at the third equality.

3 implies 2. Take x=ejx = e_j and y=eky = e_k: then (Uej,Uek)=(ej,ek)=ek†ej=δjk(U e_j, U e_k) = (e_j, e_k) = e_k^\dagger e_j = \delta_{jk}, which is condition 2 for the columns, since UejU e_j is the jj-th column of UU.

2 implies 1. The (k,j)(k,j) entry of U†UU^\dagger U is ek†U†Uej=(Uej,Uek)e_k^\dagger U^\dagger U e_j = (U e_j, U e_k), which is δkj\delta_{kj} by hypothesis 2. Every entry of U†UU^\dagger U therefore agrees with the corresponding entry of II.

The rows. Condition 1 gives det⁡(U†U)=det⁡I=1\det(U^\dagger U) = \det I = 1, so det⁡U≠0\det U \neq 0 by the multiplicativity of the determinant (Determinants) and UU is invertible with U−1=U†U^{-1} = U^\dagger; substituting that identification into UU−1=IU U^{-1} = I gives UU†=IU U^\dagger = I. Its (j,k)(j,k) entry is ∑mUjmUkm‾\sum_m U_{jm}\overline{U_{km}}, which is exactly the inner product of the jj-th row with the kk-th row, so the rows are orthonormal as well. Conversely, orthonormal rows give UU†=IU U^\dagger = I and hence, by the same argument with UU and U†U^\dagger exchanged, U†U=IU^\dagger U = I. This is the step that uses squareness: for a non-square matrix U†U=IU^\dagger U = I and UU†=IU U^\dagger = I are not equivalent, and only one of them can hold.

3 implies 4. Put y=xy = x: then ∥Ux∥2=(Ux,Ux)=(x,x)=∥x∥2\|Ux\|^2 = (Ux, Ux) = (x,x) = \|x\|^2, and both norms are non-negative, so ∥Ux∥=∥x∥\|Ux\| = \|x\|.

4 implies 3. Fix x,yx, y. Hypothesis 4 applied at the four vectors xx, yy, x+yx+y and x+iyx+iy gives

∥Ux∥=∥x∥,∥Uy∥=∥y∥,∥U(x+y)∥=∥x+y∥,∥U(x+iy)∥=∥x+iy∥,\|Ux\| = \|x\|, \quad \|Uy\| = \|y\|, \quad \|U(x+y)\| = \|x+y\|, \quad \|U(x+iy)\| = \|x+iy\| ,

and UU is linear, so U(x+y)=Ux+UyU(x+y) = Ux + Uy and U(x+iy)=Ux+i UyU(x + iy) = Ux + i\,Uy. Substituting these four equalities into the two polarization identities displayed in the statement — once for the pair (Ux,Uy)(Ux, Uy) and once for the pair (x,y)(x,y) — makes their right-hand sides identical, so Re⁡(Ux,Uy)=Re⁡(x,y)\operatorname{Re}(Ux, Uy) = \operatorname{Re}(x,y) and Im⁡(Ux,Uy)=Im⁡(x,y)\operatorname{Im}(Ux,Uy) = \operatorname{Im}(x,y). A complex number is fixed by its real and imaginary parts, so (Ux,Uy)=(x,y)(Ux, Uy) = (x,y).

The four conditions are therefore equivalent: 1, 2 and 3 are equivalent by the first three paragraphs, and 3 and 4 by the last two.

The real case. Replace †\dagger by T\mathsf{T} and Cn\mathbb{C}^n by Rn\mathbb{R}^n throughout. Every step above is unchanged except the last, where only the first polarization identity is available and is all that is needed, because a real inner product has no imaginary part to recover. □\square

Definition(Determinant and spectrum)AdaptedAdapted from Riley, Hobson & Bence (2006), §8.12.4, p. 270, §8.12.6, p. 271 and §8.13.3, p. 278

Let UU be unitary and QQ real orthogonal, both n×nn \times n. Then:

  1. ∣det⁡U∣=1|\det U| = 1, and det⁡Q=±1\det Q = \pm 1.
  2. Every eigenvalue λ\lambda of UU satisfies ∣λ∣=1|\lambda| = 1, so λ=eiθ\lambda = e^{i\theta} for some real θ\theta. In particular the only possible real eigenvalues are +1+1 and −1-1.
  3. U−1=U†U^{-1} = U^\dagger is unitary, and Q−1=QTQ^{-1} = Q^{\mathsf T} is orthogonal.

Part 1 does not characterise unitarity: (1101)\begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} has determinant 11 and is not orthogonal.

Idea of the proofOriginal

Take determinants of U†U=IU^\dagger U = I and the modulus of det⁡U\det U falls out, because conjugating a matrix conjugates its determinant. The eigenvalues are controlled by the characterisation rather than by any new computation: an eigenvector is stretched by ∣λ∣|\lambda| and not stretched at all, so ∣λ∣=1|\lambda| = 1. The third part is the observation that the defining relation is symmetric in UU and U†U^\dagger.

ProofAdaptedAdapted from Riley, Hobson & Bence (2006), §8.12.4, p. 270, §8.12.6, p. 271 and §8.13.3, p. 278

Part 1. Taking determinants in U†U=IU^\dagger U = I and using multiplicativity (Determinants),

1=det⁡I=det⁡(U†) det⁡U.1 = \det I = \det(U^\dagger)\,\det U .

Now U†=U‾TU^\dagger = \overline{U}^{\mathsf T}, and the determinant is unchanged by transposition and conjugated by entrywise conjugation, so det⁡(U†)=det⁡U‾\det(U^\dagger) = \overline{\det U}. Hence 1=det⁡U‾ det⁡U=∣det⁡U∣21 = \overline{\det U}\,\det U = |\det U|^2, that is ∣det⁡U∣=1|\det U| = 1. For a real orthogonal QQ the same computation reads 1=det⁡(QT)det⁡Q=(det⁡Q)21 = \det(Q^{\mathsf T})\det Q = (\det Q)^2, and det⁡Q\det Q is real, so det⁡Q=±1\det Q = \pm 1.

Part 2. Let Ux=λxU x = \lambda x with x≠0x \neq 0. Part 4 of the characterisation, applied to this xx, gives ∥Ux∥=∥x∥\|U x\| = \|x\|; on the other hand ∥Ux∥=∥λx∥=∣λ∣ ∥x∥\|U x\| = \|\lambda x\| = |\lambda|\,\|x\| by homogeneity of the norm. Since x≠0x \neq 0 we may divide by ∥x∥>0\|x\| > 0 to get ∣λ∣=1|\lambda| = 1, and every complex number of modulus one is eiθe^{i\theta} with θ\theta real. If moreover λ\lambda is real then λ=±1\lambda = \pm 1, those being the only real numbers of modulus one. (Riley, Hobson and Bence reach the same conclusion by sandwiching: x†x=x†U†Ux=λ‾λ x†xx^\dagger x = x^\dagger U^\dagger U x = \overline{\lambda}\lambda\, x^\dagger x, so ∣λ∣2=1|\lambda|^2 = 1.)

Part 3. By part 1, det⁡U≠0\det U \neq 0, so UU is invertible, and U†U=IU^\dagger U = I identifies U−1=U†U^{-1} = U^\dagger; substituting that into UU−1=IUU^{-1} = I gives UU†=IU U^\dagger = I. Writing V=U†V = U^\dagger, this says V†V=UU†=IV^\dagger V = U U^\dagger = I, so VV is unitary. The real case is the same computation with transposes. □\square

Definition(Rotations and reflections)AdaptedAdapted from Arfken, Weber & Harris (2013), §3.3, Eqs (3.23)-(3.28) and 'Reflections', pp. 134-136; Hassani (2013), Thm 6.6.12 and Eq. (6.26), p. 201
  1. Plane rotations. The rotation of R2\mathbb{R}^2 about the origin by an angle θ\theta has matrix
R(θ)=(cos⁡θ−sin⁡θsin⁡θcos⁡θ),det⁡R(θ)=+1.R(\theta) = \begin{pmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{pmatrix}, \qquad \det R(\theta) = +1 .
  1. Every 2×22 \times 2 real orthogonal matrix is either R(θ)R(\theta), with determinant +1+1, or
F(θ)=(cos⁡θsin⁡θsin⁡θ−cos⁡θ),det⁡F(θ)=−1,F(\theta) = \begin{pmatrix} \cos\theta & \sin\theta \\ \sin\theta & -\cos\theta \end{pmatrix}, \qquad \det F(\theta) = -1 ,

for some θ∈[0,2π)\theta \in [0, 2\pi). F(θ)F(\theta) fixes the line through the origin at angle θ/2\theta/2 and negates the perpendicular direction, so it is the reflection in that line. 3. Real canonical form. For any real orthogonal QQ there is a real orthogonal PP with

PTQP=diag⁡(1,…,1⏟N+, −1,…,−1⏟N−, R(θ1),…,R(θm)),P^{\mathsf T} Q P = \operatorname{diag}\bigl(\underbrace{1, \dots, 1}_{N_+},\ \underbrace{-1, \dots, -1}_{N_-},\ R(\theta_1), \dots, R(\theta_m)\bigr),

a block-diagonal matrix with N++N−+2m=nN_+ + N_- + 2m = n. A real orthogonal matrix therefore cannot in general be diagonalized over R\mathbb{R}; this canonical form is as close as one can get.

Idea of the proofOriginal

In two dimensions orthogonality is almost no freedom at all. The first column is a unit vector of the plane, so it is (cos⁡θ,sin⁡θ)(\cos\theta, \sin\theta) for one angle θ\theta; the second must be a unit vector on the line perpendicular to it, and such a line contains exactly two unit vectors. One choice gives R(θ)R(\theta) and the other F(θ)F(\theta), which is the whole of part 2. That F(θ)F(\theta) is a reflection is then read off from the angle-addition formulas, which show at once that it fixes the direction at angle θ/2\theta/2 and reverses the direction perpendicular to it.

Proof(Parts 1 and 2)AdaptedAdapted from Arfken, Weber & Harris (2013), §3.3, Eqs (3.23)-(3.28), pp. 134-135; Hassani (2013), §6.6, Eq. (6.26), p. 201

Part 1. Write a point of R2\mathbb{R}^2 in polar form as (rcos⁡φ,rsin⁡φ)(r\cos\varphi, r\sin\varphi). By definition the rotation by θ\theta about the origin leaves rr alone and sends φ\varphi to φ+θ\varphi + \theta, so it sends this point to (rcos⁡(φ+θ), rsin⁡(φ+θ))(r\cos(\varphi+\theta),\, r\sin(\varphi+\theta)). Expanding with the angle-addition formulas,

rcos⁡(φ+θ)=xcos⁡θ−ysin⁡θ,rsin⁡(φ+θ)=xsin⁡θ+ycos⁡θ,r\cos(\varphi+\theta) = x\cos\theta - y\sin\theta , \qquad r\sin(\varphi+\theta) = x\sin\theta + y\cos\theta ,

where x=rcos⁡φx = r\cos\varphi, y=rsin⁡φy = r\sin\varphi. Both are linear in (x,y)(x,y), and reading off the coefficients gives exactly R(θ) (x,y)TR(\theta)\,(x,y)^{\mathsf T}. Its columns (cos⁡θ,sin⁡θ)(\cos\theta, \sin\theta) and (−sin⁡θ,cos⁡θ)(-\sin\theta, \cos\theta) each have norm cos⁡2θ+sin⁡2θ=1\cos^2\theta + \sin^2\theta = 1 and inner product −cos⁡θsin⁡θ+sin⁡θcos⁡θ=0-\cos\theta\sin\theta + \sin\theta\cos\theta = 0, so R(θ)R(\theta) is orthogonal by part 2 of the characterisation, and det⁡R(θ)=cos⁡2θ+sin⁡2θ=+1\det R(\theta) = \cos^2\theta + \sin^2\theta = +1.

Part 2, the two forms. Let QQ be a 2×22 \times 2 real orthogonal matrix with columns c1,c2c_1, c_2. By the characterisation these are orthonormal. Since ∥c1∥=1\|c_1\| = 1, there is exactly one θ∈[0,2π)\theta \in [0, 2\pi) with c1=(cos⁡θ,sin⁡θ)Tc_1 = (\cos\theta, \sin\theta)^{\mathsf T}: this is the polar form of a unit vector of the plane. The vectors orthogonal to c1c_1 in R2\mathbb{R}^2 form the solution set of the single non-trivial linear equation c1Tv=0c_1^{\mathsf T} v = 0, hence a line, and (−sin⁡θ,cos⁡θ)T(-\sin\theta, \cos\theta)^{\mathsf T} is a unit vector on it; a line through the origin contains exactly two unit vectors, so

c2=±(−sin⁡θ,cos⁡θ)T.c_2 = \pm(-\sin\theta, \cos\theta)^{\mathsf T} .

With the upper sign Q=R(θ)Q = R(\theta). With the lower sign c2=(sin⁡θ,−cos⁡θ)Tc_2 = (\sin\theta, -\cos\theta)^{\mathsf T} and Q=F(θ)Q = F(\theta), whose determinant is cos⁡θ (−cos⁡θ)−sin⁡θ sin⁡θ=−1\cos\theta\,(-\cos\theta) - \sin\theta\,\sin\theta = -1. These are the only possibilities, so every 2×22\times 2 real orthogonal matrix is one or the other, and the determinant says which.

Part 2, why F(θ)F(\theta) is a reflection. Set v=(cos⁡(θ/2),sin⁡(θ/2))Tv = (\cos(\theta/2), \sin(\theta/2))^{\mathsf T}, the unit vector at angle θ/2\theta/2, and w=(−sin⁡(θ/2),cos⁡(θ/2))Tw = (-\sin(\theta/2), \cos(\theta/2))^{\mathsf T}, the unit vector perpendicular to it. Multiplying out and using the angle-subtraction formulas with θ−θ/2=θ/2\theta - \theta/2 = \theta/2,

F(θ) v=(cos⁡θcos⁡θ2+sin⁡θsin⁡θ2sin⁡θcos⁡θ2−cos⁡θsin⁡θ2)=(cos⁡θ2sin⁡θ2)=v,F(\theta)\,v = \begin{pmatrix} \cos\theta\cos\tfrac\theta2 + \sin\theta\sin\tfrac\theta2 \\[2pt] \sin\theta\cos\tfrac\theta2 - \cos\theta\sin\tfrac\theta2 \end{pmatrix} = \begin{pmatrix} \cos\tfrac\theta2 \\[2pt] \sin\tfrac\theta2\end{pmatrix} = v ,F(θ) w=(−cos⁡θsin⁡θ2+sin⁡θcos⁡θ2−sin⁡θsin⁡θ2−cos⁡θcos⁡θ2)=(sin⁡θ2−cos⁡θ2)=−w.F(\theta)\,w = \begin{pmatrix} -\cos\theta\sin\tfrac\theta2 + \sin\theta\cos\tfrac\theta2 \\[2pt] -\sin\theta\sin\tfrac\theta2 - \cos\theta\cos\tfrac\theta2\end{pmatrix} = \begin{pmatrix} \sin\tfrac\theta2 \\[2pt] -\cos\tfrac\theta2\end{pmatrix} = -w .

So F(θ)F(\theta) fixes every vector of the line Rv\mathbb{R}v, which makes angle θ/2\theta/2 with the first axis, and negates every vector of the perpendicular line Rw\mathbb{R}w. Since {v,w}\{v, w\} is a basis of R2\mathbb{R}^2, these two actions determine F(θ)F(\theta), and a linear map that fixes a line through the origin and negates its orthogonal complement is by definition the reflection in that line. □\square

Note(Part 3 is not proved here)AdaptedAdapted from Hassani (2013), §6.6, Thm 6.6.11, pp. 200-201, Thm 6.6.12 and Eq. (6.26), pp. 201-202

The real canonical form, part 3 of the statement above, is quoted without proof: it rests on the real spectral decomposition of a normal operator, which decomposes a real inner product space into one- and two-dimensional subspaces invariant under the operator, and that machinery is outside this unit. (Hassani (2013), Thm 6.6.11, pp. 200-201) proves the decomposition and then deduces the canonical form, with the orthogonality of the transforming matrix, in (Hassani (2013), Thm 6.6.12, pp. 201-202). Hassani also gives, in Example 6.6.13 on p. 202, a short non-rigorous route through the complexification: regard QQ as unitary, write it as eAe^{A} with AA real antisymmetric, note that the eigenvalues of AA are 00 and pure imaginary pairs ±iθj\pm i\theta_j, and exponentiate. Our worked example below carries out the construction by hand in a single case, which is a check on the form but not a proof of it.

NoteOriginal

A unitary matrix is a rigid motion of Cn\mathbb{C}^n fixing the origin: it moves vectors around but changes no length and no angle. That is why unitary matrices are the allowed changes of orthonormal basis, the matrices that diagonalize Hermitian and normal matrices, the time evolutions of quantum mechanics, and — in the real case — the rotations and reflections of rigid-body kinematics.

Remark(Conventions and traps)Original

Active and passive. Expressing the same vector in axes rotated by +θ+\theta multiplies its component column by R(θ)T=R(−θ)R(\theta)^{\mathsf T} = R(-\theta), whereas rotating the vector by +θ+\theta in fixed axes multiplies it by R(θ)R(\theta). Books that set up rotations by rotating the coordinate system therefore display the transpose of the matrix above. Always say which of the two you mean.

O(n)\mathrm{O}(n) is not the same as SO(n)\mathrm{SO}(n). Orthogonality forces only det⁡Q=±1\det Q = \pm 1; proper rotations are the det⁡Q=+1\det Q = +1 half. The two halves are not connected: the determinant is continuous and takes no value between −1-1 and +1+1 on O(n)\mathrm{O}(n), so no continuous family of rotations starting at the identity ever reaches a reflection.

"Orthogonal matrix" is not "matrix with orthogonal columns". The columns must also be unit vectors. A matrix QQ whose columns are pairwise orthogonal and all non-zero satisfies QTQ=DQ^{\mathsf T} Q = D with DD diagonal and every diagonal entry positive; such a QQ stretches the jj-th coordinate direction by Djj\sqrt{D_{jj}}, so unless all the DjjD_{jj} are equal it changes lengths by different factors in different directions, and unless they all equal 11 it changes lengths at all. Dropping "non-zero" loses even this: the zero vector is orthogonal to everything, so a matrix with a zero column has pairwise orthogonal columns while being singular.

Preserving the norm requires all xx. (0100)\begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix} sends e2e_2 to e1e_1, so it preserves the length of e2e_2, yet it kills e1e_1; part 4 of the characterisation is a statement about every vector, not about one.

The real block form is not unique as displayed. Part 3 of "Rotations and reflections" leaves each θj\theta_j free in [0,2π)[0, 2\pi), and R(0)=I2R(0) = I_2 while R(π)=diag⁡(−1,−1)R(\pi) = \operatorname{diag}(-1, -1): a block R(0)R(0) is two +1+1 entries and a block R(π)R(\pi) two −1-1 entries, so the same QQ admits displays with different N±N_\pm and mm. Uniqueness, up to the order of the blocks, needs θj∈(0,π)\theta_j \in (0, \pi), which forces sin⁡θj≠0\sin\theta_j \neq 0; then the 2×22 \times 2 blocks carry exactly the non-real eigenvalue pairs e±iθje^{\pm i \theta_j} and N±N_\pm are the multiplicities of ±1\pm 1. (Hassani (2013), Thm 6.6.12, p. 201) states the form without that restriction, and part 3 follows the source.

Real versus complex diagonalization. A unitary matrix is normal, hence unitarily diagonalizable over C\mathbb{C}. R(θ)R(\theta) with sin⁡θ≠0\sin\theta \neq 0 illustrates the difference: its eigenvalues e±iθe^{\pm i\theta} are not real, so it is diagonalizable over C\mathbb{C} but not over R\mathbb{R}, which is what part 3 of the previous statement expresses.

Example(Classifying two orthogonal matrices)Original

Part A: a 2×22 \times 2 matrix. Let

Q1=15(344−3).Q_1 = \frac15 \begin{pmatrix} 3 & 4 \\ 4 & -3 \end{pmatrix} .

Its columns are (3,4)/5(3,4)/5 and (4,−3)/5(4,-3)/5, each of norm 9+16/5=1\sqrt{9+16}/5 = 1, with inner product (12−12)/25=0(12 - 12)/25 = 0; so Q1Q_1 is orthogonal by part 2 of the characterisation. Its determinant is (−9−16)/25=−1(-9 - 16)/25 = -1, so by part 2 of "Rotations and reflections" it is F(θ)F(\theta), not a rotation, with cos⁡θ=3/5\cos\theta = 3/5 and sin⁡θ=4/5\sin\theta = 4/5. The mirror line is the one at angle θ/2\theta/2, and

tan⁡θ2=sin⁡θ1+cos⁡θ=4/51+3/5=4/58/5=12,\tan\frac\theta2 = \frac{\sin\theta}{1+\cos\theta} = \frac{4/5}{1 + 3/5} = \frac{4/5}{8/5} = \frac12 ,

so the mirror is the line y=x/2y = x/2, spanned by (2,1)(2,1). Checking directly: Q1(2,1)T=15(6+4, 8−3)T=(2,1)TQ_1 (2,1)^{\mathsf T} = \tfrac15(6+4,\, 8-3)^{\mathsf T} = (2,1)^{\mathsf T}, fixed; and Q1(−1,2)T=15(−3+8, −4−6)T=(1,−2)T=−(−1,2)TQ_1(-1,2)^{\mathsf T} = \tfrac15(-3+8,\, -4-6)^{\mathsf T} = (1,-2)^{\mathsf T} = -(-1,2)^{\mathsf T}, negated. The eigenvalues are +1+1 and −1-1, as part 2 of "Determinant and spectrum" allows for a real matrix.

Part B: a 3×33 \times 3 matrix, reduced to the canonical form. Let

Q=13(2−21122−2−12).Q = \frac13 \begin{pmatrix} 2 & -2 & 1 \\ 1 & 2 & 2 \\ -2 & -1 & 2 \end{pmatrix} .

Step 1: it is orthogonal. The columns are c1=(2,1,−2)/3c_1 = (2,1,-2)/3, c2=(−2,2,−1)/3c_2 = (-2,2,-1)/3, c3=(1,2,2)/3c_3 = (1,2,2)/3. Each has squared norm (4+1+4)/9=(4+4+1)/9=(1+4+4)/9=1(4+1+4)/9 = (4+4+1)/9 = (1+4+4)/9 = 1, and

c1Tc2=19(−4+2+2)=0,c1Tc3=19(2+2−4)=0,c2Tc3=19(−2+4−2)=0.c_1^{\mathsf T} c_2 = \tfrac19(-4+2+2) = 0, \quad c_1^{\mathsf T} c_3 = \tfrac19(2+2-4) = 0, \quad c_2^{\mathsf T} c_3 = \tfrac19(-2+4-2) = 0 .

So QTQ=IQ^{\mathsf T} Q = I.

Step 2: norms are preserved. As a check on part 4 of the characterisation, take x=(1,2,3)Tx = (1,2,3)^{\mathsf T}. Then Qx=13(2−4+3, 1+4+6, −2−2+6)T=13(1,11,2)TQx = \tfrac13(2-4+3,\ 1+4+6,\ -2-2+6)^{\mathsf T} = \tfrac13(1,11,2)^{\mathsf T}, and

∥Qx∥2=1+121+49=1269=14=1+4+9=∥x∥2.\|Qx\|^2 = \frac{1 + 121 + 4}{9} = \frac{126}{9} = 14 = 1 + 4 + 9 = \|x\|^2 .

Step 3: the determinant. Expanding along the first row of the integer matrix 3Q3Q,

det⁡(3Q)=2(4+2)+2(2+4)+1(−1+4)=12+12+3=27,\det(3Q) = 2(4+2) + 2(2+4) + 1(-1+4) = 12 + 12 + 3 = 27 ,

so det⁡Q=27/33=+1\det Q = 27/3^3 = +1 and Q∈SO(3)Q \in \mathrm{SO}(3): a rotation, not a reflection.

Step 4: the spectrum. The trace is (2+2+2)/3=2(2+2+2)/3 = 2, the sum of the three 2×22\times 2 principal minors of QQ is 22, and det⁡Q=1\det Q = 1, so the characteristic polynomial is

λ3−2λ2+2λ−1=(λ−1)(λ2−λ+1),\lambda^3 - 2\lambda^2 + 2\lambda - 1 = (\lambda - 1)(\lambda^2 - \lambda + 1) ,

with roots 11 and 12±32i=e±iπ/3\tfrac12 \pm \tfrac{\sqrt3}{2} i = e^{\pm i\pi/3}. All three have modulus one, as part 2 of "Determinant and spectrum" requires. Comparing the trace with the canonical form diag⁡(1,R(θ))\operatorname{diag}(1, R(\theta)), whose trace is 1+2cos⁡θ1 + 2\cos\theta, gives cos⁡θ=12\cos\theta = \tfrac12: the rotation angle is θ=π/3\theta = \pi/3, or 60∘60^\circ.

Step 5: the axis. Solving (Q−I)x=0(Q - I)x = 0, i.e. 13(−x1−2x2+x3, x1−x2+2x3, −2x1−x2−x3)=0\tfrac13(-x_1 - 2x_2 + x_3,\ x_1 - x_2 + 2x_3,\ -2x_1 - x_2 - x_3) = 0, gives the one-dimensional solution space spanned by n=(−1,1,1)Tn = (-1,1,1)^{\mathsf T}; indeed Qn=13(−2−2+1, −1+2+2, 2−1+2)T=13(−3,3,3)T=nQn = \tfrac13(-2-2+1,\ -1+2+2,\ 2-1+2)^{\mathsf T} = \tfrac13(-3,3,3)^{\mathsf T} = n. Normalising, n^=(−1,1,1)T/3\hat n = (-1,1,1)^{\mathsf T}/\sqrt3.

Step 6: the canonical form. Pick any unit vector perpendicular to n^\hat n, say e^=(1,1,0)T/2\hat e = (1,1,0)^{\mathsf T}/\sqrt2 (note n^Te^=(−1+1+0)/6=0\hat n^{\mathsf T}\hat e = (-1+1+0)/\sqrt6 = 0), and complete to a right-handed frame with

f^=n^×e^=16 (−1,1,−2)T.\hat f = \hat n \times \hat e = \frac{1}{\sqrt6}\,(-1, 1, -2)^{\mathsf T} .

Now Qe^=13(2−2, 1+2, −2−1)T/2=(0,1,−1)T/2Q\hat e = \tfrac13(2-2,\ 1+2,\ -2-1)^{\mathsf T}/\sqrt2 = (0,1,-1)^{\mathsf T}/\sqrt2, and

e^TQe^=12(0+1+0)=12=cos⁡π3,f^TQe^=112(0+1+2)=323=32=sin⁡π3.\hat e^{\mathsf T} Q \hat e = \tfrac12(0 + 1 + 0) = \tfrac12 = \cos\tfrac\pi3 , \qquad \hat f^{\mathsf T} Q \hat e = \tfrac{1}{\sqrt{12}}(0 + 1 + 2) = \tfrac{3}{2\sqrt3} = \tfrac{\sqrt3}{2} = \sin\tfrac\pi3 .

With P=(n^  e^  f^)P = (\hat n\ \ \hat e\ \ \hat f), which is orthogonal because its columns are orthonormal by construction and has det⁡P=+1\det P = +1,

PTQP=(10001/2−3/203/21/2)=diag⁡(1, R(π/3)),P^{\mathsf T} Q P = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1/2 & -\sqrt3/2 \\ 0 & \sqrt3/2 & 1/2\end{pmatrix} = \operatorname{diag}\bigl(1,\, R(\pi/3)\bigr),

the canonical form of part 3 with N+=1N_+ = 1, N−=0N_- = 0, m=1m = 1 and θ1=π/3\theta_1 = \pi/3. Since sin⁡(π/3)≠0\sin(\pi/3) \neq 0 this display is the unique one up to the order of the blocks, as the remark above requires. The upper-left 11 is the axis and the 2×22\times 2 block the rotation by 60∘60^\circ in the plane perpendicular to it.

ApplicationOriginal

Unitarity is conservation of probability. In quantum mechanics a state is a unit vector ψ\psi of a complex inner product space, and ∣(ψ,ϕ)∣2|(\psi, \phi)|^2 is the probability of finding the state ψ\psi in the state ϕ\phi; the total probability is ∥ψ∥2=1\|\psi\|^2 = 1. A time evolution is therefore allowed only if it preserves the norm of every state — part 4 of the characterisation — which by that characterisation means exactly that it is unitary. For a finite-dimensional system with Hermitian Hamiltonian HH, the evolution U(t)=e−iHt/ℏU(t) = e^{-iHt/\hbar} satisfies U(t)†=e+iH†t/ℏ=eiHt/ℏ=U(t)−1U(t)^\dagger = e^{+iH^\dagger t/\hbar} = e^{iHt/\hbar} = U(t)^{-1}, so it is unitary, and part 2 above says its eigenvalues are the phases e−iEkt/ℏe^{-iE_kt/\hbar} attached to the energy levels: time evolution rotates phases and changes no amplitude. The same argument constrains a scattering matrix SS: unitarity of SS is the statement that no probability is lost between the incoming and outgoing channels, and it is the hypothesis behind the optical theorem. Changing between two orthonormal bases is likewise a unitary matrix, which is why the predictions of the theory do not depend on the basis chosen.

Orthogonality turns a rigid rotation into an antisymmetric angular velocity. Let Q(t)∈SO(3)Q(t) \in \mathrm{SO}(3) be the matrix carrying body-fixed axes to laboratory axes at time tt, a differentiable function of tt. Differentiating the constraint QTQ=IQ^{\mathsf T} Q = I gives

Q˙TQ+QTQ˙=0,soΩ=QTQ˙ satisfies ΩT=−Ω.\dot Q^{\mathsf T} Q + Q^{\mathsf T}\dot Q = 0, \qquad \text{so} \qquad \Omega = Q^{\mathsf T}\dot Q \text{ satisfies } \Omega^{\mathsf T} = -\Omega .

A 3×33\times 3 antisymmetric matrix has only three independent entries, and those three numbers are the components of the angular velocity vector: a rigid body in three dimensions has three rotational degrees of freedom, not nine, and this is why. The determinant is what forbids the body from passing continuously into a mirror image of itself, as the remark on O(n)\mathrm{O}(n) versus SO(n)\mathrm{SO}(n) explains: det⁡Q(t)\det Q(t) is continuous in tt and confined to {±1}\{\pm 1\}, so it cannot change during a motion.

Orthogonal transformations are the numerically safe ones. In numerical linear algebra the standard algorithms — QRQR factorisation, the reduction to Hessenberg or tridiagonal form, the QRQR eigenvalue iteration, the singular value decomposition — act by multiplying on the left by orthogonal matrices, built either as Givens plane rotations R(θ)R(\theta) embedded in a pair of coordinates or as Householder reflections, which are the nn-dimensional analogues of F(θ)F(\theta). The reason is part 4 of the characterisation: because ∥Qx∥=∥x∥\|Qx\| = \|x\| exactly, an orthogonal step neither magnifies the vector nor magnifies the error already in it, so the rounding errors of the previous steps are carried along rather than amplified. A general invertible step, Gaussian elimination for instance, can multiply an error by a large factor. In the language of conditioning, an orthogonal matrix has condition number ∥Q∥ ∥Q−1∥=1\|Q\|\,\|Q^{-1}\| = 1 in the Euclidean norm, the smallest value possible, which is the quantitative form of the same statement.

Theorem

Normal matrices and simultaneous diagonalization

Adapted

A complex matrix has an orthonormal eigenbasis exactly when it is normal, and two normal matrices can be given a common orthonormal eigenbasis exactly when they commute.

Prerequisites: Spectral theorem for Hermitian matrices, Unitary and orthogonal matrices, Inner products and norms, Orthonormal bases and Gram-Schmidt

Definition(Normal matrix)AdaptedAdapted from Riley, Hobson & Bence (2006), §8.12.7, p. 272

An n×nn \times n complex matrix AA is normal if it commutes with its Hermitian conjugate:

AA†=A†A.A A^\dagger = A^\dagger A .

Hermitian matrices (A=A†A = A^\dagger), anti-Hermitian matrices (A†=−AA^\dagger = -A) and unitary matrices (A†=A−1A^\dagger = A^{-1}) are normal, since in each case A†A^\dagger is a function of AA that commutes with it; in the real case this covers symmetric, antisymmetric and orthogonal matrices. If AA is normal and invertible then A−1A^{-1} is normal.

Theorem(Spectral theorem for normal matrices)AdaptedAdapted from Hassani (2013), Thm 6.4.8 and Cor 6.4.9, pp. 180-181; Riley, Hobson & Bence (2006), §8.13.1, pp. 274-276

Let AA be a normal n×nn \times n complex matrix, with distinct eigenvalues λ1,…,λp\lambda_1, \dots, \lambda_p and eigenspaces EλjE_{\lambda_j}. Then:

  1. Cn=Eλ1⊕⋯⊕Eλp\mathbb{C}^n = E_{\lambda_1} \oplus \cdots \oplus E_{\lambda_p}, the summands being mutually orthogonal, and Cn\mathbb{C}^n has an orthonormal basis u1,…,unu_1, \dots, u_n of eigenvectors of AA. Equivalently, the matrix UU with these columns is unitary and U†AU=Λ=diag⁡(λ1′,…,λn′)U^\dagger A U = \Lambda = \operatorname{diag}(\lambda_1', \dots, \lambda_n'), where the λk′\lambda_k' are the eigenvalues listed with multiplicity.
  2. Spectral resolution. A=∑j=1pλjPj=∑k=1nλk′ ukuk†\displaystyle A = \sum_{j=1}^{p} \lambda_j P_j = \sum_{k=1}^{n} \lambda_k'\, u_k u_k^\dagger, where PjP_j is the orthogonal projection onto EλjE_{\lambda_j}, so that Pj=Pj†=Pj2P_j = P_j^\dagger = P_j^2, PiPj=0P_i P_j = 0 for i≠ji \neq j, and ∑jPj=I\sum_j P_j = I.
  3. The adjoint shares the eigenvectors. If Ax=λxA x = \lambda x then A†x=λ‾xA^\dagger x = \overline{\lambda} x; the same xx serves both matrices, and σ(A†)={λ‾:λ∈σ(A)}\sigma(A^\dagger) = \{\overline{\lambda} : \lambda \in \sigma(A)\}.
  4. Eigenvectors belonging to distinct eigenvalues are orthogonal, and within one eigenspace any spanning independent set may be replaced by an orthonormal one by the Gram-Schmidt process.
Idea of the proofOriginal

A normal matrix is a complex combination of two commuting Hermitian ones: put H=12(A+A†)H = \tfrac12(A + A^\dagger) and K=12i(A−A†)K = \tfrac{1}{2i}(A - A^\dagger), so that A=H+iKA = H + iK, and then normality of AA is exactly the statement HK=KHHK = KH. So the whole theorem reduces to one question about Hermitian matrices, which the spectral theorem already answers one matrix at a time: can two commuting Hermitian matrices be diagonalized in the same orthonormal basis? They can, because each eigenspace of HH is carried into itself by KK, so the Hermitian spectral theorem can be applied a second time inside each eigenspace, where HH is already a scalar. A common orthonormal eigenbasis of HH and KK is then an eigenbasis of A=H+iKA = H + iK, with eigenvalues αk+iβk\alpha_k + i\beta_k. The remaining parts — that A†A^\dagger has the same eigenvectors with conjugated eigenvalues, and that distinct eigenvalues give orthogonal eigenvectors — come from the single observation that ∥Bx∥=∥B†x∥\|Bx\| = \|B^\dagger x\| whenever BB is normal, applied to B=A−λIB = A - \lambda I.

ProofAdaptedAdapted from Riley, Hobson & Bence (2006), §8.13.1, pp. 274-275; Hassani (2013), Thm 6.4.8 and Cor 6.4.9, pp. 180-181

A restriction lemma. Let W⊆CnW \subseteq \mathbb{C}^n be a subspace of dimension d≥1d \ge 1 that is carried into itself by a matrix TT and by T†T^\dagger. Choose an orthonormal basis w1,…,wdw_1, \dots, w_d of WW, which exists by Gram-Schmidt, and set Sjk=(Twk,wj)S_{jk} = (T w_k, w_j). Since TwkT w_k lies in WW, expanding it in that orthonormal basis gives Twk=∑jSjkwjT w_k = \sum_j S_{jk} w_j: the matrix SS represents TT on WW. The matrix representing T†T^\dagger on WW in the same basis has entries

(T†wk,wj)=(wk,Twj)=(Twj,wk)‾=Skj‾=(S†)jk,(T^\dagger w_k, w_j) = (w_k, T w_j) = \overline{(T w_j, w_k)} = \overline{S_{kj}} = (S^\dagger)_{jk},

where the first equality is the definition of the adjoint and the second the conjugate symmetry of the inner product (Inner products and norms). So T†T^\dagger is represented by S†S^\dagger. Because WW is invariant under both, the restriction of a product is the product of the restrictions, so TT†=T†TTT^\dagger = T^\dagger T on Cn\mathbb{C}^n forces SS†=S†SSS^\dagger = S^\dagger S, and T=T†T = T^\dagger forces S=S†S = S^\dagger: a Hermitian matrix restricts to a Hermitian matrix, and a normal one to a normal one.

Eigenspaces from an eigenbasis. If TT has an orthonormal eigenbasis u1,…,unu_1, \dots, u_n with Tuk=τkukTu_k = \tau_k u_k, then for each distinct eigenvalue τ\tau the span FτF_\tau of those uku_k with τk=τ\tau_k = \tau is the whole eigenspace Eτ(T)E_\tau(T). Indeed Fτ⊆Eτ(T)F_\tau \subseteq E_\tau(T); and if Tx=τxTx = \tau x, then writing x=∑k(x,uk)ukx = \sum_k (x, u_k)u_k and applying TT gives ∑kτk(x,uk)uk=∑kτ(x,uk)uk\sum_k \tau_k (x,u_k) u_k = \sum_k \tau (x,u_k)u_k, so (τk−τ)(x,uk)=0(\tau_k - \tau)(x, u_k) = 0 for every kk and the coefficients with τk≠τ\tau_k \neq \tau vanish, putting xx in FτF_\tau. The distinct FτF_\tau are mutually orthogonal and together span Cn\mathbb{C}^n.

Lemma: two commuting Hermitian matrices have a common orthonormal eigenbasis. Let HH and KK be Hermitian with HK=KHHK = KH. By the Hermitian spectral theorem (Spectral theorem for Hermitian matrices) and the previous paragraph, Cn\mathbb{C}^n is the orthogonal direct sum of the eigenspaces Eμ(H)E_\mu(H) over the distinct eigenvalues μ\mu of HH. Each is invariant under KK: if Hx=μxHx = \mu x then

H(Kx)=(HK)x=(KH)x=K(Hx)=μ (Kx),H(Kx) = (HK)x = (KH)x = K(Hx) = \mu\,(Kx),

which is where the commutation hypothesis enters, and it is invariant under K†=KK^\dagger = K for the same reason. By the restriction lemma, KK is represented on Eμ(H)E_\mu(H) by a Hermitian matrix, so the Hermitian spectral theorem applied a second time — now inside Eμ(H)E_\mu(H) — produces an orthonormal basis of Eμ(H)E_\mu(H) made of eigenvectors of KK. Every vector of Eμ(H)E_\mu(H) is an eigenvector of HH, so these are eigenvectors of both. Collecting them over all μ\mu gives nn vectors, orthonormal because they are orthonormal inside each eigenspace and the eigenspaces are mutually orthogonal, hence an orthonormal basis.

Part 1. Let AA be normal and put

H=12(A+A†),K=12i(A−A†),soA=H+iK,A†=H−iK.H = \tfrac12 (A + A^\dagger), \qquad K = \tfrac{1}{2i}(A - A^\dagger), \qquad \text{so} \qquad A = H + iK, \quad A^\dagger = H - iK .

Both are Hermitian: H†=12(A†+A)=HH^\dagger = \tfrac12(A^\dagger + A) = H, and K†=−12i(A†−A)=KK^\dagger = -\tfrac{1}{2i}(A^\dagger - A) = K. Multiplying out,

AA†=H2+K2+i(KH−HK),A†A=H2+K2+i(HK−KH),A A^\dagger = H^2 + K^2 + i(KH - HK), \qquad A^\dagger A = H^2 + K^2 + i(HK - KH),

so AA†−A†A=2i(KH−HK)AA^\dagger - A^\dagger A = 2i(KH - HK) and the normality hypothesis says precisely that HK=KHHK = KH. The lemma then gives an orthonormal basis u1,…,unu_1, \dots, u_n with Huk=αkukHu_k = \alpha_k u_k and Kuk=βkukK u_k = \beta_k u_k, the αk,βk\alpha_k, \beta_k real, whence

Auk=(H+iK)uk=(αk+iβk) uk=:λk′uk.A u_k = (H + iK)u_k = (\alpha_k + i\beta_k)\,u_k =: \lambda_k' u_k .

So Cn\mathbb{C}^n has an orthonormal basis of eigenvectors of AA. The matrix U=(u1 ⋯ un)U = (u_1\ \cdots\ u_n) has orthonormal columns, so it is unitary (Unitary and orthogonal matrices, part 2 of the characterisation), and

(U†AU)jk=uj†Auk=λk′ uj†uk=λk′ δjk,(U^\dagger A U)_{jk} = u_j^\dagger A u_k = \lambda_k'\, u_j^\dagger u_k = \lambda_k'\,\delta_{jk},

that is U†AU=ΛU^\dagger A U = \Lambda. The eigenspace decomposition Cn=Eλ1⊕⋯⊕Eλp\mathbb{C}^n = E_{\lambda_1} \oplus \cdots \oplus E_{\lambda_p} with mutually orthogonal summands is then the "eigenspaces from an eigenbasis" paragraph applied to AA.

Part 3. First, for any normal BB and any xx,

∥Bx∥2=x†B†Bx=x†BB†x=∥B†x∥2.\|Bx\|^2 = x^\dagger B^\dagger B x = x^\dagger B B^\dagger x = \|B^\dagger x\|^2 .

Next, B=A−λIB = A - \lambda I is normal whenever AA is: expanding,

B†B=A†A−λ‾A−λA†+∣λ∣2I,BB†=AA†−λ‾A−λA†+∣λ∣2I,B^\dagger B = A^\dagger A - \overline{\lambda}A - \lambda A^\dagger + |\lambda|^2 I , \qquad B B^\dagger = A A^\dagger - \overline{\lambda}A - \lambda A^\dagger + |\lambda|^2 I ,

and these agree because A†A=AA†A^\dagger A = AA^\dagger. Combining the two displays with B=A−λIB = A - \lambda I and B†=A†−λ‾IB^\dagger = A^\dagger - \overline{\lambda} I,

Ax=λx  ⟺  ∥(A−λI)x∥=0  ⟺  ∥(A†−λ‾I)x∥=0  ⟺  A†x=λ‾x,A x = \lambda x \iff \|(A - \lambda I)x\| = 0 \iff \|(A^\dagger - \overline{\lambda}I)x\| = 0 \iff A^\dagger x = \overline{\lambda}x ,

using that a vector of norm zero is zero. The same non-zero xx witnesses both, so σ(A†)={λ‾:λ∈σ(A)}\sigma(A^\dagger) = \{\overline\lambda : \lambda \in \sigma(A)\}. (This is the route of Riley, Hobson and Bence, who note that A−λIA - \lambda I inherits normality and then read off B†x=0B^\dagger x = 0 from x†B†Bx=0x^\dagger B^\dagger B x = 0.)

Part 4. Let Ax=λxAx = \lambda x and Ay=μyAy = \mu y with λ≠μ\lambda \neq \mu. Using part 3 at yy, so that A†y=μ‾yA^\dagger y = \overline{\mu}y, and the conjugate-linearity of (⋅,⋅)(\cdot,\cdot) in its second slot,

λ (x,y)=(Ax,y)=y†Ax=(x,A†y)=(x,μ‾ y)=μ (x,y).\lambda\,(x,y) = (Ax, y) = y^\dagger A x = (x, A^\dagger y) = (x, \overline{\mu}\,y) = \mu\,(x,y) .

Hence (λ−μ)(x,y)=0(\lambda - \mu)(x,y) = 0, and λ≠μ\lambda \neq \mu forces (x,y)=0(x,y) = 0. Within a single eigenspace there is no such constraint, but EλE_\lambda is a subspace, so any linearly independent spanning set of it can be replaced by an orthonormal basis of it by Gram-Schmidt, and every vector of EλE_\lambda is still an eigenvector for λ\lambda.

Part 2. From U†AU=ΛU^\dagger A U = \Lambda we get A=UΛU†A = U\Lambda U^\dagger, and reading the product columnwise, A=∑k=1nλk′ ukuk†A = \sum_{k=1}^n \lambda_k'\, u_k u_k^\dagger. For each distinct eigenvalue λj\lambda_j let Ij={k:λk′=λj}I_j = \{k : \lambda_k' = \lambda_j\} and Pj=∑k∈Ijukuk†P_j = \sum_{k \in I_j} u_k u_k^\dagger. Then Pj†=PjP_j^\dagger = P_j, and PiPj=∑k∈Ii∑l∈Ijuk(uk†ul)ul†=δijPjP_i P_j = \sum_{k \in I_i}\sum_{l \in I_j} u_k (u_k^\dagger u_l) u_l^\dagger = \delta_{ij}P_j by orthonormality, so each PjP_j is idempotent and PiPj=0P_iP_j = 0 for i≠ji \neq j. Also ∑jPj=∑k=1nukuk†=UU†=I\sum_j P_j = \sum_{k=1}^n u_k u_k^\dagger = UU^\dagger = I. The image of PjP_j is exactly EλjE_{\lambda_j}: it is contained in it because each uku_k with k∈Ijk \in I_j lies there, and it contains it because x∈Eλjx \in E_{\lambda_j} has (x,uk)=0(x, u_k) = 0 for k∉Ijk \notin I_j by the "eigenspaces from an eigenbasis" paragraph, so x=∑k(x,uk)uk=Pjxx = \sum_k (x,u_k)u_k = P_j x. A Hermitian idempotent with image EλjE_{\lambda_j} is the orthogonal projection onto EλjE_{\lambda_j}. Finally, grouping the terms of A=∑kλk′ukuk†A = \sum_k \lambda_k' u_ku_k^\dagger by eigenvalue gives A=∑jλjPjA = \sum_j \lambda_j P_j. □\square

Theorem(Normality is exactly unitary diagonalizability)Original

Conversely, if U†AU=ΛU^\dagger A U = \Lambda is diagonal for some unitary UU, then A=UΛU†A = U \Lambda U^\dagger and

AA†=UΛΛ‾U†=UΛ‾ΛU†=A†A,A A^\dagger = U \Lambda \overline{\Lambda} U^\dagger = U \overline{\Lambda} \Lambda U^\dagger = A^\dagger A ,

because diagonal matrices commute. So for an n×nn \times n complex matrix AA:

A is normal  ⟺  Cn has an orthonormal basis of eigenvectors of A  ⟺  U†AU is diagonal for some unitary U.A \text{ is normal} \iff \mathbb{C}^n \text{ has an orthonormal basis of eigenvectors of } A \iff U^\dagger A U \text{ is diagonal for some unitary } U .

Reading off the diagonal gives the sharper classification: a normal matrix is Hermitian exactly when σ(A)⊂R\sigma(A) \subset \mathbb{R}, anti-Hermitian exactly when σ(A)⊂iR\sigma(A) \subset i\mathbb{R}, unitary exactly when σ(A)\sigma(A) lies on the unit circle, and an orthogonal projection exactly when σ(A)⊆{0,1}\sigma(A) \subseteq \{0, 1\}.

Idea of the proofOriginal

Once A=UΛU†A = U\Lambda U^\dagger, every identity between AA and A†A^\dagger becomes the same identity between Λ\Lambda and Λ‾\overline{\Lambda}, because conjugating by a fixed unitary matrix is injective and respects products. So each of the four special classes is read off the diagonal entry by entry: being Hermitian is λ=λ‾\lambda = \overline\lambda, being unitary is ∣λ∣=1|\lambda| = 1, and so on.

ProofOriginal

The equivalence. If AA is normal, part 1 of the previous statement gives an orthonormal eigenbasis and the unitary UU with U†AU=ΛU^\dagger A U = \Lambda. If Cn\mathbb{C}^n has an orthonormal eigenbasis of AA, the matrix UU of those columns is unitary and the computation (U†AU)jk=uj†Auk=λk′δjk(U^\dagger A U)_{jk} = u_j^\dagger A u_k = \lambda_k'\delta_{jk} of that proof makes U†AUU^\dagger A U diagonal. If U†AU=ΛU^\dagger A U = \Lambda is diagonal for some unitary UU, then the display above shows AA†=A†AA A^\dagger = A^\dagger A, since A†=UΛ‾U†A^\dagger = U\overline{\Lambda}U^\dagger and diagonal matrices commute. The three conditions therefore imply one another in a cycle.

The classification. Let A=UΛU†A = U\Lambda U^\dagger with UU unitary, so A†=UΛ‾U†A^\dagger = U\overline{\Lambda}U^\dagger, and note that UMU†=UNU†U M U^\dagger = U N U^\dagger implies M=NM = N, because UU is invertible. Each line below is read entry by entry on the diagonal, and σ(A)\sigma(A) is the set of diagonal entries of Λ\Lambda.

  • A=A†  ⟺  Λ=Λ‾  ⟺  A = A^\dagger \iff \Lambda = \overline{\Lambda} \iff every λk′\lambda_k' is real   ⟺  σ(A)⊂R\iff \sigma(A) \subset \mathbb{R}.
  • A†=−A  ⟺  Λ‾=−Λ  ⟺  Re⁡λk′=0A^\dagger = -A \iff \overline{\Lambda} = -\Lambda \iff \operatorname{Re}\lambda_k' = 0 for every kk   ⟺  σ(A)⊂iR\iff \sigma(A) \subset i\mathbb{R}.
  • A†A=I  ⟺  Λ‾Λ=I  ⟺  ∣λk′∣2=1A^\dagger A = I \iff \overline{\Lambda}\Lambda = I \iff |\lambda_k'|^2 = 1 for every kk   ⟺  σ(A)\iff \sigma(A) lies on the unit circle.
  • AA is an orthogonal projection, i.e. A=A†=A2A = A^\dagger = A^2,   ⟺  Λ=Λ‾\iff \Lambda = \overline\Lambda and Λ2=Λ\Lambda^2 = \Lambda   ⟺  \iff every λk′\lambda_k' is real and satisfies λ2=λ\lambda^2 = \lambda   ⟺  σ(A)⊆{0,1}\iff \sigma(A) \subseteq \{0,1\}, the only solutions of λ2=λ\lambda^2 = \lambda being 00 and 11.

In each case the hypothesis that AA is normal is what supplies the UU and Λ\Lambda in the first place; without it none of these spectral conditions says anything, as (0100)\begin{pmatrix} 0 & 1 \\ 0 & 0\end{pmatrix} shows — its spectrum is {0}⊆{0,1}\{0\} \subseteq \{0,1\} and it is not a projection. □\square

Theorem(Simultaneous diagonalization)AdaptedAdapted from Hassani (2013), Lemma 6.4.17 and Thm 6.4.18, pp. 186-187; Riley, Hobson & Bence (2006), §8.13.5, pp. 278-279; Arfken, Weber & Harris (2013), §6.5, 'Simultaneous Diagonalization', p. 314

Let AA and BB be normal n×nn \times n complex matrices. Then some single orthonormal basis of Cn\mathbb{C}^n is made of vectors that are eigenvectors of AA and eigenvectors of BB — equivalently, one unitary UU makes both U†AUU^\dagger A U and U†BUU^\dagger B U diagonal — if and only if

[A,B]=AB−BA=0.[A, B] = A B - B A = 0 .

In particular this holds for two commuting Hermitian matrices, and then the common basis may be chosen real whenever AA and BB are real symmetric. The criterion extends to any commuting family of normal matrices.

Idea of the proofOriginal

One direction is immediate: two matrices that are diagonal in the same basis commute, because diagonal matrices do. The other direction turns commutation with AA into commutation with each of AA's spectral projections PjP_j — the reason being that BB maps each eigenspace of AA into itself, so it cannot mix the projections up. Once BB's projections QαQ_\alpha and AA's projections PjP_j all commute with each other, the products PjQαP_jQ_\alpha are again orthogonal projections, onto the joint eigenspaces Eλj∩NμαE_{\lambda_j} \cap N_{\mu_\alpha}, and they still sum to the identity. So Cn\mathbb{C}^n splits orthogonally into subspaces on each of which AA and BB are both scalars, and any orthonormal basis adapted to that splitting is a common eigenbasis.

ProofAdaptedAdapted from Hassani (2013), Lemma 6.4.17 and Thm 6.4.18, pp. 186-187; Riley, Hobson & Bence (2006), §8.13.5, pp. 278-279

Write A=∑jλjPjA = \sum_j \lambda_j P_j and B=∑αμαQαB = \sum_\alpha \mu_\alpha Q_\alpha for the spectral resolutions of part 2 of the spectral theorem, with PjP_j the orthogonal projection onto Eλj=ker⁡(A−λjI)E_{\lambda_j} = \ker(A - \lambda_j I) and QαQ_\alpha that onto Nμα=ker⁡(B−μαI)N_{\mu_\alpha} = \ker(B - \mu_\alpha I); these exist because AA and BB are normal.

Necessity. Suppose u1,…,unu_1, \dots, u_n is a basis with Auk=αkukA u_k = \alpha_k u_k and Buk=βkukB u_k = \beta_k u_k. Then

ABuk=βkAuk=αkβkuk=αkBuk=BAukABu_k = \beta_k A u_k = \alpha_k\beta_k u_k = \alpha_k B u_k = BA u_k

for every kk, and two matrices that agree on a basis are equal, so AB=BAAB = BA. (Only the existence of a common eigenbasis is used here, not its orthonormality.)

A lemma. If a matrix TT commutes with the normal matrix AA, then TT commutes with every spectral projection PjP_j of AA. For if Ax=λjxAx = \lambda_j x then A(Tx)=T(Ax)=λj(Tx)A(Tx) = T(Ax) = \lambda_j(Tx), so each EλjE_{\lambda_j} is carried into itself by TT. Now take any xx and write x=∑iPixx = \sum_i P_i x with Pix∈EλiP_i x \in E_{\lambda_i}. For i≠ji \neq j we have PjTPix=0P_j T P_i x = 0, because TPix∈EλiTP_ix \in E_{\lambda_i} is fixed by PiP_i and PjPi=0P_jP_i = 0; and PjTPjx=TPjxP_jTP_jx = TP_jx, because TPjxTP_jx lies in EλjE_{\lambda_j}, on which PjP_j is the identity. Hence

PjTx=∑iPjTPix=PjTPjx=TPjx,P_j T x = \sum_i P_j T P_i x = P_j T P_j x = T P_j x ,

which is the claim. This is the lemma of Hassani, in the form we need.

All four families of projections commute. Applying the lemma to the normal matrix AA and T=BT = B gives BPj=PjBBP_j = P_jB for every jj. Applying it now to the normal matrix BB and T=PjT = P_j — legitimate because PjP_j commutes with BB — gives PjQα=QαPjP_jQ_\alpha = Q_\alpha P_j for every jj and α\alpha.

The joint projections. Put Rjα=PjQαR_{j\alpha} = P_jQ_\alpha. Then

Rjα†=Qα†Pj†=QαPj=PjQα=Rjα,Rjα2=PjQαPjQα=Pj2Qα2=PjQα=Rjα,R_{j\alpha}^\dagger = Q_\alpha^\dagger P_j^\dagger = Q_\alpha P_j = P_jQ_\alpha = R_{j\alpha}, \qquad R_{j\alpha}^2 = P_jQ_\alpha P_jQ_\alpha = P_j^2 Q_\alpha^2 = P_jQ_\alpha = R_{j\alpha},

the middle step of the second line using the commutation just proved. So each RjαR_{j\alpha} is a Hermitian idempotent, hence the orthogonal projection onto its image, and that image is

Wjα=Eλj∩Nμα:W_{j\alpha} = E_{\lambda_j} \cap N_{\mu_\alpha} :

every Rjαx=Pj(Qαx)R_{j\alpha}x = P_j(Q_\alpha x) lies in the image of PjP_j, which is EλjE_{\lambda_j}, and equals Qα(Pjx)Q_\alpha(P_jx), which lies in NμαN_{\mu_\alpha}; conversely a vector in both is fixed by PjP_j and by QαQ_\alpha, hence by RjαR_{j\alpha}. Moreover

∑j,αRjα=(∑jPj)(∑αQα)=I⋅I=I,\sum_{j,\alpha} R_{j\alpha} = \Bigl(\sum_j P_j\Bigr)\Bigl(\sum_\alpha Q_\alpha\Bigr) = I \cdot I = I ,

and RjαRj′α′=PjPj′QαQα′=0R_{j\alpha}R_{j'\alpha'} = P_jP_{j'}Q_\alpha Q_{\alpha'} = 0 unless j=j′j = j' and α=α′\alpha = \alpha'. Therefore every xx decomposes as x=∑j,αRjαxx = \sum_{j,\alpha}R_{j\alpha}x into vectors of the WjαW_{j\alpha}, and these subspaces are mutually orthogonal, since for (j,α)≠(j′,α′)(j,\alpha) \neq (j',\alpha') and x∈Wjαx \in W_{j\alpha}, y∈Wj′α′y \in W_{j'\alpha'} we get (x,y)=(Rjαx,Rj′α′y)=y†Rj′α′Rjαx=0(x,y) = (R_{j\alpha}x, R_{j'\alpha'}y) = y^\dagger R_{j'\alpha'}R_{j\alpha}x = 0. Hence Cn\mathbb{C}^n is the orthogonal direct sum of the non-zero WjαW_{j\alpha}.

The common basis. Pick an orthonormal basis of each non-zero WjαW_{j\alpha} (Gram-Schmidt). The union is orthonormal, because the WjαW_{j\alpha} are mutually orthogonal, and spans Cn\mathbb{C}^n, so it is an orthonormal basis; each of its members lies in some Eλj∩NμαE_{\lambda_j} \cap N_{\mu_\alpha} and is therefore an eigenvector of AA with eigenvalue λj\lambda_j and of BB with eigenvalue μα\mu_\alpha. Taking UU to be the matrix of these columns, UU is unitary and both U†AUU^\dagger A U and U†BUU^\dagger B U are diagonal.

The real symmetric case. If AA and BB are real symmetric and commute, then each WjαW_{j\alpha} is the solution space of the real homogeneous linear system (A−λjI)x=0(A - \lambda_j I)x = 0, (B−μαI)x=0(B - \mu_\alpha I)x = 0 — real because the eigenvalues of a real symmetric matrix are real — so it is the complexification of the real solution space Wjα∩RnW_{j\alpha} \cap \mathbb{R}^n, which has the same dimension. Running Gram-Schmidt over R\mathbb{R} inside each real solution space gives a common real orthonormal eigenbasis, and the matrix of those columns is real orthogonal.

A commuting family. Let F\mathcal{F} be a set of pairwise commuting normal matrices. Refine as above: start from the eigenspace decomposition of one member and intersect repeatedly with the eigenspaces of further members, choosing at each step a member that splits at least one summand in two. Each such step strictly increases the number of non-zero summands, and that number never exceeds nn, so after at most n−1n-1 steps no member of F\mathcal{F} splits any summand. Call the resulting orthogonal decomposition Cn=W1⊕⋯⊕Wr\mathbb{C}^n = W_1 \oplus \cdots \oplus W_r. Each WmW_m is an intersection of eigenspaces of finitely many members, so by the lemma — applied once for each of those members — every A∈FA \in \mathcal{F} commutes with the projection onto WmW_m and hence carries WmW_m into itself; and since AA splits no summand, WmW_m lies inside a single eigenspace of AA, i.e. AA acts on WmW_m as a scalar. An orthonormal basis of each WmW_m is then a common eigenbasis of the whole family. □\square

NoteOriginal

Normal is the exact condition for "diagonal in some orthonormal frame": the matrix is a list of complex stretch factors along nn perpendicular axes. The commutation criterion is the algebraic reason two observables can be measured at once in quantum mechanics — a common eigenbasis exists precisely when the operators commute — and the practical reason that a symmetry of a system lets you block-diagonalize its dynamical matrix.

Remark(Where the hypotheses are used)Original

"Orthonormal" cannot be dropped. (1102)\begin{pmatrix} 1 & 1 \\ 0 & 2 \end{pmatrix} has distinct eigenvalues 1,21, 2 and so is diagonalizable, but AAT=(2224)≠(1115)=ATAA A^{\mathsf T} = \begin{pmatrix} 2 & 2 \\ 2 & 4 \end{pmatrix} \neq \begin{pmatrix} 1 & 1 \\ 1 & 5 \end{pmatrix} = A^{\mathsf T} A, so it is not normal and no orthonormal eigenbasis exists. Diagonalizable by a general similarity and diagonalizable by a unitary are different conditions, and only the second is normality.

Normality cannot be dropped from the commutation criterion. A=B=(1101)A = B = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} commute, yet neither is diagonalizable at all. Commuting buys a common invariant decomposition, not a common eigenbasis, unless each matrix separately has an eigenbasis.

Degeneracy leaves a choice, and the choice matters. If λ\lambda is a degenerate eigenvalue of AA, not every orthonormal eigenbasis of AA is an eigenbasis of a commuting BB: one must diagonalize BB restricted to each eigenspace EλE_\lambda of AA. The theorem asserts that some such choice works, not that any does.

Real normal is weaker than real symmetric. R(θ)=(cos⁡θ−sin⁡θsin⁡θcos⁡θ)R(\theta) = \begin{pmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{pmatrix} is real and normal, but for sin⁡θ≠0\sin\theta \neq 0 it has no real eigenvector, so it cannot be diagonalized by a real orthogonal matrix. Among real matrices, orthogonal diagonalizability over R\mathbb{R} characterises the symmetric ones, not the normal ones; see unitary and orthogonal matrices for the real canonical form.

Conventions. Physics texts usually write the condition as [A,A†]=0[A, A^\dagger] = 0 and call A†A^\dagger the adjoint; mathematical texts write A∗A^*. Some books state part 1 of the spectral theorem as "a normal operator is diagonalizable"; read in such a statement that the diagonalizing basis is orthonormal, which is what the proof produces and what the converse above needs.

Example(A normal matrix that is neither Hermitian nor unitary, and a commuting partner)Original

Let CC be the cyclic shift of C3\mathbb{C}^3 and A=I+CA = I + C:

C=(010001100),A=(110011101).C = \begin{pmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 1 & 0 & 0\end{pmatrix}, \qquad A = \begin{pmatrix} 1 & 1 & 0 \\ 0 & 1 & 1 \\ 1 & 0 & 1\end{pmatrix} .

Step 1: AA is normal, and why. CC is a permutation matrix, so its columns are the standard basis vectors in some order and are orthonormal: CC is unitary, with C†=C−1=C2C^\dagger = C^{-1} = C^2 (shifting three times returns to the start, C3=IC^3 = I). Hence

A†=I+C2,AA†=(I+C)(I+C2)=I+C+C2+C3=2I+C+C2,A^\dagger = I + C^2 , \qquad A A^\dagger = (I + C)(I + C^2) = I + C + C^2 + C^3 = 2I + C + C^2 ,

and A†A=(I+C2)(I+C)A^\dagger A = (I+C^2)(I+C) gives the same four terms in the other order, so AA†=A†AAA^\dagger = A^\dagger A. Written out, both equal (211121112)\begin{pmatrix} 2&1&1\\1&2&1\\1&1&2\end{pmatrix}. The structural reason is worth keeping: AA and A†A^\dagger are both polynomials in the one matrix CC, and any two polynomials in the same matrix commute.

AA is not Hermitian, since AT≠AA^{\mathsf T} \neq A, and not unitary, as step 2 will show by exhibiting an eigenvalue of modulus 22.

Step 2: the eigenvalues and an orthonormal eigenbasis. Let ω=e2πi/3=−12+32i\omega = e^{2\pi i/3} = -\tfrac12 + \tfrac{\sqrt3}{2} i, so ω3=1\omega^3 = 1 and 1+ω+ω2=01 + \omega + \omega^2 = 0. For k=0,1,2k = 0, 1, 2 put

vk=(1, ωk, ω2k)T.v_k = (1,\ \omega^k,\ \omega^{2k})^{\mathsf T} .

Then Cvk=(ωk,ω2k,1)T=ωkvkC v_k = (\omega^k, \omega^{2k}, 1)^{\mathsf T} = \omega^k v_k, using ω3k=1\omega^{3k} = 1 for the last entry, so

Avk=(1+ωk) vk.A v_k = (1 + \omega^k)\, v_k .

The eigenvalues are therefore

λ0=2,λ1=1+ω=12+32i=eiπ/3,λ2=1+ω2=12−32i=e−iπ/3.\lambda_0 = 2, \qquad \lambda_1 = 1 + \omega = \tfrac12 + \tfrac{\sqrt3}{2}i = e^{i\pi/3}, \qquad \lambda_2 = 1 + \omega^2 = \tfrac12 - \tfrac{\sqrt3}{2}i = e^{-i\pi/3} .

Two checks: tr⁡A=3=2+2cos⁡(π/3)=2+1\operatorname{tr}A = 3 = 2 + 2\cos(\pi/3) = 2 + 1, and det⁡A=λ0λ1λ2=2 ∣eiπ/3∣2=2\det A = \lambda_0\lambda_1\lambda_2 = 2\,|e^{i\pi/3}|^2 = 2, which matches the direct expansion det⁡A=1(1−0)−1(0−1)=2\det A = 1(1-0) - 1(0-1) = 2. Since ∣λ0∣=2≠1|\lambda_0| = 2 \neq 1, AA is not unitary, as promised.

The vkv_k are orthogonal: by the geometric-sum formula,

(vj,vk)=vk†vj=∑m=02ωmj ωmk‾=∑m=02ωm(j−k)=3 δjk,(v_j, v_k) = v_k^\dagger v_j = \sum_{m=0}^{2}\omega^{mj}\,\overline{\omega^{mk}} = \sum_{m=0}^{2}\omega^{m(j-k)} = 3\,\delta_{jk},

because for j≠kj \neq k the sum is 1+ζ+ζ2=01 + \zeta + \zeta^2 = 0 with ζ=ωj−k≠1\zeta = \omega^{j-k} \neq 1 a cube root of unity. So uk=vk/3u_k = v_k/\sqrt3 is an orthonormal eigenbasis — exactly what part 1 of the spectral theorem promises — and with U=(u0 u1 u2)U = (u_0\ u_1\ u_2), the discrete Fourier matrix of order 3,

U†AU=diag⁡(2, eiπ/3, e−iπ/3).U^\dagger A U = \operatorname{diag}\bigl(2,\ e^{i\pi/3},\ e^{-i\pi/3}\bigr).

Step 3: the adjoint and the spectral resolution. Since C2uk=ω2kuk=ωk‾ ukC^2 u_k = \omega^{2k}u_k = \overline{\omega^k}\,u_k (because ∣ω∣=1|\omega| = 1, so ω2k=ω−k=ωk‾\omega^{2k} = \omega^{-k} = \overline{\omega^k}), we get A†uk=(1+ωk‾)uk=λk‾ ukA^\dagger u_k = (1 + \overline{\omega^k})u_k = \overline{\lambda_k}\,u_k: the same eigenvectors, the conjugated eigenvalues, as part 3 requires. The eigenvalues are distinct, so each eigenspace is one-dimensional, Pk=ukuk†P_k = u_ku_k^\dagger, and part 2 reads

A=2 u0u0†+eiπ/3 u1u1†+e−iπ/3 u2u2†,A = 2\,u_0u_0^\dagger + e^{i\pi/3}\,u_1u_1^\dagger + e^{-i\pi/3}\,u_2u_2^\dagger ,

which multiplies out to AA (one may check the (1,1)(1,1) entry: 13(2+eiπ/3+e−iπ/3)=13(2+1)=1\tfrac13(2 + e^{i\pi/3} + e^{-i\pi/3}) = \tfrac13(2+1) = 1, and the (1,2)(1,2) entry: 13(2+eiπ/3ω‾+e−iπ/3ω2‾)=13(2+1)=1\tfrac13(2 + e^{i\pi/3}\overline{\omega} + e^{-i\pi/3}\overline{\omega^2}) = \tfrac13(2 + 1) = 1, since eiπ/3ω‾=eiπ/3e−2πi/3=e−iπ/3e^{i\pi/3}\overline\omega = e^{i\pi/3}e^{-2\pi i/3} = e^{-i\pi/3} and the two conjugate terms sum to 2cos⁡(π/3)=12\cos(\pi/3) = 1).

Step 4: a commuting partner and the role of degeneracy. Let

B=A+A†=2I+C+C2=(211121112),B = A + A^\dagger = 2I + C + C^2 = \begin{pmatrix} 2&1&1\\1&2&1\\1&1&2\end{pmatrix},

real symmetric, and commuting with AA because both are polynomials in CC. By the simultaneous-diagonalization theorem the two share an orthonormal eigenbasis, and indeed Buk=(λk+λk‾)uk=2(Re⁡λk)ukBu_k = (\lambda_k + \overline{\lambda_k})u_k = 2(\operatorname{Re}\lambda_k)u_k, giving the eigenvalues

4,1,1.4,\qquad 1,\qquad 1 .

So BB has a degenerate eigenvalue 11, with the two-dimensional eigenspace N1=span⁡{v1,v2}N_1 = \operatorname{span}\{v_1, v_2\}, and this is where the third trap above becomes concrete. Solving (B−I)x=0(B - I)x = 0 by hand gives the obvious real basis (−1,1,0)T(-1,1,0)^{\mathsf T}, (−1,0,1)T(-1,0,1)^{\mathsf T} of N1N_1, and

A (−1,1,0)T=(0,1,−1)T,A\,(-1,1,0)^{\mathsf T} = (0, 1, -1)^{\mathsf T},

which is not a multiple of (−1,1,0)T(-1,1,0)^{\mathsf T}: that perfectly good eigenvector of BB is not an eigenvector of AA. Only a particular basis of N1N_1 — up to scalars, {v1,v2}\{v_1, v_2\} — diagonalizes AA as well. The theorem says such a choice exists, not that every choice works.

The same example illustrates the fourth trap. AA is real and normal, but its eigenvalues e±iπ/3e^{\pm i\pi/3} are not real, so it has no real eigenvector for them and cannot be diagonalized by a real orthogonal matrix, although the real symmetric BB can be: for instance by the real orthonormal basis (1,1,1)T/3(1,1,1)^{\mathsf T}/\sqrt3, (1,−1,0)T/2(1,-1,0)^{\mathsf T}/\sqrt2, (1,1,−2)T/6(1,1,-2)^{\mathsf T}/\sqrt6, which diagonalizes BB but not AA.

ApplicationOriginal

Commuting observables and good quantum numbers. In quantum mechanics an observable is a Hermitian operator and a measurement leaves the system in an eigenvector of it. Two observables can therefore be assigned definite values at the same time exactly when they have a common eigenvector, and a complete set of such states exists exactly when they commute — which is the simultaneous-diagonalization theorem, and the reason [ ⋅ ,⋅ ][\,\cdot\,,\cdot\,] is the central object of the theory. Position and momentum do not commute, so no state has both sharp; the classification of the hydrogen atom, by contrast, rests on the fact that HH, L2L^2 and LzL_z do commute pairwise. The proof above explains why the labels come in a tuple: the joint eigenspaces are the subspaces Wjα=Eλj∩NμαW_{j\alpha} = E_{\lambda_j} \cap N_{\mu_\alpha}, and the quantum numbers (n,ℓ,m)(n, \ell, m) are just the names of the eigenvalues whose intersection the state lies in. Degeneracy is the practical point. An energy level EnE_n of hydrogen is highly degenerate, so "an eigenbasis of HH" is far from determined; the extra commuting operators are precisely what selects a basis inside each level, and the fourth trap above warns that an arbitrary basis of a degenerate level will not do.

Symmetry block-diagonalizes a dynamical matrix. The worked example is, read physically, a ring of three identical masses with identical nearest-neighbour springs: the matrix BB is (up to a constant) the dynamical matrix of that ring, and CC is the operator that rotates the ring by one site. Rotating the ring is a symmetry of it, so CC commutes with BB, and the theorem says the normal modes can be chosen to be eigenvectors of CC as well. Those eigenvectors are the discrete plane waves vkv_k, with Cvk=e2πik/3vkC v_k = e^{2\pi i k/3}v_k — the finite version of Bloch's theorem, the phase 2πk/32\pi k/3 playing the role of the wavenumber. Note what has been bought: the modes were found by diagonalizing the symmetry, which was trivial, rather than the dynamical matrix. For a ring of NN masses this replaces an N×NN \times N eigenproblem by inspection, and the same argument in the general form — decompose into joint eigenspaces of the symmetry group — is how the vibrational modes of a molecule are sorted by irreducible representation before any force constant is computed. The degeneracy of the ring (λ1=λ2\lambda_1 = \lambda_2 in the example) is itself a consequence of the symmetry, since v1v_1 and v2v_2 are exchanged by reflecting the ring.

Why numerical analysts care whether a matrix is normal. The eigenvalues of a normal matrix are perfectly conditioned: because the diagonalizing matrix UU is unitary, a perturbation A+ΔAA + \Delta A moves each eigenvalue by at most ∥ΔA∥\|\Delta A\| in the Euclidean operator norm. For a non-normal matrix the eigenvector matrix can be badly conditioned and the eigenvalues correspondingly violent: the n×nn \times n matrix with ones on the superdiagonal and ε\varepsilon in the bottom-left corner has eigenvalues of modulus ε1/n\varepsilon^{1/n}, which is 10−110^{-1} for ε=10−10\varepsilon = 10^{-10} and n=10n = 10, although the unperturbed matrix is nilpotent with every eigenvalue 00. So "is this matrix normal?" decides whether computed eigenvalues can be trusted at face value, and it is the reason library routines dispatch Hermitian and unitary input to separate, more accurate algorithms.

Theorem · advanced

Jordan normal form

Adapted

Every square matrix whose eigenvalues lie in the ground field is similar to a block diagonal matrix of Jordan blocks, unique up to the order of the blocks; the block sizes are read off the nullities of the powers of A−λIA - \lambda I, and the form turns powers and power series of a defective matrix into polynomial-times-exponential formulas.

Prerequisites: Eigenvalues and eigenvectors, Vector spaces and bases, Linear maps and matrices, Determinants

Definition(Jordan block)AdaptedAdapted from Dummit & Foote (2004), §12.3, the definition on p. 492

For λ\lambda in a field FF and an integer m≥1m \ge 1, the Jordan block Jm(λ)J_m(\lambda) is the m×mm \times m matrix carrying λ\lambda in every diagonal position, 11 in every position of the first superdiagonal, and 00 everywhere else:

Jm(λ)=(λ1λ⋱⋱1λ)=λIm+Nm,(Nm)pq={1,q=p+1,0,otherwise.J_m(\lambda) = \begin{pmatrix} \lambda & 1 & & \\ & \lambda & \ddots & \\ & & \ddots & 1 \\ & & & \lambda \end{pmatrix} = \lambda I_m + N_m , \qquad (N_m)_{pq} = \begin{cases} 1, & q = p+1, \\ 0, & \text{otherwise.}\end{cases}

Dummit and Foote (Dummit & Foote (2004), p. 492) call this the elementary Jordan matrix with eigenvalue λ\lambda. A matrix is in Jordan canonical form when it is block diagonal with Jordan blocks as its diagonal blocks. The nilpotent part NmN_m shifts the standard basis down one step, Nme1=0N_m e_1 = 0 and Nmet=et−1N_m e_{t} = e_{t-1} for t≥2t \ge 2, so Nmm=0N_m^m = 0 while Nmm−1≠0N_m^{m-1} \neq 0.

The block Jm(λ)J_m(\lambda) is upper triangular, so its characteristic polynomial is (x−λ)m(x - \lambda)^m: the eigenvalue λ\lambda has algebraic multiplicity mm. Its eigenspace, however, is the line spanned by e1e_1, because (Jm(λ)−λI)x=0(J_m(\lambda) - \lambda I)x = 0 reads xt=0x_{t} = 0 for t≥2t \ge 2. So a single block of size m≥2m \ge 2 is defective in the sense of the eigenvalue problem, with geometric multiplicity 11 against algebraic multiplicity mm.

Definition(Generalized eigenvectors, generalized eigenspaces and Jordan chains)Original

Let AA be n×nn \times n over FF and λ∈F\lambda \in F. A vector x≠0x \neq 0 is a generalized eigenvector of AA for λ\lambda if

(A−λI)jx=0for some j≥1,(A - \lambda I)^{j} x = 0 \quad \text{for some } j \ge 1 ,

and the smallest such jj is its rank. Rank 11 means an ordinary eigenvector. The generalized eigenspace is

Gλ=ker⁡(A−λI)n,G_\lambda = \ker (A - \lambda I)^{n} ,

which contains every generalized eigenvector for λ\lambda, because the kernels of the powers stop growing after at most nn steps (step 1 of the proof below). Write

dj(λ)=dim⁡ker⁡(A−λI)j=n−rank⁡(A−λI)j,d0(λ)=0,d_j(\lambda) = \dim \ker (A - \lambda I)^{j} = n - \operatorname{rank}(A - \lambda I)^{j} , \qquad d_0(\lambda) = 0 ,

so that d1(λ)d_1(\lambda) is the geometric multiplicity of λ\lambda and dn(λ)=dim⁡Gλd_n(\lambda) = \dim G_\lambda.

A Jordan chain of length ss for λ\lambda is a list x1,…,xsx_1, \dots, x_s of non-zero vectors with

(A−λI)x1=0,(A−λI)xt=xt−1(2≤t≤s),(A - \lambda I)x_1 = 0, \qquad (A - \lambda I)x_{t} = x_{t-1} \quad (2 \le t \le s) ,

that is, xt=(A−λI)s−txsx_t = (A - \lambda I)^{s-t}x_s with xtx_t of rank tt. Written as the columns of a matrix in this order, a chain is exactly a basis on which AA acts as Js(λ)J_s(\lambda): Ax1=λx1Ax_1 = \lambda x_1 and Axt=λxt+xt−1Ax_t = \lambda x_t + x_{t-1}.

Finally, some non-zero polynomial does annihilate AA: the n2+1n^2 + 1 matrices I,A,A2,…,An2I, A, A^2, \dots, A^{n^2} cannot be independent in the n2n^2-dimensional space of n×nn \times n matrices, so a non-trivial linear relation among them exhibits a non-zero polynomial qq of degree at most n2n^2 with q(A)=0q(A) = 0, and dividing by its leading coefficient makes it monic. The minimal polynomial μA\mu_A of AA is therefore well defined as the monic polynomial of least degree with μA(A)=0\mu_A(A) = 0. It divides every polynomial that annihilates AA, since dividing such a polynomial by μA\mu_A leaves a remainder of lower degree that also annihilates AA, which forces the remainder to be 00.

Theorem(Jordan normal form)AdaptedAdapted from Dummit & Foote (2004), §12.3, Thm 23 and Cor 24, p. 493

Let AA be an n×nn \times n matrix over a field FF, and suppose every eigenvalue of AA already lies in FF: the characteristic polynomial is a product of linear factors there. (Over C\mathbb{C} this costs nothing.) Then:

  1. Existence. Some invertible matrix PP with entries in FF puts AA into Jordan canonical form by similarity:
P−1AP=J=diag⁡(Js1(ν1), Js2(ν2), …, Jsb(νb)),s1+⋯+sb=n,P^{-1} A P = J = \operatorname{diag}\bigl(J_{s_1}(\nu_1),\ J_{s_2}(\nu_2),\ \dots,\ J_{s_b}(\nu_b)\bigr), \qquad s_1 + \cdots + s_b = n ,

each νi\nu_i an eigenvalue of AA, the same eigenvalue permitted in several blocks. The columns of PP are bb Jordan chains laid end to end. 2. Uniqueness. JJ is determined by AA up to the order of its blocks. 3. Should a diagonal matrix DD happen to be similar to AA, then DD is itself the Jordan form, since diagonal entries are 1×11 \times 1 blocks and part 2 leaves no second answer (Dummit & Foote (2004), Cor 24, p. 493). So nothing is lost by always asking for the Jordan form rather than for a diagonalization.

Theorem(The block structure is read off the nullities)Original

With dj(λ)d_j(\lambda) as above, in the Jordan form of AA:

  1. the number of blocks carrying the eigenvalue λ\lambda is d1(λ)d_1(\lambda), the geometric multiplicity of λ\lambda;
  2. the number of those blocks of size at least jj is dj(λ)−dj−1(λ)d_j(\lambda) - d_{j-1}(\lambda), and the number of size exactly jj is 2dj(λ)−dj−1(λ)−dj+1(λ)2d_j(\lambda) - d_{j-1}(\lambda) - d_{j+1}(\lambda);
  3. the total of their sizes is dim⁡Gλ\dim G_\lambda, which equals the algebraic multiplicity of λ\lambda;
  4. the largest of their sizes is the multiplicity of λ\lambda as a root of the minimal polynomial μA\mu_A; consequently μA(x)=∏λ(x−λ)s(λ)\mu_A(x) = \prod_\lambda (x - \lambda)^{s(\lambda)} with s(λ)s(\lambda) that largest size.

In particular AA is diagonalizable exactly when every block has size 11, which by 4 happens exactly when μA\mu_A has no repeated root (Dummit & Foote (2004), Cor 25, p. 494), and by 1 and 3 exactly when d1(λ)d_1(\lambda) equals the algebraic multiplicity for every λ\lambda.

Idea of the proofOriginal

Two independent mechanisms are at work, and the proof separates them.

The first is that different eigenvalues do not interfere. If T=A−λIT = A - \lambda I, then the kernels of T,T2,T3,…T, T^2, T^3, \dots grow and must stall, and at the moment they stall the space splits as ker⁡Tn⊕im⁡Tn\ker T^n \oplus \operatorname{im}T^n into a part where TT is nilpotent and a part where TT is invertible. Peeling off one eigenvalue at a time this way decomposes FnF^n into the generalized eigenspaces GλG_\lambda, on each of which AA is λI\lambda I plus a nilpotent matrix.

The second is a statement about one nilpotent matrix NN: its domain has a basis made of chains Ns−1u,…,Nu,uN^{s-1}u, \dots, Nu, u. This is proved by induction on the dimension, applying the result to the smaller space N(V)N(V) and then lengthening every chain found there by one step — possible precisely because the chains in N(V)N(V) start from vectors that are themselves images.

Uniqueness needs no new idea: the numbers dj(λ)d_j(\lambda) are unchanged by similarity, and a direct count shows a block of size ss contributes min⁡(j,s)\min(j, s) to dj(λ)d_j(\lambda). Inverting that count recovers the block sizes from the dj(λ)d_j(\lambda), so no two different block patterns can describe the same matrix.

ProofOriginal

Throughout, V=FnV = F^n and matrices act on column vectors. Dummit and Foote reach this theorem as a corollary of the elementary divisor decomposition of VV as a module over the polynomial ring F[x]F[x] (Dummit & Foote (2004), §12.3, pp. 490-493); the argument below is self-contained and uses nothing beyond rank and nullity.

Step 1: the kernels of the powers stall, and the space splits. Let T:V→VT : V \to V be linear, d=dim⁡Vd = \dim V. Since Tjx=0T^{j}x = 0 implies Tj+1x=0T^{j+1}x = 0, the kernels increase: ker⁡T⊆ker⁡T2⊆⋯\ker T \subseteq \ker T^2 \subseteq \cdots. Suppose ker⁡Tj=ker⁡Tj+1\ker T^{j} = \ker T^{j+1} for some jj. If Tj+2x=0T^{j+2}x = 0 then Tj+1(Tx)=0T^{j+1}(Tx) = 0, so Tx∈ker⁡Tj+1=ker⁡TjTx \in \ker T^{j+1} = \ker T^{j}, so Tj+1x=0T^{j+1}x = 0: the chain is constant from jj on. As each strict increase costs at least one dimension and dim⁡V=d\dim V = d, equality is reached at the latest at j=dj = d. Hence

ker⁡Td=ker⁡Td+1=⋯=:K,R:=im⁡Td.\ker T^{d} = \ker T^{d+1} = \cdots =: K , \qquad R := \operatorname{im} T^{d} .

Then V=K⊕RV = K \oplus R. Indeed dim⁡K+dim⁡R=d\dim K + \dim R = d by rank-nullity applied to TdT^d, and the sum is direct: if x=Tdyx = T^{d}y lies in KK, then T2dy=0T^{2d}y = 0, so y∈ker⁡T2d=ker⁡Tdy \in \ker T^{2d} = \ker T^{d} and therefore x=Tdy=0x = T^{d}y = 0. Both summands are carried into themselves by TT (and by any matrix commuting with TT), TT is nilpotent on KK because Td=0T^{d} = 0 there, and TT is injective on RR — a vector of RR killed by TT lies in K∩R={0}K \cap R = \{0\} — hence invertible on RR.

Step 2: VV is the direct sum of the generalized eigenspaces. We show by induction on dim⁡V\dim V that if the characteristic polynomial of AA splits over FF, with distinct roots λ1,…,λp\lambda_1, \dots, \lambda_p, then V=Gλ1⊕⋯⊕GλpV = G_{\lambda_1} \oplus \cdots \oplus G_{\lambda_p}.

The case dim⁡V=0\dim V = 0 is empty. Otherwise apply step 1 to T=A−λ1IT = A - \lambda_1 I, giving V=K⊕RV = K \oplus R with K=ker⁡(A−λ1I)n=Gλ1K = \ker(A - \lambda_1 I)^{n} = G_{\lambda_1} and both summands invariant under AA (because AA commutes with TT). Here K≠{0}K \neq \{0\}, since λ1\lambda_1 is a root of the characteristic polynomial and so has an eigenvector, whence dim⁡R<dim⁡V\dim R < \dim V. Choosing a basis adapted to the splitting makes AA block diagonal, so its characteristic polynomial is the product of those of A∣KA|_{K} and A∣RA|_{R}; in particular the latter splits over FF as well. On KK we have A=λ1I+TA = \lambda_1 I + T with TT nilpotent, hence strictly upper triangular in a suitable basis of KK — choose a basis adapted to the flag {0}⊆ker⁡T⊆ker⁡T2⊆⋯⊆K\{0\} \subseteq \ker T \subseteq \ker T^{2} \subseteq \cdots \subseteq K, which exhausts KK by step 1, and note that TT carries ker⁡Tj\ker T^{j} into ker⁡Tj−1\ker T^{j-1}, so each basis vector is sent into the span of the strictly earlier ones (step 3 below gives the sharper chain basis, and does not depend on the present step). Hence the characteristic polynomial of A∣KA|_K is (x−λ1)dim⁡K(x - \lambda_1)^{\dim K} and the remaining roots λ2,…,λp\lambda_2, \dots, \lambda_p are exactly the eigenvalues of A∣RA|_R. Also, for λ≠λ1\lambda \neq \lambda_1 the matrix A−λI=(λ1−λ)I+TA - \lambda I = (\lambda_1 - \lambda)I + T is invertible on KK — a non-zero scalar plus a nilpotent matrix is invertible, its inverse being the finite sum ∑i≥0(−1)i(λ1−λ)−i−1Ti\sum_{i\ge 0}(-1)^{i}(\lambda_1 - \lambda)^{-i-1}T^{i}. Consequently, for j≥2j \ge 2,

Gλj⊆R:G_{\lambda_j} \subseteq R :

write x∈Gλjx \in G_{\lambda_j} as x=y+zx = y + z with y∈Ky \in K, z∈Rz \in R. Because KK and RR are invariant, (A−λjI)ny(A - \lambda_j I)^{n}y lies in KK and (A−λjI)nz(A - \lambda_j I)^{n}z lies in RR, and their sum is 00; the decomposition of 00 being unique, each vanishes separately. Then y=0y = 0 by the invertibility just noted, so x=z∈Rx = z \in R. The inductive hypothesis applied to A∣RA|_R decomposes RR into the generalized eigenspaces of A∣RA|_R, and the one for λj\lambda_j is ker⁡(A−λjI)dim⁡R∩R\ker(A - \lambda_j I)^{\dim R} \cap R, which equals GλjG_{\lambda_j}: it is contained in GλjG_{\lambda_j} because the kernels only grow with the exponent, and contains it because Gλj⊆RG_{\lambda_j} \subseteq R and the kernels have stalled by exponent dim⁡R\dim R inside RR, by step 1 applied there. Adding K=Gλ1K = G_{\lambda_1} gives the claim.

Two consequences. First, the computation just made of the characteristic polynomial of A∣KA|_K applies to every GλG_\lambda, so dim⁡Gλ\dim G_\lambda is the algebraic multiplicity of λ\lambda. Second, it suffices to produce a Jordan basis of each GλG_\lambda separately.

Step 3: a nilpotent matrix has a basis of chains. Let N:V→VN : V \to V be nilpotent, dim⁡V=d\dim V = d. We claim VV has a basis that is a disjoint union of chains Ns−1u,…,Nu,uN^{s-1}u, \dots, Nu, u with Nsu=0N^{s}u = 0, and that the ends Ns−1uN^{s-1}u of those chains form a basis of ker⁡N\ker N.

Induct on dd. For d=0d = 0 there is nothing to prove. If N=0N = 0, any basis works, each vector a chain of length one, and the ends span ker⁡N=V\ker N = V. Otherwise set W=N(V)W = N(V) and k=dim⁡ker⁡Nk = \dim \ker N, so dim⁡W=d−k\dim W = d - k by rank-nullity, and k≥1k \ge 1 because a nilpotent matrix on a non-zero space has non-trivial kernel (take the largest ii with Ni≠0N^{i} \neq 0 and any xx with Nix≠0N^{i}x \neq 0; then Nix∈ker⁡NN^{i}x \in \ker N). Hence dim⁡W<d\dim W < d, and NN restricts to a nilpotent map of WW. By the inductive hypothesis WW has a chain basis, say chains

Ci:Nsi−1ui, …, Nui, ui(i=1,…,r),Nsiui=0,C_i : \quad N^{s_i - 1}u_i, \ \dots,\ N u_i,\ u_i \qquad (i = 1, \dots, r), \qquad N^{s_i}u_i = 0 ,

whose ends Nsi−1uiN^{s_i-1}u_i form a basis of ker⁡N∩W=ker⁡(N∣W)\ker N \cap W = \ker(N|_W); in particular r=dim⁡(ker⁡N∩W)r = \dim(\ker N \cap W).

Now lengthen. Each uiu_i lies in W=N(V)W = N(V), so choose vi∈Vv_i \in V with Nvi=uiNv_i = u_i; the list

Ci′:Nsivi (=Nsi−1ui), …, Nvi (=ui), viC_i' : \quad N^{s_i}v_i\ (= N^{s_i-1}u_i),\ \dots,\ Nv_i\ (= u_i),\ v_i

is a chain of length si+1s_i + 1, since Nsi+1vi=Nsiui=0N^{s_i+1}v_i = N^{s_i}u_i = 0. Extend the rr vectors Nsi−1uiN^{s_i-1}u_i to a basis of ker⁡N\ker N by adjoining z1,…,zk−rz_1, \dots, z_{k-r}, each of which is a chain of length one.

The resulting list has ∑i(si+1)+(k−r)=(d−k)+r+(k−r)=d\sum_{i}(s_i + 1) + (k - r) = (d - k) + r + (k - r) = d vectors, so it is enough to show it is independent. Suppose

∑i=1r∑t=0siai,t Ntvi + ∑j=1k−rbjzj=0.\sum_{i=1}^{r}\sum_{t=0}^{s_i} a_{i,t}\, N^{t}v_i \ +\ \sum_{j=1}^{k-r} b_j z_j = 0 .

Apply NN. The terms t=sit = s_i die because Nsi+1vi=0N^{s_i+1}v_i = 0, and the zjz_j die because they lie in ker⁡N\ker N, leaving ∑i∑t=0si−1ai,tNtui=0\sum_i \sum_{t=0}^{s_i-1}a_{i,t}N^{t}u_i = 0. These vectors are precisely the chain basis of WW, so every ai,ta_{i,t} with t≤si−1t \le s_i - 1 vanishes. What is left of the relation is ∑iai,siNsi−1ui+∑jbjzj=0\sum_i a_{i,s_i}N^{s_i-1}u_i + \sum_j b_jz_j = 0, a relation among a basis of ker⁡N\ker N, so the remaining coefficients vanish too. Finally, the ends of the new chains are the Nsi−1uiN^{s_i-1}u_i together with the zjz_j, which is the chosen basis of ker⁡N\ker N, so the second half of the claim is inherited.

Step 4: existence. Apply step 3 to N=(A−λI)∣GλN = (A - \lambda I)|_{G_\lambda} for each eigenvalue λ\lambda, which is legitimate by step 2. A chain x1,…,xsx_1, \dots, x_s of NN satisfies Ax1=λx1Ax_1 = \lambda x_1 and Axt=λxt+xt−1Ax_t = \lambda x_t + x_{t-1}, so on the span of that chain, in that order, AA is the matrix Js(λ)J_s(\lambda). Concatenating the chains over all λ\lambda gives a basis of VV by step 2; let PP be the matrix of its columns. Then AP=PJAP = PJ with JJ block diagonal of Jordan blocks, that is P−1AP=JP^{-1}AP = J.

Step 5: uniqueness. Let JJ be any Jordan matrix similar to AA, say P−1AP=JP^{-1}AP = J. Since P−1(A−λI)jP=(J−λI)jP^{-1}(A - \lambda I)^{j}P = (J - \lambda I)^{j}, similar matrices have the same nullities, so dj(λ)d_j(\lambda) may be computed from JJ. A kernel of a block diagonal matrix is the direct sum of the kernels of its blocks, so dj(λ)d_j(\lambda) is the sum over blocks Js(ν)J_s(\nu) of dim⁡ker⁡(Js(ν)−λI)j\dim\ker(J_s(\nu) - \lambda I)^{j}. For ν≠λ\nu \neq \lambda that block contributes nothing: Js(ν)−λIJ_s(\nu) - \lambda I is triangular with the non-zero number ν−λ\nu - \lambda on its diagonal, hence invertible, and so is its jj-th power. For ν=λ\nu = \lambda the block contributes dim⁡ker⁡Nsj\dim \ker N_s^{j}, and NsjN_s^{j} maps et↦et−je_t \mapsto e_{t-j} (zero when t≤jt \le j), so its kernel is spanned by e1,…,emin⁡(j,s)e_1, \dots, e_{\min(j,s)}. Therefore

dj(λ)=∑blocks Js(λ) of Jmin⁡(j,s),hencedj(λ)−dj−1(λ)=#{blocks Js(λ):s≥j},d_j(\lambda) = \sum_{\text{blocks } J_s(\lambda) \text{ of } J} \min(j, s) , \qquad\text{hence}\qquad d_j(\lambda) - d_{j-1}(\lambda) = \#\{\text{blocks } J_s(\lambda) : s \ge j\} ,

because min⁡(j,s)−min⁡(j−1,s)\min(j,s) - \min(j-1,s) is 11 when s≥js \ge j and 00 otherwise. The right-hand side determines, for every jj, how many blocks for λ\lambda have size at least jj, hence the whole multiset of block sizes for every eigenvalue, hence JJ up to the order of the blocks. This proves both the uniqueness statement and parts 1, 2 and 3 of the structure statement — part 1 being the case j=1j = 1, part 3 following from dn(λ)=∑ss=dim⁡Gλd_n(\lambda) = \sum_s s = \dim G_\lambda and step 2, and the "exactly jj" count in part 2 being the difference of the counts for ≥j\ge j and ≥j+1\ge j+1.

For part 4, note that for a block, (Js(λ)−λI)i=Nsi(J_s(\lambda) - \lambda I)^{i} = N_s^{i} vanishes exactly when i≥si \ge s, while Js(λ)−νIJ_s(\lambda) - \nu I is invertible for ν≠λ\nu \neq \lambda. So a polynomial qq annihilates JJ if and only if it annihilates every block, and q(Js(λ))=0q(J_s(\lambda)) = 0 holds if and only if (x−λ)s(x-\lambda)^{s} divides qq: writing q(x)=∑ici(x−λ)iq(x) = \sum_i c_i (x - \lambda)^{i}, we get q(Js(λ))=∑iciNsiq(J_s(\lambda)) = \sum_i c_i N_s^{i}, whose superdiagonals are the cic_i for i<si < s, so it vanishes exactly when c0=⋯=cs−1=0c_0 = \cdots = c_{s-1} = 0. The monic polynomial of least degree divisible by (x−λ)s(λ)(x - \lambda)^{s(\lambda)} for every λ\lambda, with s(λ)s(\lambda) the largest block size, is ∏λ(x−λ)s(λ)\prod_\lambda(x-\lambda)^{s(\lambda)}, and μA=μJ\mu_A = \mu_J because similarity preserves polynomial identities. □\square

Theorem(Powers and power series of a Jordan block)Original

Let Jm(λ)=λI+NmJ_m(\lambda) = \lambda I + N_m as above. For every integer k≥0k \ge 0,

Jm(λ)k=∑i=0min⁡(k, m−1)(ki)λk−iNmi,entrywise(Jm(λ)k)pq=(kq−p)λ k−q+pfor p≤q≤p+k,J_m(\lambda)^{k} = \sum_{i=0}^{\min(k,\,m-1)} \binom{k}{i}\lambda^{k-i} N_m^{i} , \qquad\text{entrywise}\qquad \bigl(J_m(\lambda)^{k}\bigr)_{pq} = \binom{k}{q-p}\lambda^{\,k-q+p} \quad\text{for } p \le q \le p+k ,

the entry being 00 at every other position — that is, for q<pq < p and also for q−p>kq - p > k, so that no negative power of λ\lambda is ever called for. (Writing the formula with the convention (ki)=0\binom{k}{i} = 0 for i>ki > k would make it read 0⋅λnegative0 \cdot \lambda^{\text{negative}} when λ=0\lambda = 0 and q−p>kq - p > k, which is why those positions are excluded outright rather than by a convention. At the far edge of that range, q=p+kq = p + k with λ=0\lambda = 0, the entry is (kk)λ0=1\binom{k}{k}\lambda^{0} = 1, using 00=10^0 = 1; this is the statement that Jm(0)k=NmkJ_m(0)^{k} = N_m^{k}.) More generally, if f(z)=∑i≥0ci(z−λ)if(z) = \sum_{i \ge 0} c_i (z - \lambda)^{i} converges in a disc about λ\lambda, then

f(Jm(λ))=∑i=0m−1f(i)(λ)i! Nmi,f\bigl(J_m(\lambda)\bigr) = \sum_{i=0}^{m-1} \frac{f^{(i)}(\lambda)}{i!}\, N_m^{i} ,

a finite sum: the block sees only the first mm Taylor coefficients of ff at λ\lambda. Applying this blockwise through A=PJP−1A = PJP^{-1} gives, for an n×nn \times n matrix AA with largest block size s(λ)s(\lambda) at each eigenvalue,

(Ak)pq=∑λ∈σ(A), λ≠0φpqλ(k) λk,\bigl(A^{k}\bigr)_{pq} = \sum_{\lambda \in \sigma(A),\ \lambda \neq 0} \varphi_{pq}^{\lambda}(k)\, \lambda^{k} ,

with each φpqλ\varphi_{pq}^{\lambda} a polynomial in kk of degree at most s(λ)−1s(\lambda) - 1. The sum omits a zero eigenvalue, and the formula then holds for all k≥s(0)k \ge s(0), where s(0)s(0) is the largest block size at 00 (and for all k≥1k \ge 1 when AA is invertible, the omission being vacuous): the blocks at 00 are nilpotent of index at most s(0)s(0), so they contribute to AkA^{k} only while k<s(0)k < s(0), and a term φ(k) 0k\varphi(k)\,0^{k} could not record that contribution. Hence Ak→0A^{k} \to 0 if and only if every eigenvalue satisfies ∣λ∣<1|\lambda| < 1; and AkA^{k} stays bounded as k→∞k \to \infty if and only if every eigenvalue satisfies ∣λ∣≤1|\lambda| \le 1 and every eigenvalue with ∣λ∣=1|\lambda| = 1 has s(λ)=1s(\lambda) = 1. The same formula with f(z)=etzf(z) = e^{tz} gives the polynomial-times-exponential shape of exp⁡(tA)\exp(tA); the computational route is in the matrix exponential.

ProofOriginal

λI\lambda I commutes with NmN_m, so the binomial theorem holds for (λI+Nm)k(\lambda I + N_m)^{k} exactly as for numbers — the usual proof by induction only ever needs that the two terms commute. Terms with i≥mi \ge m drop out because Nmm=0N_m^{m} = 0, and the sum runs only to i=ki = k, so no term carries a negative power of λ\lambda. The entry form follows from (Nmi)pq=1(N_m^{i})_{pq} = 1 when q=p+iq = p + i and 00 otherwise, which is the statement that NmiN_m^{i} shifts the basis ii places: the position (p,q)(p,q) receives a contribution from the single term i=q−pi = q - p when 0≤q−p≤min⁡(k,m−1)0 \le q - p \le \min(k, m-1), and from no term at all otherwise, which is why the entry vanishes for q<pq < p and for q−p>kq - p > k whatever λ\lambda may be.

For the power series, substitute z=Jm(λ)z = J_m(\lambda) into f(z)=∑ici(z−λ)if(z) = \sum_i c_i(z-\lambda)^{i}, so that (z−λ)i(z - \lambda)^i becomes NmiN_m^{i}, which vanishes for i≥mi \ge m; only i≤m−1i \le m - 1 survives, the sum is finite, and ci=f(i)(λ)/i!c_i = f^{(i)}(\lambda)/i! is Taylor's formula. (Convergence of the series is therefore not at issue for a single block, though it is for the eigenvalue to lie in the disc of convergence of ff at all.)

For A=PJP−1A = PJP^{-1} we get Ak=PJkP−1A^{k} = PJ^{k}P^{-1}, and JkJ^k is block diagonal with the blocks Jsi(νi)kJ_{s_i}(\nu_i)^{k} just computed. Every entry of AkA^{k} is therefore a fixed linear combination of the entries of the blocks, each of which is (ki)λk−i\binom{k}{i}\lambda^{k-i} for some i≤s(λ)−1i \le s(\lambda) - 1; and (ki)=k(k−1)⋯(k−i+1)/i!\binom{k}{i} = k(k-1)\cdots(k-i+1)/i! is a polynomial in kk of degree ii. Grouping by eigenvalue and writing (ki)λk−i=((ki)λ−i)λk\binom{k}{i}\lambda^{k-i} = \bigl(\binom{k}{i}\lambda^{-i}\bigr)\lambda^{k} gives the stated form with deg⁡φpqλ≤s(λ)−1\deg \varphi^{\lambda}_{pq} \le s(\lambda) - 1. That rewriting needs λ≠0\lambda \neq 0, which is why the eigenvalue 00 is excluded from the sum; once k≥s(0)k \ge s(0) every block at 00 has already died, since Nsk=0N_s^{k} = 0 for s≤s(0)≤ks \le s(0) \le k, so the omitted blocks contribute nothing and the formula is exact from that kk on.

For the limit: if every ∣λ∣<1|\lambda| < 1 then each ki∣λ∣k→0k^{i}|\lambda|^{k} \to 0, since the geometric factor beats any polynomial, so Ak→0A^{k} \to 0. Conversely, if Ax=λxAx = \lambda x with x≠0x \neq 0 then Akx=λkxA^{k}x = \lambda^{k}x, which tends to 00 only if ∣λ∣<1|\lambda| < 1. For boundedness both conditions are necessary, and here Jk=P−1AkPJ^{k} = P^{-1}A^{k}P lets us argue on JJ: the two are bounded or unbounded together. Suppose AkA^{k} is bounded. If some eigenvalue had ∣λ∣>1|\lambda| > 1, an eigenvector x≠0x \neq 0 would give ∥Akx∥=∣λ∣k∥x∥→∞\lVert A^{k}x \rVert = |\lambda|^{k}\lVert x\rVert \to \infty; so every eigenvalue has ∣λ∣≤1|\lambda| \le 1. If some eigenvalue with ∣λ∣=1|\lambda| = 1 had s(λ)=m≥2s(\lambda) = m \ge 2, the entry (km−1)λk−m+1\binom{k}{m-1}\lambda^{k-m+1} in the corner of a largest block for that λ\lambda would have modulus (km−1)→∞\binom{k}{m-1} \to \infty, making JkJ^{k} and hence AkA^{k} unbounded; so every eigenvalue of modulus 11 has s(λ)=1s(\lambda) = 1. Conversely, if every eigenvalue of modulus 11 has s(λ)=1s(\lambda) = 1 and all others have ∣λ∣<1|\lambda| < 1, each entry of JkJ^{k} is either λk\lambda^{k} with ∣λ∣=1|\lambda| = 1 or one of the terms (ki)λk−i\binom{k}{i}\lambda^{k-i} with ∣λ∣<1|\lambda| < 1, which tend to 00; so JkJ^{k}, and with it AkA^{k}, is bounded. □\square

Remark(Where the hypotheses are used)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §5.5, the Proposition on p. 94, and §5.6, p. 100; Grimmett & Stirzaker (2020), §6.6, p. 270

The field must contain the eigenvalues. This hypothesis of Dummit and Foote (Dummit & Foote (2004), Thm 23, p. 493) enters at step 2, where an eigenvalue λ1∈F\lambda_1 \in F is needed to start the peeling, and again in the induction. It is not a formality: over F=RF = \mathbb{R} the rotation (0−110)\begin{pmatrix} 0 & -1 \\ 1 & 0\end{pmatrix} has characteristic polynomial x2+1x^2 + 1, no real eigenvalue and hence no real Jordan form, although over C\mathbb{C} it is diag⁡(i,−i)\operatorname{diag}(i, -i). What a real matrix does have is the real canonical form of Hirsch, Smale and Devaney (Hirsch, Smale & Devaney (2013), §5.5, Proposition, p. 94): a block diagonal real matrix whose blocks are either real Jordan blocks or, for a conjugate pair α±iβ\alpha \pm i\beta with β≠0\beta \neq 0, block-upper-bidiagonal matrices built from C2=(αβ−βα)C_2 = \begin{pmatrix} \alpha & \beta \\ -\beta & \alpha \end{pmatrix} on the diagonal and 2×22 \times 2 identity matrices one place above. One obtains it from the complex Jordan form by replacing each conjugate pair of chains with the real and imaginary parts of one of them.

Uniqueness is only up to the order of the blocks, and PP is far from unique. Even for A=λIA = \lambda I, every invertible PP works. In general, scaling a whole chain by a non-zero constant, or swapping two chains of the same length for the same eigenvalue, changes PP and leaves JJ alone; the form is an invariant of AA, the basis is not.

The eigenvalues and the geometric multiplicities do not determine JJ. Blocks of sizes (3,1)(3,1) and (2,2)(2,2) for the same λ\lambda both give algebraic multiplicity 44 and geometric multiplicity 22; they are told apart only by d2(λ)d_2(\lambda), which is 33 in the first case and 44 in the second. This is why the structure statement needs the whole sequence d1,d2,…d_1, d_2, \dots and not just d1d_1.

The form is discontinuous in AA, so it cannot be computed in floating point. For ε≠0\varepsilon \neq 0 the matrix (01ε0)\begin{pmatrix} 0 & 1 \\ \varepsilon & 0\end{pmatrix} has distinct eigenvalues ±ε\pm\sqrt{\varepsilon} and is diagonalizable; at ε=0\varepsilon = 0 it is a single 2×22 \times 2 Jordan block. Arbitrarily small perturbations therefore change the answer completely, and the ranks rank⁡(A−λI)j\operatorname{rank}(A - \lambda I)^{j} that the method below uses are exactly the quantities that rounding destroys. Jordan form is a tool for exact arithmetic and for theory; numerical work uses the Schur form or the singular value decomposition instead, and the relevant sensitivity is measured by condition numbers. Hirsch, Smale and Devaney (Hirsch, Smale & Devaney (2013), §5.6, p. 100) make the complementary point that a matrix met at random has distinct eigenvalues, so the non-trivial Jordan structure that matters in practice arises from symmetry or from a tuned parameter, not by accident.

Normal matrices never need it. A normal matrix is unitarily diagonalizable (Normal matrices and simultaneous diagonalization), so all its Jordan blocks have size 11; non-trivial Jordan structure is a strictly non-normal phenomenon.

Conventions. Many texts, including Hassani (Hassani (2013), §17.7, p. 539), write the 11s on the superdiagonal as here; others put them on the subdiagonal, which is the transpose and equally valid. Some books, among them Grimmett and Stirzaker (Grimmett & Stirzaker (2020), §6.6, p. 270), present the form with one block per distinct eigenvalue, of size equal to that eigenvalue's multiplicity; that is the special case in which each eigenvalue has geometric multiplicity 11, and part 1 of the structure statement is what allows several blocks in general. We follow the several-block statement of Dummit and Foote (Dummit & Foote (2004), Thm 23, p. 493) throughout.

Method(Computing the Jordan form and a Jordan basis)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §5.5, the proof on pp. 95-96 and the worked matrices on pp. 96-99

Given an n×nn \times n matrix AA over C\mathbb{C} with exact entries:

  1. Eigenvalues. Factor the characteristic polynomial χA\chi_A and record each distinct eigenvalue λ\lambda with its algebraic multiplicity a(λ)a(\lambda).
  2. Nullities. For each λ\lambda, compute rj=rank⁡(A−λI)jr_j = \operatorname{rank}(A - \lambda I)^{j} for j=1,2,…j = 1, 2, \dots until rjr_j stops decreasing, and set dj=n−rjd_j = n - r_j. Stop at the first jj with dj=a(λ)d_j = a(\lambda); this jj is the largest block size for λ\lambda.
  3. Block sizes. The number of blocks for λ\lambda of size at least jj is dj−dj−1d_j - d_{j-1}. Equivalently, the list d1−d0, d2−d1, …d_1 - d_0,\ d_2 - d_1,\ \dots (automatically non-increasing, since a block of size ≥j+1\ge j+1 has size ≥j\ge j) is the conjugate partition of the list of block sizes. Check that the sizes sum to a(λ)a(\lambda).
  4. Chains, longest first. For the largest size ss, pick v∈ker⁡(A−λI)sv \in \ker(A - \lambda I)^{s} not in ker⁡(A−λI)s−1\ker(A - \lambda I)^{s-1} and generate the chain downwards by repeated multiplication:
v,(A−λI)v,(A−λI)2v, …, (A−λI)s−1v.v,\quad (A - \lambda I)v,\quad (A-\lambda I)^2 v,\ \dots,\ (A - \lambda I)^{s-1}v .

Every later chain for the same λ\lambda, whether another of length ss or one of a smaller length s′s', is started from a vector chosen by one and the same rule. Abbreviate T=A−λIT = A - \lambda I and let UU be the span of all chain vectors produced so far; then take

v∈ker⁡Ts′withv∉ker⁡Ts′−1+U,v \in \ker T^{s'} \qquad\text{with}\qquad v \notin \ker T^{s'-1} + U ,

and run the chain v,Tv,…,Ts′−1vv, Tv, \dots, T^{s'-1}v downwards as before.

The second condition is about the sum of the two subspaces, not about each of them. Requiring only v∉ker⁡Ts′−1v \notin \ker T^{s'-1} and v∉Uv \notin U is genuinely too weak. Take λ=0\lambda = 0 and AA the direct sum of J3(0)J_3(0) and J2(0)J_2(0), with the chains a1,a2,a3a_1, a_2, a_3 and b1,b2b_1, b_2 as its basis, so Aa3=a2Aa_3 = a_2, Aa2=a1Aa_2 = a_1, Aa1=0Aa_1 = 0, Ab2=b1Ab_2 = b_1, Ab1=0Ab_1 = 0. Steps 1 to 3 give d1=2d_1 = 2, d2=4d_2 = 4, d3=5d_3 = 5 and block sizes 3,23, 2. Choosing v=a3v = a_3 produces U=span⁡{a1,a2,a3}U = \operatorname{span}\{a_1, a_2, a_3\}, and then v′=a2+b1v' = a_2 + b_1 satisfies all three of the weaker conditions — A2v′=0A^{2}v' = 0, Av′=a1≠0Av' = a_1 \neq 0, v′∉Uv' \notin U — yet its chain is a1, a2+b1a_1,\ a_2 + b_1, which repeats a1a_1: the assembled list has rank 44, not 55, and PP is singular. The rule above rejects v′v', since a2+b1∈U+ker⁡Aa_2 + b_1 \in U + \ker A, and accepts b2b_2, which is the correct choice.

Why the rule is the right one. For v∈ker⁡Ts′v \in \ker T^{s'}, the condition v∉ker⁡Ts′−1+Uv \notin \ker T^{s'-1} + U says precisely that the bottom vector Ts′−1vT^{s'-1}v of the new chain is not in the span of the bottom vectors Tsi−1viT^{s_i-1}v_i of the chains already built. (All chains built so far have length si≥s′s_i \ge s', since the sizes are taken in decreasing order. Suppose v=y+uv = y + u with Ts′−1y=0T^{s'-1}y = 0 and u∈Uu \in U. From Ts′v=0T^{s'}v = 0 and Ts′y=0T^{s'}y = 0 we get Ts′u=0T^{s'}u = 0; expanding u=∑i∑t<siai,tTtviu = \sum_i\sum_{t < s_i} a_{i,t}T^{t}v_i in the chain vectors, the only terms of Ts′uT^{s'}u that survive are those with t<si−s′t < s_i - s', and they are distinct members of the chain list, so ai,t=0a_{i,t} = 0 for every t<si−s′t < s_i - s'. Applying Ts′−1T^{s'-1} to what remains kills every term with t>si−s′t > s_i - s' and gives Ts′−1v=Ts′−1u=∑iai, si−s′ Tsi−1viT^{s'-1}v = T^{s'-1}u = \sum_i a_{i,\,s_i - s'}\,T^{s_i - 1}v_i, a combination of bottom vectors. Conversely, if Ts′−1v=∑iciTsi−1viT^{s'-1}v = \sum_i c_i T^{s_i - 1}v_i, then v−∑iciTsi−s′viv - \sum_i c_i T^{s_i - s'}v_i lies in ker⁡Ts′−1\ker T^{s'-1}, so v∈ker⁡Ts′−1+Uv \in \ker T^{s'-1} + U.) And chains whose bottom vectors are independent are jointly independent: in a vanishing combination ∑i∑t<siai,tTtvi=0\sum_i \sum_{t < s_i} a_{i,t}T^{t}v_i = 0 with some coefficient non-zero, let cic_i be the least tt with ai,t≠0a_{i,t} \neq 0 and put q=max⁡i(si−ci)q = \max_i (s_i - c_i) over the chains that occur; applying Tq−1T^{q-1} annihilates every term except those with si−ci=qs_i - c_i = q and t=cit = c_i, and leaves a vanishing combination of distinct bottom vectors with a non-zero coefficient — impossible. Finally, a legal choice is available exactly as often as step 3 predicts: the vectors Tsi−s′viT^{s_i - s'}v_i taken from the chains already built have independent images in ker⁡Ts′/ker⁡Ts′−1\ker T^{s'}/\ker T^{s'-1} (apply Ts′−1T^{s'-1} and use the independence of the bottoms), that quotient has dimension ds′−ds′−1d_{s'} - d_{s'-1}, the number of blocks of size at least s′s', and by the equivalence just proved ker⁡Ts′−1+U\ker T^{s'-1} + U meets ker⁡Ts′\ker T^{s'} in exactly the preimage of the span of those images. So the supply of choices runs out only when the chains of length ≥s′\ge s' already number ds′−ds′−1d_{s'} - d_{s'-1}.

Equivalently, and this is the device Hirsch, Smale and Devaney (Hirsch, Smale & Devaney (2013), §5.5, pp. 95-96) use in their worked 3×33\times3 and 4×44\times4 examples, start from an eigenvector and back-solve (A−λI)xt=xt−1(A - \lambda I)x_{t} = x_{t-1}, going up the chain instead of down. 5. Assemble. Write each chain as consecutive columns ending with the top vector vv, that is in the order (A−λI)s−1v,…,(A−λI)v,v(A-\lambda I)^{s-1}v, \dots, (A - \lambda I)v, v; concatenate the chains over all eigenvalues to form PP. Then J=P−1APJ = P^{-1}AP, with the blocks in the order the chains were laid down. 6. Check without inverting PP: verify AP=PJAP = PJ column by column, and verify tr⁡A=tr⁡J\operatorname{tr}A = \operatorname{tr}J and det⁡A=det⁡J\det A = \det J.

If only the form is wanted — enough for powers, growth rates and the minimal polynomial — stop after step 3; the eigenvectors are needed only for PP. Never run this on inexact data: see the remark above.

Example(A defective 4 x 4 matrix and its powers)Original

Let

A=(2−11−1−121−1221−244−43).A = \begin{pmatrix} 2 & -1 & 1 & -1 \\ -1 & 2 & 1 & -1 \\ 2 & 2 & 1 & -2 \\ 4 & 4 & -4 & 3 \end{pmatrix} .

Step 1: eigenvalues. Expanding det⁡(xI−A)\det(xI - A) gives

χA(x)=x4−8x3+18x2−27=(x−3)3(x+1),\chi_A(x) = x^4 - 8x^3 + 18x^2 - 27 = (x-3)^3 (x+1) ,

the factorization being confirmed by multiplying out: (x3−9x2+27x−27)(x+1)=x4−8x3+18x2−27(x^3 - 9x^2 + 27x - 27)(x+1) = x^4 - 8x^3 + 18x^2 - 27, the linear terms −27x-27x and +27x+27x cancelling. The two standard tests agree: tr⁡A=2+2+1+3=8=3+3+3−1\operatorname{tr}A = 2 + 2 + 1 + 3 = 8 = 3 + 3 + 3 - 1, and det⁡A=χA(0)=−27=3⋅3⋅3⋅(−1)\det A = \chi_A(0) = -27 = 3\cdot3\cdot3\cdot(-1). So a(3)=3a(3) = 3 and a(−1)=1a(-1) = 1.

Step 2: nullities at λ=3\lambda = 3. With B=A−3IB = A - 3I,

B=(−1−11−1−1−11−122−2−244−40),B2=(00000000−16−16160−16−16160).B = \begin{pmatrix} -1 & -1 & 1 & -1 \\ -1 & -1 & 1 & -1 \\ 2 & 2 & -2 & -2 \\ 4 & 4 & -4 & 0 \end{pmatrix} , \qquad B^2 = \begin{pmatrix} 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ -16 & -16 & 16 & 0 \\ -16 & -16 & 16 & 0 \end{pmatrix} .

Call the rows of BB in order R1,…,R4R_1, \dots, R_4. Then R2=R1R_2 = R_1, and subtracting multiples of R1R_1 from the last two rows leaves the same vector twice, R3+2R1=R4+4R1=(0,0,0,−4)R_3 + 2R_1 = R_4 + 4R_1 = (0,0,0,-4), so R4=R3−2R1R_4 = R_3 - 2R_1. The row space is therefore spanned by R1R_1 and R3R_3, which are independent because R3R_3 has a non-zero fourth entry after R1R_1 has been cleared from it: rank⁡B=2\operatorname{rank}B = 2 and d1(3)=2d_1(3) = 2. For B2B^2 the two non-zero rows are equal, so rank⁡B2=1\operatorname{rank}B^2 = 1 and d2(3)=3=a(3)d_2(3) = 3 = a(3); the chain of kernels has stalled.

Step 3: block sizes. The number of blocks for 33 is d1=2d_1 = 2; the number of size at least 22 is d2−d1=1d_2 - d_1 = 1; the number of size at least 33 is d3−d2=0d_3 - d_2 = 0. So the blocks for 33 have sizes 22 and 11, summing to 3=a(3)3 = a(3) as required. The eigenvalue −1-1 is simple, giving one block of size 11. Hence

J=(310003000030000−1),J = \begin{pmatrix} 3 & 1 & 0 & 0 \\ 0 & 3 & 0 & 0 \\ 0 & 0 & 3 & 0 \\ 0 & 0 & 0 & -1 \end{pmatrix} ,

and the minimal polynomial is μA(x)=(x−3)2(x+1)\mu_A(x) = (x-3)^2(x+1), the largest block size at 33 being 22. Indeed B2(A+I)=0B^2(A+I) = 0 while B(A+I)≠0B(A+I) \neq 0: that product is (−4−44−4−4−44−4−8−88−80000)\begin{pmatrix} -4 & -4 & 4 & -4 \\ -4 & -4 & 4 & -4 \\ -8 & -8 & 8 & -8 \\ 0 & 0 & 0 & 0\end{pmatrix}.

Step 4: the chains. Take the top of the long chain to be v=(0,0,0,1)Tv = (0,0,0,1)^{\mathsf T}, which lies in ker⁡B2\ker B^2 (the fourth column of B2B^2 is zero) but not in ker⁡B\ker B (the fourth column of BB is (−1,−1,−2,0)T≠0(-1,-1,-2,0)^{\mathsf T} \neq 0). The chain is

x1=Bv=(−1,−1,−2,0)T,x2=v=(0,0,0,1)T,x_1 = Bv = (-1,-1,-2,0)^{\mathsf T}, \qquad x_2 = v = (0,0,0,1)^{\mathsf T} ,

and Bx1=0Bx_1 = 0, as the four rows confirm: 1+1−2+0=01 + 1 - 2 + 0 = 0 from R1R_1 and again from R2R_2, then −2−2+4+0=0-2 - 2 + 4 + 0 = 0 from R3R_3, then −4−4+8+0=0-4 - 4 + 8 + 0 = 0 from R4R_4.

For the second block at 33 we need an eigenvector independent of x1x_1. Write a general vector as ξ=(ξ1,ξ2,ξ3,ξ4)T\xi = (\xi_1, \xi_2, \xi_3, \xi_4)^{\mathsf T} and solve Bξ=0B\xi = 0: rows 1 and 2 give −ξ1−ξ2+ξ3−ξ4=0-\xi_1 - \xi_2 + \xi_3 - \xi_4 = 0 and row 4 gives ξ1+ξ2−ξ3=0\xi_1 + \xi_2 - \xi_3 = 0, whence ξ4=0\xi_4 = 0 and ξ3=ξ1+ξ2\xi_3 = \xi_1 + \xi_2; row 3 is then automatic. A basis of ker⁡B\ker B is (−1,1,0,0)T(-1,1,0,0)^{\mathsf T} and (1,0,1,0)T(1,0,1,0)^{\mathsf T}, and we may take

w=(−1,1,0,0)T,w = (-1, 1, 0, 0)^{\mathsf T} ,

which is independent of x1=−(−1,1,0,0)T−2(1,0,1,0)Tx_1 = -(-1,1,0,0)^{\mathsf T} - 2(1,0,1,0)^{\mathsf T}.

For λ=−1\lambda = -1: (A+I)ξ=0(A + I)\xi = 0 has the one-dimensional solution space spanned by z=(0,0,1,1)Tz = (0,0,1,1)^{\mathsf T}, as one checks on the first row, 2⋅0−1⋅0+1⋅1−1⋅1=02\cdot 0 - 1\cdot 0 + 1 \cdot 1 - 1 \cdot 1 = 0, and similarly on the others.

Step 5: assemble and check. Laying the chain down first,

P=(−10−10−1010−20010101),det⁡P=−2≠0.P = \begin{pmatrix} -1 & 0 & -1 & 0 \\ -1 & 0 & 1 & 0 \\ -2 & 0 & 0 & 1 \\ 0 & 1 & 0 & 1\end{pmatrix}, \qquad \det P = -2 \neq 0 .

The identity AP=PJAP = PJ holds column by column: Ax1=3x1Ax_1 = 3x_1, Av=3v+x1Av = 3v + x_1 (which is Bv=x1Bv = x_1, verified above), Aw=3wAw = 3w and Az=−zAz = -z. Hence P−1AP=JP^{-1}AP = J.

Powers. By the block-power formula, Jk=diag⁡(J2(3)k, 3k, (−1)k)J^{k} = \operatorname{diag}\bigl(J_2(3)^k,\ 3^{k},\ (-1)^{k}\bigr) with J2(3)k=(3kk3k−103k)J_2(3)^{k} = \begin{pmatrix} 3^{k} & k3^{k-1} \\ 0 & 3^{k}\end{pmatrix}, so Ak=PJkP−1A^{k} = PJ^{k}P^{-1} splits into three fixed matrices:

Ak=3k Π+k 3k−1M+(−1)k Π′,A^{k} = 3^{k}\,\Pi + k\,3^{k-1} M + (-1)^{k}\,\Pi' ,Π=(10000100110011−11),M=(−1−11−1−1−11−1−2−22−20000),Π′=(00000000−1−110−1−110).\Pi = \begin{pmatrix} 1&0&0&0\\0&1&0&0\\1&1&0&0\\1&1&-1&1\end{pmatrix}, \quad M = \begin{pmatrix} -1&-1&1&-1\\-1&-1&1&-1\\-2&-2&2&-2\\0&0&0&0\end{pmatrix}, \quad \Pi' = \begin{pmatrix} 0&0&0&0\\0&0&0&0\\-1&-1&1&0\\-1&-1&1&0\end{pmatrix} .

Here Π\Pi and Π′\Pi' are the projections onto G3G_3 and G−1G_{-1} along each other (Π2=Π\Pi^2 = \Pi, Π′2=Π′\Pi'^2 = \Pi', Π+Π′=I\Pi + \Pi' = I) and M=BΠM = B\Pi is the nilpotent part, M2=0M^2 = 0. Note that Π\Pi is not an orthogonal projection: AA is not normal, and nothing forces the two generalized eigenspaces to be perpendicular.

Checking the formula. At k=1k = 1 it returns 3Π+M−Π′=A3\Pi + M - \Pi' = A; for instance the (3,1)(3,1) entry is 3⋅1+1⋅(−2)−(−1)=23 \cdot 1 + 1\cdot(-2) - (-1) = 2, which is A31A_{31}. At k=2k = 2, squaring AA directly gives

A2=(3−66−6−636−6−4−413−1288−89),A^2 = \begin{pmatrix} 3 & -6 & 6 & -6 \\ -6 & 3 & 6 & -6 \\ -4 & -4 & 13 & -12 \\ 8 & 8 & -8 & 9\end{pmatrix} ,

and the formula gives for the (3,1)(3,1) entry 9⋅1+2⋅3⋅(−2)+(−1)=9−12−1=−49 \cdot 1 + 2 \cdot 3 \cdot (-2) + (-1) = 9 - 12 - 1 = -4, which agrees.

A number to check against. Take k=10k = 10. Then

(A10)31=310⋅1+10⋅39⋅(−2)+1⋅(−1)=59049−393660−1=−334612,\bigl(A^{10}\bigr)_{31} = 3^{10}\cdot 1 + 10\cdot 3^{9}\cdot(-2) + 1 \cdot(-1) = 59049 - 393660 - 1 = -334612 ,

which is what repeated squaring of AA produces. The structure is visible in the arithmetic: the term −393660-393660, carrying the factor kk, already dominates 310=590493^{10} = 59049 at k=10k = 10, and the whole entry grows like −2k 3k−1-2k\,3^{k-1} rather than like 3k3^{k}. That extra factor of kk is the single 2×22 \times 2 Jordan block, and nothing in the spectrum {3,−1}\{3, -1\} alone would have predicted it.

ApplicationOriginal

How fast a finite Markov chain forgets its start. For a finite irreducible aperiodic chain with transition matrix SS and stationary distribution π\pi, the nn-step probabilities are the entries of SnS^{n}. When the eigenvalues are distinct one diagonalizes, and Grimmett and Stirzaker (Grimmett & Stirzaker (2020), §6.6, p. 270) read off the geometric rate: with ϱ\varrho the largest modulus among the eigenvalues other than 11 (they write μ\mu for it), there is a constant cc with ∣pij(n)−πj∣≤c ϱ n|p_{ij}(n) - \pi_j| \le c\,\varrho^{\,n}. They then note that repeated eigenvalues block this route, and that the Jordan form takes its place: S=B−1JBS = B^{-1}JB in our notation (they write MM for the Jordan matrix), with Sn=B−1JnBS^{n} = B^{-1}J^{n}B. Their Perron-Frobenius theorem (Grimmett & Stirzaker (2020), §6.6, Thm (1), p. 269) lists the eigenvalue 11 once for an irreducible aperiodic chain and puts every other eigenvalue strictly inside the unit circle, so the block at 11 is 1×11 \times 1 and only the other blocks can be large. The block-power formula of this unit then says exactly what changes: an eigenvalue λ≠1\lambda \neq 1 whose largest block has size ss contributes terms (ni)λn−i\binom{n}{i}\lambda^{n-i} with i≤s−1i \le s-1, so with ss the largest block size over all eigenvalues other than 11 the clean bound acquires a polynomial factor and becomes ∣pij(n)−πj∣≤c ns−1ϱ n|p_{ij}(n) - \pi_j| \le c\,n^{s-1}\varrho^{\,n}. Since ns−1ϱ n≤c′ τ nn^{s-1}\varrho^{\,n} \le c'\,\tau^{\,n} for any τ\tau strictly between ϱ\varrho and 11, geometric convergence survives, but the pre-asymptotic behaviour does not: for nn up to about (s−1)/log⁡(1/ϱ)(s-1)/\log(1/\varrho) the polynomial is still winning, and a chain with a large Jordan block mixes visibly more slowly than its second eigenvalue suggests. This is the discrete-time counterpart of the warning that the spectrum alone does not control ∥Ak∥\|A^{k}\|.

Defective linear systems and the factor of tt. For x˙=Ax\dot x = Ax with a repeated eigenvalue and too few eigenvectors, the missing solutions are supplied by the chain. Lee (Lee (2013), Appendix D, pp. 673-674) gives the 2×22 \times 2 case explicitly: when AA has the single eigenvalue λ\lambda with eigenvector Z0Z_0 and A−λI≠0A - \lambda I \neq 0, there is a generalized eigenvector Z1Z_1 with (A−λI)Z1=Z0(A - \lambda I)Z_1 = Z_0, and the second independent solution is eλt(tZ0+Z1)e^{\lambda t}(tZ_0 + Z_1). In the language above, Z0,Z1Z_0, Z_1 is a Jordan chain of length two, and the solution is the second column of Pexp⁡(tJ)P\exp(tJ). The same bookkeeping in general: a chain x1,…,xsx_1, \dots, x_s for λ\lambda carries the ss solutions ur(t)=eλt∑i=0r−1(ti/i!) xr−iu_r(t) = e^{\lambda t}\sum_{i=0}^{r-1}(t^{i}/i!)\,x_{r-i} for r=1,…,sr = 1, \dots, s, polynomial in tt of degree up to s−1s-1. Differentiating uru_r and using Axr−i=λxr−i+xr−i−1Ax_{r-i} = \lambda x_{r-i} + x_{r-i-1} (with x0=0x_0 = 0) reproduces u˙r=Aur\dot u_r = Au_r term by term. Physically this is where secular terms come from — critically damped oscillators, resonant forcing, marginal stability in a linearized flow — and it is why a stability analysis must look at the Jordan structure of any eigenvalue sitting on the imaginary axis, not merely at its real part. See linear systems for the solution theory and the matrix exponential for computing exp⁡(tA)\exp(tA) in practice.

Perturbation theory near a degeneracy. In quantum mechanics the Hamiltonian is Hermitian and therefore never defective, but the matrices that govern open and driven systems are not. An effective non-Hermitian Hamiltonian describing a resonance, a gain-loss optical cavity or a damped coupled oscillator typically has isolated parameter values — exceptional points — where two eigenvalues and their eigenvectors coalesce, which is precisely a 2×22 \times 2 Jordan block. The splitting of the two eigenvalues near such a point goes like ε\sqrt{\varepsilon} in the detuning ε\varepsilon, not like ε\varepsilon, exactly as in the matrix (01ε0)\begin{pmatrix} 0 & 1 \\ \varepsilon & 0 \end{pmatrix} of the remark above, and that square-root response is what makes exceptional points attractive as sensors. The Jordan form is the right language here because the whole phenomenon is the failure of diagonalizability at one point of parameter space.

A reason to stop short of step 4. Because steps 1 to 3 use only ranks and the characteristic polynomial, the Jordan form is often all one computes: it is what decides whether AkA^{k} or exp⁡(tA)\exp(tA) carries polynomial factors, what the minimal polynomial is (hence how many powers of AA are genuinely independent, which bounds the length of a Krylov recurrence), and whether a projection or involution identity can hold. The eigenvectors, which cost far more, are needed only when the solution itself, and not its shape, is wanted.

Quadratic forms, SVD and matrix functions

5

Method

Quadratic forms and the Rayleigh quotient

Adapted

How to reduce a quadratic or Hermitian form to its principal axes, decide its definiteness from the eigenvalue signs or from Sylvester's criterion on the leading principal minors, and bound the eigenvalues by the Rayleigh quotient.

Prerequisites: Spectral theorem for Hermitian matrices, Determinants, Unitary and orthogonal matrices, Orthonormal bases and Gram-Schmidt, Vector spaces and bases

Definition(Quadratic and Hermitian forms, definiteness)AdaptedAdapted from Riley, Hobson & Bence (2006), §8.17, Eqs (8.105)-(8.112), pp. 288-290

A quadratic form on Rn\mathbb{R}^n is a function Q(x)=xTAxQ(x) = x^{\mathsf T} A x with AA a real n×nn \times n matrix. Only the symmetric part of AA contributes: writing A=12(A+AT)+12(A−AT)A = \tfrac12(A + A^{\mathsf T}) + \tfrac12(A - A^{\mathsf T}), the antisymmetric part BB satisfies xTBx=0x^{\mathsf T} B x = 0 for every xx, because xTBxx^{\mathsf T} B x is a scalar and equals its own transpose −xTBx-x^{\mathsf T} B x. We therefore always take A=ATA = A^{\mathsf T}, at the cost of no generality; the symmetric matrix representing a given form is then unique. The complex analogue is the Hermitian form H(x)=x†AxH(x) = x^\dagger A x with A=A†A = A^\dagger, which is real-valued for every x∈Cnx \in \mathbb{C}^n since H(x)‾=x†A†x=H(x)\overline{H(x)} = x^\dagger A^\dagger x = H(x).

A Hermitian (or real symmetric) AA and its form are called

  • positive definite if x†Ax>0x^\dagger A x > 0 for all x≠0x \neq 0;
  • positive semidefinite if x†Ax≥0x^\dagger A x \ge 0 for all xx;
  • negative definite / negative semidefinite if −A-A is positive definite / semidefinite;
  • indefinite if x†Axx^\dagger A x takes both signs.

For 1≤k≤n1 \le k \le n, the kk-th leading principal minor of AA is Dk=det⁡A(k)D_k = \det A^{(k)}, where A(k)A^{(k)} is the top-left k×kk \times k submatrix of AA. A principal minor is the determinant of any submatrix obtained by keeping the same set of rows and columns.

Method(Principal axes)AdaptedAdapted from Riley, Hobson & Bence (2006), §8.17, Eqs (8.110)-(8.111), p. 289 and §8.17.2, p. 292

Let AA be real symmetric n×nn \times n with eigenvalues λ1,…,λn\lambda_1, \dots, \lambda_n (with multiplicity) and a real orthonormal eigenbasis u1,…,unu_1, \dots, u_n, as supplied by the spectral theorem, and let S=(u1 ⋯ un)S = (u_1 \ \cdots \ u_n), so STAS=ΛS^{\mathsf T} A S = \Lambda. Substituting x=Sx′x = S x' gives

Q(x)=xTAx=(x′)TΛx′=λ1x1′2+⋯+λnxn′2,Q(x) = x^{\mathsf T} A x = (x')^{\mathsf T} \Lambda x' = \lambda_1 x_1'^2 + \cdots + \lambda_n x_n'^2 ,

a sum of squares with no cross terms; the new axes, along the uku_k, are the principal axes of the form. The same holds for a Hermitian form with SS unitary and xk′2x_k'^2 replaced by ∣xk′∣2|x_k'|^2.

The level set L={x:xTAx=1}L = \{x : x^{\mathsf T} A x = 1\} is non-empty if and only if at least one λk\lambda_k is positive. If some λk>0\lambda_k > 0, then LL meets the line Ruk\mathbb{R}u_k, on which the form takes the values λkt2\lambda_k t^2, at t=±λk−1/2t = \pm \lambda_k^{-1/2}. If instead every λk≤0\lambda_k \le 0, then Q(x)=∑kλkxk′2≤0<1Q(x) = \sum_k \lambda_k x_k'^2 \le 0 < 1 for every xx, not merely on the axis lines, so LL is empty.

Assume L≠∅L \neq \emptyset and write p≥1p \ge 1, qq, zz for how many of the eigenvalues are respectively positive, negative and zero, so p+q+z=np + q + z = n. Then, with the axes taken along the uku_k:

  • z=0z = 0 and q=0q = 0 (so p=np = n): LL is an ellipsoid, compact, with semi-axis λk−1/2\lambda_k^{-1/2} in the direction uku_k.
  • z=0z = 0 and q≥1q \ge 1: LL is a hyperboloid, unbounded — for n=2n = 2 a hyperbola.
  • z≥1z \ge 1: LL is a cylinder. It is invariant under translation by any multiple of a uku_k with λk=0\lambda_k = 0, because such a translation does not change xk′x_k''s contribution to QQ; its cross-section in the span of the uku_k with λk≠0\lambda_k \neq 0 is the ellipsoid (q=0q = 0) or hyperboloid (q≥1q \ge 1) of those p+qp + q eigenvalues.

The three cases are disjoint, and the indices kk with λk≤0\lambda_k \le 0 are exactly those for which LL misses the axis line Ruk\mathbb{R}u_k.

Both names are meant in their degenerate senses as well. An "ellipsoid" in n=1n = 1 is the two points ±λ1−1/2\pm\lambda_1^{-1/2} and in n=2n = 2 an ellipse; a "cylinder" is the product of a cross-section with the zz-dimensional space spanned by the null directions, so for n=2n = 2 and λ=(1,0)\lambda = (1, 0) it is the pair of parallel lines x1′=±1x_1' = \pm 1, and for z=n−1z = n - 1, p=1p = 1 a pair of parallel hyperplanes.

Idea of the proofOriginal

The spectral theorem supplies an orthogonal change of coordinates in which AA becomes diagonal, and a diagonal matrix has no cross terms: in those coordinates the form is λ1x1′2+⋯+λnxn′2\lambda_1 x_1'^2 + \cdots + \lambda_n x_n'^2, one independent contribution per axis. Because the change of coordinates is orthogonal it changes no length and no angle, so every geometric statement about the level set may be read off in the new coordinates and transported back unchanged. The classification is then a one-variable question asked nn times: a positive λk\lambda_k confines the level set in the uku_k direction, a negative one lets it run off to infinity, and a zero one lets it slide freely.

ProofAdaptedAdapted from Riley, Hobson & Bence (2006), §8.17, Eqs (8.109)-(8.111), pp. 288-289 and §8.17.2, p. 292

Step 1: the change of coordinates. Since AA is real symmetric, part 6 of the spectral theorem gives a real orthonormal eigenbasis u1,…,unu_1, \dots, u_n and makes S=(u1 ⋯ un)S = (u_1\ \cdots\ u_n) real orthogonal with STAS=ΛS^{\mathsf T}AS = \Lambda. Then S−1=STS^{-1} = S^{\mathsf T}, so x=Sx′x = Sx' and x′=STxx' = S^{\mathsf T}x say the same thing, and x↦x′x \mapsto x' is a bijection of Rn\mathbb{R}^n that preserves the norm, by part 4 of the characterisation in Unitary and orthogonal matrices. Substituting,

xTAx=(Sx′)TA(Sx′)=(x′)T(STAS)x′=(x′)TΛx′=∑k=1nλk(xk′)2,x^{\mathsf T} A x = (Sx')^{\mathsf T}A(Sx') = (x')^{\mathsf T}(S^{\mathsf T}AS)x' = (x')^{\mathsf T}\Lambda x' = \sum_{k=1}^{n}\lambda_k (x_k')^2 ,

with xk′=ukTxx_k' = u_k^{\mathsf T}x the component of xx along uku_k. The hypothesis that AA is symmetric enters only through the spectral theorem — it is what makes the eigenbasis real and orthonormal, hence SS orthogonal rather than merely invertible, and that is what keeps the geometry undistorted. For a Hermitian form the same lines with SS unitary, †\dagger for T\mathsf T, give x†Ax=∑kλk∣xk′∣2x^\dagger A x = \sum_k \lambda_k |x_k'|^2, which is real because the λk\lambda_k are.

Step 2: the axis lines and non-emptiness. On the line Ruk\mathbb{R}u_k a point is x=tukx = tu_k, whose coordinates are x′=tekx' = te_k because ujTuk=δjku_j^{\mathsf T}u_k = \delta_{jk}; so Q(tuk)=λkt2Q(tu_k) = \lambda_k t^2. The equation λkt2=1\lambda_kt^2 = 1 has a real solution exactly when λk>0\lambda_k > 0, and then exactly the two solutions t=±λk−1/2t = \pm\lambda_k^{-1/2}. This proves both that LL meets Ruk\mathbb{R}u_k precisely for λk>0\lambda_k > 0, at those two parameter values, and that L≠∅L \neq \emptyset as soon as some λk>0\lambda_k > 0. Conversely if every λk≤0\lambda_k \le 0 then Q(x)=∑kλk(xk′)2≤0<1Q(x) = \sum_k\lambda_k(x_k')^2 \le 0 < 1 for every xx, so L=∅L = \emptyset.

Step 3: adapted coordinates. Assume L≠∅L \neq \emptyset and renumber the eigenvalues, carrying the columns of SS with them, so that λ1,…,λp>0\lambda_1, \dots, \lambda_p > 0, then qq negative ones, then zz zeros, with p≥1p \ge 1 by step 2. In the x′x' coordinates

L={x′:∑k≤pλk(xk′)2−∑p<k≤p+q∣λk∣(xk′)2=1}.L = \Bigl\{x' : \sum_{k \le p}\lambda_k(x_k')^2 - \sum_{p < k \le p+q}|\lambda_k|(x_k')^2 = 1\Bigr\}.

Because x↦x′x \mapsto x' is a norm-preserving bijection, boundedness, compactness, distances from the origin and the lines contained in LL are the same computed in either set of coordinates.

Step 4: z=0z = 0 and q=0q = 0, so p=np = n. Put λmin⁡=min⁡kλk>0\lambda_{\min} = \min_k \lambda_k > 0. For x∈Lx \in L,

λmin⁡∥x′∥2≤∑kλk(xk′)2=1,so∥x∥=∥x′∥≤λmin⁡−1/2,\lambda_{\min}\|x'\|^2 \le \sum_k \lambda_k (x_k')^2 = 1 , \qquad\text{so}\qquad \|x\| = \|x'\| \le \lambda_{\min}^{-1/2} ,

and LL is bounded. It is also closed, being the preimage of the closed set {1}\{1\} under the continuous map QQ, hence compact. It is the ellipsoid with semi-axes λk−1/2\lambda_k^{-1/2}: the diagonal map y↦x′y \mapsto x' with xk′=λk−1/2ykx_k' = \lambda_k^{-1/2}y_k is a bijection of Rn\mathbb{R}^n carrying the unit sphere ∑kyk2=1\sum_k y_k^2 = 1 exactly onto LL, since ∑kλk(xk′)2=∑kyk2\sum_k\lambda_k(x_k')^2 = \sum_k y_k^2; and by step 2 its intersection with the kk-th axis is at distance λk−1/2\lambda_k^{-1/2} from the origin.

Step 5: z=0z = 0 and q≥1q \ge 1. Here λ1>0\lambda_1 > 0 and some λm<0\lambda_m < 0. For each real tt let x′(t)x'(t) have xm′=tx_m' = t, x1′=((1+∣λm∣t2)/λ1)1/2x_1' = \bigl((1 + |\lambda_m|t^2)/\lambda_1\bigr)^{1/2} and all other coordinates zero; the square root is of a positive number, so this is defined for every tt, and ∑kλk(xk′)2=(1+∣λm∣t2)−∣λm∣t2=1\sum_k\lambda_k(x_k')^2 = (1 + |\lambda_m|t^2) - |\lambda_m|t^2 = 1. So x′(t)∈Lx'(t) \in L for all tt, while ∥x′(t)∥≥∣t∣→∞\|x'(t)\| \ge |t| \to \infty: LL is unbounded. For n=2n = 2 the defining equation is λ1(x1′)2−∣λ2∣(x2′)2=1\lambda_1(x_1')^2 - |\lambda_2|(x_2')^2 = 1, the standard equation of a hyperbola with respect to its own axes.

Step 6: z≥1z \ge 1. Let ZZ be the span of the uku_k with λk=0\lambda_k = 0 and YY the span of the others, so Rn=Y⊕Z\mathbb{R}^n = Y \oplus Z orthogonally. The expression ∑kλk(xk′)2\sum_k\lambda_k(x_k')^2 contains no term in a coordinate with λk=0\lambda_k = 0, so Q(y+cuk)=Q(y)Q(y + c u_k) = Q(y) whenever λk=0\lambda_k = 0: translating by any vector of ZZ moves no point of LL off LL, which is the stated invariance. Writing a general xx as y+zy + z with y∈Yy \in Y, z∈Zz \in Z gives Q(x)=Q(y)Q(x) = Q(y), so

x∈L  ⟺  y∈L∩Y,that isL=(L∩Y)+Z.x \in L \iff y \in L \cap Y, \qquad \text{that is} \qquad L = (L \cap Y) + Z .

Now L∩YL \cap Y is the level set at 11 of the restriction of the form to the (p+q)(p+q)-dimensional space YY, on which the eigenvalues are exactly the non-zero λk\lambda_k with the same eigenvectors; steps 4 and 5 applied inside YY make it an ellipsoid when q=0q = 0 and a hyperboloid when q≥1q \ge 1. So LL is that cross-section times ZZ.

Step 7: disjointness and the degenerate readings. The triple (p,q,z)(p,q,z) counts the positive, negative and zero eigenvalues of AA, so it is determined by AA and exactly one of the three cases applies. For the names: in step 4 with n=1n = 1, L={±λ1−1/2}L = \{\pm\lambda_1^{-1/2}\}, a pair of points, and with n=2n = 2 it is an ellipse, both being the image of the unit sphere of the relevant dimension under a diagonal stretch. In step 6 with p+q=1p + q = 1 and that one eigenvalue positive, L∩YL \cap Y is a pair of points at distance λ−1/2\lambda^{-1/2} from the origin, so LL is a pair of parallel hyperplanes; for n=2n = 2 with λ=(1,0)\lambda = (1,0) the equation is (x1′)2=1(x_1')^2 = 1, the two lines x1′=±1x_1' = \pm 1. □\square

Method(Eigenvalue test for definiteness)AdaptedAdapted from Hassani (2013), §6.4, Cor 6.4.10, p. 181; Riley, Hobson & Bence (2006), §8.17, the paragraph following Eq. (8.112), p. 290

Let AA be Hermitian n×nn \times n (in particular, real symmetric). Then AA is positive definite if and only if every eigenvalue of AA is positive, and positive semidefinite if and only if every eigenvalue is ≥0\ge 0.

The strict half is (Riley, Hobson & Bence (2006), §8.17, p. 290), which states that Q>0Q > 0 for every xx forces every eigenvalue to be positive. The corresponding result in (Hassani (2013), Cor 6.4.10, p. 181) is the semidefinite one, because "positive" there is Hassani's non-strict notion (Def 4.3.9, p. 117); his strict notion is written A>0A > 0. The semidefinite half is the same reading of the sum of squares Q=∑kλkxk′2Q = \sum_k \lambda_k x_k'^2 with ≥\ge in place of >>, which is how (Riley, Hobson & Bence (2006), §8.17, p. 290) arrives at both terms. The consequence that tr⁡A>0\operatorname{tr} A > 0 and det⁡A>0\det A > 0 for a positive definite AA is ours — it is immediate, since the trace is the sum and the determinant the product of the nn eigenvalues — and is on neither cited page, so do not attribute it there. It is only a one-way test: see the traps below.

Idea of the proofOriginal

In the principal-axis coordinates the form is the weighted sum ∑kλk∣xk′∣2\sum_k \lambda_k |x_k'|^2 with non-negative weights ∣xk′∣2|x_k'|^2, and such a sum is positive for every non-zero xx exactly when every coefficient is positive: if one λj\lambda_j fails, the single eigenvector uju_j exhibits the failure, and if none fails, the smallest eigenvalue bounds the whole sum from below.

ProofAdaptedAdapted from Riley, Hobson & Bence (2006), §8.17, the paragraph following Eq. (8.112), p. 290

By the spectral theorem choose an orthonormal eigenbasis u1,…,unu_1,\dots,u_n of AA with Auk=λkukAu_k = \lambda_k u_k and the λk\lambda_k real, let UU be the unitary matrix of those columns and put x′=U†xx' = U^\dagger x, so that by step 1 of the previous proof

x†Ax=∑k=1nλk∣xk′∣2,∥x′∥=∥x∥.x^\dagger A x = \sum_{k=1}^{n}\lambda_k |x_k'|^2, \qquad \|x'\| = \|x\| .

The map x↦x′x \mapsto x' is a bijection, so x≠0x \neq 0 if and only if x′≠0x' \neq 0.

All eigenvalues positive implies positive definite. Let λmin⁡=min⁡kλk>0\lambda_{\min} = \min_k\lambda_k > 0 and let x≠0x \neq 0. Then

x†Ax=∑kλk∣xk′∣2 ≥ λmin⁡∑k∣xk′∣2=λmin⁡∥x∥2 > 0,x^\dagger A x = \sum_k \lambda_k|x_k'|^2 \ \ge\ \lambda_{\min}\sum_k |x_k'|^2 = \lambda_{\min}\|x\|^2 \ >\ 0 ,

the first inequality because every ∣xk′∣2≥0|x_k'|^2 \ge 0 and the last because ∥x∥>0\|x\| > 0.

Positive definite implies all eigenvalues positive. Suppose some λj≤0\lambda_j \le 0. The eigenvector uju_j is non-zero and uj†Auj=λjuj†uj=λj≤0u_j^\dagger A u_j = \lambda_j u_j^\dagger u_j = \lambda_j \le 0, so the defining inequality fails at x=ujx = u_j and AA is not positive definite.

The semidefinite half. If every λk≥0\lambda_k \ge 0 then x†Ax=∑kλk∣xk′∣2≥0x^\dagger A x = \sum_k\lambda_k|x_k'|^2 \ge 0 for every xx, each term being a product of two non-negative numbers. If some λj<0\lambda_j < 0 then uj†Auj=λj<0u_j^\dagger A u_j = \lambda_j < 0. This is the same reading of the sum of squares with ≥\ge in place of >>, exactly as (Riley, Hobson & Bence (2006), §8.17, p. 290) obtains both terms.

The trace and determinant. If AA is positive definite then all λk>0\lambda_k > 0, and part 5 of the spectral theorem gives tr⁡A=∑kλk>0\operatorname{tr}A = \sum_k\lambda_k > 0 as a sum of positive numbers and det⁡A=∏kλk>0\det A = \prod_k\lambda_k > 0 as a product of them. Neither converse holds: diag⁡(−1,−1)\operatorname{diag}(-1,-1) has trace −2-2 but determinant +1+1, and diag⁡(3,−1)\operatorname{diag}(3,-1) has trace +2+2 with determinant −3-3, so each of the two conditions can hold while AA fails to be positive definite. □\square

Method(Sylvester's criterion)AdaptedAdapted from Gelfand & Fomin (1963), §30, p. 127

Let AA be real symmetric n×nn \times n, with leading principal minors Dk=det⁡A(k)D_k = \det A^{(k)} for k=1,…,nk = 1, \dots, n. Then positive definiteness of the form xTAxx^{\mathsf T} A x is equivalent to positivity of the whole descending chain

D1=a11>0,D2=∣a11a12a21a22∣>0,…,Dn=det⁡A>0.D_1 = a_{11} > 0, \qquad D_2 = \begin{vmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{vmatrix} > 0, \qquad \dots, \qquad D_n = \det A > 0 .

Each of the nn inequalities is needed, and no condition beyond them is.

Applying this to −A-A and using Dk(−A)=(−1)kDk(A)D_k(-A) = (-1)^k D_k(A): AA is negative definite if and only if (−1)kDk>0(-1)^k D_k > 0 for k=1,…,nk = 1, \dots, n, i.e. the leading principal minors alternate in sign beginning with D1<0D_1 < 0.

Idea of the proofOriginal

One direction is easy: restricting a positive definite form to the first kk coordinates leaves it positive definite, so each A(k)A^{(k)} has only positive eigenvalues and its determinant DkD_k is positive. The other direction is an induction in which A(n−1)A^{(n-1)} is already known to be positive definite. That means the form is positive on an (n−1)(n-1)-dimensional subspace, and two subspaces of Rn\mathbb{R}^n whose dimensions add to more than nn must share a non-zero vector; so AA cannot have two non-positive eigenvalues, because the plane they span would meet that subspace. At most one eigenvalue is therefore in doubt, and Dn=det⁡A>0D_n = \det A > 0 settles its sign.

ProofOriginal

Throughout, A(k)A^{(k)} is the top-left k×kk \times k block and Vk=span⁡{e1,…,ek}V_k = \operatorname{span}\{e_1,\dots,e_k\}. For x∈Vkx \in V_k, only the first kk entries of xx are non-zero, so

xTAx=∑i,j≤kaijxixj=x~TA(k)x~,x~=(x1,…,xk)T:x^{\mathsf T} A x = \sum_{i,j \le k} a_{ij}x_ix_j = \tilde x^{\mathsf T}A^{(k)}\tilde x , \qquad \tilde x = (x_1,\dots,x_k)^{\mathsf T} :

the form of A(k)A^{(k)} is the form of AA restricted to VkV_k. Each A(k)A^{(k)} is symmetric, being a block of a symmetric matrix cut out by the same rows and columns.

Lemma (overlapping subspaces). If V,W⊆RnV, W \subseteq \mathbb{R}^n are subspaces with dim⁡V+dim⁡W>n\dim V + \dim W > n, then V∩WV \cap W contains a non-zero vector. Indeed, let v1,…,vav_1,\dots,v_a be a basis of VV and w1,…,wbw_1,\dots,w_b one of WW, with a+b>na + b > n. More than nn vectors in an nn-dimensional space are linearly dependent (Vector spaces and bases), so ∑icivi+∑jdjwj=0\sum_i c_iv_i + \sum_j d_jw_j = 0 with the coefficients not all zero. Put x=∑icivi=−∑jdjwjx = \sum_i c_iv_i = -\sum_j d_jw_j, which lies in VV and in WW. If xx were 00, independence of the viv_i would force every ci=0c_i = 0 and independence of the wjw_j every dj=0d_j = 0, contradicting the choice; so x≠0x \neq 0.

Necessity. Suppose AA is positive definite. For 1≤k≤n1 \le k \le n and x~∈Rk\tilde x \in \mathbb{R}^k non-zero, the vector x∈Vkx \in V_k with those first kk entries is non-zero, so x~TA(k)x~=xTAx>0\tilde x^{\mathsf T}A^{(k)}\tilde x = x^{\mathsf T}Ax > 0: each A(k)A^{(k)} is positive definite. By the eigenvalue test, its eigenvalues are all positive, so Dk=det⁡A(k)D_k = \det A^{(k)}, their product, is positive.

Sufficiency, by induction on nn. Suppose D1,…,Dn>0D_1, \dots, D_n > 0.

Base case n=1n = 1. Here A=(a11)A = (a_{11}) with a11=D1>0a_{11} = D_1 > 0, and xTAx=a11x12>0x^{\mathsf T}Ax = a_{11}x_1^2 > 0 for x1≠0x_1 \neq 0.

Induction step. Let n≥2n \ge 2 and assume the criterion for n−1n-1. The leading principal minors of A(n−1)A^{(n-1)} are D1,…,Dn−1D_1, \dots, D_{n-1} — a leading block of a leading block is a leading block — so the induction hypothesis makes A(n−1)A^{(n-1)} positive definite, and therefore

xTAx>0for every non-zero x∈Vn−1.(∗)x^{\mathsf T}Ax > 0 \qquad \text{for every non-zero } x \in V_{n-1} . \tag{$*$}

Order the eigenvalues of AA as λ1≤⋯≤λn\lambda_1 \le \cdots \le \lambda_n with a real orthonormal eigenbasis u1,…,unu_1,\dots,u_n (Spectral theorem for Hermitian matrices, part 6).

Suppose, for contradiction, that λ2≤0\lambda_2 \le 0, hence also λ1≤0\lambda_1 \le 0. Let W=span⁡{u1,u2}W = \operatorname{span}\{u_1,u_2\}, of dimension 22. For x=c1u1+c2u2∈Wx = c_1u_1 + c_2u_2 \in W, orthonormality gives

xTAx=λ1c12+λ2c22≤0.x^{\mathsf T}Ax = \lambda_1c_1^2 + \lambda_2c_2^2 \le 0 .

Since dim⁡W+dim⁡Vn−1=2+(n−1)=n+1>n\dim W + \dim V_{n-1} = 2 + (n-1) = n+1 > n, the lemma supplies a non-zero x∈W∩Vn−1x \in W \cap V_{n-1}. That xx has xTAx≤0x^{\mathsf T}Ax \le 0 by the display and xTAx>0x^{\mathsf T}Ax > 0 by (∗)(*) — a contradiction. Hence λ2>0\lambda_2 > 0, and so λ2,…,λn\lambda_2, \dots, \lambda_n are all positive.

Finally Dn=det⁡A=λ1λ2⋯λnD_n = \det A = \lambda_1\lambda_2\cdots\lambda_n by part 5 of the spectral theorem. The hypothesis Dn>0D_n > 0 and the positivity of λ2⋯λn\lambda_2\cdots\lambda_n force λ1>0\lambda_1 > 0. All eigenvalues are then positive and the eigenvalue test makes AA positive definite, completing the induction.

Every one of the nn inequalities is needed. Dropping the kk-th leaves a false criterion, as these diagonal matrices show. For k≤n−1k \le n-1 take AA diagonal with akk=ak+1,k+1=−1a_{kk} = a_{k+1,k+1} = -1 and every other diagonal entry +1+1: then Dj=1D_j = 1 for j<kj < k, Dk=−1D_k = -1, and Dj=(−1)(−1)=1D_j = (-1)(-1) = 1 for j≥k+1j \ge k+1, so only the kk-th inequality fails, while AA is not positive definite because ekTAek=−1e_k^{\mathsf T}Ae_k = -1. For k=nk = n take A=diag⁡(1,…,1,−1)A = \operatorname{diag}(1,\dots,1,-1), which has Dj=1D_j = 1 for j<nj < n and Dn=−1D_n = -1. And no further condition is needed, because the induction above derives positive definiteness from these nn alone.

The negative definite form. AA is negative definite exactly when −A-A is positive definite, which by the above is exactly Dk(−A)>0D_k(-A) > 0 for every kk. Now (−A)(k)=−A(k)(-A)^{(k)} = -A^{(k)} and scaling a k×kk \times k matrix by −1-1 scales its determinant by (−1)k(-1)^k (the determinant is homogeneous of degree kk in the rows, Determinants), so Dk(−A)=(−1)kDk(A)D_k(-A) = (-1)^kD_k(A) and the condition reads (−1)kDk>0(-1)^kD_k > 0: D1<0D_1 < 0, D2>0D_2 > 0, D3<0D_3 < 0, and so on. □\square

Definition(Rayleigh quotient)AdaptedAdapted from Riley, Hobson & Bence (2006), §8.17.1, p. 291

Let AA be Hermitian n×nn \times n. For x∈Cnx \in \mathbb{C}^n, x≠0x \neq 0, the Rayleigh quotient of AA at xx is

R(x)=x†Axx†x,\mathcal{R}(x) = \frac{x^\dagger A x}{x^\dagger x} ,

which is real, because the numerator and denominator are, and unchanged by rescaling xx by any non-zero scalar.

Method(Rayleigh bounds)Original

Let AA be Hermitian n×nn \times n with eigenvalues ordered λ1≤λ2≤⋯≤λn\lambda_1 \le \lambda_2 \le \cdots \le \lambda_n and EλE_\lambda the eigenspace of λ\lambda. Then λ1≤R(x)≤λn\lambda_1 \le \mathcal{R}(x) \le \lambda_n for every x≠0x \neq 0; the lower bound is an equality exactly for x∈Eλ1∖{0}x \in E_{\lambda_1} \setminus \{0\} and the upper bound exactly for x∈Eλn∖{0}x \in E_{\lambda_n} \setminus \{0\}. Hence

λ1=min⁡x≠0R(x),λn=max⁡x≠0R(x),\lambda_1 = \min_{x \neq 0} \mathcal{R}(x), \qquad \lambda_n = \max_{x \neq 0} \mathcal{R}(x) ,

both attained. (Expand xx in an orthonormal eigenbasis: R(x)\mathcal{R}(x) is the weighted average of the λk\lambda_k with weights ∣xk′∣2/∥x∥2|x_k'|^2 / \|x\|^2 summing to 11.)

Idea of the proofOriginal

In an orthonormal eigenbasis the Rayleigh quotient is literally a weighted average of the eigenvalues, the weight on λk\lambda_k being the fraction of ∥x∥2\|x\|^2 that xx puts along uku_k. An average of numbers lies between the smallest and the largest of them, and equals the smallest only if all the weight sits on the smallest — which is what "xx lies in the eigenspace of λ1\lambda_1" says.

ProofOriginal

Fix an orthonormal eigenbasis u1,…,unu_1,\dots,u_n of AA with Auk=λkukAu_k = \lambda_k u_k and λ1≤⋯≤λn\lambda_1 \le \cdots \le \lambda_n (Spectral theorem for Hermitian matrices). For x≠0x \neq 0 write ck=(x,uk)c_k = (x, u_k), so that x=∑kckukx = \sum_k c_ku_k and, by the expansion in an orthonormal basis (Orthonormal bases and Gram-Schmidt),

x†x=∑k∣ck∣2=:σ>0,x†Ax=∑kλk∣ck∣2,x^\dagger x = \sum_k |c_k|^2 =: \sigma > 0 , \qquad x^\dagger A x = \sum_k \lambda_k|c_k|^2 ,

the second because Ax=∑kλkckukAx = \sum_k \lambda_kc_ku_k and the basis is orthonormal. Hence

R(x)=∑k=1nwkλk,wk=∣ck∣2σ≥0,∑kwk=1.\mathcal{R}(x) = \sum_{k=1}^{n} w_k\lambda_k , \qquad w_k = \frac{|c_k|^2}{\sigma} \ge 0, \qquad \sum_k w_k = 1 .

The bounds. Since the wkw_k are non-negative and sum to one,

R(x)−λ1=∑kwk(λk−λ1)≥0,λn−R(x)=∑kwk(λn−λk)≥0,\mathcal{R}(x) - \lambda_1 = \sum_k w_k(\lambda_k - \lambda_1) \ge 0, \qquad \lambda_n - \mathcal{R}(x) = \sum_k w_k(\lambda_n - \lambda_k) \ge 0 ,

each summand being a product of two non-negative numbers, by the ordering of the eigenvalues. So λ1≤R(x)≤λn\lambda_1 \le \mathcal{R}(x) \le \lambda_n.

The equality cases. In the first display, equality forces every summand to vanish, so wk=0w_k = 0 — that is ck=0c_k = 0 — for every kk with λk>λ1\lambda_k > \lambda_1. Then x=∑k:λk=λ1ckukx = \sum_{k : \lambda_k = \lambda_1}c_ku_k, a combination of eigenvectors for λ1\lambda_1, so x∈Eλ1x \in E_{\lambda_1}. Conversely if x∈Eλ1x \in E_{\lambda_1} and x≠0x \neq 0 then Ax=λ1xAx = \lambda_1 x and R(x)=λ1x†x/x†x=λ1\mathcal{R}(x) = \lambda_1 x^\dagger x/x^\dagger x = \lambda_1. The same argument with λn\lambda_n gives the upper equality case. Note that the whole eigenspace appears, not one vector: if λ1\lambda_1 is degenerate, every non-zero vector of Eλ1E_{\lambda_1} attains the minimum.

Attainment. u1∈Eλ1u_1 \in E_{\lambda_1} and un∈Eλnu_n \in E_{\lambda_n} are non-zero, so the bounds are attained and the infimum and supremum are a minimum and a maximum. □\square

Method(Stationary values of the quotient)AdaptedAdapted from Riley, Hobson & Bence (2006), §8.17.1, Eqs (8.114)-(8.116) and the worked result for lambda(x), p. 291

Let AA be Hermitian n×nn \times n. Then R\mathcal{R} is stationary at x≠0x \neq 0 — its first variation vanishes for every variation Δx\Delta x — exactly when Ax=R(x) xA x = \mathcal{R}(x)\, x, that is, exactly when xx is an eigenvector of AA; the stationary value is then the eigenvalue belonging to xx. Equivalently, the critical points of x†Axx^\dagger A x on the sphere x†x=1x^\dagger x = 1 are the normalised eigenvectors of AA, and the critical value at each is its eigenvalue.

Idea of the proofOriginal

Differentiate the quotient once. Because AA is Hermitian, the two cross terms produced by varying xx in x†Axx^\dagger A x are complex conjugates of each other, so the first variation collapses to 2Re⁡2\operatorname{Re} of a single inner product against the vector Ax−R(x)xAx - \mathcal{R}(x)x. Demanding that this vanish for every variation is demanding that the vector itself vanish, which is the eigenvalue equation with R(x)\mathcal{R}(x) as the eigenvalue. Nothing in the argument needs the eigenvalues to be known in advance; the eigenvalue equation is the output.

ProofAdaptedAdapted from Riley, Hobson & Bence (2006), §8.17.1, Eqs (8.113)-(8.116) and the variational computation for lambda(x), pp. 290-291

Write N(x)=x†AxN(x) = x^\dagger A x and D(x)=x†xD(x) = x^\dagger x, so R=N/D\mathcal{R} = N/D on Cn∖{0}\mathbb{C}^n\setminus\{0\}, and fix x≠0x \neq 0 and a variation h∈Cnh \in \mathbb{C}^n.

Step 1: the first variations of NN and DD. Expanding,

N(x+h)−N(x)=h†Ax+x†Ah+h†Ah.N(x+h) - N(x) = h^\dagger A x + x^\dagger A h + h^\dagger A h .

The first two terms are complex conjugates of each other, because x†Ah‾=h†A†x=h†Ax\overline{x^\dagger A h} = h^\dagger A^\dagger x = h^\dagger A x using A=A†A = A^\dagger — this is the one place the Hermitian hypothesis is used, and without it the two terms do not combine. So

N(x+h)−N(x)=2Re⁡(x†Ah)+O(∥h∥2),D(x+h)−D(x)=2Re⁡(x†h)+O(∥h∥2),N(x+h) - N(x) = 2\operatorname{Re}\bigl(x^\dagger A h\bigr) + O(\|h\|^2), \qquad D(x+h) - D(x) = 2\operatorname{Re}\bigl(x^\dagger h\bigr) + O(\|h\|^2),

the second by the same computation with A=IA = I.

Step 2: the first variation of the quotient. Since D(x)>0D(x) > 0, the quotient is differentiable at xx, and keeping only the terms linear in hh,

δR=D(x)⋅2Re⁡(x†Ah)−N(x)⋅2Re⁡(x†h)D(x)2=2x†x Re⁡(x†Ah−R(x) x†h).\delta\mathcal{R} = \frac{D(x)\cdot 2\operatorname{Re}(x^\dagger A h) - N(x)\cdot 2\operatorname{Re}(x^\dagger h)}{D(x)^2} = \frac{2}{x^\dagger x}\,\operatorname{Re}\Bigl( x^\dagger A h - \mathcal{R}(x)\, x^\dagger h\Bigr) .

Now x†Ah=(Ax)†hx^\dagger A h = (Ax)^\dagger h, again because AA is Hermitian, so with

r=Ax−R(x) xr = A x - \mathcal{R}(x)\,x

the variation is δR=2x†xRe⁡(r†h)\delta\mathcal{R} = \dfrac{2}{x^\dagger x}\operatorname{Re}\bigl(r^\dagger h\bigr).

Step 3: stationarity is the eigenvalue equation. If r=0r = 0 then δR=0\delta\mathcal{R} = 0 for every hh. Conversely, if δR=0\delta\mathcal{R} = 0 for every hh, take h=rh = r: then Re⁡(r†r)=∥r∥2=0\operatorname{Re}(r^\dagger r) = \|r\|^2 = 0, so r=0r = 0. Hence R\mathcal{R} is stationary at xx exactly when Ax=R(x)xAx = \mathcal{R}(x)x, that is exactly when xx is an eigenvector, and then the eigenvalue is R(x)\mathcal{R}(x), which is the stationary value. Conversely any eigenvector Ax=λxAx = \lambda x has R(x)=λ\mathcal{R}(x) = \lambda and r=0r = 0, so it is stationary; the quantifier "for every variation" is essential, since Re⁡(r†h)\operatorname{Re}(r^\dagger h) vanishes for the hh orthogonal to rr however large rr is.

Step 4: the version on the sphere. R\mathcal{R} is unchanged by rescaling, so R(x)=N(x)\mathcal{R}(x) = N(x) whenever ∥x∥=1\|x\| = 1, and δR\delta\mathcal{R} vanishes on the radial variation h=xh = x for every xx: indeed r†x=x†Ax−R(x)x†x=0r^\dagger x = x^\dagger A x - \mathcal{R}(x)x^\dagger x = 0 by the definition of R\mathcal{R}. A variation tangent to the sphere at xx is one with Re⁡(x†h)=0\operatorname{Re}(x^\dagger h) = 0, obtained by differentiating ∥x∥2=1\|x\|^2 = 1; for such hh, step 2 with D(x)=1D(x) = 1 gives

δ(N∣sphere)=2Re⁡(x†Ah)=2Re⁡(r†h)+2R(x)Re⁡(x†h)=2Re⁡(r†h)=δR.\delta\bigl(N|_{\text{sphere}}\bigr) = 2\operatorname{Re}(x^\dagger A h) = 2\operatorname{Re}(r^\dagger h) + 2\mathcal{R}(x)\operatorname{Re}(x^\dagger h) = 2\operatorname{Re}(r^\dagger h) = \delta\mathcal{R} .

So the critical points of NN on the sphere are exactly the unit vectors at which Re⁡(r†h)\operatorname{Re}(r^\dagger h) vanishes for all tangent hh. That is the same as vanishing for all h∈Cnh \in \mathbb{C}^n, because any hh splits as h=ht+cxh = h_{\mathrm{t}} + cx with c=Re⁡(x†h)c = \operatorname{Re}(x^\dagger h) real and ht=h−cxh_{\mathrm{t}} = h - cx tangent — check Re⁡(x†ht)=Re⁡(x†h)−c=0\operatorname{Re}(x^\dagger h_{\mathrm{t}}) = \operatorname{Re}(x^\dagger h) - c = 0 — while Re⁡(r†x)=0\operatorname{Re}(r^\dagger x) = 0 always. Hence it is the same as r=0r = 0. The critical points on the sphere are therefore the normalised eigenvectors, with critical values N(x)=R(x)=λN(x) = \mathcal{R}(x) = \lambda. Riley, Hobson and Bence reach the same conclusion with a Lagrange multiplier imposing x†x=1x^\dagger x = 1, the multiplier turning out to be the eigenvalue. □\square

Method(Courant-Fischer min-max)Original

With AA and the ordering λ1≤⋯≤λn\lambda_1 \le \cdots \le \lambda_n as above, for every k=1,…,nk = 1, \dots, n

λk=min⁡V⊆Cndim⁡V=k max⁡x∈Vx≠0R(x)=max⁡W⊆Cndim⁡W=n−k+1 min⁡x∈Wx≠0R(x),\lambda_k = \min_{\substack{V \subseteq \mathbb{C}^n \\ \dim V = k}} \ \max_{\substack{x \in V \\ x \neq 0}} \mathcal{R}(x) = \max_{\substack{W \subseteq \mathbb{C}^n \\ \dim W = n-k+1}} \ \min_{\substack{x \in W \\ x \neq 0}} \mathcal{R}(x) ,

the inner extrema being attained and the outer ones attained at V=span⁡{u1,…,uk}V = \operatorname{span}\{u_1, \dots, u_k\} and W=span⁡{uk,…,un}W = \operatorname{span}\{u_k, \dots, u_n\} respectively. The cases k=1k = 1 and k=nk = n are the Rayleigh bounds above. Restricting the minimum to a smaller family of subspaces can only raise it, which is what makes this a practical source of upper bounds for λk\lambda_k.

Idea of the proofOriginal

Two inequalities, in opposite directions, pin λk\lambda_k down. One is a calculation: on the particular subspace spanned by the first kk eigenvectors the quotient never exceeds λk\lambda_k and reaches it, so the minimum over all kk-dimensional subspaces is at most λk\lambda_k. The other is a counting argument: any kk-dimensional subspace must meet the (n−k+1)(n-k+1)-dimensional span of the last n−k+1n-k+1 eigenvectors, because their dimensions add to n+1n+1; on that span the quotient is at least λk\lambda_k, so the maximum over any kk-dimensional subspace is at least λk\lambda_k. The max-min formula is the min-max formula read for −A-A.

ProofOriginal

Keep the orthonormal eigenbasis u1,…,unu_1,\dots,u_n with λ1≤⋯≤λn\lambda_1 \le \cdots \le \lambda_n and the weighted-average form R(x)=∑kwkλk\mathcal{R}(x) = \sum_k w_k\lambda_k of the Rayleigh proof. Two consequences of it will be used repeatedly: if x≠0x \neq 0 lies in Vk=span⁡{u1,…,uk}V_k = \operatorname{span}\{u_1,\dots,u_k\} then the weights wjw_j vanish for j>kj > k, so

R(x)=∑j≤kwjλj≤λk;(A)\mathcal{R}(x) = \sum_{j \le k}w_j\lambda_j \le \lambda_k ; \tag{A}

and if x≠0x \neq 0 lies in Wk=span⁡{uk,…,un}W_k = \operatorname{span}\{u_k,\dots,u_n\} then the weights vanish for j<kj < k, so

R(x)=∑j≥kwjλj≥λk.(B)\mathcal{R}(x) = \sum_{j \ge k}w_j\lambda_j \ge \lambda_k . \tag{B}

The inner extrema are attained. Let VV be a subspace with dim⁡V=d≥1\dim V = d \ge 1. R\mathcal{R} is continuous on Cn∖{0}\mathbb{C}^n\setminus\{0\}, the unit sphere ΣV={x∈V:∥x∥=1}\Sigma_V = \{x \in V : \|x\| = 1\} is closed and bounded in the finite-dimensional space VV, hence compact, and R\mathcal{R} is unchanged by rescaling, so the extrema of R\mathcal{R} over the non-zero vectors of VV are the extrema over ΣV\Sigma_V and are attained there.

Upper bound for the min-max. Take V=VkV = V_k, which has dimension kk because the uju_j are independent. By (A), max⁡x∈Vk∖{0}R(x)≤λk\max_{x \in V_k\setminus\{0\}}\mathcal{R}(x) \le \lambda_k, and uk∈Vku_k \in V_k gives R(uk)=λk\mathcal{R}(u_k) = \lambda_k, so the maximum over VkV_k equals λk\lambda_k. Hence the minimum over all kk-dimensional subspaces is at most λk\lambda_k.

Lower bound for the min-max. Let VV be any subspace of dimension kk. Then dim⁡V+dim⁡Wk=k+(n−k+1)=n+1>n\dim V + \dim W_k = k + (n-k+1) = n+1 > n, so by the overlapping-subspaces lemma of the Sylvester proof — whose argument is unchanged over C\mathbb{C} — there is a non-zero y∈V∩Wky \in V \cap W_k. By (B), R(y)≥λk\mathcal{R}(y) \ge \lambda_k, and therefore

max⁡x∈V∖{0}R(x) ≥ R(y) ≥ λk.\max_{x \in V\setminus\{0\}}\mathcal{R}(x) \ \ge\ \mathcal{R}(y)\ \ge\ \lambda_k .

As VV was arbitrary, the minimum over all kk-dimensional subspaces is at least λk\lambda_k. With the previous paragraph it equals λk\lambda_k and is attained at V=VkV = V_k.

The max-min form. Apply what is proved to −A-A, which is Hermitian with eigenvalues −λn≤⋯≤−λ1-\lambda_n \le \cdots \le -\lambda_1, so that the jj-th smallest eigenvalue of −A-A is −λn−j+1-\lambda_{n-j+1}, and with R−A=−RA\mathcal{R}_{-A} = -\mathcal{R}_A. For j=n−k+1j = n-k+1 the min-max formula for −A-A reads

−λk=min⁡dim⁡V=n−k+1 max⁡x∈V∖{0}(−RA(x))=min⁡dim⁡V=n−k+1 (−min⁡x∈V∖{0}RA(x))=−max⁡dim⁡V=n−k+1 min⁡x∈V∖{0}RA(x),-\lambda_{k} = \min_{\dim V = n-k+1}\ \max_{x \in V\setminus\{0\}}\bigl(-\mathcal{R}_A(x)\bigr) = \min_{\dim V = n-k+1}\ \Bigl(-\min_{x \in V\setminus\{0\}}\mathcal{R}_A(x)\Bigr) = -\max_{\dim V = n-k+1}\ \min_{x \in V\setminus\{0\}}\mathcal{R}_A(x) ,

using max⁡(−f)=−min⁡f\max(-f) = -\min f twice. Multiplying by −1-1 gives the stated max-min formula over subspaces WW of dimension n−k+1n-k+1. The optimal subspace transports too: for −A-A the optimum was the span of its first n−k+1n-k+1 eigenvectors, which are un,un−1,…,uku_n, u_{n-1}, \dots, u_k, that is W=span⁡{uk,…,un}W = \operatorname{span}\{u_k,\dots,u_n\}.

The cases k=1k = 1 and k=nk = n. For k=1k = 1 the only 11-dimensional subspaces are the lines Cx\mathbb{C}x, on each of which R\mathcal{R} is constant, so the min-max reduces to min⁡x≠0R(x)=λ1\min_{x \neq 0}\mathcal{R}(x) = \lambda_1; for k=nk = n the only nn-dimensional subspace is Cn\mathbb{C}^n itself and the formula reads max⁡x≠0R(x)=λn\max_{x\neq 0}\mathcal{R}(x) = \lambda_n. These are the Rayleigh bounds.

Why restricting the family gives upper bounds. A minimum over a subfamily of the kk-dimensional subspaces is at least the minimum over all of them, which is λk\lambda_k. So evaluating max⁡x∈VR(x)\max_{x \in V}\mathcal{R}(x) for any single conveniently chosen VV of dimension kk — a span of kk trial vectors, say — delivers a number ≥λk\ge \lambda_k, and equality holds exactly when that VV is optimal. □\square

Method(Analysing a quadratic form)AdaptedAdapted from Riley, Hobson & Bence (2006), §8.17 and §8.17.1, pp. 288-291

Given a form written as xTMxx^{\mathsf T} M x with MM any real square matrix, or as an explicit polynomial such as x12+4x1x2−x22x_1^2 + 4 x_1 x_2 - x_2^2:

  1. Symmetrise. Replace MM by A=12(M+MT)A = \tfrac12 (M + M^{\mathsf T}). From a polynomial, set aiia_{ii} to the coefficient of xi2x_i^2 and aij=ajia_{ij} = a_{ji} to half the coefficient of xixjx_i x_j. Skip this and you will diagonalize the wrong matrix: the form determines only the symmetric part.
  2. If you only need definiteness, apply Sylvester's criterion: compute D1,…,DnD_1, \dots, D_n. All positive means positive definite; alternating from D1<0D_1 < 0 means negative definite. Any other pattern with all Dk≠0D_k \neq 0 means indefinite. If some Dk=0D_k = 0 the criterion is silent — go to step 3.
  3. Otherwise diagonalize. Compute the eigenvalues of AA from det⁡(A−λI)=0\det(A - \lambda I) = 0 for small nn, or with a symmetric eigensolver (numpy.linalg.eigh) for larger nn. The signs of the eigenvalues give the definiteness class, with no exceptional cases; the triple (number positive, number negative, number zero) is the inertia of the form.
  4. For the principal axes, compute an orthonormal eigenbasis, assemble SS with those columns, and read off Q=∑kλkxk′2Q = \sum_k \lambda_k x_k'^2 where x′=STxx' = S^{\mathsf T} x. Order the eigenvalues as you like, but keep the columns of SS in the matching order.
  5. For the geometry of a level set xTAx=cx^{\mathsf T} A x = c with c>0c > 0: first test non-emptiness — the set is non-empty if and only if some λk>0\lambda_k > 0 (for A=diag⁡(−1,−1)A = \operatorname{diag}(-1,-1) and c=1c = 1 it is empty, and there is no geometry to describe). Given that, the axis directions are the uku_k; for each λk>0\lambda_k > 0 the set meets the line Ruk\mathbb{R} u_k at distance (c/λk)1/2(c/\lambda_k)^{1/2} from the origin, and for each λk≤0\lambda_k \le 0 it does not meet that line at all. The set is unbounded precisely when some λk≤0\lambda_k \le 0; it contains, through each of its points, the whole line in the direction uku_k — equivalently, it is invariant under translation along uku_k — precisely when λk=0\lambda_k = 0. These are two different conditions: a hyperbola (A=diag⁡(1,−1)A = \operatorname{diag}(1,-1), c=1c = 1) is unbounded along both of its axis directions while containing no line at all, since no eigenvalue vanishes. When every λk>0\lambda_k > 0 it is an ellipsoid with those semi-axes; otherwise classify it by the counts (p,q,z)(p, q, z) as in "Principal axes" — the set for level cc is the set for level 11 scaled by c1/2c^{1/2}, so every semi-axis is multiplied by c1/2c^{1/2} and the classification is unchanged.
  6. For quick eigenvalue bounds, evaluate R\mathcal{R} at any convenient trial vectors: each value is an upper bound for λ1\lambda_1 and a lower bound for λn\lambda_n, and the bound is good when the trial vector is close to the eigenvector, because R\mathcal{R} is stationary there.

The recipe needs AA Hermitian throughout; steps 2-6 are false without it. For a Hermitian complex AA use x†Axx^\dagger A x, A†A^\dagger and a unitary SS in place of the real transposes.

NoteOriginal

A quadratic form is the second-order part of any smooth function near a critical point, so its definiteness decides whether a potential has a minimum, an equilibrium is stable or an energy is bounded below. Diagonalizing it chooses coordinates in which those questions become nn questions about single numbers.

Remark(Traps)Original

Sylvester's criterion does not test semidefiniteness. A=diag⁡(0,−1)A = \operatorname{diag}(0, -1) has D1=0D_1 = 0 and D2=0D_2 = 0, both ≥0\ge 0, yet AA is not positive semidefinite. Positive semidefiniteness is equivalent to all principal minors (not just the leading ones) being ≥0\ge 0, or simply to all eigenvalues being ≥0\ge 0. For definiteness the leading minors suffice; for semidefiniteness they do not.

A positive determinant is not positive definiteness. diag⁡(−1,−1)\operatorname{diag}(-1, -1) has determinant 11. Only the full chain D1,…,DnD_1, \dots, D_n settles the question.

The equality case needs the whole eigenspace. If λ1\lambda_1 is degenerate, R(x)=λ1\mathcal{R}(x) = \lambda_1 for every non-zero x∈Eλ1x \in E_{\lambda_1}, not only for one eigenvector.

Min-max is over subspaces, not vectors. In the Courant-Fischer formula the outer minimum runs over kk-dimensional subspaces; replacing it by a minimum over vectors would give λ1\lambda_1 for every kk.

Sylvester's criterion for Hermitian AA. Stated above for real symmetric AA, as (Gelfand & Fomin (1963), §30, p. 127) gives it. It holds word for word for Hermitian AA: each leading submatrix A(k)A^{(k)} is itself Hermitian, so Dk=det⁡A(k)D_k = \det A^{(k)} is real, and the criterion reads the same. That extension is not on the cited page, so do not attribute it there.

Conventions: the factor 12\tfrac12 doubles the eigenvalues, it does not halve them. Fix a form QQ. Writing it our way, Q(x)=xTAxQ(x) = x^{\mathsf T} A x, makes AA half the Hessian of QQ. Texts that write Q(x)=12xTA~xQ(x) = \tfrac12 x^{\mathsf T} \tilde A x — common in mechanics and optimisation, so that A~\tilde A is the Hessian — have A~=2A\tilde A = 2A, whose eigenvalues are twice ours. For the polynomial Q=x12+4x1x2−x22Q = x_1^2 + 4x_1x_2 - x_2^2 used to illustrate step 1 of the method, our A=(122−1)A = \begin{pmatrix} 1 & 2 \\ 2 & -1\end{pmatrix} has eigenvalues ±5\pm\sqrt 5, while the Hessian A~=(244−2)\tilde A = \begin{pmatrix} 2 & 4 \\ 4 & -2\end{pmatrix} has ±25\pm 2\sqrt 5. Going the other way — holding the matrix fixed and reading it in the half convention — halves the form and hence the eigenvalues; what the factor does depends on which of the two you hold fixed, so say which. Either way the definiteness class, the inertia and the principal axes are unchanged, since the two matrices differ by a positive scalar; only the numbers λk\lambda_k and therefore the semi-axis lengths λk−1/2\lambda_k^{-1/2} change.

Ordering. Order the eigenvalues increasingly, as here, or decreasingly, as is common in numerical linear algebra — but then the min-max formula swaps its two halves.

Example(A form in three variables, start to finish)Original

Suppose a calculation has produced the form Q(x)=xTMxQ(x) = x^{\mathsf T}Mx with

M=(340−23−3−215),M = \begin{pmatrix} 3 & 4 & 0 \\ -2 & 3 & -3 \\ -2 & 1 & 5\end{pmatrix},

which is not symmetric. Follow the method.

Step 1: symmetrise. A=12(M+MT)A = \tfrac12(M + M^{\mathsf T}) has entries aii=Miia_{ii} = M_{ii} and aij=12(Mij+Mji)a_{ij} = \tfrac12(M_{ij}+M_{ji}):

A=(31−113−1−1−15),Q(x)=3x12+3x22+5x32+2x1x2−2x1x3−2x2x3.A = \begin{pmatrix} 3 & 1 & -1 \\ 1 & 3 & -1 \\ -1 & -1 & 5\end{pmatrix}, \qquad Q(x) = 3x_1^2 + 3x_2^2 + 5x_3^2 + 2x_1x_2 - 2x_1x_3 - 2x_2x_3 .

Reading the polynomial back off AA is the check: the diagonal gives the squares and each off-diagonal entry is half the coefficient of the corresponding cross term, so a12=1a_{12} = 1 goes with 2x1x22x_1x_2.

Step 2: definiteness by Sylvester. The leading principal minors are

D1=3,D2=∣3113∣=8,D3=det⁡A=3(15−1)−1(5−1)+(−1)(−1+3)=42−4−2=36,D_1 = 3, \qquad D_2 = \begin{vmatrix} 3 & 1 \\ 1 & 3\end{vmatrix} = 8, \qquad D_3 = \det A = 3(15-1) - 1(5-1) + (-1)(-1+3) = 42 - 4 - 2 = 36 ,

all positive, so AA is positive definite. In particular Q(x)>0Q(x) > 0 for every x≠0x \neq 0, and the level set Q=1Q = 1 will be an ellipsoid.

Step 3: the eigenvalues and eigenvectors. The characteristic polynomial is

det⁡(A−λI)=−λ3+11λ2−36λ+36=−(λ−2)(λ−3)(λ−6),\det(A - \lambda I) = -\lambda^3 + 11\lambda^2 - 36\lambda + 36 = -(\lambda-2)(\lambda-3)(\lambda-6),

whose coefficients check against tr⁡A=11=2+3+6\operatorname{tr}A = 11 = 2+3+6 and det⁡A=36=2⋅3⋅6\det A = 36 = 2\cdot 3\cdot 6. Solving (A−λI)x=0(A-\lambda I)x = 0 for each root,

λ1=2: u1=12(1,−1,0)T,λ2=3: u2=13(1,1,1)T,λ3=6: u3=16(1,1,−2)T,\lambda_1 = 2:\ u_1 = \tfrac{1}{\sqrt2}(1,-1,0)^{\mathsf T}, \qquad \lambda_2 = 3:\ u_2 = \tfrac{1}{\sqrt3}(1,1,1)^{\mathsf T}, \qquad \lambda_3 = 6:\ u_3 = \tfrac{1}{\sqrt6}(1,1,-2)^{\mathsf T},

each verified directly: A(1,−1,0)T=(2,−2,0)TA(1,-1,0)^{\mathsf T} = (2,-2,0)^{\mathsf T}, A(1,1,1)T=(3,3,3)TA(1,1,1)^{\mathsf T} = (3,3,3)^{\mathsf T}, A(1,1,−2)T=(6,6,−12)TA(1,1,-2)^{\mathsf T} = (6,6,-12)^{\mathsf T}. The three are mutually orthogonal, as the spectral theorem requires for distinct eigenvalues, and all positive, confirming step 2 independently.

Step 4: the principal axes. With S=(u1 u2 u3)S = (u_1\ u_2\ u_3) and x′=STxx' = S^{\mathsf T}x,

Q=2x1′2+3x2′2+6x3′2,x1′=x1−x22,x2′=x1+x2+x33,x3′=x1+x2−2x36.Q = 2x_1'^2 + 3x_2'^2 + 6x_3'^2 , \qquad x_1' = \tfrac{x_1-x_2}{\sqrt2}, \quad x_2' = \tfrac{x_1+x_2+x_3}{\sqrt3}, \quad x_3' = \tfrac{x_1+x_2-2x_3}{\sqrt6} .

Step 5: the level set Q=1Q = 1. The inertia is (p,q,z)=(3,0,0)(p,q,z) = (3,0,0), so this is an ellipsoid, with semi-axes

λ1−1/2=12≈0.7071 along u1,13≈0.5774 along u2,16≈0.4082 along u3.\lambda_1^{-1/2} = \tfrac{1}{\sqrt2} \approx 0.7071 \text{ along } u_1, \quad \tfrac{1}{\sqrt3} \approx 0.5774 \text{ along } u_2, \quad \tfrac{1}{\sqrt6} \approx 0.4082 \text{ along } u_3 .

A spot check on the first: the point u1/2=(1,−1,0)T/2u_1/\sqrt2 = (1,-1,0)^{\mathsf T}/2 has Q=14(3+3−2)=1Q = \tfrac14(3 + 3 - 2) = 1, and its distance from the origin is 2/2=1/2\sqrt{2}/2 = 1/\sqrt2. For the level Q=4Q = 4 every semi-axis is multiplied by 4=2\sqrt4 = 2.

Step 6: Rayleigh bounds from trial vectors. Every trial vector gives 2≤R(x)≤62 \le \mathcal{R}(x) \le 6. With x=(2,−1,0)Tx = (2,-1,0)^{\mathsf T}, a rough guess at u1u_1,

R(x)=3⋅4+3⋅1+2⋅2⋅(−1)4+1=12+3−45=115=2.2,\mathcal{R}(x) = \frac{3\cdot 4 + 3\cdot 1 + 2\cdot 2\cdot(-1)}{4 + 1} = \frac{12 + 3 - 4}{5} = \frac{11}{5} = 2.2 ,

an upper bound for λ1=2\lambda_1 = 2, high by 10%10\% although the trial vector points 18.4∘18.4^\circ away from u1u_1. Stationarity sharpens this: perturbing the true eigenvector to x=(1,−1,δ)Tx = (1,-1,\delta)^{\mathsf T} gives

R(x)=4+5δ22+δ2=2+32δ2+O(δ4),\mathcal{R}(x) = \frac{4 + 5\delta^2}{2+\delta^2} = 2 + \tfrac32\delta^2 + O(\delta^4),

so at δ=0.1\delta = 0.1 — a 7%7\% tilt of the vector — the quotient is 135/67=2.01493135/67 = 2.01493, high by only 0.75%0.75\%. The error in the eigenvalue is quadratic in the error of the eigenvector, which is exactly the content of the stationarity statement and the reason trial-vector bounds are useful.

Step 7: Courant–Fischer for the middle eigenvalue. Take the 22-dimensional trial subspace V=span⁡{e1,e2}V = \operatorname{span}\{e_1, e_2\}. For x∈Vx \in V the quotient is the Rayleigh quotient of the block A(2)=(3113)A^{(2)} = \begin{pmatrix} 3&1\\1&3\end{pmatrix}, whose eigenvalues are 22 and 44, so

max⁡x∈V∖{0}R(x)=4 ≥ λ2=3,\max_{x \in V\setminus\{0\}}\mathcal{R}(x) = 4 \ \ge\ \lambda_2 = 3 ,

an upper bound for λ2\lambda_2 from a subspace chosen without any eigenvector information. The optimal choice V=span⁡{u1,u2}V = \operatorname{span}\{u_1,u_2\} does give 33: in the orthonormal basis {u1,u2}\{u_1,u_2\} of that plane, AA is represented by diag⁡(2,3)\operatorname{diag}(2,3), whose largest eigenvalue is 33.

Step 8: a one-entry change makes it indefinite. Replace the entry a33=5a_{33} = 5 by 00, i.e. drop the 5x325x_3^2 term. Now D1=3D_1 = 3, D2=8D_2 = 8 and

D3=3(0−1)−1(0−1)+(−1)(−1+3)=−3+1−2=−4,D_3 = 3(0-1) - 1(0-1) + (-1)(-1+3) = -3 + 1 - 2 = -4 ,

so the pattern is (+,+,−)(+,+,-) with no zero: by step 2 of the method the form is indefinite, and Sylvester tells us so without any eigenvalue computation. For confirmation, the characteristic polynomial is −(λ−2)(λ2−4λ−2)-(\lambda-2)(\lambda^2-4\lambda-2), with roots 22 and 2±6≈4.4495, −0.44952 \pm \sqrt6 \approx 4.4495,\ -0.4495 — inertia (2,1,0)(2,1,0). The level set is then a hyperboloid, unbounded along uu for the negative eigenvalue, and QQ takes both signs: Q(e3)=0Q(e_3) = 0 for the modified form while Q(0,0,1)Q(0,0,1) was 55 before, and Q(1,1,1)=3+3+0+2−2−2=4>0Q(1,1,1) = 3+3+0+2-2-2 = 4 > 0 while Q(1,1,3)=3+3+0+2−6−6=−4<0Q(1,1,3) = 3+3+0+2-6-6 = -4 < 0.

ApplicationOriginal

The second-derivative test, and why stability is an eigenvalue question. Let ff be twice continuously differentiable near a critical point aa, so ∇f(a)=0\nabla f(a) = 0. Taylor's theorem gives

f(a+h)=f(a)+12 hTHh+o(∥h∥2),Hij=∂2f∂xi∂xj(a),f(a + h) = f(a) + \tfrac12\, h^{\mathsf T} H h + o(\|h\|^2), \qquad H_{ij} = \frac{\partial^2 f}{\partial x_i \partial x_j}(a),

and HH is symmetric, so the leading behaviour near aa is governed by a quadratic form and this unit settles it: HH positive definite makes aa a strict local minimum, HH negative definite a strict local maximum, and HH indefinite a saddle, with directions of increase and decrease given by eigenvectors for eigenvalues of either sign. Sylvester's criterion is what one actually computes, since it needs only nn determinants rather than the full spectrum; for n=2n = 2 it is the familiar test fxx>0f_{xx} > 0 and fxxfyy−fxy2>0f_{xx}f_{yy} - f_{xy}^2 > 0. In mechanics the same statement is the stability of an equilibrium: with ff the potential energy, positive definiteness of HH is the condition for a restoring force in every direction, and the eigenvalues of HH (divided by the masses) are the squared frequencies of the small oscillations about it — see normal modes. A semidefinite HH leaves the question open at second order, which is where the trap about Sylvester's criterion and semidefiniteness bites: f(x,y)=x2+y3f(x,y) = x^2 + y^3 and f(x,y)=x2+y4f(x,y) = x^2 + y^4 have the same Hessian at the origin and only the second has a minimum there.

Rayleigh–Ritz: a variational upper bound on a ground-state energy. In quantum mechanics the energy levels of a system are the eigenvalues λ1≤λ2≤⋯\lambda_1 \le \lambda_2 \le \cdots of a Hermitian Hamiltonian, and the Rayleigh bound says the ground-state energy is

λ1=min⁡ψ≠0ψ†Hψψ†ψ.\lambda_1 = \min_{\psi \neq 0} \frac{\psi^\dagger H \psi}{\psi^\dagger \psi} .

So any trial state gives an upper bound on the ground-state energy — never an underestimate, which is what makes the method trustworthy — and because the quotient is stationary at the true eigenvector, a trial state wrong by a relative error ε\varepsilon gives an energy wrong only by order ε2\varepsilon^2. That is the whole of the variational method: pick a family of trial states depending on parameters, minimise the quotient over the parameters, and report the result as an upper bound. Courant–Fischer extends it to excited states: taking a kk-dimensional trial space and computing the largest eigenvalue of the k×kk \times k matrix of HH restricted to it gives an upper bound for λk\lambda_k, which is exactly what step 7 of the example does with k=2k = 2. Enlarging the trial space can only lower each bound, and this is why the method converges as the basis is refined. The same mathematics appears as Rayleigh's method for the fundamental frequency of a vibrating structure and as the finite element method for eigenvalue problems.

Principal axes of a physical tensor. Many physical quantities are symmetric matrices whose quadratic form has a direct meaning, and diagonalizing them is the first step of every calculation. The inertia tensor II of a rigid body has ωTIω=2T\omega^{\mathsf T}I\omega = 2T twice the rotational kinetic energy; it is positive definite for a genuine three-dimensional body, so its eigenvectors are the three mutually perpendicular principal axes about which rotation produces no wobble, its eigenvalues the principal moments, and the level set ωTIω=1\omega^{\mathsf T}I\omega = 1 is the ellipsoid of inertia with semi-axes Ik−1/2I_k^{-1/2}. The Cauchy stress tensor is symmetric, and its eigenvalues are the principal stresses with eigenvectors the directions of pure tension or compression — a negative eigenvalue is compression, so the inertia of the form is the statement of what kind of loading the material is under. The strain tensor, the electric susceptibility of an anisotropic crystal and the diffusion tensor of an anisotropic medium all work the same way: the eigenvectors give the material's own axes, and the numbers one quotes are the eigenvalues.

Application

Generalized eigenproblems and normal modes

Adapted

States the spectral theory of the pencil Ax = lambda Bx for Hermitian A and positive definite B, and applies it to the small oscillations of a conservative system, whose normal frequencies and normal modes are the eigenvalues and B-orthonormal eigenvectors of the pencil formed by the potential and kinetic energy matrices.

Prerequisites: Quadratic forms and the Rayleigh quotient, Spectral theorem for Hermitian matrices, Determinants, Unitary and orthogonal matrices, Orthonormal bases and Gram-Schmidt, Inner products and norms

Definition(The generalized eigenvalue problem)AdaptedAdapted from Riley, Hobson & Bence (2006), §9.1, Eqs (9.9)-(9.10), p. 319

Let AA and BB be Hermitian n×nn \times n matrices with BB positive definite. A number λ∈C\lambda \in \mathbb{C} is an eigenvalue of the pencil (A,B)(A, B) if

Ax=λBxfor some x≠0,A x = \lambda B x \qquad \text{for some } x \neq 0 ,

and such an xx is a corresponding eigenvector. The equation Ax=λBxA x = \lambda B x has a non-zero solution exactly when A−λBA - \lambda B is singular, that is exactly when

det⁡(A−λB)=0,\det(A - \lambda B) = 0 ,

the characteristic equation of the pencil. That equivalence is just the singularity criterion and needs nothing of BB; what invertibility of BB contributes is that the left-hand side is a polynomial in λ\lambda of degree exactly nn, so that the pencil has nn eigenvalues and not fewer (part 1 of the next statement). Two vectors x,yx, y are BB-orthogonal if y†Bx=0y^\dagger B x = 0; because BB is Hermitian positive definite, (x,y)B=y†Bx(x, y)_B = y^\dagger B x is an inner product on Cn\mathbb{C}^n, and BB-orthogonality is orthogonality in it. Taking B=IB = I recovers the ordinary eigenproblem.

Application(Spectral theorem for a definite pencil)Original

Let AA be Hermitian and BB Hermitian positive definite, both n×nn \times n. Then:

  1. det⁡(A−λB)\det(A - \lambda B) is a polynomial in λ\lambda of degree exactly nn, with leading coefficient (−1)ndet⁡B≠0(-1)^n \det B \neq 0; so the pencil has exactly nn eigenvalues counted with multiplicity, and all of them are real.
  2. There is a basis x1,…,xnx^1, \dots, x^n of Cn\mathbb{C}^n with
Axk=λkBxk,(xj)†B xk=δjk,(xj)†A xk=λkδjk.A x^k = \lambda_k B x^k , \qquad (x^j)^\dagger B\, x^k = \delta_{jk} , \qquad (x^j)^\dagger A\, x^k = \lambda_k \delta_{jk} .

The eigenvectors are thus simultaneously BB-orthonormal and AA-orthogonal. If AA and BB are real symmetric, the xkx^k may be taken real. 3. The problem is equivalent to an ordinary Hermitian eigenproblem: with B1/2B^{1/2} the Hermitian positive definite square root of BB, the matrix C=B−1/2AB−1/2C = B^{-1/2} A B^{-1/2} is Hermitian, and Ax=λBxA x = \lambda B x holds if and only if Cy=λyC y = \lambda y with y=B1/2xy = B^{1/2} x. In particular the pencil and CC have the same eigenvalues with the same multiplicities, and x↦B1/2xx \mapsto B^{1/2}x carries a BB-orthonormal eigenbasis of the pencil to an orthonormal eigenbasis of CC. (A Cholesky factor B=LL†B = L L^\dagger serves equally well, with C=L−1AL−†C = L^{-1} A L^{-\dagger}.) 4. Quotient bounds. With λ1≤⋯≤λn\lambda_1 \le \cdots \le \lambda_n,

λ1≤x†Axx†Bx≤λnfor every x≠0,\lambda_1 \le \frac{x^\dagger A x}{x^\dagger B x} \le \lambda_n \qquad \text{for every } x \neq 0 ,

both bounds attained, and the quotient is stationary at xx exactly when xx is an eigenvector of the pencil, with stationary value the corresponding eigenvalue. AA is positive definite if and only if every λk>0\lambda_k > 0, and positive semidefinite if and only if every λk≥0\lambda_k \ge 0.

Idea of the proofOriginal

A positive definite BB has a positive definite square root, so the substitution y=B1/2xy = B^{1/2}x is available and it is invertible. Under it the pencil equation Ax=λBxAx = \lambda Bx becomes the ordinary eigenvalue equation Cy=λyCy = \lambda y for the Hermitian matrix C=B−1/2AB−1/2C = B^{-1/2}AB^{-1/2}, and the BB-inner product (u,v)B=v†Bu(u,v)_B = v^\dagger B u becomes the ordinary one, since (u,v)B=(B1/2v)†(B1/2u)(u,v)_B = (B^{1/2}v)^\dagger(B^{1/2}u). So the whole theorem — reality of the spectrum, the count, the double orthogonality, the quotient bounds — is the Hermitian spectral theorem and the Rayleigh bounds transported through one change of variable. Definiteness of BB is what makes the square root, and hence the whole argument, exist; mere invertibility is not enough.

ProofOriginal

Step 1: the square root. BB is Hermitian, so by the spectral theorem B=VΔV†B = V\Delta V^\dagger with VV unitary and Δ=diag⁡(β1,…,βn)\Delta = \operatorname{diag}(\beta_1,\dots,\beta_n) real; BB is positive definite, so by the eigenvalue test of Quadratic forms and the Rayleigh quotient every βk>0\beta_k > 0. Define

B1/2=V diag⁡(β1,…,βn) V†.B^{1/2} = V\,\operatorname{diag}\bigl(\sqrt{\beta_1},\dots,\sqrt{\beta_n}\bigr)\,V^\dagger .

It is Hermitian, its eigenvalues βk\sqrt{\beta_k} are positive so it is positive definite, (B1/2)2=VΔV†=B(B^{1/2})^2 = V\Delta V^\dagger = B, and it is invertible with B−1/2=Vdiag⁡(βk−1/2)V†B^{-1/2} = V\operatorname{diag}(\beta_k^{-1/2})V^\dagger, also Hermitian. It is the only Hermitian positive definite square root: if XX is one, then XX has an orthonormal eigenbasis with positive eigenvalues γ\gamma, and X2=BX^2 = B makes each such eigenvector an eigenvector of BB with eigenvalue γ2\gamma^2; since t↦t2t \mapsto t^2 is injective on the positive reals, XX must act as β\sqrt\beta on the eigenspace Eβ(B)E_\beta(B) for every β\beta, which determines XX completely.

Step 2: part 3, the reduction. Put C=B−1/2AB−1/2C = B^{-1/2}AB^{-1/2}. It is Hermitian, since B−1/2B^{-1/2} and AA are: C†=B−1/2A†B−1/2=CC^\dagger = B^{-1/2}A^\dagger B^{-1/2} = C. Because B1/2CB1/2=AB^{1/2}CB^{1/2} = A and B1/2(λI)B1/2=λBB^{1/2}(\lambda I)B^{1/2} = \lambda B,

A−λB=B1/2 (C−λI) B1/2.(∗)A - \lambda B = B^{1/2}\,(C - \lambda I)\,B^{1/2} . \tag{$\ast$}

Hence, with y=B1/2xy = B^{1/2}x — a bijection of Cn\mathbb{C}^n carrying 00 to 00 and nothing else there —

Ax=λBx  ⟺  B1/2(C−λI)B1/2x=0  ⟺  (C−λI)y=0  ⟺  Cy=λy,A x = \lambda B x \iff B^{1/2}(C-\lambda I)B^{1/2}x = 0 \iff (C - \lambda I)y = 0 \iff Cy = \lambda y ,

the middle step because B1/2B^{1/2} is invertible. For the Cholesky variant, if B=LL†B = LL^\dagger with LL invertible then A−λB=L(L−1AL−†−λI)L†A - \lambda B = L(L^{-1}AL^{-\dagger} - \lambda I)L^\dagger by the same algebra, and C′=L−1AL−†C' = L^{-1}AL^{-\dagger} is Hermitian; everything below goes through with L†L^\dagger in place of B1/2B^{1/2}.

Step 3: part 1. Taking determinants in (∗)(\ast) and using multiplicativity (Determinants),

det⁡(A−λB)=(det⁡B1/2)2det⁡(C−λI)=det⁡B⋅det⁡(C−λI),\det(A - \lambda B) = \bigl(\det B^{1/2}\bigr)^2\det(C-\lambda I) = \det B \cdot \det(C - \lambda I),

the last equality because det⁡B1/2det⁡B1/2=det⁡((B1/2)2)=det⁡B\det B^{1/2}\det B^{1/2} = \det\bigl((B^{1/2})^2\bigr) = \det B. Now det⁡(C−λI)\det(C-\lambda I) is a polynomial in λ\lambda of degree nn with leading coefficient (−1)n(-1)^n, so det⁡(A−λB)\det(A-\lambda B) is a polynomial of degree exactly nn with leading coefficient (−1)ndet⁡B(-1)^n\det B, which is non-zero because BB is positive definite and hence det⁡B>0\det B > 0. A polynomial of degree nn over C\mathbb{C} has exactly nn roots with multiplicity, and by step 2 those roots are the eigenvalues of the pencil; they are the eigenvalues of the Hermitian matrix CC, with the same multiplicities, hence all real.

Step 4: part 2. By the spectral theorem CC has an orthonormal eigenbasis y1,…,yny^1,\dots,y^n, Cyk=λkykCy^k = \lambda_ky^k. Put xk=B−1/2ykx^k = B^{-1/2}y^k. These are a basis of Cn\mathbb{C}^n, being the images of a basis under an invertible matrix, and by step 2 they satisfy Axk=λkBxkAx^k = \lambda_kBx^k. Moreover, using that B−1/2B^{-1/2} is Hermitian,

(xj)†B xk=(yj)†B−1/2BB−1/2yk=(yj)†yk=δjk,(x^j)^\dagger B\, x^k = (y^j)^\dagger B^{-1/2}B B^{-1/2} y^k = (y^j)^\dagger y^k = \delta_{jk},(xj)†A xk=(yj)†B−1/2AB−1/2yk=(yj)†C yk=λk(yj)†yk=λkδjk.(x^j)^\dagger A\, x^k = (y^j)^\dagger B^{-1/2}A B^{-1/2} y^k = (y^j)^\dagger C\, y^k = \lambda_k (y^j)^\dagger y^k = \lambda_k\delta_{jk} .

So the xkx^k are BB-orthonormal and AA-orthogonal at once. If AA and BB are real symmetric, then VV may be taken real orthogonal (part 6 of the spectral theorem), hence B±1/2B^{\pm 1/2} and CC are real symmetric, the yky^k may be taken real, and so may the xkx^k.

Step 5: part 4, the bounds. For x≠0x \neq 0 put y=B1/2x≠0y = B^{1/2}x \neq 0. Then

x†Ax=y†B−1/2AB−1/2y=y†Cy,x†Bx=y†B−1/2BB−1/2y=y†y,x^\dagger A x = y^\dagger B^{-1/2}AB^{-1/2}y = y^\dagger C y , \qquad x^\dagger B x = y^\dagger B^{-1/2}BB^{-1/2}y = y^\dagger y ,

so the generalized quotient at xx equals the ordinary Rayleigh quotient RC(y)\mathcal{R}_C(y). The denominator x†Bx=∥y∥2x^\dagger Bx = \|y\|^2 is positive for x≠0x \neq 0, which is where positive definiteness of BB is needed to make the quotient defined at all. The Rayleigh bounds of Quadratic forms and the Rayleigh quotient now give λ1≤RC(y)≤λn\lambda_1 \le \mathcal{R}_C(y) \le \lambda_n with both bounds attained, at y=y1y = y^1 and y=yny = y^n, that is at x=x1x = x^1 and x=xnx = x^n.

Step 6: part 4, stationarity and definiteness. The map x↦y=B1/2xx \mapsto y = B^{1/2}x is a linear bijection, so for any variation hh at xx the corresponding variation at yy is B1/2hB^{1/2}h, and h↦B1/2hh \mapsto B^{1/2}h runs over all of Cn\mathbb{C}^n as hh does. Hence the first variation of the generalized quotient vanishes for every hh exactly when the first variation of RC\mathcal{R}_C vanishes for every variation at yy, which by the stationary-value statement of Quadratic forms and the Rayleigh quotient happens exactly when Cy=RC(y) yCy = \mathcal{R}_C(y)\,y, that is exactly when xx is an eigenvector of the pencil, with the stationary value its eigenvalue. Finally, the first display of step 5 shows that x†Axx^\dagger Ax is positive at every non-zero xx exactly when y†Cyy^\dagger Cy is positive at every non-zero yy, since x↦yx \mapsto y is a bijection fixing only 00; and by the eigenvalue test that holds exactly when every eigenvalue of CC — that is, every λk\lambda_k — is positive. The same sentence with ≥\ge gives the semidefinite case. □\square

Definition(Small oscillations)AdaptedAdapted from Riley, Hobson & Bence (2006), Ch. 9 introduction, Eqs (9.1)-(9.2), pp. 316-317, and §9.1, Eq. (9.7), p. 318

Let a conservative system be described by generalized coordinates q=(q1,…,qn)Tq = (q_1, \dots, q_n)^{\mathsf T}, chosen to vanish at an equilibrium configuration, with a potential V(q)V(q) that does not depend on the velocities and with V(0)=0V(0) = 0. For small qq and q˙\dot q the kinetic and potential energies are quadratic forms

T=12 q˙TM q˙,V=12 qTKq+O(∥q∥3),T = \tfrac12\, \dot q^{\mathsf T} M\, \dot q , \qquad V = \tfrac12\, q^{\mathsf T} K q + O(\|q\|^3) ,

where MM and KK are constant real symmetric n×nn \times n matrices, Kij=∂2V(0)/∂qi∂qjK_{ij} = \partial^2 V(0)/\partial q_i \partial q_j the Hessian of VV at the equilibrium, and the linear term is absent because ∂V(0)/∂qi=0\partial V(0)/\partial q_i = 0 at an equilibrium. MM is the mass or kinetic-energy matrix and is positive definite, since T>0T > 0 whenever q˙≠0\dot q \neq 0; KK is the stiffness or potential-energy matrix. Keeping only these quadratic terms, Lagrange's equations ddt∂T∂q˙i−∂T∂qi+∂V∂qi=0\frac{d}{dt}\frac{\partial T}{\partial \dot q_i} - \frac{\partial T}{\partial q_i} + \frac{\partial V}{\partial q_i} = 0 give the linear system

Mq¨+Kq=0.M \ddot q + K q = 0 .

This is Eq. (9.7) of Riley, Hobson and Bence, who reach it instead from conservation of energy, ddt(T+V)=0\frac{d}{dt}(T + V) = 0, and defer the Lagrangian derivation to their chapter 22; the route through Lagrange's equations used here is ours.

The middle term disappears because MM has been frozen at its equilibrium value: in general T=12q˙TM(q)q˙T = \tfrac12 \dot q^{\mathsf T} M(q) \dot q, so that

∂T∂qi=12 q˙T(∂iM(q))q˙,\frac{\partial T}{\partial q_i} = \tfrac12\, \dot q^{\mathsf T} \bigl(\partial_i M(q)\bigr) \dot q ,

which carries two factors of q˙\dot q and, since ∂iM(0)\partial_i M(0) need not vanish, no factor of qq: it is of second order in the small quantities q,q˙q, \dot q, one order beyond the first-order terms Mq¨M\ddot q and KqKq that are kept, and is therefore dropped in the linearization, so that only ddt(Mq˙)=Mq¨\frac{d}{dt}(M\dot q) = M\ddot q survives from the kinetic part. Counted in the energies rather than in the equations of motion, the same statement is that the neglected part of TT itself, 12q˙T(M(q)−M(0))q˙=O(∥q∥ ∥q˙∥2)\tfrac12 \dot q^{\mathsf T}\bigl(M(q) - M(0)\bigr)\dot q = O(\|q\|\,\|\dot q\|^2), is third order against the second-order forms kept. (The example below has exactly such a qq-dependent TT, through a factor cos⁡(q1−q2)\cos(q_1 - q_2), which step 1 there evaluates at q=0q = 0; because that factor is even in q1−q2q_1 - q_2 it is the special case ∂iM(0)=0\partial_i M(0) = 0, in which ∂T/∂qi\partial T/\partial q_i is third order and not merely second.) The displayed system is the equation of motion of the system linearized about the equilibrium; everything below is a statement about it, not about the exact nonlinear motion.

Application(Normal frequencies and normal modes)AdaptedAdapted from Riley, Hobson & Bence (2006), §9.1, Eqs (9.8)-(9.13), pp. 318-321 and §9.3, Eqs (9.16), (9.19), pp. 327-328

With M,KM, K as above, substituting q(t)=x e−iωtq(t) = x\, e^{-i\omega t} (or xcos⁡ωtx \cos \omega t) into Mq¨+Kq=0M \ddot q + K q = 0 gives

(K−ω2M) x=0,(K - \omega^2 M)\, x = 0 ,

the pencil (K,M)(K, M) with λ=ω2\lambda = \omega^2. By the previous statement there are nn real values λ1≤⋯≤λn\lambda_1 \le \cdots \le \lambda_n and real MM-orthonormal vectors x1,…,xnx^1, \dots, x^n with Kxk=λkMxkK x^k = \lambda_k M x^k. Then:

  1. The normal coordinates ηk(t)=(xk)TMq(t)\eta_k(t) = (x^k)^{\mathsf T} M q(t) satisfy the uncoupled normal equations
η¨k+λkηk=0,k=1,…,n,\ddot\eta_k + \lambda_k \eta_k = 0, \qquad k = 1, \dots, n ,

and q(t)=∑kηk(t) xkq(t) = \sum_k \eta_k(t)\, x^k. In these coordinates T=12∑kη˙k2T = \tfrac12 \sum_k \dot\eta_k^2 and V=12∑kλkηk2V = \tfrac12 \sum_k \lambda_k \eta_k^2. 2. Hence every solution is

q(t)=∑k(akcos⁡ωkt+bksin⁡ωkt)xkover the k with λk=ωk2>0,q(t) = \sum_{k} \bigl(a_k \cos \omega_k t + b_k \sin \omega_k t\bigr) x^k \quad \text{over the } k \text{ with } \lambda_k = \omega_k^2 > 0 ,

plus a term (ak+bkt) xk(a_k + b_k t)\, x^k for each kk with λk=0\lambda_k = 0 and a term (akeγkt+bke−γkt)xk(a_k e^{\gamma_k t} + b_k e^{-\gamma_k t}) x^k with γk=−λk\gamma_k = \sqrt{-\lambda_k} for each kk with λk<0\lambda_k < 0. The positive ωk=λk\omega_k = \sqrt{\lambda_k} are the normal frequencies (eigenfrequencies) and the motions q(t)=ηk(t)xkq(t) = \eta_k(t) x^k are the normal modes. 3. Every solution is bounded for all tt, for every choice of initial data, if and only if every λk>0\lambda_k > 0, i.e. if and only if KK is positive definite; this is the case when the equilibrium is a strict local minimum of VV to second order. A negative λk\lambda_k gives exponential growth along xkx^k (unstable equilibrium), and a zero λk\lambda_k gives a drift linear in tt along xkx^k. 4. Orthogonality and bounds. (xj)TMxk=δjk(x^j)^{\mathsf T} M x^k = \delta_{jk} and (xj)TKxk=λkδjk(x^j)^{\mathsf T} K x^k = \lambda_k \delta_{jk}: modes of distinct frequencies are orthogonal with respect to both energies, and within a degenerate eigenspace the basis can be chosen so that the two displayed relations hold for every j≠kj \neq k as well, degenerate or not — that is what part 2 of the pencil theorem delivers and what step 5 of the method below constructs. In neither case are the modes in general orthogonal with respect to the plain dot product (xj)Txk(x^j)^{\mathsf T} x^k. For any trial vector x≠0x \neq 0,

λ1≤xTKxxTMx≤λn,\lambda_1 \le \frac{x^{\mathsf T} K x}{x^{\mathsf T} M x} \le \lambda_n ,

with λ1=ω12\lambda_1 = \omega_1^2 and λn=ωn2\lambda_n = \omega_n^2 whenever those eigenvalues are positive — parts 2 and 3 allow λk≤0\lambda_k \le 0, and no frequency ωk\omega_k is defined for such a kk. So at a stable equilibrium a guessed mode shape gives an upper bound for the lowest frequency and a lower bound for the highest.

Idea of the proofOriginal

Everything follows from the one change of variables ηk=(xk)TMq\eta_k = (x^k)^{\mathsf T}Mq, which reads off the amount of the kk-th mode present in the configuration qq. Because the modes are MM-orthonormal, this change of variables inverts itself as q=∑kηkxkq = \sum_k\eta_kx^k; and because they are also KK-orthogonal, applying it to Mq¨+Kq=0M\ddot q + Kq = 0 kills every cross term and leaves nn separate equations η¨k+λkηk=0\ddot\eta_k + \lambda_k\eta_k = 0. A single scalar equation of that form is the harmonic oscillator, whose solution everyone knows and whose character depends on the sign of λk\lambda_k alone: oscillation, drift, or exponential growth. So the behaviour of the whole coupled system is read off from nn signs.

ProofAdaptedAdapted from Riley, Hobson & Bence (2006), §9.1, Eqs (9.8)-(9.13), pp. 318-321

The eigenvalue problem. Substituting q(t)=x e−iωtq(t) = x\,e^{-i\omega t} into Mq¨+Kq=0M\ddot q + Kq = 0 and using q¨=−ω2x e−iωt\ddot q = -\omega^2 x\,e^{-i\omega t} gives (−ω2M+K)x e−iωt=0(-\omega^2M + K)x\,e^{-i\omega t} = 0; the scalar factor never vanishes, so (K−ω2M)x=0(K - \omega^2 M)x = 0. With λ=ω2\lambda = \omega^2 this is the pencil (K,M)(K,M), and MM is positive definite by hypothesis while both are real symmetric, so the previous statement applies: there are nn real λ1≤⋯≤λn\lambda_1 \le \cdots \le \lambda_n and real MM-orthonormal x1,…,xnx^1,\dots,x^n with Kxk=λkMxkKx^k = \lambda_kMx^k, (xj)TMxk=δjk(x^j)^{\mathsf T}Mx^k = \delta_{jk} and (xj)TKxk=λkδjk(x^j)^{\mathsf T}Kx^k = \lambda_k\delta_{jk}. The trial form xcos⁡ωtx\cos\omega t leads to the same equation, since it too has q¨=−ω2q\ddot q = -\omega^2 q.

Part 1, the change of variables inverts itself. The xkx^k are a basis, so any qq can be written q=∑kckxkq = \sum_k c_kx^k; then

(xj)TMq=∑kck (xj)TMxk=∑kckδjk=cj,(x^j)^{\mathsf T}Mq = \sum_k c_k\,(x^j)^{\mathsf T}Mx^k = \sum_k c_k\delta_{jk} = c_j ,

using MM-orthonormality. So cj=ηjc_j = \eta_j and q(t)=∑kηk(t) xkq(t) = \sum_k\eta_k(t)\,x^k, as claimed. This is the only place the normalisation (xk)TMxk=1(x^k)^{\mathsf T}Mx^k = 1 is used; with a different normalisation the formula would carry a factor.

Part 1, the normal equations. Differentiating ηk=(xk)TMq\eta_k = (x^k)^{\mathsf T}Mq twice in tt — the xkx^k and MM are constant — and then using the equation of motion in the form Mq¨=−KqM\ddot q = -Kq,

η¨k=(xk)TMq¨=−(xk)TKq=−∑jηj (xk)TKxj=−λkηk,\ddot\eta_k = (x^k)^{\mathsf T}M\ddot q = -(x^k)^{\mathsf T}Kq = -\sum_j \eta_j\,(x^k)^{\mathsf T}Kx^j = -\lambda_k\eta_k ,

the last step by KK-orthogonality, which is what removes every term but j=kj = k. So η¨k+λkηk=0\ddot\eta_k + \lambda_k\eta_k = 0, and the nn equations are uncoupled.

Part 1, the energies. Substituting q=∑kηkxkq = \sum_k\eta_kx^k and q˙=∑kη˙kxk\dot q = \sum_k\dot\eta_kx^k,

T=12q˙TMq˙=12∑j,kη˙jη˙k (xj)TMxk=12∑kη˙k2,V=12qTKq=12∑j,kηjηk (xj)TKxk=12∑kλkηk2,T = \tfrac12\dot q^{\mathsf T}M\dot q = \tfrac12\sum_{j,k}\dot\eta_j\dot\eta_k\,(x^j)^{\mathsf T}Mx^k = \tfrac12\sum_k\dot\eta_k^2 , \qquad V = \tfrac12 q^{\mathsf T}Kq = \tfrac12\sum_{j,k}\eta_j\eta_k\,(x^j)^{\mathsf T}Kx^k = \tfrac12\sum_k\lambda_k\eta_k^2 ,

where in the second computation the double sum collapses by KK-orthogonality to the terms j=kj = k, each contributing λkηk2\lambda_k\eta_k^2.

Part 2. The scalar equation η¨+λη=0\ddot\eta + \lambda\eta = 0 is a second-order linear equation with constant coefficients, so its solution space is two-dimensional — a solution is determined by the two numbers η(0),η˙(0)\eta(0), \dot\eta(0), and the general statement for linear equations of order nn belongs to the theory of linear differential equations, which comes later in the handbook and is not needed as a prerequisite here. A two-parameter family of solutions is therefore all of them. For λ=ω2>0\lambda = \omega^2 > 0, cos⁡ωt\cos\omega t and sin⁡ωt\sin\omega t are solutions and are independent, giving η=acos⁡ωt+bsin⁡ωt\eta = a\cos\omega t + b\sin\omega t. For λ=0\lambda = 0 the equation is η¨=0\ddot\eta = 0, so η=a+bt\eta = a + bt. For λ<0\lambda < 0, put γ=−λ>0\gamma = \sqrt{-\lambda} > 0; then e±γte^{\pm\gamma t} are independent solutions and η=aeγt+be−γt\eta = ae^{\gamma t} + be^{-\gamma t}. Assembling q=∑kηkxkq = \sum_k\eta_kx^k gives the stated general solution, and the motion with ηj≡0\eta_j \equiv 0 for j≠kj \neq k is q(t)=ηk(t)xkq(t) = \eta_k(t)x^k: the whole system moves in the fixed pattern xkx^k, with every coordinate oscillating at the single frequency ωk=λk\omega_k = \sqrt{\lambda_k} and passing through zero together. That is the normal mode.

Part 3. Suppose every λk>0\lambda_k > 0. Then ∣ηk(t)∣=∣akcos⁡ωkt+bksin⁡ωkt∣≤(ak2+bk2)1/2|\eta_k(t)| = |a_k\cos\omega_kt + b_k\sin\omega_kt| \le (a_k^2+b_k^2)^{1/2} for all tt, by the Cauchy-Schwarz inequality in R2\mathbb{R}^2 applied to (ak,bk)(a_k,b_k) and (cos⁡ωkt,sin⁡ωkt)(\cos\omega_kt, \sin\omega_kt), so

∥q(t)∥≤∑k∣ηk(t)∣ ∥xk∥≤∑k(ak2+bk2)1/2∥xk∥,\|q(t)\| \le \sum_k |\eta_k(t)|\,\|x^k\| \le \sum_k (a_k^2+b_k^2)^{1/2}\|x^k\| ,

a bound independent of tt: every solution is bounded. Conversely suppose λm≤0\lambda_m \le 0 for some mm, and choose the initial data ηm(0)=0\eta_m(0) = 0, η˙m(0)=1\dot\eta_m(0) = 1 and ηk(0)=η˙k(0)=0\eta_k(0) = \dot\eta_k(0) = 0 for k≠mk \neq m, which is legitimate because the map from (q(0),q˙(0))(q(0), \dot q(0)) to (ηk(0),η˙k(0))(\eta_k(0), \dot\eta_k(0)) is a bijection. Then q(t)=ηm(t)xmq(t) = \eta_m(t)x^m with ηm(t)=t\eta_m(t) = t if λm=0\lambda_m = 0 and ηm(t)=γm−1sinh⁡(γmt)\eta_m(t) = \gamma_m^{-1}\sinh(\gamma_mt) if λm<0\lambda_m < 0, both unbounded, and xm≠0x^m \neq 0. So boundedness of every solution is equivalent to all λk>0\lambda_k > 0, which by part 4 of the pencil theorem applied to (K,M)(K,M) is equivalent to KK being positive definite. Since V=12qTKqV = \tfrac12q^{\mathsf T}Kq to second order, KK positive definite says exactly that the quadratic part of VV is positive in every direction, i.e. the equilibrium is a strict local minimum of VV to second order. The two remaining cases are the computations just made: λm<0\lambda_m < 0 gives eγmte^{\gamma_m t} growth along xmx^m, and λm=0\lambda_m = 0 gives drift linear in tt along xmx^m.

Part 4. The orthogonality relations are part 2 of the pencil theorem, restated for (K,M)(K,M). They do not imply (xj)Txk=0(x^j)^{\mathsf T}x^k = 0: MM-orthogonality is orthogonality in the inner product (x,y)M=yTMx(x,y)_M = y^{\mathsf T}Mx, and unless MM is a multiple of the identity that is a different relation — the example below exhibits two modes whose unnormalised shapes u=(1,3)Tu = (1,\sqrt3)^{\mathsf T} and v=(1,−3)Tv = (1,-\sqrt3)^{\mathsf T} satisfy uTMv=0u^{\mathsf T}Mv = 0 while uTv=−2≠0u^{\mathsf T}v = -2 \neq 0; rescaling to the MM-orthonormal x1,x2x^1, x^2 changes only the size of that dot product, to −2/(ml224)=−0.408248/(ml2)-2/(ml^2\sqrt{24}) = -0.408248/(ml^2), not its vanishing. The bound is part 4 of the pencil theorem with A=KA = K, B=MB = M, and λk=ωk2\lambda_k = \omega_k^2 for those λk\lambda_k that are positive. □\square

Method(Finding the normal modes of a system)AdaptedAdapted from Riley, Hobson & Bence (2006), Ch. 9 introduction and §9.1, pp. 316-321
  1. Choose coordinates qiq_i that vanish at the equilibrium, as many as the system has degrees of freedom and no more. A redundant coordinate makes MM singular and the pencil ill-posed.
  2. Expand the energies to second order. Write TT in terms of the q˙i\dot q_i, keeping terms quadratic in q˙\dot q, to get MM; expand VV about q=0q = 0 to second order to get KK. Both come out symmetric, or can be symmetrised as in quadratic forms.
  3. Check that MM is positive definite (Sylvester's criterion, or its eigenvalues). It will be, if the coordinates are independent.
  4. Solve det⁡(K−ω2M)=0\det(K - \omega^2 M) = 0 for the nn roots λk=ωk2\lambda_k = \omega_k^2. For n≤3n \le 3 expand the determinant by hand; otherwise use a symmetric generalized eigensolver (scipy.linalg.eigh(K, M)), not eig(inv(M) @ K).
  5. For each root solve (K−λkM)x=0(K - \lambda_k M) x = 0 for the mode shape and normalise it by (xk)TMxk=1(x^k)^{\mathsf T} M x^k = 1. For a degenerate λk\lambda_k the solution space has dimension >1> 1; pick any basis of it and make it MM-orthonormal by Gram-Schmidt in the MM-inner product, which is the ordinary process with (x,y)M=yTMx(x,y)_M = y^{\mathsf T} M x in place of the dot product.
  6. Check ∑kλk=tr⁡(M−1K)\sum_k \lambda_k = \operatorname{tr}(M^{-1}K) and (xj)TMxk=δjk(x^j)^{\mathsf T} M x^k = \delta_{jk} before interpreting the answer.
  7. Read off the physics. λk=0\lambda_k = 0 means a free motion with no restoring force (a rigid translation or rotation, or a soft direction of VV); λk<0\lambda_k < 0 means an unstable equilibrium; the signs within xkx^k say which parts move in phase.

The recipe requires MM and KK symmetric with MM positive definite. If MM is only semidefinite, or if the forces are not derived from a potential (damping, magnetic forces, gyroscopic terms), the pencil is no longer definite, its eigenvalues need not be real, and this method does not apply.

NoteOriginal

A coupled oscillating system looks complicated only in the wrong coordinates. The pencil (K,M)(K, M) finds the coordinates in which it falls apart into nn independent harmonic oscillators: the eigenvalues are the squared frequencies you can measure, and each eigenvector is the pattern of motion that one frequency belongs to.

Remark(Conventions and where the hypotheses are used)AdaptedAdapted from Riley, Hobson & Bence (2006), Ch. 9 introduction and §9.1, pp. 316-317, 321; Arfken, Weber & Harris (2013), §6.5, pp. 322-324

The factor of one half. Riley, Hobson and Bence write T=q˙TAq˙T = \dot q^{\mathsf T} A \dot q and V=qTBqV = q^{\mathsf T} B q with no 12\tfrac12, so their AA and BB are half of our MM and KK. Since det⁡(B−ω2A)=2−ndet⁡(K−ω2M)\det(B - \omega^2 A) = 2^{-n} \det(K - \omega^2 M), the normal frequencies and mode shapes are unaffected; only the normalisation constant of the modes changes. Use either convention, but not both in one calculation.

Positive definite KK is about strict minima. A minimum of VV gives KK positive semidefinite; definiteness is stronger and fails exactly when VV is flat to second order in some direction. Such directions are common: the linear triatomic molecule of Riley, Hobson and Bence §9.1 (p. 321) has ω2=0\omega^2 = 0 for the mode in which all three masses translate together, since VV depends only on the bond extensions. Part 3 above therefore separates "bounded motion" (K>0K > 0) from "no exponential growth" (K≥0K \ge 0). Note that Riley, Hobson and Bence restrict Chapter 9 from the start to a potential with a local minimum at the equilibrium and state there (p. 317) that this makes the potential matrix positive definite, like the kinetic one; the cases λk≤0\lambda_k \le 0 that parts 2 and 3 above admit therefore lie outside their setting, and are covered here by the pencil theorem, which assumes definiteness of MM only.

Do not throw away the symmetry. Multiplying by M−1M^{-1} gives the ordinary eigenproblem M−1Kx=ω2xM^{-1}K x = \omega^2 x, with the same eigenvalues and eigenvectors; but M−1KM^{-1}K is in general neither symmetric nor normal, as Arfken, Weber and Harris point out for their three-mass chain (§6.5, pp. 322-324). Its eigenvectors are then not orthogonal in the plain dot product, and the left and right eigenvectors differ. MM-orthogonality is the correct replacement, and solvers that take MM as a second argument preserve it.

BB must be definite, not merely invertible. For A=(0110)A = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix} and B=(100−1)B = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix} the equation det⁡(A−λB)=−λ2−1=0\det(A - \lambda B) = -\lambda^2 - 1 = 0 gives λ=±i\lambda = \pm i: an indefinite BB destroys the reality of the spectrum, which is why part 1 assumes B>0B > 0 and not just det⁡B≠0\det B \neq 0.

Example(A double pendulum with unequal masses)Original

Two point masses hang in a vertical plane on light rigid rods of equal length ll: the upper mass is 2m2m, at the end of the first rod, and the lower mass is mm, at the end of the second rod hinged to the first. Let q1q_1 and q2q_2 be the angles the two rods make with the downward vertical, so that q=0q = 0 is the hanging equilibrium. Write μ=g/l\mu = g/l throughout.

Step 1: the energies to second order. The upper mass has speed lq˙1l\dot q_1; the lower mass has velocity lq˙1l\dot q_1 along the first rod's perpendicular plus lq˙2l\dot q_2 along the second's, with angle q1−q2q_1 - q_2 between them, so its squared speed is l2(q˙12+q˙22+2q˙1q˙2cos⁡(q1−q2))l^2(\dot q_1^2 + \dot q_2^2 + 2\dot q_1\dot q_2\cos(q_1-q_2)). Hence

T=12(2m)l2q˙12+12ml2(q˙12+q˙22+2q˙1q˙2cos⁡(q1−q2)).T = \tfrac12 (2m) l^2\dot q_1^2 + \tfrac12 m l^2\bigl(\dot q_1^2 + \dot q_2^2 + 2\dot q_1\dot q_2\cos(q_1-q_2)\bigr) .

Keeping only terms quadratic in the velocities means evaluating the cosine at q=0q = 0, which gives 11, so

T=12 q˙TMq˙,M=ml2(3111).T = \tfrac12\,\dot q^{\mathsf T}M\dot q , \qquad M = ml^2\begin{pmatrix} 3 & 1 \\ 1 & 1\end{pmatrix}.

The heights below the pivot are lcos⁡q1l\cos q_1 and lcos⁡q1+lcos⁡q2l\cos q_1 + l\cos q_2, so, taking the pivot as the zero of potential,

V=−(2m)glcos⁡q1−mg(lcos⁡q1+lcos⁡q2)=const+12mgl(3q12+q22)+O(∥q∥4),V = -(2m)gl\cos q_1 - mg\bigl(l\cos q_1 + l\cos q_2\bigr) = \text{const} + \tfrac12 mgl\bigl(3q_1^2 + q_2^2\bigr) + O(\|q\|^4),

using cos⁡q=1−q2/2+O(q4)\cos q = 1 - q^2/2 + O(q^4). The constant is V(0)=−4mglV(0) = -4mgl, the energy of the hanging configuration measured from the pivot; dropping it changes no force and no mode, and puts VV in the normalisation V(0)=0V(0) = 0 that the definition of small oscillations above asks for. Hence

V=12qTKq,K=mgl(3001).V = \tfrac12 q^{\mathsf T}Kq , \qquad K = mgl\begin{pmatrix} 3 & 0 \\ 0 & 1\end{pmatrix}.

Step 2: MM is positive definite. Its leading principal minors are 3ml2>03ml^2 > 0 and (3−1)(ml2)2=2m2l4>0(3-1)(ml^2)^2 = 2m^2l^4 > 0, so Sylvester's criterion (Quadratic forms and the Rayleigh quotient) applies and the pencil is definite. KK is diagonal with positive entries, so it is positive definite too, and the equilibrium will turn out stable.

Step 3: the characteristic equation. Factor out ml2ml^2 from both matrices, which does not change the roots:

K−λM=ml2(3μ−3λ−λ−λμ−λ),det⁡(K−λM)=(ml2)2[3(μ−λ)2−λ2].K - \lambda M = ml^2\begin{pmatrix} 3\mu - 3\lambda & -\lambda \\ -\lambda & \mu - \lambda\end{pmatrix}, \qquad \det(K-\lambda M) = (ml^2)^2\bigl[3(\mu-\lambda)^2 - \lambda^2\bigr] .

Expanding, 3(μ−λ)2−λ2=2λ2−6μλ+3μ23(\mu-\lambda)^2 - \lambda^2 = 2\lambda^2 - 6\mu\lambda + 3\mu^2, a quadratic of degree exactly n=2n = 2 with leading coefficient 2=(−1)2det⁡(3111)2 = (-1)^2\det\begin{pmatrix}3&1\\1&1\end{pmatrix}, as part 1 of the pencil theorem predicts. Its roots are

λ=6μ±36μ2−24μ24=6μ±23 μ4,soλ1=3−32 μ,λ2=3+32 μ.\lambda = \frac{6\mu \pm \sqrt{36\mu^2 - 24\mu^2}}{4} = \frac{6\mu \pm 2\sqrt3\,\mu}{4}, \qquad\text{so}\qquad \lambda_1 = \frac{3-\sqrt3}{2}\,\mu , \quad \lambda_2 = \frac{3+\sqrt3}{2}\,\mu .

Numerically λ1=0.633975 μ\lambda_1 = 0.633975\,\mu and λ2=2.366025 μ\lambda_2 = 2.366025\,\mu, both positive and real as they must be. The frequencies are

ω1=0.796225g/l,ω2=1.538189g/l,ω2ω1=1.931852.\omega_1 = 0.796225\sqrt{g/l}, \qquad \omega_2 = 1.538189\sqrt{g/l}, \qquad \frac{\omega_2}{\omega_1} = 1.931852 .

Step 4: the checks of step 6 of the method. λ1+λ2=3μ\lambda_1 + \lambda_2 = 3\mu, and

M−1K=12(1−1−13)⋅μ(3001)=μ2(3−1−33),tr⁡(M−1K)=3μ ✓M^{-1}K = \frac{1}{2}\begin{pmatrix} 1 & -1 \\ -1 & 3\end{pmatrix}\cdot\mu\begin{pmatrix} 3&0\\0&1\end{pmatrix} = \frac\mu2\begin{pmatrix} 3 & -1 \\ -3 & 3\end{pmatrix}, \qquad \operatorname{tr}(M^{-1}K) = 3\mu \ \checkmark

Also λ1λ2=(9−3)μ2/4=32μ2\lambda_1\lambda_2 = (9-3)\mu^2/4 = \tfrac32\mu^2, which matches det⁡K/det⁡M=3μ2/2\det K/\det M = 3\mu^2/2. (Note that M−1KM^{-1}K is not symmetric, exactly as the third remark above warns.)

Step 5: the mode shapes. The first row of (K−λM)x=0(K-\lambda M)x = 0 reads 3(μ−λ)x1=λx23(\mu-\lambda)x_1 = \lambda x_2, so x2/x1=3(μ−λ)/λx_2/x_1 = 3(\mu-\lambda)/\lambda. For λ1\lambda_1, μ−λ1=3−12μ\mu - \lambda_1 = \tfrac{\sqrt3-1}{2}\mu and

x2x1=3(3−1)/2(3−3)/2=3(3−1)3(3−1)=3,\frac{x_2}{x_1} = \frac{3(\sqrt3-1)/2}{(3-\sqrt3)/2} = \frac{3(\sqrt3-1)}{\sqrt3(\sqrt3-1)} = \sqrt3 ,

while for λ2\lambda_2, μ−λ2=−1+32μ\mu - \lambda_2 = -\tfrac{1+\sqrt3}{2}\mu and the same computation gives x2/x1=−3x_2/x_1 = -\sqrt3. So, before normalisation,

x1∝(1, 3)T,x2∝(1, −3)T.x^1 \propto (1,\ \sqrt3)^{\mathsf T}, \qquad x^2 \propto (1,\ -\sqrt3)^{\mathsf T} .

In the slow mode the two rods swing the same way, the lower one through 3≈1.732\sqrt3 \approx 1.732 times the angle; in the fast mode they swing in opposition. Both are visible in the signs, which is the reading asked for in step 7 of the method.

Step 6: MM-orthonormalisation and the orthogonality checks. With M~=(3111)\tilde M = \begin{pmatrix}3&1\\1&1\end{pmatrix} so that M=ml2M~M = ml^2\tilde M,

(1,3) M~ (1,−3)T=(1,3)⋅(3−3, 1−3)T=(3−3)+(3−3)=0,(1, \sqrt3)\,\tilde M\,(1,-\sqrt3)^{\mathsf T} = (1,\sqrt3)\cdot(3-\sqrt3,\ 1-\sqrt3)^{\mathsf T} = (3-\sqrt3) + (\sqrt3 - 3) = 0 ,

so the two modes are MM-orthogonal, as part 4 requires. Their MM-norms are

(1,3) M~ (1,3)T=6+23=9.464102,(1,−3) M~ (1,−3)T=6−23=2.535898,(1,\sqrt3)\,\tilde M\,(1,\sqrt3)^{\mathsf T} = 6 + 2\sqrt3 = 9.464102 , \qquad (1,-\sqrt3)\,\tilde M\,(1,-\sqrt3)^{\mathsf T} = 6 - 2\sqrt3 = 2.535898 ,

so the normalised modes are

x1=(1,3)Tml2(6+23)=(0.325058, 0.563016)Tml2,x2=(1,−3)Tml2(6−23)=(0.627963, −1.087664)Tml2.x^1 = \frac{(1,\sqrt3)^{\mathsf T}}{\sqrt{ml^2(6+2\sqrt3)}} = \frac{(0.325058,\ 0.563016)^{\mathsf T}}{\sqrt{ml^2}}, \qquad x^2 = \frac{(1,-\sqrt3)^{\mathsf T}}{\sqrt{ml^2(6-2\sqrt3)}} = \frac{(0.627963,\ -1.087664)^{\mathsf T}}{\sqrt{ml^2}} .

They are not orthogonal in the plain dot product: (1,3)⋅(1,−3)=1−3=−2≠0(1,\sqrt3)\cdot(1,-\sqrt3) = 1 - 3 = -2 \neq 0. And KK-orthogonality holds: (1,3)diag⁡(3,1)(1,−3)T=3−3=0(1,\sqrt3)\operatorname{diag}(3,1)(1,-\sqrt3)^{\mathsf T} = 3 - 3 = 0, while (1,±3)diag⁡(3,1)(1,±3)T=6(1,\pm\sqrt3)\operatorname{diag}(3,1)(1,\pm\sqrt3)^{\mathsf T} = 6 for both, and indeed 6μ/(6+23)=λ16\mu/(6+2\sqrt3) = \lambda_1 and 6μ/(6−23)=λ26\mu/(6-2\sqrt3) = \lambda_2, as (xk)TKxk=λk(x^k)^{\mathsf T}Kx^k = \lambda_k demands.

Step 7: a trial-vector bound. Guess the slow mode as x=(1,1)Tx = (1,1)^{\mathsf T} — both rods swinging together through equal angles, which is in the right ballpark but has the wrong amplitude ratio. Then

xTKxxTMx=μ(3+1)3+1+1+1=4μ6=0.666667 μ ≥ λ1=0.633975 μ,\frac{x^{\mathsf T}Kx}{x^{\mathsf T}Mx} = \frac{\mu(3+1)}{3+1+1+1} = \frac{4\mu}{6} = 0.666667\,\mu \ \ge\ \lambda_1 = 0.633975\,\mu ,

an upper bound, high by 5.2%5.2\% in λ1\lambda_1 and only 2.5%2.5\% in ω1\omega_1 because of the square root. That one line of arithmetic gets the fundamental frequency to better than three percent with no eigenvalue calculation at all.

Step 8: the motion. Since both λk>0\lambda_k > 0, KK is positive definite and part 3 says every motion is bounded; explicitly

q(t)=(a1cos⁡ω1t+b1sin⁡ω1t) x1+(a2cos⁡ω2t+b2sin⁡ω2t) x2.q(t) = (a_1\cos\omega_1t + b_1\sin\omega_1t)\,x^1 + (a_2\cos\omega_2t + b_2\sin\omega_2t)\,x^2 .

The frequency ratio is

ω2ω1=3+33−3=2+3=2+62=1.931852,\frac{\omega_2}{\omega_1} = \sqrt{\frac{3+\sqrt3}{3-\sqrt3}} = \sqrt{2+\sqrt3} = \frac{\sqrt2+\sqrt6}{2} = 1.931852 ,

using (3+3)/(3−3)=(3+3)2/6=2+3(3+\sqrt3)/(3-\sqrt3) = (3+\sqrt3)^2/6 = 2+\sqrt3 and ((2+6)/2)2=(8+43)/4=2+3\bigl((\sqrt2+\sqrt6)/2\bigr)^2 = (8+4\sqrt3)/4 = 2+\sqrt3. This is irrational, so a general motion never exactly repeats: the linearized double pendulum is quasi-periodic, not periodic, unless one of the two amplitudes vanishes.

ApplicationOriginal

Vibrational spectroscopy. A molecule of NN atoms is a conservative system with 3N3N coordinates, and the apparatus of this unit is how its infrared and Raman spectrum is computed. The kinetic-energy matrix MM in Cartesian displacements is diagonal, each atom contributing its mass three times; the stiffness matrix KK is the Hessian of the electronic energy at the equilibrium geometry, which a quantum chemistry program computes by differentiating the energy twice. Diagonalizing the pencil (K,M)(K, M) gives 3N3N eigenvalues, of which several vanish: the rigid motions change no bond and so leave VV flat, precisely the λk=0\lambda_k = 0 case of part 3. For a nonlinear molecule there are six such directions — three rigid translations and three rigid rotations — leaving 3N−63N-6 vibrational frequencies ωk=λk\omega_k = \sqrt{\lambda_k} to compare with the measured absorption lines. For a linear molecule only five vanish, because every atom sits on the axis and a rotation about that axis displaces no atom at all, so it is not a direction in configuration space; such a molecule has 3N−53N-5 vibrations. Thus a linear triatomic, CO2_2 for instance, has 3⋅3−5=43 \cdot 3 - 5 = 4 vibrational frequencies rather than the 33 that 3N−63N-6 would give, and a diatomic has the one frequency of its stretching mode, where 3N−63N-6 would predict none. The three-mass chain of the second remark above is the axial part of this calculation for such a molecule: only the three displacements along the axis are retained, so it yields three modes — the rigid translation with ω2=0\omega^2 = 0 and two axial vibrations — while the remaining two of the four vibrations are bending motions transverse to the axis, which that reduced model does not carry. The eigenvectors are the pictures that accompany each line in a spectroscopy paper: which atoms move, how far, and in or out of phase. A negative eigenvalue in such a calculation is the standard diagnostic that the geometry found is not a minimum but a saddle point of the energy surface — a transition state — and the corresponding eigenvector is the reaction coordinate along which the molecule falls apart. Part 3 is exactly that statement: a negative λk\lambda_k means exponential departure along xkx^k.

Modal analysis of structures, and the practical use of the quotient bound. A building, a bridge or a turbine blade is modelled by a finite element mesh whose nodal displacements qq carry a mass matrix MM and a stiffness matrix KK, both large, sparse and symmetric with MM positive definite. Engineers compute the lowest few eigenvalues of (K,M)(K,M) because resonance with those frequencies is what destroys structures: a design is checked by confirming that the expected excitation — traffic, wind, rotor imbalance, the dominant frequencies of regional earthquakes — is far from every ωk\omega_k. The method's warning in step 4 matters here: a solver given MM as a second argument preserves the symmetry of the problem and the MM-orthogonality of the computed modes, whereas forming M−1KM^{-1}K destroys both, and on a large mesh it also destroys the sparsity that made the computation feasible. Rayleigh's method is the classical hand version of step 7 of the example: assume a plausible deflection shape and evaluate xTKx/xTMxx^{\mathsf T}Kx/x^{\mathsf T}Mx. What the quotient bounds is λ1=ω12\lambda_1 = \omega_1^2, from above; the square root of the quotient is then an upper bound on the fundamental frequency itself. The stationarity statement is what makes the estimate sharp: since the quotient is stationary at the true mode, its error is quadratic in the error of the shape, so a shape wrong by ten percent gives λ1\lambda_1 wrong by about one percent and ω1\omega_1 wrong by only about half of one percent, the square root halving the relative error. Step 7 of the example is that arithmetic in miniature — a crude shape overestimates λ1\lambda_1 by 5.2%5.2\% and ω1\omega_1 by 2.5%2.5\%.

Instability as a negative eigenvalue. The same pencil analysed about an unstable equilibrium delivers the growth rate rather than a frequency. An inverted pendulum, a column under a compressive load past its buckling threshold, or a plasma column in an adverse field all have a stiffness matrix KK with at least one negative eigenvalue, and part 3 then gives the fastest-growing disturbance as the eigenvector xmx^m for the most negative λm\lambda_m, with growth rate γm=−λm\gamma_m = \sqrt{-\lambda_m}. Linear stability analysis in this form — assemble KK, test its definiteness, and if it fails read off the shape of the unstable mode — is the standard first calculation for any equilibrium whose stability is in question, and the buckling load of a column is found by increasing the load until the smallest eigenvalue of KK first crosses zero.

Theorem

Singular value decomposition

Adapted

Every complex m-by-n matrix factors as A = USV* with U, V unitary and S non-negative diagonal; the singular values are the square roots of the min(m,n) largest eigenvalues of A*A, truncating the factorisation gives the best approximation of each rank, and inverting the non-zero part gives the pseudoinverse that solves least squares with minimum norm.

Prerequisites: Spectral theorem for Hermitian matrices, Orthogonal projection and least squares, Normal matrices and simultaneous diagonalization, Orthonormal bases and Gram-Schmidt

Definition(Singular values and the singular value decomposition)AdaptedAdapted from Riley, Hobson & Bence (2006), §8.18.3, Eqs (8.131)-(8.133), pp. 302-303

Let AA be a complex m×nm \times n matrix and p=min⁡(m,n)p = \min(m, n). A singular value decomposition (SVD) of AA is a factorisation

A=USV†A = U S V^\dagger

in which UU is m×mm \times m unitary, VV is n×nn \times n unitary, and SS is m×nm \times n with Sij=0S_{ij} = 0 for i≠ji \neq j and diagonal entries

s1≥s2≥⋯≥sp≥0,s_1 \ge s_2 \ge \cdots \ge s_p \ge 0 ,

the singular values of AA. The columns u1,…,umu_1, \dots, u_m of UU are the left singular vectors and the columns v1,…,vnv_1, \dots, v_n of VV the right singular vectors. For real AA one may take UU and VV real orthogonal.

Theorem(Existence and basic properties)AdaptedAdapted from Reed & Simon (1980), §VI.5, Thm VI.17, pp. 203-204; Riley, Hobson & Bence (2006), §8.18.3, Eqs (8.132)-(8.136) and pp. 303-304

Every complex m×nm \times n matrix AA has a singular value decomposition, and:

  1. Where the singular values come from. A†AA^\dagger A (n×nn \times n) and AA†A A^\dagger (m×mm \times m) are Hermitian and positive semidefinite, so their eigenvalues are real and ≥0\ge 0. The numbers s12,…,sp2s_1^2, \dots, s_p^2 are the pp largest eigenvalues of each, in decreasing order; the remaining eigenvalues of the larger of the two matrices are zero. Equivalently si=λis_i = \sqrt{\lambda_i} with λi\lambda_i the ii-th largest eigenvalue of A†AA^\dagger A. One may take for VV any unitary whose columns are an orthonormal eigenbasis of A†AA^\dagger A ordered by decreasing eigenvalue; every column of UU belonging to a non-zero singular value is then forced, ui=Avi/siu_i = A v_i / s_i for each ii with si>0s_i > 0, and the remaining ones are any orthonormal completion. The columns of UU so obtained are an orthonormal eigenbasis of AA†A A^\dagger. The two families cannot be chosen independently of each other.
  2. Coupling of the two families. For i=1,…,pi = 1, \dots, p,
Avi=siui,A†ui=sivi,A v_i = s_i u_i , \qquad A^\dagger u_i = s_i v_i ,

while Avi=0A v_i = 0 for i>pi > p and A†ui=0A^\dagger u_i = 0 for i>pi > p. 3. Rank, range, null space, dyadic form. Let rr be the number of non-zero singular values. Then r=rank⁡Ar = \operatorname{rank} A; u1,…,uru_1, \dots, u_r are an orthonormal basis of the range of AA; vr+1,…,vnv_{r+1}, \dots, v_n are an orthonormal basis of its null space; v1,…,vrv_1, \dots, v_r are an orthonormal basis of the range of A†A^\dagger; and

A=∑i=1rsi uivi†.A = \sum_{i=1}^{r} s_i\, u_i v_i^\dagger .
  1. Uniqueness. The singular values are uniquely determined by AA. The singular vectors are not, and the non-zero and the zero parts are free in different ways. Let r=rank⁡Ar = \operatorname{rank} A.

    • Non-zero singular values. Let W⊆{1,…,r}W \subseteq \{1, \dots, r\} be a maximal block of indices on which sis_i takes one common value s>0s > 0. Writing UWU_W and VWV_W for the matrices of the corresponding columns, the pair may be replaced by UWQU_W Q and VWQV_W Q for any ∣W∣×∣W∣|W| \times |W| unitary QQ — the same QQ on both sides, as the coupling Avi=s uiA v_i = s\, u_i of part 2 forces. The common phase ui↦eiαuiu_i \mapsto e^{i\alpha} u_i, vi↦eiαviv_i \mapsto e^{i\alpha} v_i is the case ∣W∣=1|W| = 1.
    • Zero singular values. The trailing columns ur+1,…,umu_{r+1}, \dots, u_m and vr+1,…,vnv_{r+1}, \dots, v_n are constrained only by being orthonormal completions, of a basis of ker⁡A†\ker A^\dagger and of ker⁡A\ker A respectively. They contribute nothing to A=∑i≤rsiuivi†A = \sum_{i \le r} s_i u_i v_i^\dagger, so here no matching is required: the two completions may be changed by unrelated unitaries, of sizes m−rm - r and n−rn - r, which need not even be equal.

    Every SVD of AA arises from any one of them by such changes.

  2. Relation to the eigenvalues. For a general square AA the singular values are the eigenvalues of ∣A∣=(A†A)1/2|A| = (A^\dagger A)^{1/2}, and bear no simple relation to the eigenvalues of AA itself. If AA is normal — that is, AA†=A†AA A^\dagger = A^\dagger A, which holds in particular for Hermitian and for unitary AA — with eigenvalues λ1,…,λn\lambda_1, \dots, \lambda_n listed with multiplicity, then the singular values are the numbers ∣λk∣|\lambda_k| sorted decreasingly.

Idea of the proofOriginal

There is only one Hermitian matrix in sight, A†AA^\dagger A, and the spectral theorem hands us an orthonormal eigenbasis for it. Its eigenvalues measure ∥Ax∥22\|Ax\|_2^2 along that basis, so their square roots are the stretching factors we are after, and dividing each image AviA v_i by its own length produces an orthonormal family on the target side. Between those two bases AA is diagonal, and that is the factorisation. The rest of the statement — the second eigenvalue list, the coupling, rank, range, null space, the dyadic form, and exactly how much freedom is left — is read off from that one diagonalisation.

ProofAdaptedAdapted from Reed & Simon (1980), §VI.5, Thm VI.17, pp. 203-204; Riley, Hobson & Bence (2006), §8.18.3, Eqs (8.132)-(8.136), pp. 302-304
  1. A†AA^\dagger A is Hermitian and positive semidefinite. (A†A)†=A†A(A^\dagger A)^\dagger = A^\dagger A, since (XY)†=Y†X†(XY)^\dagger = Y^\dagger X^\dagger and (A†)†=A(A^\dagger)^\dagger = A. For every x∈Cnx \in \mathbb{C}^n,
x†A†Ax=(Ax)†(Ax)=∥Ax∥22 ≥ 0.x^\dagger A^\dagger A x = (A x)^\dagger (A x) = \|A x\|_2^2 \ \ge\ 0 .

Each eigenvalue λ\lambda of A†AA^\dagger A is real by the spectral theorem, and taking xx to be an eigenvector for it the display reads λ∥x∥22≥0\lambda \|x\|_2^2 \ge 0, so λ≥0\lambda \ge 0. The same two lines with A†A^\dagger in place of AA settle AA†A A^\dagger.

  1. An orthonormal eigenbasis on the right. By the spectral theorem pick an orthonormal basis v1,…,vnv_1, \dots, v_n of Cn\mathbb{C}^n with A†A vi=λiviA^\dagger A\, v_i = \lambda_i v_i, numbered so that λ1≥λ2≥⋯≥λn≥0\lambda_1 \ge \lambda_2 \ge \cdots \ge \lambda_n \ge 0. Put si=λi≥0s_i = \sqrt{\lambda_i} \ge 0, and let rr be the number of indices with λi>0\lambda_i > 0; by the ordering these are i=1,…,ri = 1, \dots, r.

  2. At most pp of the sis_i are non-zero. If A†Ax=0A^\dagger A x = 0 then ∥Ax∥22=x†A†Ax=0\|Ax\|_2^2 = x^\dagger A^\dagger A x = 0 by step 1, so ker⁡(A†A)=ker⁡A\ker(A^\dagger A) = \ker A and hence rank⁡(A†A)=rank⁡A\operatorname{rank}(A^\dagger A) = \operatorname{rank} A (least squares, part 4). Since A†AA^\dagger A is diagonalisable with exactly rr non-zero eigenvalues, r=rank⁡A≤min⁡(m,n)=pr = \operatorname{rank} A \le \min(m, n) = p. In particular λi=0\lambda_i = 0 for every i>pi > p, so the numbers s1≥⋯≥sps_1 \ge \cdots \ge s_p carry all of the information and fit on the diagonal of an m×nm \times n matrix.

  3. Normalising the images. For i≤ri \le r put ui=Avi/siu_i = A v_i / s_i, which is legitimate because si>0s_i > 0. These vectors are orthonormal:

ui†uj=(Avi)†(Avj)sisj=vi†A†Avjsisj=λj vi†vjsisj=sjsi δij=δij,u_i^\dagger u_j = \frac{(A v_i)^\dagger (A v_j)}{s_i s_j} = \frac{v_i^\dagger A^\dagger A v_j}{s_i s_j} = \frac{\lambda_j\, v_i^\dagger v_j}{s_i s_j} = \frac{s_j}{s_i}\, \delta_{ij} = \delta_{ij} ,

by the definition of uiu_i, then the definition of the adjoint, then step 2, then the orthonormality of the vjv_j. For i>ri > r we have λi=0\lambda_i = 0, so ∥Avi∥22=vi†A†Avi=0\|A v_i\|_2^2 = v_i^\dagger A^\dagger A v_i = 0 and therefore Avi=0A v_i = 0.

  1. Completing the basis gives the factorisation. Since r≤mr \le m by step 3, the orthonormal set u1,…,uru_1, \dots, u_r extends to an orthonormal basis u1,…,umu_1, \dots, u_m of Cm\mathbb{C}^m: take any basis of (span⁡{u1,…,ur})⊥(\operatorname{span}\{u_1, \dots, u_r\})^\perp and orthonormalise it by Gram-Schmidt. Let UU and VV be the matrices with those columns; both are unitary, their columns being orthonormal bases. Column jj of U†AVU^\dagger A V is U†AvjU^\dagger A v_j, which by step 4 is sjU†uj=sjejs_j U^\dagger u_j = s_j e_j when j≤rj \le r and 00 when j>rj > r. As sj=0s_j = 0 for r<j≤pr < j \le p, that is precisely the matrix SS of the definition, so U†AV=SU^\dagger A V = S, that is, A=USV†A = U S V^\dagger. The construction also establishes the recipe asserted in part 1: VV may be any unitary whose columns are an orthonormal eigenbasis of A†AA^\dagger A in decreasing order of eigenvalue, and then ui=Avi/siu_i = A v_i / s_i is forced whenever si>0s_i > 0, the remaining columns being any orthonormal completion.

  2. Part 1, the two eigenvalue lists. Conversely, from any SVD A=USV†A = U S V^\dagger, unitarity of UU and VV gives

A†A=V(S†S)V†,AA†=U(SS†)U†.A^\dagger A = V (S^\dagger S) V^\dagger , \qquad A A^\dagger = U (S S^\dagger) U^\dagger .

Since Sij=0S_{ij} = 0 off the diagonal, (S†S)jj=∑i∣Sij∣2(S^\dagger S)_{jj} = \sum_i |S_{ij}|^2 is sj2s_j^2 for j≤pj \le p and 00 for j>pj > p, and likewise (SS†)ii(S S^\dagger)_{ii} is si2s_i^2 for i≤pi \le p and 00 for i>pi > p; both matrices are diagonal. A unitary similarity does not change eigenvalues, so the eigenvalues of A†AA^\dagger A are s12,…,sp2s_1^2, \dots, s_p^2 together with n−pn - p zeros, those of AA†A A^\dagger the same numbers with m−pm - p zeros, and the columns of VV and of UU are orthonormal eigenbases of the two matrices.

  1. Part 2, the coupling. Multiplying A=USV†A = U S V^\dagger on the right by VV gives AV=USA V = U S. Column ii of the left-hand side is AviA v_i; column ii of the right-hand side is siuis_i u_i for i≤pi \le p and 00 for i>pi > p, because column ii of SS then vanishes. That is the first identity. Taking adjoints, A†=VS†U†A^\dagger = V S^\dagger U^\dagger, so A†U=VS†A^\dagger U = V S^\dagger, and reading columns the same way — SS is real, so S†=STS^\dagger = S^{\mathsf T} — gives A†ui=siviA^\dagger u_i = s_i v_i for i≤pi \le p and A†ui=0A^\dagger u_i = 0 for i>pi > p.

  2. Part 3, rank, range, null space and the dyadic form. By part 2 together with si=0s_i = 0 for r<i≤pr < i \le p, Avi=0A v_i = 0 for every i>ri > r. Expanding an arbitrary xx as x=∑i=1n(vi†x) vix = \sum_{i=1}^n (v_i^\dagger x)\, v_i,

Ax=∑i=1n(vi†x) Avi=∑i=1rsi(vi†x) ui=(∑i=1rsiuivi†)x,A x = \sum_{i=1}^{n} (v_i^\dagger x)\, A v_i = \sum_{i=1}^{r} s_i (v_i^\dagger x)\, u_i = \Bigl( \sum_{i=1}^{r} s_i u_i v_i^\dagger \Bigr) x ,

valid for every xx, which is the dyadic form. It gives im⁡A⊆span⁡{u1,…,ur}\operatorname{im} A \subseteq \operatorname{span}\{u_1, \dots, u_r\}, and the reverse inclusion holds because Avi=siuiA v_i = s_i u_i with si≠0s_i \neq 0; the uiu_i are orthonormal, hence independent, so rank⁡A=r\operatorname{rank} A = r and u1,…,uru_1, \dots, u_r is an orthonormal basis of the range. For the null space, Ax=0A x = 0 says ∑i≤rsi(vi†x)ui=0\sum_{i \le r} s_i (v_i^\dagger x) u_i = 0, which by independence of the uiu_i and si≠0s_i \neq 0 forces vi†x=0v_i^\dagger x = 0 for every i≤ri \le r, that is x∈span⁡{vr+1,…,vn}x \in \operatorname{span}\{v_{r+1}, \dots, v_n\}; and conversely those viv_i are in ker⁡A\ker A. Applying what has just been proved to A†=∑i≤rsiviui†A^\dagger = \sum_{i \le r} s_i v_i u_i^\dagger shows that v1,…,vrv_1, \dots, v_r is an orthonormal basis of im⁡A†\operatorname{im} A^\dagger.

  1. Part 4, uniqueness of the singular values. By step 6 the numbers s12≥⋯≥sp2s_1^2 \ge \cdots \ge s_p^2 are the pp largest eigenvalues of A†AA^\dagger A, hence determined by AA alone, and the constraint si≥0s_i \ge 0 fixes the square roots.

  2. Part 4, the freedom in the singular vectors. Let A=USV†=U′SV′†A = U S V^\dagger = U' S V'^\dagger be two SVDs, with the same SS by step 9. By step 6 the columns of VV and of V′V' are both orthonormal eigenbases of A†AA^\dagger A in decreasing order of eigenvalue. Two orthonormal bases adapted to the same eigenspaces in the same order differ exactly by a unitary change of basis inside each eigenspace. Those eigenspaces are span⁡{vi:i∈W}\operatorname{span}\{v_i : i \in W\} for each maximal block WW of indices carrying one common value s>0s > 0, and span⁡{vr+1,…,vn}=ker⁡A\operatorname{span}\{v_{r+1}, \dots, v_n\} = \ker A for the eigenvalue 00. So, columnwise, VW′=VWQWV'_W = V_W Q_W with QWQ_W unitary of size ∣W∣|W|, while vr+1′,…,vn′v'_{r+1}, \dots, v'_n is an arbitrary orthonormal basis of ker⁡A\ker A. For i≤ri \le r the left vectors are then forced, ui′=Avi′/siu'_i = A v'_i / s_i by step 5, so

UW′=AVW′/s=AVWQW/s=UWQWU'_W = A V'_W / s = A V_W Q_W / s = U_W Q_W

with the same unitary QWQ_W. The trailing columns ur+1′,…,um′u'_{r+1}, \dots, u'_m complete u1′,…,ur′u'_1, \dots, u'_r, a basis of im⁡A\operatorname{im} A, to an orthonormal basis of Cm\mathbb{C}^m, so they form an arbitrary orthonormal basis of (im⁡A)⊥=ker⁡A†(\operatorname{im} A)^\perp = \ker A^\dagger, of dimension m−rm - r and unrelated to the n−rn - r dimensions available on the other side. Conversely each such change does produce an SVD, because inside a block UWQW(VWQW)†=UWQWQW†VW†=UWVW†U_W Q_W (V_W Q_W)^\dagger = U_W Q_W Q_W^\dagger V_W^\dagger = U_W V_W^\dagger leaves the dyadic sum of part 3 unchanged, and the trailing columns never enter it.

  1. Part 5, the normal case. For square AA (so m=n=pm = n = p), step 6 gives A†A=Vdiag⁡(s12,…,sn2)V†A^\dagger A = V \operatorname{diag}(s_1^2, \dots, s_n^2) V^\dagger, and B=Vdiag⁡(s1,…,sn)V†B = V \operatorname{diag}(s_1, \dots, s_n) V^\dagger is positive semidefinite with B2=A†AB^2 = A^\dagger A. It is the only such matrix, so the notation ∣A∣=(A†A)1/2|A| = (A^\dagger A)^{1/2} is unambiguous: a positive semidefinite CC with C2=A†AC^2 = A^\dagger A commutes with A†AA^\dagger A, hence maps each eigenspace of A†AA^\dagger A into itself, and on the eigenspace for μ\mu it is a positive semidefinite matrix whose square is μI\mu I, so it is Hermitian with every eigenvalue equal to μ\sqrt{\mu} and therefore equals μ I\sqrt{\mu}\, I there. The eigenvalues of ∣A∣=B|A| = B are thus s1,…,sns_1, \dots, s_n. If in addition AA is normal, normal matrices supplies a unitary WW with A=WΛW†A = W \Lambda W^\dagger and Λ=diag⁡(λ1,…,λn)\Lambda = \operatorname{diag}(\lambda_1, \dots, \lambda_n); then A†A=WΛ‾ΛW†=Wdiag⁡(∣λ1∣2,…,∣λn∣2)W†A^\dagger A = W \overline{\Lambda} \Lambda W^\dagger = W \operatorname{diag}(|\lambda_1|^2, \dots, |\lambda_n|^2) W^\dagger, so the eigenvalues of A†AA^\dagger A are the ∣λk∣2|\lambda_k|^2 and the singular values, their square roots in decreasing order, are the ∣λk∣|\lambda_k| sorted decreasingly. □\square
Theorem(Spectral norm and best low-rank approximation)Original

Let AA be m×nm \times n with singular values s1≥⋯≥sp≥0s_1 \ge \cdots \ge s_p \ge 0 and rank rr, let ∥A∥2=max⁡x≠0∥Ax∥2/∥x∥2\|A\|_2 = \max_{x \neq 0} \|Ax\|_2/\|x\|_2 and ∥A∥F=(∑i,j∣Aij∣2)1/2\|A\|_F = \bigl(\sum_{i,j} |A_{ij}|^2\bigr)^{1/2}. Then ∥A∥2=s1\|A\|_2 = s_1 and ∥A∥F=(∑i=1psi2)1/2\|A\|_F = \bigl(\sum_{i=1}^{p} s_i^2\bigr)^{1/2}, and for each integer kk with 1≤k<r1 \le k < r the truncation

Ak=∑i=1ksi uivi†A_k = \sum_{i=1}^{k} s_i\, u_i v_i^\dagger

(of rank exactly kk) is a best rank-kk approximation to AA in both norms: over all m×nm \times n matrices BB with rank⁡B≤k\operatorname{rank} B \le k,

min⁡B∥A−B∥2=∥A−Ak∥2=sk+1,min⁡B∥A−B∥F=∥A−Ak∥F=(∑i>ksi2)1/2.\min_B \|A - B\|_2 = \|A - A_k\|_2 = s_{k+1} , \qquad \min_B \|A - B\|_F = \|A - A_k\|_F = \Bigl(\sum_{i>k} s_i^2\Bigr)^{1/2} .

The Frobenius case is the Eckart-Young theorem (1936), whose integral-operator analogue goes back to Schmidt (1907); Mirsky (1960) extended it to every unitarily invariant norm, which is where the spectral-norm case comes from. The Frobenius minimiser is unique exactly when sk>sk+1s_k > s_{k+1}; the spectral-norm minimiser is in general not unique. For k≥rk \ge r the minimum is 00, attained by AA itself.

Idea of the proofOriginal

Both norms are blind to the unitary factors, so each is a function of the singular values alone, and the error made by chopping the dyadic sum is immediate. The two lower bounds are the real content. In the spectral norm, a matrix of rank at most kk must annihilate some direction inside the (k+1)(k+1)-dimensional span of v1,…,vk+1v_1, \dots, v_{k+1}, and AA stretches every direction there by at least sk+1s_{k+1}. In the Frobenius norm, split A−BA - B along the range of BB: the part of AA pointing out of that range survives untouched, and a subspace of dimension kk can capture at most the kk largest eigenvalues' worth of AA†A A^\dagger.

ProofOriginal

Throughout, fix an SVD A=USV†A = U S V^\dagger as in the existence statement, so that A=∑i≤rsiuivi†A = \sum_{i \le r} s_i u_i v_i^\dagger, and write (X,Y)F=tr⁡(Y†X)(X, Y)_F = \operatorname{tr}(Y^\dagger X), which is an inner product on m×nm \times n matrices with ∥X∥F2=(X,X)F\|X\|_F^2 = (X, X)_F and is linear in its first slot.

  1. The dyads are orthonormal in the Frobenius inner product. For i,j≤pi, j \le p, using tr⁡(xy†)=y†x\operatorname{tr}(x y^\dagger) = y^\dagger x for column vectors,
(uivi†, ujvj†)F=tr⁡(vjuj†uivi†)=(uj†ui) tr⁡(vjvi†)=δij (vi†vj)=δij,(u_i v_i^\dagger,\, u_j v_j^\dagger)_F = \operatorname{tr}\bigl( v_j u_j^\dagger u_i v_i^\dagger \bigr) = (u_j^\dagger u_i)\, \operatorname{tr}(v_j v_i^\dagger) = \delta_{ij}\, (v_i^\dagger v_j) = \delta_{ij} ,

by the orthonormality of the uu's and then of the vv's. Hence ∥∑iciuivi†∥F2=∑i∣ci∣2\bigl\| \sum_i c_i u_i v_i^\dagger \bigr\|_F^2 = \sum_i |c_i|^2 for any scalars cic_i.

  1. The Frobenius norm and the Frobenius truncation error. Applying step 1 to A=∑i≤rsiuivi†A = \sum_{i \le r} s_i u_i v_i^\dagger gives ∥A∥F2=∑i≤rsi2=∑i≤psi2\|A\|_F^2 = \sum_{i \le r} s_i^2 = \sum_{i \le p} s_i^2, the omitted terms being zero. Since A−Ak=∑k<i≤rsiuivi†A - A_k = \sum_{k < i \le r} s_i u_i v_i^\dagger, the same step gives ∥A−Ak∥F2=∑i>ksi2\|A - A_k\|_F^2 = \sum_{i > k} s_i^2.

  2. The spectral norm and the spectral truncation error. For any xx put y=V†xy = V^\dagger x, so ∥y∥2=∥x∥2\|y\|_2 = \|x\|_2 as VV is unitary. Then ∥Ax∥2=∥USy∥2=∥Sy∥2\|Ax\|_2 = \|U S y\|_2 = \|S y\|_2, again by unitarity, and

∥Sy∥22=∑i≤psi2∣yi∣2 ≤ s12∥y∥22,\|S y\|_2^2 = \sum_{i \le p} s_i^2 |y_i|^2 \ \le\ s_1^2 \|y\|_2^2 ,

with equality at x=v1x = v_1 (then y=e1y = e_1); so ∥A∥2=s1\|A\|_2 = s_1. Running the same computation for A−AkA - A_k, whose dyadic form has only the indices k<i≤rk < i \le r, gives ∥(A−Ak)x∥22=∑k<i≤rsi2∣vi†x∣2≤sk+12∥x∥22\|(A - A_k)x\|_2^2 = \sum_{k < i \le r} s_i^2 |v_i^\dagger x|^2 \le s_{k+1}^2 \|x\|_2^2 with equality at x=vk+1x = v_{k+1}, so ∥A−Ak∥2=sk+1\|A - A_k\|_2 = s_{k+1}. By the range argument of part 3 of the existence statement, applied to Ak=∑i≤ksiuivi†A_k = \sum_{i \le k} s_i u_i v_i^\dagger with s1,…,sk>0s_1, \dots, s_k > 0 (here k<rk < r), im⁡Ak=span⁡{u1,…,uk}\operatorname{im} A_k = \operatorname{span}\{u_1, \dots, u_k\}, so rank⁡Ak=k\operatorname{rank} A_k = k exactly.

  1. Spectral lower bound. Let rank⁡B≤k\operatorname{rank} B \le k. Then dim⁡ker⁡B≥n−k\dim \ker B \ge n - k, while dim⁡span⁡{v1,…,vk+1}=k+1\dim \operatorname{span}\{v_1, \dots, v_{k+1}\} = k+1, and (n−k)+(k+1)>n(n-k) + (k+1) > n, so the two subspaces of Cn\mathbb{C}^n intersect in a non-zero vector. Normalise it: w=∑i≤k+1civiw = \sum_{i \le k+1} c_i v_i with ∑i≤k+1∣ci∣2=1\sum_{i \le k+1} |c_i|^2 = 1 and Bw=0B w = 0. Then, by part 2 of the existence statement and the orthonormality of the uiu_i,
∥(A−B)w∥2=∥Aw∥2=∥∑i≤k+1cisiui∥2=(∑i≤k+1∣ci∣2si2)1/2 ≥ sk+1,\|(A - B)w\|_2 = \|A w\|_2 = \Bigl\| \sum_{i \le k+1} c_i s_i u_i \Bigr\|_2 = \Bigl( \sum_{i \le k+1} |c_i|^2 s_i^2 \Bigr)^{1/2} \ \ge\ s_{k+1} ,

the last step because si≥sk+1s_i \ge s_{k+1} for every i≤k+1i \le k+1 and the ∣ci∣2|c_i|^2 sum to 11. Since ∥w∥2=1\|w\|_2 = 1, this gives ∥A−B∥2≥sk+1\|A - B\|_2 \ge s_{k+1}, which with step 3 proves the spectral-norm minimum.

  1. A capture lemma. Let MM be an m×mm \times m Hermitian positive semidefinite matrix with eigenvalues μ1≥⋯≥μm≥0\mu_1 \ge \cdots \ge \mu_m \ge 0 and an orthonormal eigenbasis w1,…,wmw_1, \dots, w_m, and let q1,…,qjq_1, \dots, q_j be orthonormal in Cm\mathbb{C}^m with j≤kj \le k. Then ∑l≤jql†Mql≤∑i≤kμi\sum_{l \le j} q_l^\dagger M q_l \le \sum_{i \le k} \mu_i. To see it, expand M=∑iμiwiwi†M = \sum_i \mu_i w_i w_i^\dagger and set ti=∑l≤j∣wi†ql∣2t_i = \sum_{l \le j} |w_i^\dagger q_l|^2, so that ∑l≤jql†Mql=∑iμiti\sum_{l \le j} q_l^\dagger M q_l = \sum_i \mu_i t_i. Now tit_i is the squared norm of the orthogonal projection of wiw_i onto span⁡{q1,…,qj}\operatorname{span}\{q_1, \dots, q_j\}, hence 0≤ti≤∥wi∥22=10 \le t_i \le \|w_i\|_2^2 = 1 (orthogonal projection, parts 3 and 4), while summing over ii instead gives ∑iti=∑l≤j∥ql∥22=j≤k\sum_i t_i = \sum_{l \le j} \|q_l\|_2^2 = j \le k, because w1,…,wmw_1, \dots, w_m is an orthonormal basis. Therefore
∑iμiti−∑i≤kμi=∑i≤kμi(ti−1)+∑i>kμiti ≤ μk∑i≤k(ti−1)+μk∑i>kti=μk(∑iti−k) ≤ 0,\sum_i \mu_i t_i - \sum_{i \le k} \mu_i = \sum_{i \le k} \mu_i (t_i - 1) + \sum_{i > k} \mu_i t_i \ \le\ \mu_k \sum_{i \le k} (t_i - 1) + \mu_k \sum_{i > k} t_i = \mu_k \Bigl( \sum_i t_i - k \Bigr) \ \le\ 0 ,

where the first inequality uses ti−1≤0t_i - 1 \le 0 with μi≥μk\mu_i \ge \mu_k for i≤ki \le k and ti≥0t_i \ge 0 with μi≤μk\mu_i \le \mu_k for i>ki > k, and the second uses μk≥0\mu_k \ge 0 with ∑iti≤k\sum_i t_i \le k.

  1. Frobenius lower bound. Let rank⁡B≤k\operatorname{rank} B \le k, let L=im⁡BL = \operatorname{im} B, of dimension j≤kj \le k, and let QQ be the orthogonal projection of Cm\mathbb{C}^m onto LL, so QB=BQ B = B. Split
A−B=(I−Q)A+(QA−B).A - B = (I - Q)A + (QA - B) .

Every column of the first term lies in L⊥L^\perp and every column of the second in LL, so ( (I−Q)A, QA−B )F=0(\,(I-Q)A,\, QA - B\,)_F = 0, the trace being the sum of the columnwise inner products. Hence

∥A−B∥F2=∥(I−Q)A∥F2+∥QA−B∥F2 ≥ ∥(I−Q)A∥F2=∥A∥F2−∥QA∥F2,\|A - B\|_F^2 = \|(I-Q)A\|_F^2 + \|QA - B\|_F^2 \ \ge\ \|(I-Q)A\|_F^2 = \|A\|_F^2 - \|QA\|_F^2 ,

the last equality being Pythagoras applied to each column of AA. Writing Q=∑l≤jqlql†Q = \sum_{l \le j} q_l q_l^\dagger for an orthonormal basis q1,…,qjq_1, \dots, q_j of LL and using Q†Q=QQ^\dagger Q = Q,

∥QA∥F2=tr⁡(A†QA)=tr⁡(QAA†)=∑l≤jql†AA†ql ≤ ∑i≤ksi2,\|QA\|_F^2 = \operatorname{tr}(A^\dagger Q A) = \operatorname{tr}(Q A A^\dagger) = \sum_{l \le j} q_l^\dagger A A^\dagger q_l \ \le\ \sum_{i \le k} s_i^2 ,

by step 5 with M=AA†M = A A^\dagger, whose eigenvalues are s12,…,sp2s_1^2, \dots, s_p^2 and zeros by part 1 of the existence statement. Combining, ∥A−B∥F2≥∥A∥F2−∑i≤ksi2=∑i>ksi2\|A - B\|_F^2 \ge \|A\|_F^2 - \sum_{i \le k} s_i^2 = \sum_{i > k} s_i^2, which with step 2 proves the Frobenius minimum.

  1. The Frobenius minimiser is unique when sk>sk+1s_k > s_{k+1}. Suppose rank⁡B≤k\operatorname{rank} B \le k and ∥A−B∥F2=∑i>ksi2\|A - B\|_F^2 = \sum_{i>k} s_i^2. Equality in step 6 forces B=QAB = QA and ∑l≤jql†AA†ql=∑i≤ksi2\sum_{l \le j} q_l^\dagger A A^\dagger q_l = \sum_{i \le k} s_i^2, so both inequalities of step 5 are tight for M=AA†M = A A^\dagger, μi=si2\mu_i = s_i^2. Here μk=sk2>0\mu_k = s_k^2 > 0 because k<rk < r, so tightness of the second gives ∑iti=j=k\sum_i t_i = j = k. Tightness of the first says
∑i≤k(μi−μk)(1−ti)+∑i>k(μk−μi)ti=0,\sum_{i \le k} (\mu_i - \mu_k)(1 - t_i) + \sum_{i > k} (\mu_k - \mu_i) t_i = 0 ,

a sum of non-negative terms. Choosing wi=uiw_i = u_i as the eigenbasis of AA†A A^\dagger, the hypothesis sk>sk+1s_k > s_{k+1} makes μk−μi>0\mu_k - \mu_i > 0 for every i>ki > k, so ti=0t_i = 0 there; then ∑i≤kti=k\sum_{i \le k} t_i = k with each ti≤1t_i \le 1 forces ti=1t_i = 1 for i≤ki \le k, that is ui∈Lu_i \in L for i≤ki \le k. As dim⁡L=k\dim L = k, this gives L=span⁡{u1,…,uk}L = \operatorname{span}\{u_1, \dots, u_k\} and Q=∑i≤kuiui†Q = \sum_{i \le k} u_i u_i^\dagger. Finally ui†A=(A†ui)†=sivi†u_i^\dagger A = (A^\dagger u_i)^\dagger = s_i v_i^\dagger by part 2 of the existence statement, so

B=QA=∑i≤kui(ui†A)=∑i≤ksiuivi†=Ak.B = QA = \sum_{i \le k} u_i (u_i^\dagger A) = \sum_{i \le k} s_i u_i v_i^\dagger = A_k .

This also shows AkA_k does not depend on which SVD was fixed at the start, as it must not: it is the unique minimiser.

  1. It is not unique when sk=sk+1s_k = s_{k+1}. Write ss for the common value, which is positive because k<rk < r. For real θ\theta let
uk′=cos⁡θ uk+sin⁡θ uk+1,uk+1′=−sin⁡θ uk+cos⁡θ uk+1,u'_k = \cos\theta\, u_k + \sin\theta\, u_{k+1}, \quad u'_{k+1} = -\sin\theta\, u_k + \cos\theta\, u_{k+1} ,

and define vk′,vk+1′v'_k, v'_{k+1} by the same formulas. By part 4 of the existence statement — the case of a block W⊇{k,k+1}W \supseteq \{k, k+1\} of equal singular values, rotated by the same real orthogonal QQ on both sides — this is again an SVD of AA. Its rank-kk truncation Ak′=∑i<ksiuivi†+s uk′vk′†A'_k = \sum_{i<k} s_i u_i v_i^\dagger + s\, u'_k v'^{\dagger}_k is a best rank-kk approximation, by steps 2 and 6 applied to that SVD. But vk′†vk+1=sin⁡θv'^{\dagger}_k v_{k+1} = \sin\theta, so Ak′vk+1=ssin⁡θ uk′A'_k v_{k+1} = s \sin\theta\, u'_k, while Akvk+1=0A_k v_{k+1} = 0. For sin⁡θ≠0\sin\theta \neq 0 the two differ, so there are infinitely many minimisers.

  1. The case k≥rk \ge r. Then rank⁡A=r≤k\operatorname{rank} A = r \le k, so B=AB = A is admissible and both minima are 00. □\square
Definition(Pseudoinverse)AdaptedAdapted from Stakgold & Holst (2011), Exercises 5.5.3-5.5.4, pp. 325-326

With A=USV†A = U S V^\dagger as above and rr non-zero singular values, the Moore-Penrose pseudoinverse of AA is the n×mn \times m matrix

A+=VS+U†,(S+)ii={1/si,si>0,0,si=0,(S+)ij=0 (i≠j),A^{+} = V S^{+} U^\dagger , \qquad (S^{+})_{ii} = \begin{cases} 1/s_i, & s_i > 0, \\ 0, & s_i = 0, \end{cases} \quad (S^{+})_{ij} = 0 \ (i \neq j),

so that A+=∑i=1rsi−1viui†A^{+} = \sum_{i=1}^{r} s_i^{-1} v_i u_i^\dagger. It does not depend on which SVD of AA is used. For any b∈Cmb \in \mathbb{C}^m, the vector x+=A+bx^{+} = A^{+} b is the minimum-norm least-squares solution: it minimises the residual ∥Ax−b∥2\|A x - b\|_2 over all x∈Cnx \in \mathbb{C}^n, and among the minimisers it is the unique one of smallest ∥x∥2\|x\|_2.

That last property is what (Stakgold & Holst (2011), Exercises 5.5.3-5.5.4, pp. 325-326) takes as the definition of the pseudoinverse, for an operator with closed range and with no factorisation in sight. The formula A+=VS+U†A^{+} = V S^{+} U^\dagger, and the identification of the two, are ours; the cited pages do not contain them. Consequently

  • AA+A A^{+} is the orthogonal projection of Cm\mathbb{C}^m onto the range of AA, and A+AA^{+} A the orthogonal projection of Cn\mathbb{C}^n onto the range of A†A^\dagger, the orthogonal complement of ker⁡A\ker A;
  • if AA is square and invertible then A+=A−1A^{+} = A^{-1};
  • if AA has full column rank nn then A+=(A†A)−1A†A^{+} = (A^\dagger A)^{-1} A^\dagger, recovering the normal equations of least squares.
Idea of the proofOriginal

In the singular bases AA is a diagonal matrix, and for a diagonal matrix the two demands are transparent: the residual splits into coordinates the unknown can set exactly and coordinates it cannot touch at all, and the norm of the unknown splits into coordinates the data forces and coordinates that are free. Setting the free ones to zero is the whole content of the pseudoinverse. Since this description of A+bA^{+}b never mentions a basis, it cannot depend on which SVD was used.

Proof(Properties of the pseudoinverse)Original

Fix an SVD A=USV†A = U S V^\dagger with rr non-zero singular values, let b∈Cmb \in \mathbb{C}^m, and for x∈Cnx \in \mathbb{C}^n put y=V†xy = V^\dagger x and c=U†bc = U^\dagger b. Unitarity gives ∥x∥2=∥y∥2\|x\|_2 = \|y\|_2, and the correspondence x↔yx \leftrightarrow y is a bijection of Cn\mathbb{C}^n.

  1. The residual in the singular bases. Since UU is unitary, ∥Ax−b∥2=∥U(Sy−c)∥2=∥Sy−c∥2\|Ax - b\|_2 = \|U(Sy - c)\|_2 = \|Sy - c\|_2. The matrix SS has (Sy)i=siyi(Sy)_i = s_i y_i for i≤pi \le p and (Sy)i=0(Sy)_i = 0 for p<i≤mp < i \le m, and si=0s_i = 0 for r<i≤pr < i \le p, so
∥Ax−b∥22=∑i=1r∣siyi−ci∣2+∑i=r+1m∣ci∣2.\|Ax - b\|_2^2 = \sum_{i=1}^{r} |s_i y_i - c_i|^2 + \sum_{i=r+1}^{m} |c_i|^2 .

The second sum does not involve xx at all. Hence xx minimises the residual if and only if yi=ci/siy_i = c_i / s_i for every i≤ri \le r, the coordinates yr+1,…,yny_{r+1}, \dots, y_n being unconstrained, and the minimal residual is (∑i>r∣ci∣2)1/2\bigl( \sum_{i > r} |c_i|^2 \bigr)^{1/2}.

  1. Minimum norm. Among those minimisers, ∥x∥22=∥y∥22=∑i≤r∣ci/si∣2+∑i>r∣yi∣2\|x\|_2^2 = \|y\|_2^2 = \sum_{i \le r} |c_i/s_i|^2 + \sum_{i > r} |y_i|^2, which is smallest exactly when yi=0y_i = 0 for every i>ri > r, and then uniquely so. That choice of yy is precisely S+cS^{+} c, so the minimum-norm least-squares solution is x=VS+U†b=A+bx = V S^{+} U^\dagger b = A^{+} b, as claimed. Taking bb to run over Cm\mathbb{C}^m identifies A+A^{+} with the operator of the cited exercises.

  2. Independence of the SVD. Steps 1 and 2 characterise A+bA^{+}b as the unique minimum-norm minimiser of ∥Ax−b∥2\|Ax - b\|_2, a description that mentions only AA and bb. So A+A^{+} is the same matrix for every SVD of AA.

  3. The two projections. SS+S S^{+} is the m×mm \times m diagonal matrix with rr ones followed by zeros, since (SS+)ij=Sii(S+)ij=sisi−1δij(S S^{+})_{ij} = S_{ii} (S^{+})_{ij} = s_i s_i^{-1} \delta_{ij} for i≤ri \le r and vanishes otherwise. Hence

AA+=USV†VS+U†=U(SS+)U†=∑i=1ruiui†,A A^{+} = U S V^\dagger V S^{+} U^\dagger = U (S S^{+}) U^\dagger = \sum_{i=1}^{r} u_i u_i^\dagger ,

which is Hermitian and idempotent with range span⁡{u1,…,ur}=im⁡A\operatorname{span}\{u_1, \dots, u_r\} = \operatorname{im} A, so it is the orthogonal projection onto im⁡A\operatorname{im} A (orthogonal projection, part 5). Identically, S+SS^{+} S is n×nn \times n diagonal with rr ones, so A+A=∑i≤rvivi†A^{+} A = \sum_{i \le r} v_i v_i^\dagger is the orthogonal projection onto span⁡{v1,…,vr}=im⁡A†=(ker⁡A)⊥\operatorname{span}\{v_1, \dots, v_r\} = \operatorname{im} A^\dagger = (\ker A)^\perp.

  1. Square and invertible. Then r=m=nr = m = n, so SS is square with all si>0s_i > 0 and S+=S−1S^{+} = S^{-1}; hence A+=VS−1U†=(USV†)−1=A−1A^{+} = V S^{-1} U^\dagger = (U S V^\dagger)^{-1} = A^{-1}.

  2. Full column rank. If rank⁡A=n\operatorname{rank} A = n then r=n≤mr = n \le m, and S†S=diag⁡(s12,…,sn2)S^\dagger S = \operatorname{diag}(s_1^2, \dots, s_n^2) is invertible, so A†A=V(S†S)V†A^\dagger A = V (S^\dagger S) V^\dagger is invertible with inverse V(S†S)−1V†V (S^\dagger S)^{-1} V^\dagger. Therefore

(A†A)−1A†=V(S†S)−1V†⋅VS†U†=V((S†S)−1S†)U†,(A^\dagger A)^{-1} A^\dagger = V (S^\dagger S)^{-1} V^\dagger \cdot V S^\dagger U^\dagger = V \bigl( (S^\dagger S)^{-1} S^\dagger \bigr) U^\dagger ,

and (S†S)−1S†(S^\dagger S)^{-1} S^\dagger is the n×mn \times m matrix with (i,i)(i,i) entry si/si2=1/sis_i / s_i^2 = 1/s_i and all other entries zero, which is S+S^{+}. So (A†A)−1A†=VS+U†=A+(A^\dagger A)^{-1} A^\dagger = V S^{+} U^\dagger = A^{+}, and by step 1 the minimiser is unique because no coordinates yiy_i with i>r=ni > r = n exist. □\square

NoteOriginal

The SVD says that every linear map, of any shape and any rank, is the same thing in disguise: choose the right orthonormal basis in the source and in the target, and the map simply scales rr perpendicular directions by s1,…,srs_1, \dots, s_r and annihilates the rest. Because the scaling factors come out sorted, truncating the list is the optimal way to simplify the map — which is why the SVD underlies principal component analysis, image and model compression, rank determination, and the regularisation of ill-posed least-squares problems.

Remark(Traps and conventions)Original

Singular values are not eigenvalues. For A=(0200)A = \begin{pmatrix} 0 & 2 \\ 0 & 0 \end{pmatrix} both eigenvalues are 00 while the singular values are 22 and 00. The two lists agree up to absolute values and ordering exactly for normal AA, meaning AA†=A†AA A^\dagger = A^\dagger A (see normal matrices) — not only for Hermitian AA: a 2×22 \times 2 rotation matrix and diag⁡(i,1)\operatorname{diag}(i, 1) are normal without being Hermitian, and both have singular values 1,11, 1 and eigenvalues of modulus 11. (Normality is necessary as well as sufficient, since ∑isi2=∥A∥F2≥∑k∣λk∣2\sum_i s_i^2 = \|A\|_F^2 \ge \sum_k |\lambda_k|^2 for every square AA, with equality precisely when AA is normal.) The two lists coincide, with no absolute values, exactly for positive semidefinite AA.

si≥0s_i \ge 0 and the ordering are conventions, and they are what makes the factorisation nearly unique. A sign can always be moved into uiu_i or viv_i; reversing the order permutes the columns of UU and VV together. Do not compare two SVDs column by column without fixing both conventions.

Full versus reduced. Many texts and all numerical libraries offer a "thin" or "economy" form in which UU is m×pm \times p and VV is n×pn \times p with orthonormal columns and SS is p×pp \times p square. The thin factors are isometries, so U†U=IpU^\dagger U = I_p and V†V=IpV^\dagger V = I_p hold in both forms, while the identities with the factors the other way round can fail. Which one fails depends on the shape: since p=min⁡(m,n)p = \min(m, n), the thin UU is square — hence already unitary, with UU†=ImU U^\dagger = I_m — exactly when m≤nm \le n, and the thin VV is square exactly when n≤mn \le m. For m>nm > n the thin UU is m×nm \times n and UU†U U^\dagger is the rank-nn orthogonal projection onto span⁡{u1,…,un}\operatorname{span}\{u_1, \dots, u_n\}, not ImI_m; for n>mn > m the same happens to VV†V V^\dagger. At most one of the two can fail, and when m≠nm \neq n exactly one does; when m=nm = n the thin form is the full form, both factors are unitary and neither fails. So "the thin factors are not unitary" is a statement about one named factor, decided by the shape, never about both at once.

The pseudoinverse is not continuous in AA. A singular value that passes through zero makes A+A^{+} blow up: for Aϵ=diag⁡(1,ϵ)A_\epsilon = \operatorname{diag}(1, \epsilon), Aϵ+=diag⁡(1,1/ϵ)A_\epsilon^{+} = \operatorname{diag}(1, 1/\epsilon) for ϵ≠0\epsilon \neq 0 but A0+=diag⁡(1,0)A_0^{+} = \operatorname{diag}(1, 0). This is why practical computations zero out all singular values below a tolerance rather than inverting them, and it is the quantitative content of conditioning.

A+=(A†A)−1A†A^{+} = (A^\dagger A)^{-1} A^\dagger needs full column rank. With dependent columns A†AA^\dagger A is singular and the normal equations have many solutions; the pseudoinverse selects the one of least norm, which the normal equations by themselves do not.

Notation. A+A^{+}, A†A^{\dagger} and A#A^{\#} all appear in the literature for the pseudoinverse; we reserve A†A^\dagger for the Hermitian conjugate throughout, as in the spectral theorem. Singular values are written sis_i here and σi\sigma_i in much of the numerical literature.

Example(A rank-deficient 3 x 3 matrix, worked through completely)Original

Take the real matrix

A=(6960−6−12660),A = \begin{pmatrix} 6 & 9 & 6 \\ 0 & -6 & -12 \\ 6 & 6 & 0 \end{pmatrix} ,

so m=n=p=3m = n = p = 3 and A†=ATA^\dagger = A^{\mathsf T}.

1. Form ATAA^{\mathsf T} A. Its (i,j)(i,j) entry is the dot product of columns ii and jj of AA:

ATA=(7290369015312636126180).A^{\mathsf T} A = \begin{pmatrix} 72 & 90 & 36 \\ 90 & 153 & 126 \\ 36 & 126 & 180 \end{pmatrix} .

2. Its eigenvalues. The characteristic polynomial of a 3×33 \times 3 matrix is λ3−e1λ2+e2λ−e3\lambda^3 - e_1 \lambda^2 + e_2 \lambda - e_3 with e1e_1 the trace, e2e_2 the sum of the three 2×22 \times 2 principal minors and e3e_3 the determinant. Here e1=72+153+180=405e_1 = 72 + 153 + 180 = 405,

e2=(72⋅153−902)+(72⋅180−362)+(153⋅180−1262)=2916+11664+11664=26244,e_2 = (72 \cdot 153 - 90^2) + (72 \cdot 180 - 36^2) + (153 \cdot 180 - 126^2) = 2916 + 11664 + 11664 = 26244 ,

and e3=0e_3 = 0, because the columns of AA satisfy 2c1−2c2+c3=02 c_1 - 2 c_2 + c_3 = 0 — check the first row: 2⋅6−2⋅9+6=02 \cdot 6 - 2 \cdot 9 + 6 = 0 — so AA, and hence ATAA^{\mathsf T} A, is singular. Thus

λ3−405λ2+26244λ=λ(λ2−405λ+26244)=λ(λ−324)(λ−81),\lambda^3 - 405 \lambda^2 + 26244 \lambda = \lambda (\lambda^2 - 405\lambda + 26244) = \lambda(\lambda - 324)(\lambda - 81) ,

since 324+81=405324 + 81 = 405 and 324⋅81=26244324 \cdot 81 = 26244. So the singular values are

s1=324=18,s2=81=9,s3=0,s_1 = \sqrt{324} = 18, \qquad s_2 = \sqrt{81} = 9, \qquad s_3 = 0 ,

and r=rank⁡A=2r = \operatorname{rank} A = 2.

3. Right singular vectors. Solving (ATA−λI)v=0(A^{\mathsf T} A - \lambda I)v = 0 for each eigenvalue and normalising gives

v1=13(1,2,2)T,v2=13(2,1,−2)T,v3=13(2,−2,1)T.v_1 = \tfrac13 (1, 2, 2)^{\mathsf T}, \qquad v_2 = \tfrac13 (2, 1, -2)^{\mathsf T}, \qquad v_3 = \tfrac13 (2, -2, 1)^{\mathsf T} .

Each has norm 131+4+4=1\tfrac13\sqrt{1+4+4} = 1, and the three are mutually orthogonal (1⋅2+2⋅1−2⋅2=01\cdot2 + 2\cdot1 - 2\cdot2 = 0, and similarly for the other two pairs). Verify one eigenvector equation: ATA(1,2,2)T=(72+180+72, 90+306+252, 36+252+360)T=(324,648,648)T=324 (1,2,2)TA^{\mathsf T} A (1,2,2)^{\mathsf T} = (72 + 180 + 72,\ 90 + 306 + 252,\ 36 + 252 + 360)^{\mathsf T} = (324, 648, 648)^{\mathsf T} = 324\,(1,2,2)^{\mathsf T}, as required.

4. Left singular vectors. By the construction, ui=Avi/siu_i = A v_i / s_i for i≤r=2i \le r = 2:

Av1=13(36,−36,18)T=(12,−12,6)T=18⋅13(2,−2,1)T,sou1=13(2,−2,1)T,A v_1 = \tfrac13 (36, -36, 18)^{\mathsf T} = (12, -12, 6)^{\mathsf T} = 18 \cdot \tfrac13 (2, -2, 1)^{\mathsf T}, \quad\text{so}\quad u_1 = \tfrac13 (2, -2, 1)^{\mathsf T} ,Av2=13(9,18,18)T=(3,6,6)T=9⋅13(1,2,2)T,sou2=13(1,2,2)T.A v_2 = \tfrac13 (9, 18, 18)^{\mathsf T} = (3, 6, 6)^{\mathsf T} = 9 \cdot \tfrac13 (1, 2, 2)^{\mathsf T}, \quad\text{so}\quad u_2 = \tfrac13 (1, 2, 2)^{\mathsf T} .

The third column is any unit vector orthogonal to these two; u3=13(2,1,−2)Tu_3 = \tfrac13 (2, 1, -2)^{\mathsf T} serves. Checks demanded by the statement: Av3=0A v_3 = 0, so v3v_3 spans ker⁡A\ker A; ATu3=0A^{\mathsf T} u_3 = 0, so u3u_3 spans ker⁡AT=(im⁡A)⊥\ker A^{\mathsf T} = (\operatorname{im} A)^\perp; ATu1=(6,12,12)T=18v1A^{\mathsf T} u_1 = (6, 12, 12)^{\mathsf T} = 18 v_1 and ATu2=(6,3,−6)T=9v2A^{\mathsf T} u_2 = (6, 3, -6)^{\mathsf T} = 9 v_2, which is part 2.

5. The decomposition. With U=(u1 u2 u3)U = (u_1\ u_2\ u_3), V=(v1 v2 v3)V = (v_1\ v_2\ v_3) and S=diag⁡(18,9,0)S = \operatorname{diag}(18, 9, 0),

A=18 u1v1T+9 u2v2T=(488−4−8−8244)+(21−242−442−4),A = 18\, u_1 v_1^{\mathsf T} + 9\, u_2 v_2^{\mathsf T} = \begin{pmatrix} 4 & 8 & 8 \\ -4 & -8 & -8 \\ 2 & 4 & 4 \end{pmatrix} + \begin{pmatrix} 2 & 1 & -2 \\ 4 & 2 & -4 \\ 4 & 2 & -4 \end{pmatrix} ,

and the two matrices do add up to AA. As a check on the singular values, ∥A∥F2=36+81+36+36+144+36+36=405\|A\|_F^2 = 36 + 81 + 36 + 36 + 144 + 36 + 36 = 405 (the three zero entries of AA contribute nothing) and s12+s22=324+81=405s_1^2 + s_2^2 = 324 + 81 = 405.

6. Best rank-one approximation. A1=18 u1v1TA_1 = 18\, u_1 v_1^{\mathsf T} is the first matrix displayed above, and A−A1A - A_1 is the second. Its spectral and Frobenius norms are both s2=9s_2 = 9: indeed A−A1=9 u2v2TA - A_1 = 9\, u_2 v_2^{\mathsf T} is a single dyad, and ∥A−A1∥F2=4+1+4+16+4+16+16+4+16=81\|A - A_1\|_F^2 = 4+1+4+16+4+16+16+4+16 = 81. No matrix of rank 11 comes closer in either norm, and because s1>s2s_1 > s_2 this A1A_1 is the only Frobenius minimiser.

7. Pseudoinverse. A+=118v1u1T+19v2u2TA^{+} = \tfrac{1}{18} v_1 u_1^{\mathsf T} + \tfrac19 v_2 u_2^{\mathsf T}, which works out to

A+=154(2232020−4−2).A^{+} = \frac{1}{54} \begin{pmatrix} 2 & 2 & 3 \\ 2 & 0 & 2 \\ 0 & -4 & -2 \end{pmatrix} .

Check the projection property: AA+=I−u3u3T=19(5−24−282425)A A^{+} = I - u_3 u_3^{\mathsf T} = \tfrac19 \begin{pmatrix} 5 & -2 & 4 \\ -2 & 8 & 2 \\ 4 & 2 & 5\end{pmatrix}, which is symmetric, squares to itself, and kills u3u_3 — the orthogonal projection onto im⁡A\operatorname{im} A.

8. Minimum-norm least squares. For b=(54,0,0)Tb = (54, 0, 0)^{\mathsf T},

x+=A+b=(2,2,0)T,Ax+=(30,−12,24)T,b−Ax+=(24,12,−24)T.x^{+} = A^{+} b = (2, 2, 0)^{\mathsf T}, \qquad A x^{+} = (30, -12, 24)^{\mathsf T}, \qquad b - A x^{+} = (24, 12, -24)^{\mathsf T} .

The residual is 36 u336\, u_3, so it is orthogonal to im⁡A\operatorname{im} A as it must be, and its norm is 3636. Every least-squares solution is x++tv3x^{+} + t v_3 with t∈Rt \in \mathbb{R}, and since x+⋅(2,−2,1)=4−4+0=0x^{+} \cdot (2,-2,1) = 4 - 4 + 0 = 0 the vector x+x^{+} is orthogonal to ker⁡A\ker A, giving

∥x++tv3∥22=∥x+∥22+t2=8+t2,\|x^{+} + t v_3\|_2^2 = \|x^{+}\|_2^2 + t^2 = 8 + t^2 ,

minimal only at t=0t = 0. So ∥x+∥2=22≈2.8284\|x^{+}\|_2 = 2\sqrt2 \approx 2.8284 is the smallest norm among all least-squares solutions, and ∥b−Ax+∥2=36\|b - A x^{+}\|_2 = 36 is the common residual of all of them.

ApplicationOriginal
  • Empirical orthogonal functions in climate science. Arrange a gridded field — monthly sea-surface temperature anomalies, say — as a matrix with one row per time and one column per grid point, and compute its SVD. The right singular vectors are the spatial patterns (EOFs), the left singular vectors scaled by the singular values are their time series (principal components), and si2/∑jsj2s_i^2 / \sum_j s_j^2 is the fraction of variance that pattern carries. The best low-rank approximation statement is what justifies keeping the first few: no other combination of that many patterns reproduces the data field better, in the least-squares sense. The same computation under the name principal component analysis reduces the dimension of any data matrix.

  • Quantum entanglement. A pure state of two subsystems, ∣ψ⟩=∑jkCjk∣j⟩⊗∣k⟩|\psi\rangle = \sum_{jk} C_{jk} |j\rangle \otimes |k\rangle, has a coefficient matrix CC; its SVD is the Schmidt decomposition ∣ψ⟩=∑isi∣ui⟩⊗∣vi‾⟩|\psi\rangle = \sum_i s_i |u_i\rangle \otimes |\overline{v_i}\rangle. The singular values are the Schmidt coefficients, rank⁡C\operatorname{rank} C is the Schmidt rank, the state is a product state exactly when that rank is 11, and the reduced density matrices CC†C C^\dagger and CTC‾C^{\mathsf T} \overline{C} have the common eigenvalues si2s_i^2, from which the entanglement entropy −∑isi2log⁡si2-\sum_i s_i^2 \log s_i^2 (for ∑isi2=1\sum_i s_i^2 = 1) is computed. Truncating to the largest few sis_i is the compression step at the heart of matrix-product-state and DMRG methods.

  • Regularising an ill-posed inversion. In tomography, deconvolution and geophysical inversion one must solve Ax=bAx = b for a discretised operator whose singular values decay towards zero. The pseudoinverse multiplies the data component along uiu_i by 1/si1/s_i, so noise in the directions with tiny sis_i is amplified without limit. Truncated SVD regularisation keeps only the terms with sis_i above a threshold, which replaces A+A^{+} by the pseudoinverse of the best low-rank approximation AkA_k and trades resolution for stability; the quantitative version of the trade-off is the subject of condition numbers.

  • Rank, and how many digits of it you can believe. The theoretical rank of a measured matrix is almost never attained numerically, because rounding and measurement error perturb every zero singular value away from zero. The spectral-norm statement says that AA is within sk+1s_{k+1} of a matrix of rank kk, so counting the singular values above the noise level is the defensible way to determine rank — the standard test for the order of a linear model, the number of independent reaction pathways in a kinetics matrix, or the dimension of an attractor reconstructed by delay embedding.

Method

Functions of matrices and the matrix exponential

Adapted

Defines a function of a matrix by its power series, states when the series converges, collects the properties of exp(A) including the exact condition — that A and B commute — for exp(sA+tB) = exp(sA)exp(tB) to hold for all s and t near 0, which is more than the single identity exp(A+B) = exp(A)exp(B) requires, and gives the recipes for computing exp(tA) by diagonalization and for defective matrices.

Prerequisites: Eigenvalues and eigenvectors, Power series, Normal matrices and simultaneous diagonalization, Jordan normal form, Absolute and conditional convergence, Convergence tests for series, Determinants

Definition(Power series in a matrix)AdaptedAdapted from Riley, Hobson & Bence (2006), §8.5, Eq. (8.38), p. 255; Hirsch, Smale & Devaney (2013), §6.4, p. 123

Powers of a square matrix are defined by A0=IA^0 = I and Ak=AAk−1A^k = A A^{k-1}, so for scalars c0,c1,…c_0, c_1, \dots one can form

f(A)=∑k=0∞ckAk,f(A) = \sum_{k=0}^{\infty} c_k A^k ,

a matrix of the same size as AA, provided the series converges. Convergence means entrywise convergence, which is the same as convergence in any norm on the space of matrices. The matrix exponential is the case ck=1/k!c_k = 1/k!:

exp⁡A=eA=∑k=0∞Akk!.\exp A = e^{A} = \sum_{k=0}^{\infty} \frac{A^k}{k!} .

The same construction defines sin⁡A\sin A and cos⁡A\cos A, which converge for every AA, and the geometric (Neumann) series ∑kAk\sum_k A^k, which converges to (I−A)−1(I - A)^{-1} when ρ(A)<1\rho(A) < 1 and diverges when ρ(A)>1\rho(A) > 1. Here the spectral radius of AA is ρ(A)=max⁡{∣λ∣:λ∈σ(A)}\rho(A) = \max\{|\lambda| : \lambda \in \sigma(A)\}, and the convergence statement below is what supplies these conditions.

Method(Convergence)Original

Let ∑kckzk\sum_k c_k z^k have radius of convergence R∈(0,∞]R \in (0, \infty] and let AA be an n×nn \times n complex matrix.

  1. If ρ(A)<R\rho(A) < R, then ∑kckAk\sum_k c_k A^k converges absolutely, entry by entry. If ρ(A)>R\rho(A) > R, it diverges.
  2. The boundary case ρ(A)=R\rho(A) = R may go either way, and is not decided by ρ(A)\rho(A) alone. At A=IA = I, where ρ(A)=1\rho(A) = 1, both the coefficient sequence ck=1c_k = 1 and the coefficient sequence c0=0c_0 = 0, ck=1/k2c_k = 1/k^2 for k≥1k \ge 1, have R=1R = 1; the first matrix series diverges and the second converges.

The exponential has R=∞R = \infty, so part 1 covers it for every AA. The next statement covers it again with an explicit bound and no reference to the spectrum.

Idea of the proofOriginal

A matrix power series can only do to AA what the scalar series does to each of its eigenvalues, so what matters is how fast the entries of AkA^k can grow. The Jordan form answers that: they grow like a polynomial in kk times ρ(A)k\rho(A)^k, and a polynomial factor cannot defeat the geometric margin available strictly inside the disc of convergence. Outside the disc a single eigenvector is enough to wreck everything, because on that vector the matrix series is the scalar series evaluated at z=λz = \lambda. On the circle the geometric margin is gone, and the polynomial factor that it used to absorb becomes decisive instead: at ρ(A)=R\rho(A) = R the answer depends on the Jordan structure of AA and not on the spectrum or the coefficients alone, so no condition on ρ(A)\rho(A) can settle it. The degenerate case A=IA = I, where that structure drops out entirely and the matrix series is just (∑kck)I\bigl(\sum_k c_k\bigr) I, is therefore the place to look when one wants two coefficient sequences of the same radius to behave differently at the same AA.

ProofOriginal
  1. Entrywise growth of the powers. Claim: for every r>ρ(A)r > \rho(A) there is a constant CC, depending on AA and rr only, with ∣(Ak)il∣≤Crk|(A^k)_{il}| \le C r^k for all k≥0k \ge 0 and all i,li, l. Write A=TJT−1A = T J T^{-1} with JJ the Jordan normal form of AA, so Ak=TJkT−1A^k = T J^k T^{-1}; since TT and T−1T^{-1} are fixed, each entry of AkA^k is a fixed finite combination of entries of JkJ^k, and it is enough to bound those. JJ is a direct sum of blocks λIq+Nq\lambda I_q + N_q with q≤nq \le n, NqN_q the nilpotent shift (Nqq=0N_q^q = 0, entries 00 or 11) and λ\lambda an eigenvalue, so ∣λ∣≤ρ(A)<r|\lambda| \le \rho(A) < r. As λIq\lambda I_q commutes with NqN_q, the binomial theorem gives
(λIq+Nq)k=∑j=0min⁡(k, q−1)(kj)λk−jNq j,(\lambda I_q + N_q)^k = \sum_{j=0}^{\min(k,\, q-1)} \binom{k}{j} \lambda^{k-j} N_q^{\,j} ,

so every entry of the block of JkJ^k is (kj)λk−j\binom{k}{j}\lambda^{k-j} for some j≤q−1j \le q-1, or 00. If λ=0\lambda = 0 only j=kj = k survives, which needs k≤q−1k \le q - 1: finitely many kk, absorbed into CC. If λ≠0\lambda \neq 0 then ∣λk−j∣≤max⁡(1,∣λ∣−(n−1)) ∣λ∣k|\lambda^{k-j}| \le \max(1, |\lambda|^{-(n-1)})\, |\lambda|^k and (kj)≤k n−1\binom{k}{j} \le k^{\,n-1} for k≥1k \ge 1, so the entry is at most a constant times k n−1∣λ∣k≤k n−1ρ(A)kk^{\,n-1} |\lambda|^k \le k^{\,n-1} \rho(A)^k. Finally k n−1ρ(A)k/rk→0k^{\,n-1}\rho(A)^k / r^k \to 0 as k→∞k \to \infty, because ρ(A)<r\rho(A) < r makes the geometric factor win, so that sequence is bounded and the claim follows.

  1. Part 1, convergence. Suppose ρ(A)<R\rho(A) < R and choose rr with ρ(A)<r<R\rho(A) < r < R. A power series converges absolutely at every point strictly inside its disc of convergence (power series), so ∑k∣ck∣rk<∞\sum_k |c_k| r^k < \infty. By step 1,
∑k=0∞∣ck∣ ∣(Ak)il∣ ≤ C∑k=0∞∣ck∣rk < ∞\sum_{k=0}^{\infty} |c_k|\, |(A^k)_{il}| \ \le\ C \sum_{k=0}^{\infty} |c_k| r^k \ <\ \infty

for every i,li, l: the matrix series converges absolutely, entry by entry.

  1. Part 1, divergence. Suppose ρ(A)>R\rho(A) > R and pick an eigenvalue λ\lambda with ∣λ∣=ρ(A)|\lambda| = \rho(A) and an eigenvector v≠0v \neq 0. Then Akv=λkvA^k v = \lambda^k v by induction, so the partial sums PK=∑k≤KckAkP_K = \sum_{k \le K} c_k A^k satisfy PKv=(∑k≤Kckλk)vP_K v = \bigl(\sum_{k \le K} c_k \lambda^k\bigr) v. If the matrix series converged entrywise then each (PKv)i(P_K v)_i, a fixed linear combination of entries of PKP_K, would converge; choosing ii with vi≠0v_i \neq 0 makes ∑k≤Kckλk=(PKv)i/vi\sum_{k \le K} c_k \lambda^k = (P_K v)_i / v_i a convergent scalar sequence. But ∣λ∣>R|\lambda| > R, and a power series diverges at every point outside its disc of convergence. So the matrix series diverges.

  2. Part 2, the boundary. For A=IA = I every power is II, so ∑kckAk=(∑kck)I\sum_k c_k A^k = \bigl(\sum_k c_k\bigr) I converges exactly when the scalar series ∑kck\sum_k c_k does, while ρ(I)=1\rho(I) = 1. Taking ck=1c_k = 1 gives R=1R = 1 (the coefficients have ∣ck∣1/k=1|c_k|^{1/k} = 1) and a divergent ∑k1\sum_k 1. Taking c0=0c_0 = 0 and ck=1/k2c_k = 1/k^2 gives R=1R = 1 as well, since (1/k2)1/k→1(1/k^2)^{1/k} \to 1, and ∑k≥11/k2\sum_{k \ge 1} 1/k^2 converges. So ρ(A)=R\rho(A) = R decides nothing.

  3. The Neumann series. For ∑kzk\sum_k z^k we have R=1R = 1, so by part 1 the series ∑kAk\sum_k A^k converges when ρ(A)<1\rho(A) < 1 and diverges when ρ(A)>1\rho(A) > 1. In the convergent case, telescoping gives (I−A)∑k≤KAk=I−AK+1(I - A)\sum_{k \le K} A^k = I - A^{K+1}, and by step 1 with any r∈(ρ(A),1)r \in (\rho(A), 1) the entries of AK+1A^{K+1} are at most CrK+1→0C r^{K+1} \to 0. Letting K→∞K \to \infty gives (I−A)∑kAk=I(I-A)\sum_k A^k = I, and the same computation on the other side gives ∑kAk(I−A)=I\sum_k A^k (I - A) = I, so the sum is (I−A)−1(I-A)^{-1}. □\square

Method(The exponential converges for every matrix)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §6.4, p. 125

Let AA be an n×nn \times n complex matrix and put a=max⁡i,j∣Aij∣a = \max_{i,j}|A_{ij}|. Then

∣(Ak)ij∣ ≤ n k−1ak(k≥1),\bigl| (A^k)_{ij} \bigr| \ \le\ n^{\,k-1} a^k \qquad (k \ge 1) ,

and consequently every entry of ∑kAk/k!\sum_k A^k/k! is an absolutely convergent scalar series, with

∑k=0∞∣(Ak)ij∣k! ≤ 1+ena−1n.\sum_{k=0}^{\infty} \frac{|(A^k)_{ij}|}{k!} \ \le\ 1 + \frac{e^{na} - 1}{n} .

So exp⁡A\exp A is defined for every AA, under no hypothesis at all. The same bound makes ∑kckAk\sum_k c_k A^k converge absolutely whenever na<Rn a < R: a crude but spectrum-free test, which needs no eigenvalue of AA to be known. A sharp test of that kind uses a submultiplicative norm — one with ∥XY∥≤∥X∥ ∥Y∥\|XY\| \le \|X\|\,\|Y\|, so that ∥Ak∥≤∥A∥k\|A^k\| \le \|A\|^k — together with the fact that ρ(A)≤∥A∥\rho(A) \le \|A\|; such norms are the subject of a later unit, matrix norms and conditioning, and nothing below depends on them.

Idea of the proofOriginal

Each entry of Ak+1A^{k+1} is a sum of nn products of an entry of AkA^k with an entry of AA, so passing from one power to the next costs at most one factor nn and one factor aa; iterating that is the bound. Dividing by k!k! then leaves, up to the factor 1/n1/n, a term of the scalar series for enae^{na}, and the comparison test finishes the job. Nothing about the spectrum of AA is used anywhere, which is what makes the resulting test crude but usable with the entries of AA alone.

ProofAdaptedAdapted from Hirsch, Smale & Devaney (2013), §6.4, p. 125
  1. The bound on the powers. Induction on kk. For k=1k = 1 the claim reads ∣Ail∣≤a|A_{il}| \le a, which is the definition of aa. Assume it for kk. Each entry of Ak+1A^{k+1} is ∑q=1n(Ak)iqAql\sum_{q=1}^{n} (A^k)_{iq} A_{ql}, a sum of nn terms, so by the triangle inequality, the inductive hypothesis and ∣Aql∣≤a|A_{ql}| \le a,
∣(Ak+1)il∣ ≤ ∑q=1nn k−1ak⋅a = n kak+1.|(A^{k+1})_{il}| \ \le\ \sum_{q=1}^{n} n^{\,k-1} a^k \cdot a \ =\ n^{\,k} a^{k+1} .
  1. Comparison with the scalar exponential series. Split off the term k=0k = 0, where (A0)il=δil(A^0)_{il} = \delta_{il} has modulus at most 11. For k≥1k \ge 1 step 1 gives ∣(Ak)il∣/k!≤(na)k/(n k!)|(A^k)_{il}|/k! \le (na)^k/(n\,k!), so
∑k=0∞∣(Ak)il∣k! ≤ 1+1n∑k=1∞(na)kk! = 1+ena−1n < ∞,\sum_{k=0}^{\infty} \frac{|(A^k)_{il}|}{k!} \ \le\ 1 + \frac{1}{n} \sum_{k=1}^{\infty} \frac{(na)^k}{k!} \ =\ 1 + \frac{e^{na} - 1}{n} \ <\ \infty ,

the middle equality because ∑k≥1(na)k/k!=ena−1\sum_{k \ge 1}(na)^k/k! = e^{na} - 1. Each entry series is therefore dominated by a convergent series of non-negative numbers, hence absolutely convergent by the comparison test (convergence tests). This is the route of (Hirsch, Smale & Devaney (2013), §6.4, p. 125), which bounds the entry by enae^{na} without separating the k=0k = 0 term.

  1. The spectrum-free test. Run the same chain with the coefficients in place: ∑k≥1∣ck∣ ∣(Ak)il∣≤1n∑k≥1∣ck∣(na)k\sum_{k \ge 1} |c_k|\,|(A^k)_{il}| \le \frac{1}{n}\sum_{k \ge 1} |c_k| (na)^k by step 1. If na<Rna < R then nana lies strictly inside the disc of convergence of ∑kckzk\sum_k c_k z^k, where a power series converges absolutely (power series), so the right-hand side is finite and ∑kckAk\sum_k c_k A^k converges absolutely entry by entry.

  2. Relation to the previous statement. The conclusion for exp⁡A\exp A is also the case R=∞R = \infty of part 1 above. The bound just proved is nevertheless the one used in the rest of this unit, because it is explicit in the entries of AA and survives being applied to sA+tBsA + tB with unknown spectrum. □\square

Method(Properties of the exponential)AdaptedAdapted from Hirsch, Smale & Devaney (2013), §6.4, the Propositions on pp. 126 and 128 and the Theorem on p. 129; Riley, Hobson & Bence (2006), §8.16, Eq. (8.104), pp. 287-288

Let A,BA, B be n×nn \times n complex matrices and TT invertible. Then:

  1. exp⁡(T−1AT)=T−1(exp⁡A)T\exp(T^{-1} A T) = T^{-1} (\exp A) T.
  2. If AB=BAA B = B A, then exp⁡(A+B)=(exp⁡A)(exp⁡B)\exp(A + B) = (\exp A)(\exp B).
  3. exp⁡(−A)=(exp⁡A)−1\exp(-A) = (\exp A)^{-1}; in particular exp⁡A\exp A is invertible for every AA.
  4. If Av=λvA v = \lambda v with v≠0v \neq 0, then (exp⁡A)v=eλv(\exp A) v = e^{\lambda} v.
  5. ddtexp⁡(tA)=Aexp⁡(tA)=exp⁡(tA) A\dfrac{d}{dt} \exp(tA) = A \exp(tA) = \exp(tA)\, A, and x(t)=exp⁡(tA) x0x(t) = \exp(tA)\, x_0 is a solution of x˙=Ax\dot x = A x with x(0)=x0x(0) = x_0 and is the only one ((Hirsch, Smale & Devaney (2013), §6.4, Theorem, p. 129)).
  6. det⁡(exp⁡A)=etr⁡A\det(\exp A) = e^{\operatorname{tr} A}.

The commuting hypothesis is what makes the proof of property 2 work: that proof goes through the binomial theorem for (A+B)k(A+B)^k, which is valid only when AB=BAAB = BA. It is not necessary for the identity itself — see part 3 of the statement "When the product rule holds" below, where a non-commuting pair satisfying exp⁡(A+B)=exp⁡(A)exp⁡(B)\exp(A+B) = \exp(A)\exp(B) is exhibited.

Idea of the proofOriginal

Each property is a scalar identity about exe^x transplanted to matrices, and the transplant is always the same two moves: do the algebra on the partial sums, where everything is a finite sum, then pass to the limit, which is legitimate because multiplying by a fixed matrix, or applying a fixed linear functional, is continuous entrywise. Two of them need more than that. The product rule has two infinite series to multiply, which is the Cauchy product, available because the exponential series converges absolutely; it is the binomial theorem afterwards that insists on AB=BAAB = BA. And the derivative in property 5 needs an estimate rather than a limit: a difference quotient has to be controlled as h→0h \to 0, and what controls it is the quantitative entrywise tail bound of the previous statement applied to (exp⁡(hA)−I)/h−A\bigl(\exp(hA) - I\bigr)/h - A. The determinant identity is of a different kind: put AA into triangular form and both sides can be read off the diagonal.

ProofAdaptedAdapted from Hirsch, Smale & Devaney (2013), §6.4, the Propositions on pp. 126 and 128, the Lemma on pp. 126-127 and the Theorem on p. 129; Riley, Hobson & Bence (2006), §8.16, Eq. (8.104), pp. 287-288
  1. Property 1. (T−1AT)k=T−1AkT(T^{-1} A T)^k = T^{-1} A^k T, by induction: the inductive step cancels the adjacent TT−1T T^{-1} in (T−1AkT)(T−1AT)(T^{-1}A^kT)(T^{-1}AT). Hence the partial sums satisfy ∑k≤K(T−1AT)k/k!=T−1(∑k≤KAk/k!)T\sum_{k \le K} (T^{-1}AT)^k/k! = T^{-1}\bigl(\sum_{k \le K} A^k/k!\bigr) T. Every entry of the right-hand side is one fixed linear combination of the entries of ∑k≤KAk/k!\sum_{k\le K}A^k/k!, with coefficients built from TT and T−1T^{-1}, so it converges to the same combination of the entries of exp⁡A\exp A. Letting K→∞K \to \infty gives exp⁡(T−1AT)=T−1(exp⁡A)T\exp(T^{-1}AT) = T^{-1}(\exp A)T.

  2. Property 2. Fix entries i,li, l. By the statement "The exponential converges for every matrix" each scalar series ∑j(Aj)iq/j!\sum_j (A^j)_{iq}/j! and ∑k(Bk)ql/k!\sum_k (B^k)_{ql}/k! converges absolutely, so the Cauchy product of two absolutely convergent series (absolute convergence) applies to each of the nn pairs indexed by qq; summing the nn resulting identities,

(exp⁡A exp⁡B)il=∑q=1n(∑j(Aj)iqj!)(∑k(Bk)qlk!)=∑N=0∞ ∑j+k=N(AjBk)ilj! k!,(\exp A \, \exp B)_{il} = \sum_{q=1}^{n} \Bigl( \sum_{j} \frac{(A^j)_{iq}}{j!} \Bigr) \Bigl( \sum_{k} \frac{(B^k)_{ql}}{k!} \Bigr) = \sum_{N=0}^{\infty} \ \sum_{j+k=N} \frac{(A^j B^k)_{il}}{j!\, k!} ,

with no hypothesis on AA and BB so far. Now the hypothesis enters: since AB=BAAB = BA, also BAj=AjBB A^j = A^j B for every jj, and the binomial theorem holds in the form (A+B)N=∑j+k=NN!j! k!AjBk(A+B)^N = \sum_{j+k=N} \frac{N!}{j!\,k!} A^j B^k (induction on NN, the step using BAj=AjBB A^j = A^j B to move every BB past every AA). So the inner sum is (A+B)N/N!(A+B)^N/N! and the right-hand side is exp⁡(A+B)\exp(A+B).

  1. Property 3. AA and −A-A commute, so property 2 gives (exp⁡A)(exp⁡(−A))=exp⁡(A−A)=exp⁡0=I(\exp A)(\exp(-A)) = \exp(A - A) = \exp 0 = I, and with the roles exchanged (exp⁡(−A))(exp⁡A)=I(\exp(-A))(\exp A) = I. Hence exp⁡A\exp A is invertible with inverse exp⁡(−A)\exp(-A).

  2. Property 4. From Av=λvAv = \lambda v we get Akv=λkvA^k v = \lambda^k v by induction, so (∑k≤KAk/k!)v=(∑k≤Kλk/k!)v\bigl(\sum_{k \le K} A^k/k!\bigr) v = \bigl(\sum_{k \le K}\lambda^k/k!\bigr) v. The left side converges to (exp⁡A)v(\exp A)v because exp⁡A\exp A converges entrywise, the right to eλve^\lambda v because the scalar exponential series converges. Hence (exp⁡A)v=eλv(\exp A)v = e^{\lambda} v.

  3. Property 5. For fixed tt and hh the matrices tAtA and hAhA commute, so property 2 gives exp⁡((t+h)A)=exp⁡(tA)exp⁡(hA)\exp((t+h)A) = \exp(tA)\exp(hA) and therefore

exp⁡((t+h)A)−exp⁡(tA)h=exp⁡(tA)⋅exp⁡(hA)−Ih.\frac{\exp((t+h)A) - \exp(tA)}{h} = \exp(tA) \cdot \frac{\exp(hA) - I}{h} .

Now exp⁡(hA)−Ih−A=∑k≥2hk−1Ak/k!\frac{\exp(hA)-I}{h} - A = \sum_{k \ge 2} h^{k-1}A^k/k!, whose entries are bounded, for 0<∣h∣≤10 < |h| \le 1, using the entrywise bound ∣(Ak)il∣≤nk−1ak|(A^k)_{il}| \le n^{k-1}a^k with a=max⁡i,l∣Ail∣a = \max_{i,l}|A_{il}|, by

∑k≥2∣h∣k−1nk−1akk!=a∑k≥2(na∣h∣)k−1k! ≤ a⋅na∣h∣∑j≥0(na∣h∣)jj! ≤ na2ena ∣h∣,\sum_{k \ge 2} \frac{|h|^{k-1} n^{k-1} a^k}{k!} = a \sum_{k \ge 2} \frac{(na|h|)^{k-1}}{k!} \ \le\ a \cdot n a |h| \sum_{j \ge 0} \frac{(na|h|)^{j}}{j!} \ \le\ n a^2 e^{na}\, |h| ,

which tends to 00 with hh. So exp⁡(hA)−Ih→A\frac{\exp(hA)-I}{h} \to A entrywise, and the difference quotient converges to exp⁡(tA) A\exp(tA)\,A: that is the derivative. Moreover AA commutes with every AkA^k, hence with every partial sum of the series, hence with exp⁡(tA)\exp(tA) in the limit, so the derivative equals Aexp⁡(tA)A\exp(tA) too. Consequently x(t)=exp⁡(tA)x0x(t) = \exp(tA)x_0 satisfies x˙=Aexp⁡(tA)x0=Ax(t)\dot x = A\exp(tA)x_0 = Ax(t) and x(0)=x0x(0) = x_0. For uniqueness, let yy be any solution with y(0)=x0y(0) = x_0 and set z(t)=exp⁡(−tA)y(t)z(t) = \exp(-tA)y(t). By the product rule and the derivative just computed, applied with −A-A,

z˙=−Aexp⁡(−tA)y+exp⁡(−tA)y˙=exp⁡(−tA)(−Ay+Ay)=0,\dot z = -A \exp(-tA) y + \exp(-tA) \dot y = \exp(-tA)\bigl(-A y + A y\bigr) = 0 ,

where the commuting of AA with exp⁡(−tA)\exp(-tA) was used to move −A-A across. So zz is constant, z(t)=z(0)=x0z(t) = z(0) = x_0, and multiplying by exp⁡(tA)\exp(tA) — invertible by property 3, with inverse exp⁡(−tA)\exp(-tA) — gives y(t)=exp⁡(tA)x0y(t) = \exp(tA)x_0. This is the existence-and-uniqueness theorem cited in the statement.

  1. Property 6. Let A=TJT−1A = TJT^{-1} with JJ the Jordan form, which is upper triangular with the eigenvalues λ1,…,λn\lambda_1, \dots, \lambda_n of AA on its diagonal (listed with algebraic multiplicity). Multiplying two upper triangular matrices X,YX, Y leaves the result upper triangular and multiplies the diagonals entrywise, as (XY)ii=∑qXiqYqi=XiiYii(XY)_{ii} = \sum_q X_{iq}Y_{qi} = X_{ii}Y_{ii} shows — only q=iq = i survives, since Xiq=0X_{iq} = 0 for q<iq < i and Yqi=0Y_{qi} = 0 for q>iq > i. So JkJ^k is upper triangular with (Jk)ii=λik(J^k)_{ii} = \lambda_i^k. Each partial sum of exp⁡J\exp J is therefore upper triangular with (i,i)(i,i) entry ∑k≤Kλik/k!\sum_{k \le K}\lambda_i^k/k!, and these properties survive the entrywise limit: exp⁡J\exp J is upper triangular with diagonal entries eλie^{\lambda_i}. The determinant of a triangular matrix is the product of its diagonal entries, so
det⁡exp⁡J=∏i=1neλi=e∑iλi=etr⁡A,\det \exp J = \prod_{i=1}^{n} e^{\lambda_i} = e^{\sum_i \lambda_i} = e^{\operatorname{tr} A} ,

the last step because tr⁡A=tr⁡J\operatorname{tr} A = \operatorname{tr} J is the sum of the eigenvalues. By property 1, exp⁡A=T(exp⁡J)T−1\exp A = T (\exp J) T^{-1}, whence det⁡exp⁡A=det⁡T⋅det⁡exp⁡J⋅(det⁡T)−1=det⁡exp⁡J\det \exp A = \det T \cdot \det \exp J \cdot (\det T)^{-1} = \det \exp J by the product rule for determinants. This is the route of (Riley, Hobson & Bence (2006), §8.16, Eq. (8.104), pp. 287-288), which runs it with a diagonalising similarity; the triangular form is what covers defective AA as well. □\square

Method(Adjoints, unitarity and positivity)Original

For every n×nn \times n complex AA, exp⁡(A†)=(exp⁡A)†\exp(A^\dagger) = (\exp A)^\dagger. Consequently:

  • if AA is anti-Hermitian (A†=−AA^\dagger = -A) then exp⁡A\exp A is unitary;
  • if AA is Hermitian then exp⁡A\exp A is Hermitian, and it is positive definite: x†(exp⁡A)x>0x^\dagger (\exp A) x > 0 for every x≠0x \neq 0.

Neither cited source states these; they are ours.

Idea of the proofOriginal

Conjugate transposition does two convenient things at once: it is continuous entrywise, being conjugation composed with a relabelling of indices, and it turns AkA^k into (A†)k(A^\dagger)^k. So it slides through the partial sums and hence through the limit, which is the whole of the first claim. The two consequences are then bookkeeping with the properties already proved: an anti-Hermitian exponent makes the adjoint equal to the inverse, and a Hermitian exponent lets the exponential be split as B†BB^\dagger B with BB invertible, which is what positive definiteness asks for.

ProofOriginal
  1. Powers and the adjoint. (Ak)†=(A†)k(A^k)^\dagger = (A^\dagger)^k for every k≥0k \ge 0, by induction: the case k=0k = 0 is I†=II^\dagger = I, and (Ak+1)†=(A Ak)†=(Ak)†A†=(A†)kA†=(A†)k+1(A^{k+1})^\dagger = (A\,A^k)^\dagger = (A^k)^\dagger A^\dagger = (A^\dagger)^k A^\dagger = (A^\dagger)^{k+1}, using (XY)†=Y†X†(XY)^\dagger = Y^\dagger X^\dagger and then the inductive hypothesis.

  2. The adjoint passes to the limit. Fix i,li, l. By definition (X†)il=Xli‾\bigl( X^\dagger \bigr)_{il} = \overline{X_{li}}, so

((∑k≤KAkk!) ⁣†)il=∑k≤K(Ak)lik!‾=∑k≤K(Ak)li‾k!=∑k≤K((A†)k)ilk!\Bigl( \Bigl( \sum_{k \le K} \frac{A^k}{k!} \Bigr)^{\!\dagger} \Bigr)_{il} = \overline{ \sum_{k \le K} \frac{(A^k)_{li}}{k!} } = \sum_{k \le K} \frac{\overline{(A^k)_{li}}}{k!} = \sum_{k \le K} \frac{\bigl((A^\dagger)^k\bigr)_{il}}{k!}

by step 1. The outer series on the left converges to (exp⁡A)li‾=((exp⁡A)†)il\overline{(\exp A)_{li}} = \bigl((\exp A)^\dagger\bigr)_{il}, because complex conjugation is continuous, and the right-hand side converges to (exp⁡(A†))il(\exp(A^\dagger))_{il}. Hence exp⁡(A†)=(exp⁡A)†\exp(A^\dagger) = (\exp A)^\dagger.

  1. Anti-Hermitian exponent. If A†=−AA^\dagger = -A, then by step 2 and property 3,
(exp⁡A)†(exp⁡A)=exp⁡(A†)exp⁡(A)=exp⁡(−A)exp⁡(A)=I,(\exp A)^\dagger (\exp A) = \exp(A^\dagger)\exp(A) = \exp(-A)\exp(A) = I ,

and exchanging the two factors gives (exp⁡A)(exp⁡A)†=I(\exp A)(\exp A)^\dagger = I in the same way. So exp⁡A\exp A is unitary.

  1. Hermitian exponent. If A†=AA^\dagger = A then (exp⁡A)†=exp⁡(A†)=exp⁡A(\exp A)^\dagger = \exp(A^\dagger) = \exp A by step 2, so exp⁡A\exp A is Hermitian. Also 12A\tfrac12 A is Hermitian, so B=exp⁡(12A)B = \exp\bigl(\tfrac12 A\bigr) satisfies B†=BB^\dagger = B by the same step, and BB is invertible by property 3. Since 12A\tfrac12 A commutes with itself, property 2 gives
exp⁡A=exp⁡(12A+12A)=B2=B†B.\exp A = \exp\bigl(\tfrac12 A + \tfrac12 A\bigr) = B^2 = B^\dagger B .

Therefore x†(exp⁡A)x=x†B†Bx=∥Bx∥22x^\dagger (\exp A) x = x^\dagger B^\dagger B x = \|Bx\|_2^2 for every xx, and for x≠0x \neq 0 invertibility of BB gives Bx≠0Bx \neq 0, so the value is strictly positive: exp⁡A\exp A is positive definite. □\square

Method(When the product rule holds)Original

For n×nn \times n complex A,BA, B:

  1. AB=BAA B = B A implies exp⁡(sA+tB)=exp⁡(sA)exp⁡(tB)\exp(sA + tB) = \exp(sA)\exp(tB) for all s,t∈Cs, t \in \mathbb{C}.
  2. Conversely, if exp⁡(sA+tB)=exp⁡(sA)exp⁡(tB)\exp(sA + tB) = \exp(sA)\exp(tB) holds for all s,ts, t in a neighbourhood of 00 in R2\mathbb{R}^2, then AB=BAAB = BA.
  3. Commuting is not necessary for the single identity exp⁡(A+B)=exp⁡(A)exp⁡(B)\exp(A + B) = \exp(A)\exp(B). For
A=(0002πi),B=(0102πi)A = \begin{pmatrix} 0 & 0 \\ 0 & 2\pi i \end{pmatrix} , \qquad B = \begin{pmatrix} 0 & 1 \\ 0 & 2\pi i \end{pmatrix}

one has exp⁡(A+B)=I=exp⁡(A)exp⁡(B)\exp(A+B) = I = \exp(A)\exp(B) while [A,B]=(0−2πi00)≠0[A, B] = \begin{pmatrix} 0 & -2\pi i \\ 0 & 0 \end{pmatrix} \neq 0. Consistently with part 2, the identity fails for this pair at other values of s,ts, t, for instance at s=1s = 1, t=12t = \tfrac12. 4. For AA and BB small enough, exp⁡(A)exp⁡(B)=exp⁡(A+B+12[A,B]+⋯ )\exp(A)\exp(B) = \exp\bigl(A + B + \tfrac12 [A,B] + \cdots\bigr), the Baker-Campbell-Hausdorff series, whose further terms are iterated commutators. The series converges only under such a smallness condition — and the matrix logarithm is not single-valued, as the remark below records — so for general A,BA, B it is to be read as a formal expansion. What does hold for all A,BA, B is its leading content: the discrepancy between the two sides is of second order in the size of AA and BB, with 12[A,B]\tfrac12[A,B] as the second-order term, which is the error committed by operator-splitting schemes.

Idea of the proofOriginal

One direction is property 2 applied to the pair sAsA, tBtB, which commute as soon as AA and BB do. The converse is a matter of reading off coefficients: expand both sides to second order in (s,t)(s, t) and the terms of order stst differ by exactly 12[A,B]\tfrac12[A,B], so an identity holding on a whole neighbourhood of the origin forces the commutator to vanish. The counterexample shows why "for all s,ts, t" is not decoration: at one isolated pair of values the identity can hold by accident, because the scalar exponential is periodic along the imaginary axis and can hide a non-zero commutator.

ProofOriginal
  1. Part 1. If AB=BAAB = BA then (sA)(tB)=st AB=st BA=(tB)(sA)(sA)(tB) = st\,AB = st\,BA = (tB)(sA) for all scalars s,ts, t, so property 2 of the previous statement applies to the commuting pair sAsA, tBtB and gives exp⁡(sA+tB)=exp⁡(sA)exp⁡(tB)\exp(sA + tB) = \exp(sA)\exp(tB).

  2. A second-order expansion. Let c=max⁡i,lmax⁡(∣Ail∣,∣Bil∣)c = \max_{i,l} \max(|A_{il}|, |B_{il}|) and σ=∣s∣+∣t∣\sigma = |s| + |t|, and put X=sA+tBX = sA + tB, so max⁡i,l∣Xil∣≤σc\max_{i,l}|X_{il}| \le \sigma c. By the entrywise bound, applied to XX, the entries of the tail exp⁡X−I−X−12X2=∑k≥3Xk/k!\exp X - I - X - \tfrac12 X^2 = \sum_{k \ge 3} X^k/k! are bounded in modulus by

∑k≥3nk−1(σc)kk! ≤ (nσc)36n∑j≥0(nσc)jj! ≤ K1σ3(σ≤1)\sum_{k \ge 3} \frac{n^{k-1}(\sigma c)^k}{k!} \ \le\ \frac{(n \sigma c)^3}{6n} \sum_{j \ge 0} \frac{(n\sigma c)^j}{j!} \ \le\ K_1 \sigma^3 \qquad (\sigma \le 1)

for a constant K1K_1 depending only on nn and cc. Expanding X2=s2A2+st(AB+BA)+t2B2X^2 = s^2A^2 + st(AB + BA) + t^2B^2,

exp⁡(sA+tB)=I+sA+tB+12s2A2+12st(AB+BA)+12t2B2+O(σ3),\exp(sA + tB) = I + sA + tB + \tfrac12 s^2 A^2 + \tfrac12 st (AB+BA) + \tfrac12 t^2 B^2 + O(\sigma^3) ,

where O(σ3)O(\sigma^3) means entries bounded by a constant times σ3\sigma^3 for σ≤1\sigma \le 1. Applying the same bound to exp⁡(sA)\exp(sA) and to exp⁡(tB)\exp(tB) separately and multiplying the two expansions — all discarded terms have total degree at least 33 in (s,t)(s,t), and each factor has entries bounded by a constant for σ≤1\sigma \le 1, so they too are O(σ3)O(\sigma^3) —

exp⁡(sA)exp⁡(tB)=I+sA+tB+12s2A2+st AB+12t2B2+O(σ3).\exp(sA)\exp(tB) = I + sA + tB + \tfrac12 s^2 A^2 + st\, AB + \tfrac12 t^2 B^2 + O(\sigma^3) .
  1. Part 2. Assume the identity holds for all (s,t)(s,t) in a neighbourhood of the origin in R2\mathbb{R}^2. Subtracting the two displays of step 2, for all small (s,t)(s,t)
0=st(12(AB+BA)−AB)+O(σ3)=−12st [A,B]+O(σ3).0 = st \bigl( \tfrac12(AB + BA) - AB \bigr) + O(\sigma^3) = -\tfrac12 st\, [A, B] + O(\sigma^3) .

Take s=t=hs = t = h with hh real and small, divide by h2h^2 (so σ3/h2=8∣h∣→0\sigma^3/h^2 = 8|h| \to 0), and let h→0h \to 0: every entry of [A,B][A,B] vanishes, that is AB=BAAB = BA.

  1. Part 3, the counterexample. For M=(0β0d)M = \begin{pmatrix} 0 & \beta \\ 0 & d \end{pmatrix} with d≠0d \neq 0, induction gives Mk=(0βd k−10d k)M^k = \begin{pmatrix} 0 & \beta d^{\,k-1} \\ 0 & d^{\,k} \end{pmatrix} for k≥1k \ge 1, so summing the series termwise (legitimate because the exponential series converges absolutely entry by entry),
exp⁡M=(1β (ed−1)/d0ed).\exp M = \begin{pmatrix} 1 & \beta\,(e^{d} - 1)/d \\ 0 & e^{d} \end{pmatrix} .

With d=2πid = 2\pi i we have ed=1e^d = 1, so this is II: that covers BB (take β=1\beta = 1, d=2πid = 2\pi i) and A+B=(0104πi)A + B = \begin{pmatrix} 0 & 1 \\ 0 & 4\pi i\end{pmatrix} (take β=1\beta = 1, d=4πid = 4\pi i, again ed=1e^d = 1), while AA is diagonal with exp⁡A=diag⁡(1,e2πi)=I\exp A = \operatorname{diag}(1, e^{2\pi i}) = I. Hence exp⁡(A+B)=I=(exp⁡A)(exp⁡B)\exp(A+B) = I = (\exp A)(\exp B). The commutator does not vanish:

AB=(000(2πi)2),BA=(02πi0(2πi)2),[A,B]=(0−2πi00).AB = \begin{pmatrix} 0 & 0 \\ 0 & (2\pi i)^2 \end{pmatrix}, \qquad BA = \begin{pmatrix} 0 & 2\pi i \\ 0 & (2\pi i)^2 \end{pmatrix}, \qquad [A,B] = \begin{pmatrix} 0 & -2\pi i \\ 0 & 0 \end{pmatrix} .

At s=1s = 1, t=12t = \tfrac12 the formula with β=12\beta = \tfrac12 and d=3πid = 3\pi i (so ed=−1e^d = -1) gives exp⁡(A+12B)=(1i/(3π)0−1)\exp(A + \tfrac12 B) = \begin{pmatrix} 1 & i/(3\pi) \\ 0 & -1\end{pmatrix}, using −1/(3πi)=i/(3π)-1/(3\pi i) = i/(3\pi), while exp⁡(A)exp⁡(12B)=exp⁡(12B)=(1i/π0−1)\exp(A)\exp(\tfrac12 B) = \exp(\tfrac12 B) = \begin{pmatrix} 1 & i/\pi \\ 0 & -1 \end{pmatrix} by the same formula with d=πid = \pi i. The two differ, so for this pair exp⁡(sA+tB)=exp⁡(sA)exp⁡(tB)\exp(sA+tB) = \exp(sA)\exp(tB) is not an identity in ss and tt: the coincidence at (s,t)=(1,1)(s,t) = (1,1) is isolated. Part 2 says more than this one computation does — it forces failure at points arbitrarily close to the origin, which (1,12)(1, \tfrac12) is not — but a single explicit pair of values is the cheapest way to see that the identity does not persist.

  1. Part 4 is not proved here. The expansion of step 2 does give its leading content: replacing AA by ϵA\epsilon A and BB by ϵB\epsilon B and setting s=t=1s = t = 1,
exp⁡(ϵA)exp⁡(ϵB)−exp⁡(ϵA+ϵB)=12ϵ2[A,B]+O(ϵ3),\exp(\epsilon A)\exp(\epsilon B) - \exp(\epsilon A + \epsilon B) = \tfrac12 \epsilon^2 [A, B] + O(\epsilon^3) ,

which is the quantitative statement that the error of operator splitting is second order in the step size. The full Baker-Campbell-Hausdorff series, and the proof that all of its terms are iterated commutators, is beyond the scope of this unit; the standard reference is the theory of Lie algebras and the Lie group-Lie algebra correspondence. □\square

Method(Computing exp(tA))Original
  1. If AA is diagonalizable, A=SΛS−1A = S \Lambda S^{-1} with Λ=diag⁡(λ1,…,λn)\Lambda = \operatorname{diag}(\lambda_1, \dots, \lambda_n) and the columns of SS an eigenbasis. Then by property 1,
exp⁡(tA)=Sexp⁡(tΛ)S−1=Sdiag⁡(eλ1t,…,eλnt)S−1.\exp(tA) = S \exp(t\Lambda) S^{-1} = S \operatorname{diag}\bigl(e^{\lambda_1 t}, \dots, e^{\lambda_n t}\bigr) S^{-1} .

The same formula computes any f(A)f(A) with f(A)=Sdiag⁡(f(λk))S−1f(A) = S \operatorname{diag}(f(\lambda_k)) S^{-1}, provided every λk\lambda_k lies inside the disc of convergence. 2. If AA is normal, SS may be taken unitary (see normal matrices), so S−1=S†S^{-1} = S^\dagger and no inverse has to be computed; this is also the numerically stable case. 3. If AA is defective, split it as A=D+NA = D + N with DN=NDDN = ND, DD diagonalizable and NN nilpotent (Nq=0N^q = 0 for some q≤nq \le n). Those three properties of DD and NN are all the step uses, however the splitting was obtained. One source of it is the Jordan normal form: if S−1AS=Λ+N^S^{-1} A S = \Lambda + \widehat N with Λ\Lambda its diagonal part and N^\widehat N its superdiagonal nilpotent part, then in the original basis D=SΛS−1D = S \Lambda S^{-1} and N=SN^S−1N = S \widehat N S^{-1}, so DD is diagonalizable but not in general diagonal. Then by property 2

exp⁡(tA)=exp⁡(tD)exp⁡(tN)=exp⁡(tD)∑k=0q−1tkNkk!,\exp(tA) = \exp(tD) \exp(tN) = \exp(tD) \sum_{k=0}^{q-1} \frac{t^k N^k}{k!} ,

a finite sum, with exp⁡(tD)\exp(tD) computed by step 1. The entries of exp⁡(tA)\exp(tA) are then sums of terms (polynomial in tt) × eλt\times\, e^{\lambda t} over the eigenvalues λ\lambda, the degree of the polynomial multiplying eλte^{\lambda t} being at most one less than the size of the largest Jordan block for λ\lambda — at most, because cancellation in the particular entry can lower it, and the degree is exactly that only for the entries where the top power of N^\widehat N survives. 4. For nn small, or to avoid eigenvectors altogether, use that AnA^n is a combination of I,A,…,An−1I, A, \dots, A^{n-1} by the Cayley-Hamilton theorem — a matrix satisfies its own characteristic equation, that is, the characteristic polynomial p(λ)=det⁡(λI−A)p(\lambda) = \det(\lambda I - A) of the eigenvalue problem satisfies p(A)=0p(A) = 0 ((Arfken, Weber & Harris (2013), §6.4, Exercise 6.4.1, Note, p. 317)) — so exp⁡(tA)=∑j=0n−1αj(t)Aj\exp(tA) = \sum_{j=0}^{n-1} \alpha_j(t) A^j for scalar functions αj\alpha_j. Determine the αj\alpha_j by requiring eλt=∑jαj(t)λje^{\lambda t} = \sum_{j} \alpha_j(t) \lambda^j at each distinct eigenvalue, together with its first m−1m - 1 derivatives with respect to λ\lambda there when that eigenvalue has algebraic multiplicity mm. That is nn linear conditions on the nn unknowns α0(t),…,αn−1(t)\alpha_0(t), \dots, \alpha_{n-1}(t), and what makes them determine the αj\alpha_j is that the coefficient matrix — a confluent Vandermonde matrix in the distinct eigenvalues — is nonsingular: if ∑jαjλj\sum_j \alpha_j \lambda^j and its first m−1m-1 derivatives vanish at an eigenvalue of multiplicity mm, then the characteristic polynomial divides this polynomial of degree <n< n, which forces it to be 00, so the homogeneous system has only the zero solution. 5. Numerically, call a library routine (scipy.linalg.expm), which uses scaling and squaring with a rational approximation. Verify with property 6: det⁡exp⁡(tA)\det \exp(tA) should equal ettr⁡Ae^{t \operatorname{tr} A}.

How each route fails. Summing the defining series directly loses accuracy badly when ∥tA∥\|tA\| is large, because the terms grow before they decay (and catastrophically for AA with eigenvalues of both signs). Route 1 is useless for a defective AA and unreliable for a nearly defective one, since SS is then ill-conditioned and S−1S^{-1} amplifies the error; see the later unit on condition numbers. Route 3 requires the Jordan structure, which is itself not computable stably. Never use exp⁡(A)exp⁡(B)\exp(A)\exp(B) in place of exp⁡(A+B)\exp(A+B) unless [A,B]=0[A, B] = 0.

NoteOriginal

exp⁡(tA)\exp(tA) is the propagator of the linear system x˙=Ax\dot x = Ax: it carries the state at time 00 to the state at time tt. When AA is diagonalizable it does so by multiplying each eigendirection by eλte^{\lambda t}, so the eigenvalues alone read off the dynamics — decay for Re⁡λ<0\operatorname{Re}\lambda < 0, growth for Re⁡λ>0\operatorname{Re}\lambda > 0, oscillation at frequency Im⁡λ\operatorname{Im}\lambda. When AA is defective that picture is incomplete: each Jordan block of size mm contributes eλte^{\lambda t} times a polynomial in tt of degree m−1m-1, which is why A=(0100)A = \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix} has exp⁡(tA)=(1t01)\exp(tA) = \begin{pmatrix} 1 & t \\ 0 & 1 \end{pmatrix} and grows without bound although its only eigenvalue is 00. The Traps below say what survives of the eigenvalue reading in that case. The same object appears as the time evolution e−iHt/ℏe^{-iHt/\hbar} of quantum mechanics and as the transition matrix of a continuous-time Markov chain.

Remark(Traps)Original

exp⁡A\exp A is not the matrix of entrywise exponentials. For A=(0100)A = \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}, exp⁡A=(1101)\exp A = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix}, not (1e11)\begin{pmatrix} 1 & e \\ 1 & 1 \end{pmatrix}.

exp⁡\exp is not surjective onto invertible matrices over R\mathbb{R}. det⁡exp⁡A=etr⁡A>0\det \exp A = e^{\operatorname{tr} A} > 0 for real AA, so no real matrix of negative determinant, such as diag⁡(1,−1)\operatorname{diag}(1,-1), is a real exponential. Over C\mathbb{C} every invertible matrix is an exponential.

Eigenvalues, not the spectral radius, govern growth. ∥exp⁡(tA)∥\|\exp(tA)\| is bounded as t→+∞t \to +\infty only if Re⁡λ≤0\operatorname{Re}\lambda \le 0 for every eigenvalue and every eigenvalue with Re⁡λ=0\operatorname{Re}\lambda = 0 has equal algebraic and geometric multiplicity: A=(0100)A = \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix} has ρ(A)=0\rho(A) = 0 yet exp⁡(tA)=(1t01)\exp(tA) = \begin{pmatrix} 1 & t \\ 0 & 1 \end{pmatrix} grows.

The eigenvalues of exp⁡A\exp A are the eλe^{\lambda}, but the map on eigenvalues is not injective. λ\lambda and λ+2πi\lambda + 2\pi i give the same eλe^\lambda, which is why there is no single-valued matrix logarithm and why the counterexample in part 3 of the product-rule statement exists at all.

Conventions. Physics writes e−iHt/ℏe^{-iHt/\hbar} and mathematics exp⁡(tA)\exp(tA); both are this object. A few texts define f(A)f(A) for non-diagonalizable AA by the Jordan form or by a Cauchy integral rather than by a power series. The three definitions agree wherever more than one applies, but only the series version is used above.

Example(exp(tA) for a defective 3 x 3 matrix)Original

Take

A=(0100011−33).A = \begin{pmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 1 & -3 & 3 \end{pmatrix} .

1. Eigenvalues. AA is the companion matrix of the polynomial whose coefficients stand in its last row, so

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

one eigenvalue λ=1\lambda = 1 of algebraic multiplicity 33.

2. AA is defective, so route 1 is unavailable. Put

N=A−I=(−1100−111−32).N = A - I = \begin{pmatrix} -1 & 1 & 0 \\ 0 & -1 & 1 \\ 1 & -3 & 2 \end{pmatrix} .

Its third row is −1-1 times the first plus 22 times the second, and its first two rows are independent, so rank⁡N=2\operatorname{rank} N = 2 and dim⁡ker⁡N=1\dim \ker N = 1. The eigenvalue 11 therefore has geometric multiplicity 11 against algebraic multiplicity 33: there is no eigenbasis, and AA has a single Jordan block of size 33.

3. The splitting of step 3 of the method. Take D=ID = I and N=A−IN = A - I. Then DD is diagonalizable, DN=NDDN = ND because D=ID = I, and NN is nilpotent:

N2=(1−211−211−21),N3=0,N^2 = \begin{pmatrix} 1 & -2 & 1 \\ 1 & -2 & 1 \\ 1 & -2 & 1 \end{pmatrix} , \qquad N^3 = 0 ,

all three rows of N2N^2 being equal, every column of N2N^2 is a multiple of (1,1,1)T(1,1,1)^{\mathsf T}, and N(1,1,1)T=(−1+1+0, 0−1+1, 1−3+2)T=0N(1,1,1)^{\mathsf T} = (-1+1+0,\ 0-1+1,\ 1-3+2)^{\mathsf T} = 0, so N3=N⋅N2=0N^3 = N \cdot N^2 = 0.

4. Assemble. Since tD=tItD = tI commutes with tNtN, property 2 gives exp⁡(tA)=et(I+tN+12t2N2)\exp(tA) = e^{t}\bigl(I + tN + \tfrac12 t^2 N^2\bigr), a finite sum:

exp⁡(tA)=et(1−t+12t2t−t212t212t21−t−t2t+12t2t+12t2−3t−t21+2t+12t2).\exp(tA) = e^{t} \begin{pmatrix} 1 - t + \tfrac12 t^2 & t - t^2 & \tfrac12 t^2 \\[2pt] \tfrac12 t^2 & 1 - t - t^2 & t + \tfrac12 t^2 \\[2pt] t + \tfrac12 t^2 & -3t - t^2 & 1 + 2t + \tfrac12 t^2 \end{pmatrix} .

Every entry is a quadratic polynomial times ete^{t}, the degree being one less than the size of the Jordan block, exactly as step 3 of the method predicts.

5. Two checks. At t=0t = 0 the matrix is II. Differentiating, the derivative of et(I+tN+12t2N2)e^t\bigl(I + tN + \tfrac12 t^2 N^2\bigr) is et(I+tN+12t2N2)+et(N+tN2)e^t\bigl(I + tN + \tfrac12 t^2N^2\bigr) + e^t\bigl(N + tN^2\bigr), which at t=0t = 0 is I+N=AI + N = A, as property 5 requires.

6. A number. At t=1t = 1,

exp⁡A=e2(1011−233−87)≈(1.35914101.3591411.359141−2.7182824.0774234.077423−10.8731279.513986).\exp A = \frac{e}{2}\begin{pmatrix} 1 & 0 & 1 \\ 1 & -2 & 3 \\ 3 & -8 & 7 \end{pmatrix} \approx \begin{pmatrix} 1.359141 & 0 & 1.359141 \\ 1.359141 & -2.718282 & 4.077423 \\ 4.077423 & -10.873127 & 9.513986 \end{pmatrix} .

Pulling the factor e/2e/2 out of all three rows multiplies the determinant by (e/2)3(e/2)^3, and expanding the integer matrix along its first row,

det⁡(1011−233−87)=1⋅(−14+24)−0+1⋅(−8+6)=10−2=8,\det \begin{pmatrix} 1 & 0 & 1 \\ 1 & -2 & 3 \\ 3 & -8 & 7\end{pmatrix} = 1\cdot(-14 + 24) - 0 + 1\cdot(-8 + 6) = 10 - 2 = 8 ,

so det⁡exp⁡A=(e/2)3⋅8=e3=20.085537\det \exp A = (e/2)^3 \cdot 8 = e^3 = 20.085537, which is etr⁡Ae^{\operatorname{tr} A} with tr⁡A=0+0+3=3\operatorname{tr} A = 0 + 0 + 3 = 3: property 6 confirmed. Note in passing that (exp⁡A)12=0(\exp A)_{12} = 0 although A12=1A_{12} = 1, and that the entrywise exponential of AA would have no zero entry at all: the exponential redistributes the entries completely.

7. What it solves. x˙=Ax\dot x = Ax for this companion matrix is the scalar equation y′′′−3y′′+3y′−y=0y''' - 3y'' + 3y' - y = 0 written for x=(y,y′,y′′)Tx = (y, y', y'')^{\mathsf T}, whose general solution is (c0+c1t+c2t2)et(c_0 + c_1 t + c_2 t^2)e^{t}. The first column of exp⁡(tA)\exp(tA) must therefore be the solution with y(0)=1y(0) = 1, y′(0)=y′′(0)=0y'(0) = y''(0) = 0, namely y(t)=et(1−t+12t2)y(t) = e^t\bigl(1 - t + \tfrac12 t^2\bigr); differentiating gives y′(t)=12t2ety'(t) = \tfrac12 t^2 e^t and y′′(t)=(t+12t2)ety''(t) = (t + \tfrac12 t^2)e^t, which are precisely the second and third entries of that column. The matrix exponential has solved the third-order equation without any eigenvector being computed.

ApplicationOriginal
  • Unitarity of quantum time evolution. For a time-independent Hamiltonian, the state obeys iℏ ψ˙=Hψi\hbar\, \dot\psi = H\psi, so ψ(t)=exp⁡(−iHt/ℏ) ψ(0)\psi(t) = \exp(-iHt/\hbar)\,\psi(0) by property 5. If HH is Hermitian then (−iHt/ℏ)†=+iHt/ℏ=−(−iHt/ℏ)(-iHt/\hbar)^\dagger = +iHt/\hbar = -(-iHt/\hbar) for real tt, so the exponent is anti-Hermitian and the adjoints statement makes the propagator unitary. That is exactly the conservation of total probability, ∥ψ(t)∥=∥ψ(0)∥\|\psi(t)\| = \|\psi(0)\|, and it is a consequence of the algebra of the exponential rather than of anything about the particular HH. The eigenvalue property 4 then says that an energy eigenstate only picks up the phase e−iEt/ℏe^{-iE t/\hbar}, which is why stationary states are stationary.

  • Stability of a linear system, read off the spectrum. For x˙=Ax\dot x = Ax the solution is x(t)=exp⁡(tA)x0x(t) = \exp(tA)x_0, and property 1 together with step 3 of the method says that every entry of exp⁡(tA)\exp(tA) is a sum of terms, each a polynomial in tt times eλte^{\lambda t}, one group of terms for each eigenvalue λ\lambda. So all solutions decay when every eigenvalue has Re⁡λ<0\operatorname{Re}\lambda < 0, and the trap noted above — a purely imaginary eigenvalue whose Jordan block is larger than 1×11 \times 1 produces secular growth like t eiωtt\,e^{i\omega t} — is the mathematics behind resonance in a driven oscillator and behind the marginal cases in the stability analysis of a steady state.

  • Operator splitting in numerical simulation. Split the generator of an evolution equation into parts that can each be exponentiated exactly: a Laplacian handled in Fourier space and a nonlinear or reaction term handled pointwise, or the kinetic and potential parts of a Hamiltonian. The scheme advances by exp⁡(hA)exp⁡(hB)\exp(hA)\exp(hB) in place of exp⁡(h(A+B))\exp(h(A+B)), and part 5 of the product-rule proof shows the error per step is 12h2[A,B]+O(h3)\tfrac12 h^2[A, B] + O(h^3). This is the error estimate behind the split-step Fourier method for the nonlinear Schrodinger equation, Strang splitting in atmosphere and ocean models, and the leapfrog and higher-order symplectic integrators of molecular dynamics, where symmetrising the composition as exp⁡(12hA)exp⁡(hB)exp⁡(12hA)\exp(\tfrac12 hA)\exp(hB)\exp(\tfrac12 hA) cancels the commutator term and leaves an O(h3)O(h^3) error per step.

  • Rotations from angular velocity. A real antisymmetric 3×33 \times 3 matrix Ω\Omega with Ωx=ω×x\Omega x = \omega \times x satisfies ΩT=−Ω\Omega^{\mathsf T} = -\Omega, so exp⁡(tΩ)\exp(t\Omega) is real orthogonal by the adjoints statement, and det⁡exp⁡(tΩ)=ettr⁡Ω=1\det \exp(t\Omega) = e^{t \operatorname{tr}\Omega} = 1 by property 6: it is a rotation, through angle ∣ω∣t|\omega| t about ω\omega. Rigid-body kinematics is the statement R˙=ΩR\dot R = \Omega R, solved by this exponential, and the failure of exp⁡(A)exp⁡(B)=exp⁡(A+B)\exp(A)\exp(B) = \exp(A+B) for non-commuting A,BA, B is the familiar fact that rotations about different axes do not commute.

  • Continuous-time Markov chains. A generator QQ has non-negative off-diagonal entries and rows summing to zero, and the transition matrix over time tt is P(t)=exp⁡(tQ)P(t) = \exp(tQ). Both defining properties of a stochastic matrix come straight out of this unit: Q1=0Q\mathbf{1} = 0 gives Qk1=0Q^k \mathbf{1} = 0 for k≥1k \ge 1 and hence P(t)1=1P(t)\mathbf{1} = \mathbf{1}, so the rows sum to one; and writing exp⁡(tQ)=e−ctexp⁡(t(Q+cI))\exp(tQ) = e^{-ct}\exp\bigl(t(Q + cI)\bigr) with c=max⁡i∣Qii∣c = \max_i |Q_{ii}|, permitted by property 2 because cIcI commutes with everything, exhibits P(t)P(t) as a positive multiple of the exponential of a matrix with non-negative entries. For t≥0t \ge 0 — the only range in which a transition matrix is asked for — every term tk(Q+cI)k/k!t^k(Q+cI)^k/k! of that exponential series is then entrywise non-negative, and so is P(t)P(t). The Chapman-Kolmogorov relation P(s+t)=P(s)P(t)P(s+t) = P(s)P(t) is property 2 again.

Definition

Matrix norms and condition numbers

Adapted

Defines induced matrix norms and the spectral norm, defines the condition number and expresses it through the singular values, and states how far the solution of a linear system can move when the data are perturbed.

Prerequisites: Singular value decomposition, Inner products and norms, Quadratic forms and the Rayleigh quotient, Compactness

Definition(Induced matrix norm)AdaptedAdapted from Stakgold & Holst (2011), §10.6, p. 772

Fix one norm ∥⋅∥\|\cdot\|, given on Ck\mathbb{C}^k for every kk and so available on the domain and on the codomain alike; as in (Stakgold & Holst (2011), §10.6, p. 772), where the operator acts on a single space, it is the same norm on both sides. The induced (or operator) norm of an m×nm \times n complex matrix AA is

∥A∥=max⁡x≠0∥Ax∥∥x∥=max⁡∥x∥=1∥Ax∥,\|A\| = \max_{x \neq 0} \frac{\|A x\|}{\|x\|} = \max_{\|x\| = 1} \|A x\| ,

the maximum being attained because the unit sphere is compact and x↦∥Ax∥x \mapsto \|Ax\| continuous (compactness). It is the smallest number cc with ∥Ax∥≤c∥x∥\|Ax\| \le c \|x\| for all xx. Because one and the same norm is used on both spaces, induced norms satisfy ∥I∥=1\|I\| = 1 and are submultiplicative: ∥AB∥≤∥A∥∥B∥\|A B\| \le \|A\| \|B\| whenever the product is defined. Both properties need that agreement: if different norms are allowed on the two spaces, ∥⋅∥∞\|\cdot\|_\infty on the domain and ∥⋅∥1\|\cdot\|_1 on the codomain give ∥In∥=n\|I_n\| = n, and ∥⋅∥1\|\cdot\|_1 on the domain with ∥⋅∥∞\|\cdot\|_\infty on the codomain give ∥M∥=max⁡i,j∣Mij∣\|M\| = \max_{i,j}|M_{ij}|, for which the 2×22 \times 2 all-ones AA has ∥A2∥=2>1=∥A∥2\|A^2\| = 2 > 1 = \|A\|^2.

Taking the vector norms ∥x∥q=(∑i∣xi∣q)1/q\|x\|_q = \bigl(\sum_i |x_i|^q\bigr)^{1/q} for 1≤q<∞1 \le q < \infty, and ∥x∥∞=max⁡i∣xi∣\|x\|_\infty = \max_i |x_i|, gives

∥A∥1=max⁡j∑i∣Aij∣  (largest column sum),∥A∥∞=max⁡i∑j∣Aij∣  (largest row sum),\|A\|_1 = \max_{j} \sum_{i} |A_{ij}| \ \ (\text{largest column sum}), \qquad \|A\|_\infty = \max_{i} \sum_{j} |A_{ij}| \ \ (\text{largest row sum}),

and the spectral norm ∥A∥2\|A\|_2, induced by the Euclidean norm. The Frobenius norm ∥A∥F=(∑i,j∣Aij∣2)1/2\|A\|_F = \bigl(\sum_{i,j}|A_{ij}|^2\bigr)^{1/2} is submultiplicative but is not an induced norm, since ∥In∥F=n≠1\|I_n\|_F = \sqrt{n} \neq 1 for n≥2n \ge 2. It is not induced even by a pair of norms, one on each space — but that value n\sqrt n does not show it, being itself ∥In∥\|I_n\| for the pair (∥⋅∥∞\|\cdot\|_\infty on the domain, ∥⋅∥2\|\cdot\|_2 on the codomain). What shows it is the behaviour on rank-one matrices; see step 0 of the proof below.

Definition(The spectral norm and the spectrum)AdaptedAdapted from Stakgold & Holst (2011), §10.6, pp. 771-772 (including Lemma 10.6.1)

Let AA be a complex matrix and ρ(A)=max⁡{∣λ∣:λ∈σ(A)}\rho(A) = \max\{|\lambda| : \lambda \in \sigma(A)\} its spectral radius (defined for square AA).

  1. ∥A∥2=s1(A)\|A\|_2 = s_1(A), the largest singular value of AA, equivalently ∥A∥2=λmax⁡(A†A)\|A\|_2 = \sqrt{\lambda_{\max}(A^\dagger A)}; see the singular value decomposition.
  2. If AA is square then ρ(A)≤∥A∥\rho(A) \le \|A\| for every induced norm.
  3. If AA is Hermitian then ∥A∥2=ρ(A)=max⁡k∣λk∣\|A\|_2 = \rho(A) = \max_k |\lambda_k|, and λmin⁡(A)≤x†Ax/x†x≤λmax⁡(A)\lambda_{\min}(A) \le x^\dagger A x / x^\dagger x \le \lambda_{\max}(A) for x≠0x \neq 0.
  4. Inequality 2 can be strict: A=(0100)A = \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix} has ρ(A)=0\rho(A) = 0 and ∥A∥2=1\|A\|_2 = 1.
Idea of the proofOriginal

Everything here comes from one change of coordinates. In the singular bases AA is a diagonal matrix, so its effect on the unit sphere is a list of independent scalings, and the norm is the largest of them. The spectral radius, by contrast, only tests the single direction of an eigenvector, so it can never exceed a quantity defined as a maximum over all directions; it misses the stretching that happens off the eigenvectors, which is why a nilpotent matrix can have radius zero and norm one. When AA is Hermitian there is no off-eigenvector stretching left to miss, and the two agree.

ProofAdaptedAdapted from Stakgold & Holst (2011), §10.6, pp. 771-772, including Lemma 10.6.1
  1. The claims of the definition. ∥I∥=1\|I\| = 1 because ∥Ix∥=∥x∥\|Ix\| = \|x\| for every xx — which is a statement about one norm, and is where the convention that the same norm is used on both spaces is needed. Submultiplicativity: ∥ABx∥≤∥A∥ ∥Bx∥≤∥A∥ ∥B∥ ∥x∥\|ABx\| \le \|A\|\,\|Bx\| \le \|A\|\,\|B\|\,\|x\|, by applying the defining inequality ∥My∥≤∥M∥ ∥y∥\|My\| \le \|M\|\,\|y\| first to M=AM = A with y=Bxy = Bx and then to M=BM = B; here too the intermediate vector BxBx is measured in the one norm shared by the two spaces. For the 11-norm, ∥Ax∥1=∑i∣∑jAijxj∣≤∑j∣xj∣∑i∣Aij∣≤(max⁡j∑i∣Aij∣)∥x∥1\|Ax\|_1 = \sum_i \bigl| \sum_j A_{ij}x_j \bigr| \le \sum_j |x_j| \sum_i |A_{ij}| \le \bigl( \max_j \sum_i |A_{ij}| \bigr) \|x\|_1 by the triangle inequality, with equality at x=ej∗x = e_{j^\ast} for a column j∗j^\ast of largest sum. For the ∞\infty-norm, ∥Ax∥∞=max⁡i∣∑jAijxj∣≤(max⁡i∑j∣Aij∣)∥x∥∞\|Ax\|_\infty = \max_i \bigl| \sum_j A_{ij}x_j \bigr| \le \bigl( \max_i \sum_j |A_{ij}| \bigr)\|x\|_\infty, with equality at the xx having ∥x∥∞=1\|x\|_\infty = 1 and xj=Ai∗j‾/∣Ai∗j∣x_j = \overline{A_{i^\ast j}}/|A_{i^\ast j}| (or 11 where that entry vanishes) for a row i∗i^\ast of largest sum, since then (Ax)i∗=∑j∣Ai∗j∣(Ax)_{i^\ast} = \sum_j |A_{i^\ast j}|. Finally ∥In∥F=n≠1\|I_n\|_F = \sqrt{n} \neq 1 for n≥2n \ge 2, and every induced norm has ∥I∥=1\|I\| = 1, so the Frobenius norm is not an induced norm.

Not even a pair of norms induces ∥⋅∥F\|\cdot\|_F, for n≥2n \ge 2. This last argument is ours; the cited page does not discuss the Frobenius norm. Suppose some norm aa on the domain Cn\mathbb{C}^n and some norm bb on the codomain Cn\mathbb{C}^n had max⁡∥x∥a=1∥Ax∥b=∥A∥F\max_{\|x\|_a = 1}\|Ax\|_b = \|A\|_F for every AA. Write ∥v∥a∗=max⁡∥x∥a=1∣v†x∣\|v\|_{a^\ast} = \max_{\|x\|_a = 1} |v^\dagger x|, a norm on Cn\mathbb{C}^n. Test the hypothesis on the rank-one matrices A=uv†A = u v^\dagger: since (uv†)x=(v†x) u(uv^\dagger)x = (v^\dagger x)\,u,

max⁡∥x∥a=1∥uv†x∥b=∥u∥bmax⁡∥x∥a=1∣v†x∣=∥u∥b ∥v∥a∗,∥uv†∥F=∥u∥2∥v∥2,\max_{\|x\|_a = 1} \|u v^\dagger x\|_b = \|u\|_b \max_{\|x\|_a = 1}|v^\dagger x| = \|u\|_b\,\|v\|_{a^\ast} , \qquad \|u v^\dagger\|_F = \|u\|_2 \|v\|_2 ,

the second because ∑i,j∣uivj‾∣2=∥u∥22∥v∥22\sum_{i,j}|u_i \overline{v_j}|^2 = \|u\|_2^2\|v\|_2^2. So ∥u∥b ∥v∥a∗=∥u∥2∥v∥2\|u\|_b\,\|v\|_{a^\ast} = \|u\|_2\|v\|_2 for all u,vu, v. Fixing a v0v_0 with ∥v0∥2=1\|v_0\|_2 = 1 and putting c=∥v0∥a∗>0c = \|v_0\|_{a^\ast} > 0 gives ∥u∥b=∥u∥2/c\|u\|_b = \|u\|_2/c for every uu; feeding that back with any fixed u≠0u \neq 0 gives ∥v∥a∗=c ∥v∥2\|v\|_{a^\ast} = c\,\|v\|_2 for every vv. Now take any xx with ∥x∥a=1\|x\|_a = 1 and use v=xv = x in the definition of ∥⋅∥a∗\|\cdot\|_{a^\ast}: c ∥x∥2=∥x∥a∗≥∣x†x∣=∥x∥22c\,\|x\|_2 = \|x\|_{a^\ast} \ge |x^\dagger x| = \|x\|_2^2, so ∥x∥2≤c\|x\|_2 \le c on the whole unit sphere of aa. Hence

max⁡∥x∥a=1∥Inx∥b=max⁡∥x∥a=1∥x∥2c ≤ 1,\max_{\|x\|_a = 1}\|I_n x\|_b = \max_{\|x\|_a = 1} \frac{\|x\|_2}{c} \ \le\ 1 ,

whereas the hypothesis demands the value ∥In∥F=n>1\|I_n\|_F = \sqrt{n} > 1. No such pair exists. (This is the argument the definition block promises; the value ∥In∥F=n\|I_n\|_F = \sqrt n alone does not settle the question, because n\sqrt n is the pair-induced norm of InI_n for ∥⋅∥∞\|\cdot\|_\infty on the domain and ∥⋅∥2\|\cdot\|_2 on the codomain.)

  1. Part 1. Take an SVD A=USV†A = U S V^\dagger (the singular value decomposition). For x≠0x \neq 0 put y=V†xy = V^\dagger x, so ∥y∥2=∥x∥2\|y\|_2 = \|x\|_2 since VV is unitary, and
∥Ax∥22=∥USy∥22=∥Sy∥22=∑i≤psi2∣yi∣2 ≤ s12∥y∥22=s12∥x∥22,\|Ax\|_2^2 = \|U S y\|_2^2 = \|S y\|_2^2 = \sum_{i \le p} s_i^2 |y_i|^2 \ \le\ s_1^2 \|y\|_2^2 = s_1^2\|x\|_2^2 ,

the first equality again by unitarity. Equality holds at x=v1x = v_1, where y=e1y = e_1. Hence ∥A∥2=s1\|A\|_2 = s_1, and s12s_1^2 is the largest eigenvalue of A†AA^\dagger A by part 1 of the existence statement for the SVD, so ∥A∥2=λmax⁡(A†A)\|A\|_2 = \sqrt{\lambda_{\max}(A^\dagger A)}.

  1. Part 2. Let λ\lambda be an eigenvalue of AA with ∣λ∣=ρ(A)|\lambda| = \rho(A) and x≠0x \neq 0 an eigenvector. For any induced norm, ∥A∥≥∥Ax∥/∥x∥=∥λx∥/∥x∥=∣λ∣\|A\| \ge \|Ax\|/\|x\| = \|\lambda x\|/\|x\| = |\lambda| by absolute homogeneity of the vector norm, so ∥A∥≥ρ(A)\|A\| \ge \rho(A).

  2. Part 3. A Hermitian matrix is normal, so by part 5 of the SVD existence statement its singular values are the numbers ∣λk∣|\lambda_k| sorted decreasingly. With part 1 this gives ∥A∥2=max⁡k∣λk∣=ρ(A)\|A\|_2 = \max_k |\lambda_k| = \rho(A), which is the matrix case of Lemma 10.6.1 of the cited section. The two-sided Rayleigh estimate λmin⁡(A)≤x†Ax/x†x≤λmax⁡(A)\lambda_{\min}(A) \le x^\dagger A x / x^\dagger x \le \lambda_{\max}(A) for x≠0x \neq 0 is the Rayleigh bounds.

  3. Part 4. For A=(0100)A = \begin{pmatrix} 0 & 1 \\ 0 & 0\end{pmatrix} the characteristic polynomial is λ2\lambda^2, so σ(A)={0}\sigma(A) = \{0\} and ρ(A)=0\rho(A) = 0. But A†A=diag⁡(0,1)A^\dagger A = \operatorname{diag}(0, 1), whose largest eigenvalue is 11, so ∥A∥2=1\|A\|_2 = 1 by part 1. The inequality of part 2 is therefore strict here, and it cannot be reversed in general.

  4. A lemma for the blocks that follow: the inverse. Nothing in parts 1-4 needs this step; it is recorded here, where the singular bases are at hand, because the condition number defined in the next block and the sensitivity bounds after it both use it. Let AA be square and invertible, so p=np = n and sn>0s_n > 0. Inverting A=USV†A = USV^\dagger gives A−1=VS−1U†A^{-1} = V S^{-1} U^\dagger, and reversing the order of the columns of VV and of UU turns this into an SVD of A−1A^{-1} with singular values 1/sn≥⋯≥1/s11/s_n \ge \cdots \ge 1/s_1. So ∥A−1∥2=1/sn\|A^{-1}\|_2 = 1/s_n by part 1, and

κ2(A)=∥A∥2∥A−1∥2=s1sn,\kappa_2(A) = \|A\|_2 \|A^{-1}\|_2 = \frac{s_1}{s_n} ,

which is the formula asserted in the definition below. If AA is Hermitian positive definite its singular values are its eigenvalues, all positive — by part 5 of the SVD existence statement (the singular value decomposition), as in step 3 above, with the absolute values dropped because the eigenvalues are positive — so κ2(A)=λmax⁡/λmin⁡\kappa_2(A) = \lambda_{\max}/\lambda_{\min}. A unitary QQ has Q†Q=IQ^\dagger Q = I, so every eigenvalue of Q†QQ^\dagger Q is 11 and every singular value of QQ is 11, giving κ2(Q)=1\kappa_2(Q) = 1. Two further consequences used below: applying A−1A^{-1} to Avi=siuiAv_i = s_i u_i gives A−1ui=vi/siA^{-1}u_i = v_i/s_i, and the computation of part 1 read from the other end gives ∥Ax∥22=∑isi2∣yi∣2≥sn2∥x∥22\|Ax\|_2^2 = \sum_i s_i^2|y_i|^2 \ge s_n^2\|x\|_2^2, that is ∥Ax∥2≥sn∥x∥2\|Ax\|_2 \ge s_n \|x\|_2 for every xx. □\square

Definition(Condition number)AdaptedAdapted from Stakgold & Holst (2011), §10.6, p. 772

For an invertible square matrix AA and an induced norm ∥⋅∥\|\cdot\|, the condition number is

κ(A)=∥A∥ ∥A−1∥ ≥ ∥AA−1∥=∥I∥=1.\kappa(A) = \|A\| \, \|A^{-1}\| \ \ge \ \|A A^{-1}\| = \|I\| = 1 .

For a singular AA one sets κ(A)=∞\kappa(A) = \infty. In the spectral norm, with singular values s1≥⋯≥sn>0s_1 \ge \cdots \ge s_n > 0,

κ2(A)=s1sn,\kappa_2(A) = \frac{s_1}{s_n} ,

and if AA is Hermitian positive definite this is λmax⁡/λmin⁡\lambda_{\max}/\lambda_{\min}. A matrix with κ\kappa close to 11 is called well-conditioned, and one with κ\kappa large ill-conditioned. Unitary and orthogonal matrices have κ2=1\kappa_2 = 1.

What the cited page displays is the more general AA-condition number κA(M)=∥M∥A ∥M−1∥A\kappa_A(M) = \|M\|_A\,\|M^{-1}\|_A, built from the norm of an AA-inner product and introduced there as an extension of "the standard notion"; the κ\kappa above is that standard notion, the case in which the inner product is the Euclidean one.

Definition(Sensitivity of a linear system)Original

Let AA be an invertible n×nn \times n matrix, b≠0b \neq 0, and xx the solution of Ax=bA x = b. Fix any induced norm and write κ=κ(A)\kappa = \kappa(A).

  1. Perturbed right-hand side. If A(x+δx)=b+δbA(x + \delta x) = b + \delta b, then
1κ ∥δb∥∥b∥ ≤ ∥δx∥∥x∥ ≤ κ ∥δb∥∥b∥.\frac{1}{\kappa}\, \frac{\|\delta b\|}{\|b\|} \ \le\ \frac{\|\delta x\|}{\|x\|} \ \le\ \kappa\, \frac{\|\delta b\|}{\|b\|} .

In the spectral norm the upper bound is attained. So κ\kappa is exactly the worst-case amplification of relative error, and no sharper constant exists. 2. Perturbed matrix. If A+δAA + \delta A is invertible and (A+δA)x^=b(A + \delta A)\hat{x} = b, then

∥x^−x∥∥x^∥ ≤ κ ∥δA∥∥A∥.\frac{\|\hat x - x\|}{\|\hat x\|} \ \le\ \kappa\, \frac{\|\delta A\|}{\|A\|} .
  1. Distance to singularity. In the spectral norm,
min⁡{∥δA∥2:A+δA is singular}=sn=∥A∥2κ2(A),\min\bigl\{\|\delta A\|_2 : A + \delta A \text{ is singular}\bigr\} = s_n = \frac{\|A\|_2}{\kappa_2(A)} ,

the minimum being attained at δA=−snunvn†\delta A = -s_n u_n v_n^\dagger. An ill-conditioned matrix is therefore literally a matrix that is relatively close to a singular one. 4. Rule of thumb. Solving Ax=bA x = b in arithmetic with unit roundoff ε\varepsilon gives a relative error of order κ(A) ε\kappa(A)\, \varepsilon: about log⁡10κ(A)\log_{10}\kappa(A) of the available decimal digits are lost, whatever algorithm is used.

Idea of the proofOriginal

Both bounds are the defining inequality of an induced norm used twice, once for AA and once for A−1A^{-1} — and the condition number is precisely the product of those two uses. Which way round you use them decides whether you get the upper or the lower bound, which is why the true amplification is trapped between κ\kappa and 1/κ1/\kappa and not merely below κ\kappa. Sharpness is then a matter of aiming: put the data along the direction AA stretches most and the error along the one it stretches least. The distance to singularity is the same arithmetic read geometrically: AA moves every vector by at least sns_n, so no smaller perturbation can manufacture a null vector, and one of size exactly sns_n can.

ProofOriginal

Write ∥⋅∥\|\cdot\| for the fixed induced norm and κ=∥A∥ ∥A−1∥\kappa = \|A\|\,\|A^{-1}\|. Note x≠0x \neq 0, since b=Ax≠0b = Ax \neq 0.

  1. Part 1, upper bound. Subtracting Ax=bAx = b from A(x+δx)=b+δbA(x + \delta x) = b + \delta b gives A δx=δbA\,\delta x = \delta b, so δx=A−1δb\delta x = A^{-1}\delta b and ∥δx∥≤∥A−1∥ ∥δb∥\|\delta x\| \le \|A^{-1}\|\,\|\delta b\|. Separately ∥b∥=∥Ax∥≤∥A∥ ∥x∥\|b\| = \|Ax\| \le \|A\|\,\|x\|, which rearranges to 1/∥x∥≤∥A∥/∥b∥1/\|x\| \le \|A\|/\|b\|. Multiplying the two inequalities,
∥δx∥∥x∥ ≤ ∥A−1∥ ∥δb∥⋅∥A∥∥b∥=κ ∥δb∥∥b∥.\frac{\|\delta x\|}{\|x\|} \ \le\ \|A^{-1}\|\,\|\delta b\| \cdot \frac{\|A\|}{\|b\|} = \kappa\, \frac{\|\delta b\|}{\|b\|} .
  1. Part 1, lower bound. Run the same two steps the other way round: δb=A δx\delta b = A\,\delta x gives ∥δb∥≤∥A∥ ∥δx∥\|\delta b\| \le \|A\|\,\|\delta x\|, and x=A−1bx = A^{-1}b gives ∥x∥≤∥A−1∥ ∥b∥\|x\| \le \|A^{-1}\|\,\|b\|, that is 1/∥b∥≤∥A−1∥/∥x∥1/\|b\| \le \|A^{-1}\|/\|x\|. Multiplying,
∥δb∥∥b∥ ≤ ∥A∥ ∥δx∥⋅∥A−1∥∥x∥=κ ∥δx∥∥x∥,\frac{\|\delta b\|}{\|b\|} \ \le\ \|A\|\,\|\delta x\| \cdot \frac{\|A^{-1}\|}{\|x\|} = \kappa\, \frac{\|\delta x\|}{\|x\|} ,

which is the lower bound after dividing by κ>0\kappa > 0.

  1. Part 1, the upper bound is attained in the spectral norm. Let A=USV†A = USV^\dagger be an SVD. Take b=s1u1b = s_1 u_1; then x=A−1b=s1⋅v1/s1=v1x = A^{-1}b = s_1 \cdot v_1/s_1 = v_1 by step 5 of the previous proof, so ∥x∥2=1\|x\|_2 = 1 and ∥b∥2=s1\|b\|_2 = s_1. Take δb=ϵ un\delta b = \epsilon\, u_n with ϵ≠0\epsilon \neq 0; then δx=A−1δb=ϵ vn/sn\delta x = A^{-1}\delta b = \epsilon\, v_n/s_n, so ∥δx∥2=∣ϵ∣/sn\|\delta x\|_2 = |\epsilon|/s_n. Hence
∥δx∥2/∥x∥2∥δb∥2/∥b∥2=∣ϵ∣/sn∣ϵ∣/s1=s1sn=κ2(A),\frac{\|\delta x\|_2/\|x\|_2}{\|\delta b\|_2/\|b\|_2} = \frac{|\epsilon|/s_n}{|\epsilon|/s_1} = \frac{s_1}{s_n} = \kappa_2(A) ,

so no constant smaller than κ2\kappa_2 can replace it in part 1. (For n=1n = 1 the two directions coincide, but then κ2=1\kappa_2 = 1 and the bound is an equality for every δb\delta b anyway.)

  1. Part 2. Subtracting Ax=bAx = b from (A+δA)x^=b(A + \delta A)\hat x = b gives Ax^+δA x^=AxA\hat x + \delta A\,\hat x = Ax, hence A(x^−x)=−δA x^A(\hat x - x) = -\delta A\, \hat x and x^−x=−A−1 δA x^\hat x - x = -A^{-1}\,\delta A\,\hat x. Taking norms, ∥x^−x∥≤∥A−1∥ ∥δA∥ ∥x^∥\|\hat x - x\| \le \|A^{-1}\|\,\|\delta A\|\,\|\hat x\|, and x^≠0\hat x \neq 0 because (A+δA)x^=b≠0(A + \delta A)\hat x = b \neq 0. Dividing by ∥x^∥\|\hat x\| and inserting ∥A∥/∥A∥\|A\|/\|A\|,
∥x^−x∥∥x^∥ ≤ ∥A−1∥ ∥A∥⋅∥δA∥∥A∥=κ ∥δA∥∥A∥.\frac{\|\hat x - x\|}{\|\hat x\|} \ \le\ \|A^{-1}\|\,\|A\| \cdot \frac{\|\delta A\|}{\|A\|} = \kappa\, \frac{\|\delta A\|}{\|A\|} .

The bound is in terms of ∥x^∥\|\hat x\|, the computed vector, not ∥x∥\|x\|; that is what makes it an identity-free consequence of one line of algebra.

  1. Part 3, no singular matrix is nearer than sns_n. Suppose ∥δA∥2<sn\|\delta A\|_2 < s_n. For every x≠0x \neq 0, the triangle inequality and ∥Ax∥2≥sn∥x∥2\|Ax\|_2 \ge s_n\|x\|_2 (step 5 of the previous proof) give
∥(A+δA)x∥2 ≥ ∥Ax∥2−∥δA x∥2 ≥ (sn−∥δA∥2)∥x∥2 > 0,\|(A + \delta A)x\|_2 \ \ge\ \|Ax\|_2 - \|\delta A\, x\|_2 \ \ge\ \bigl( s_n - \|\delta A\|_2 \bigr)\|x\|_2 \ >\ 0 ,

so A+δAA + \delta A has trivial kernel and is invertible. Hence every δA\delta A making A+δAA + \delta A singular has ∥δA∥2≥sn\|\delta A\|_2 \ge s_n.

  1. Part 3, and one at exactly that distance. Put δA=−snunvn†\delta A = -s_n u_n v_n^\dagger. For any xx, ∥unvn†x∥2=∣vn†x∣ ∥un∥2=∣vn†x∣≤∥x∥2\|u_n v_n^\dagger x\|_2 = |v_n^\dagger x| \,\|u_n\|_2 = |v_n^\dagger x| \le \|x\|_2 by Cauchy-Schwarz, with equality at x=vnx = v_n, so ∥δA∥2=sn\|\delta A\|_2 = s_n. And (A+δA)vn=snun−snun=0(A + \delta A)v_n = s_n u_n - s_n u_n = 0 with vn≠0v_n \neq 0, so A+δAA + \delta A is singular. The minimum is therefore sns_n, attained there, and sn=s1/κ2(A)=∥A∥2/κ2(A)s_n = s_1/\kappa_2(A) = \|A\|_2/\kappa_2(A) by step 5 of the previous proof.

  2. Part 4 is a rule of thumb, and the only part of this statement not proved. Its basis is part 2 together with backward stability: a backward-stable solver returns an x^\hat x that is the exact solution of a nearby system, (A+δA)x^=b(A + \delta A)\hat x = b with ∥δA∥/∥A∥\|\delta A\|/\|A\| of order ε\varepsilon (times a modest factor depending on nn and on the algorithm). Part 2 then bounds the relative error of x^\hat x by κ(A)\kappa(A) times that, and log⁡10\log_{10} of the bound is the count of lost decimal digits. The clause "whatever algorithm is used" rests on step 3: merely rounding bb into the machine perturbs it by a relative ε\varepsilon, and for the worst bb and δb\delta b that perturbation alone is amplified by exactly κ\kappa, so no algorithm can be uniformly better. What the rule of thumb adds to this is the empirical claim that the orders of magnitude are typically attained, which is not a theorem. □\square

NoteOriginal

A matrix norm measures how much a matrix can stretch a vector; the condition number measures how much worse the stretching can be in one direction than in another. That ratio, not the size of the determinant, is what decides whether a linear system can be solved from imperfect data: κ(A)\kappa(A) is the factor by which relative errors in bb or in AA may be magnified in the answer, and the quantity to inspect before trusting a numerical solution or a fitted parameter.

Remark(Traps and conventions)AdaptedAdapted from Strauss (2008), §1.5, pp. 26-27; Arfken, Weber & Harris (2013), Exercise 5.1.3 note, p. 267

A small determinant does not mean ill-conditioned, and a large one does not mean well-conditioned. εIn\varepsilon I_n has determinant εn\varepsilon^n, as small as you like, yet κ2=1\kappa_2 = 1: it is perfectly conditioned, merely scaled. Conversely diag⁡(106,10−6)\operatorname{diag}(10^{6}, 10^{-6}) has determinant 11 and κ2=1012\kappa_2 = 10^{12}. Conditioning is about the ratio of the extreme singular values, which is invariant under scaling A↦cAA \mapsto cA, while the determinant is not.

Conditioning is a property of the problem, not of the algorithm. Strauss (§1.5, pp. 26-27) places it as the stability requirement in well-posedness: a nonsingular matrix with one very small eigenvalue gives a unique solution that nevertheless moves a great deal when bb is perturbed slightly, and no choice of solver can repair that. The sharp condition is a small smallest singular value, which is the weaker requirement: sn≤∣λ∣s_n \le |\lambda| for every eigenvalue λ\lambda, since ∥Ax∥2≥sn∥x∥2\|Ax\|_2 \ge s_n\|x\|_2 applied to an eigenvector gives ∣λ∣≥sn|\lambda| \ge s_n, so a small eigenvalue forces a small sns_n but not conversely. A standard example is the Hilbert matrix Aij=1/(i+j+1)A_{ij} = 1/(i + j + 1) with i,j=0,…,n−1i, j = 0, \dots, n-1, which arises when a function is fitted by a power series in the mean-square sense and whose determinant and smallest singular value shrink extremely fast with nn (Arfken, Weber and Harris note det⁡A=3.7×10−12\det A = 3.7 \times 10^{-12} already at n=5n = 5, Exercise 5.1.3, p. 267).

κ\kappa depends on the norm. Different induced norms give different values, though they are equivalent up to factors depending only on nn (for example n−1κ∞≤κ2≤n κ∞n^{-1}\kappa_\infty \le \kappa_2 \le n\,\kappa_\infty), so "ill-conditioned" is norm-independent as a qualitative statement. Always say which norm you mean; κ\kappa with no subscript usually means κ2\kappa_2.

ρ(A)\rho(A) is not a norm. It fails the triangle inequality and vanishes on non-zero nilpotent matrices, so it cannot be used in the bounds above; inequality 2 of the spectral-norm statement runs one way only.

Non-square matrices. κ2(A)=s1/sr\kappa_2(A) = s_1/s_r with r=rank⁡Ar = \operatorname{rank} A is also used for rectangular AA and governs least-squares sensitivity, but then ∥A∥2∥A+∥2\|A\|_2 \|A^{+}\|_2 replaces ∥A∥∥A−1∥\|A\|\|A^{-1}\| and the bounds of parts 1-2 need modification.

Example(A 2 x 2 matrix with condition number exactly 100)Original

Take

A=(1019999101).A = \begin{pmatrix} 101 & 99 \\ 99 & 101 \end{pmatrix} .

1. Spectrum and singular values. AA is real symmetric, and A(1,1)T=(200,200)TA(1,1)^{\mathsf T} = (200, 200)^{\mathsf T}, A(1,−1)T=(2,−2)TA(1,-1)^{\mathsf T} = (2, -2)^{\mathsf T}, so the eigenvalues are 200200 and 22 with orthonormal eigenvectors

w1=12(1,1)T,w2=12(1,−1)T.w_1 = \tfrac{1}{\sqrt2}(1,1)^{\mathsf T}, \qquad w_2 = \tfrac{1}{\sqrt2}(1,-1)^{\mathsf T} .

Both eigenvalues are positive, so AA is symmetric positive definite and its singular values are its eigenvalues: s1=200s_1 = 200, s2=2s_2 = 2, with u1=v1=w1u_1 = v_1 = w_1 and u2=v2=w2u_2 = v_2 = w_2.

2. The norms. By part 1 of the spectral-norm statement, ∥A∥2=200\|A\|_2 = 200. The largest column sum and the largest row sum are both 101+99=200101 + 99 = 200, so ∥A∥1=∥A∥∞=200\|A\|_1 = \|A\|_\infty = 200 as well, and ∥A∥F=2(1012+992)=40004=210001≈200.0100\|A\|_F = \sqrt{2(101^2 + 99^2)} = \sqrt{40004} = 2\sqrt{10001} \approx 200.0100.

3. The inverse and the condition numbers. det⁡A=1012−992=(101−99)(101+99)=400\det A = 101^2 - 99^2 = (101-99)(101+99) = 400, so

A−1=1400(101−99−99101).A^{-1} = \frac{1}{400}\begin{pmatrix} 101 & -99 \\ -99 & 101\end{pmatrix} .

Then ∥A−1∥2=1/s2=12\|A^{-1}\|_2 = 1/s_2 = \tfrac12 and ∥A−1∥1=(101+99)/400=12\|A^{-1}\|_1 = (101+99)/400 = \tfrac12, giving

κ2(A)=s1s2=2002=100,κ1(A)=200⋅12=100.\kappa_2(A) = \frac{s_1}{s_2} = \frac{200}{2} = 100 , \qquad \kappa_1(A) = 200 \cdot \tfrac12 = 100 .

Note that det⁡A=400\det A = 400 is not small: conditioning and the determinant are unrelated, as the remark above says.

4. The worst case is attained. Take b=(200,200)Tb = (200, 200)^{\mathsf T}, which is a multiple of u1u_1; then x=(1,1)Tx = (1, 1)^{\mathsf T}, since Ax=(200,200)TAx = (200, 200)^{\mathsf T}. Perturb along u2u_2: δb=(0.1,−0.1)T\delta b = (0.1, -0.1)^{\mathsf T}. Then

δx=A−1δb=1400(101⋅0.1+99⋅0.1−99⋅0.1−101⋅0.1)=1400(20−20)=(0.05−0.05).\delta x = A^{-1}\delta b = \frac{1}{400}\begin{pmatrix} 101 \cdot 0.1 + 99 \cdot 0.1 \\ -99 \cdot 0.1 - 101 \cdot 0.1 \end{pmatrix} = \frac{1}{400}\begin{pmatrix} 20 \\ -20 \end{pmatrix} = \begin{pmatrix} 0.05 \\ -0.05\end{pmatrix} .

The relative sizes are

∥δb∥2∥b∥2=0.122002=5×10−4,∥δx∥2∥x∥2=0.0522=5×10−2,\frac{\|\delta b\|_2}{\|b\|_2} = \frac{0.1\sqrt2}{200\sqrt2} = 5 \times 10^{-4} , \qquad \frac{\|\delta x\|_2}{\|x\|_2} = \frac{0.05\sqrt2}{\sqrt2} = 5 \times 10^{-2} ,

a ratio of exactly 100=κ2(A)100 = \kappa_2(A): a perturbation of the data in the fourth decimal place has moved the answer in the second.

5. The best case, for contrast. Keep the same bb and the same ∥δb∥2\|\delta b\|_2, but point the perturbation along u1u_1 instead: δb=(0.1,0.1)T\delta b = (0.1, 0.1)^{\mathsf T}. Then δx=1400(0.2,0.2)T=(5×10−4,5×10−4)T\delta x = \frac{1}{400}(0.2, 0.2)^{\mathsf T} = (5\times10^{-4}, 5\times10^{-4})^{\mathsf T} and ∥δx∥2/∥x∥2=5×10−4\|\delta x\|_2/\|x\|_2 = 5 \times 10^{-4}, an amplification of 11. The two experiments differ only in the direction of δb\delta b, and part 1 confines every intermediate case between the factors 1/1001/100 and 100100.

6. Distance to singularity. Part 3 says the nearest singular matrix is at spectral distance s2=2s_2 = 2 and is reached at δA=−s2u2u2T\delta A = -s_2 u_2 u_2^{\mathsf T}. Here

δA=−2⋅12(1−1−11)=(−111−1),A+δA=(100100100100),\delta A = -2 \cdot \tfrac12 \begin{pmatrix} 1 & -1 \\ -1 & 1\end{pmatrix} = \begin{pmatrix} -1 & 1 \\ 1 & -1 \end{pmatrix} , \qquad A + \delta A = \begin{pmatrix} 100 & 100 \\ 100 & 100\end{pmatrix} ,

which is indeed singular, and ∥δA∥2=2\|\delta A\|_2 = 2. Relative to ∥A∥2=200\|A\|_2 = 200, this matrix is only 1%=1/κ2(A)1\% = 1/\kappa_2(A) away from being singular — the geometric meaning of κ2=100\kappa_2 = 100.

7. Digits. log⁡10κ2(A)=2\log_{10}\kappa_2(A) = 2, so part 4 predicts the loss of about two decimal digits. In IEEE double precision, where the unit roundoff is ε≈1.1×10−16\varepsilon \approx 1.1 \times 10^{-16}, a solution of Ax=bAx = b should be trusted to a relative accuracy of about 10−1410^{-14} and no better.

ApplicationOriginal
  • Never form the normal equations if you can avoid it. The singular values of A†AA^\dagger A are the squares of those of AA, so κ2(A†A)=κ2(A)2\kappa_2(A^\dagger A) = \kappa_2(A)^2. Solving a least-squares problem through A†Ax=A†bA^\dagger A x = A^\dagger b therefore squares the condition number and doubles the number of decimal digits lost — from log⁡10κ2(A)\log_{10}\kappa_2(A) to 2log⁡10κ2(A)2\log_{10}\kappa_2(A), so that double precision and κ2(A)=104\kappa_2(A) = 10^{4} leave about eight good digits instead of twelve — while a QR or SVD factorisation of AA itself works with κ2(A)\kappa_2(A). This single inequality is why numerical libraries fit models by orthogonal factorisation rather than by the textbook normal equations.

  • Fitting a polynomial, and why high degree fails. Least-squares fitting of a function on [0,1][0,1] by a power series leads to the Hilbert matrix Aij=1/(i+j+1)A_{ij} = 1/(i+j+1) with i,j=0,…,n−1i, j = 0, \dots, n-1, whose singular values decay geometrically: κ2≈4.8×105\kappa_2 \approx 4.8 \times 10^{5} already at n=5n = 5 and ≈1.6×1013\approx 1.6 \times 10^{13} at n=10n = 10. At n=10n = 10 double precision leaves about three correct digits in the fitted coefficients, whatever the solver. The cure is not a better solver but a better basis — orthogonal polynomials, for which the corresponding Gram matrix is diagonal, and the identity once they are normalised, so that κ2=1\kappa_2 = 1. Without normalisation κ2\kappa_2 is the ratio of the extreme squared norms, which stays modest: for the Legendre polynomials, with ∫−11Pk2=2/(2k+1)\int_{-1}^{1} P_k^2 = 2/(2k+1), degrees up to 1010 give κ2=21\kappa_2 = 21.

  • Discretised differential operators get worse as the mesh is refined. The standard second-difference approximation of −d2/dx2-d^2/dx^2 on [0,1][0,1] with Dirichlet conditions and NN interior points, spacing h=1/(N+1)h = 1/(N+1), is symmetric positive definite with eigenvalues (4/h2)sin⁡2(kπh/2)(4/h^2)\sin^2\bigl(k\pi h/2\bigr), so

κ2=cot⁡2 ⁣(πh2)≈4π2h2,\kappa_2 = \cot^2\!\Bigl( \frac{\pi h}{2} \Bigr) \approx \frac{4}{\pi^2 h^2} ,

which is 4.13×1034.13 \times 10^{3} at N=100N = 100 and grows like N2N^2. Accuracy and conditioning therefore pull in opposite directions, the iteration count of conjugate gradients grows like κ2∼N\sqrt{\kappa_2} \sim N, and this is the reason multigrid and other preconditioners exist: they replace the system by an equivalent one whose condition number does not blow up with hh.

  • Inverse problems in the geosciences and in imaging. Recovering a source distribution from remote measurements — seismic velocity from travel times, atmospheric composition from radiances, an image from projections — discretises to an Ax=bAx = b whose singular values decay towards zero, so κ2\kappa_2 is enormous and the relation of part 1 says the inversion will amplify measurement noise by that factor. The practical response is to accept a different problem: truncate the singular value expansion or add a Tikhonov penalty, replacing AA by a nearby operator of moderate condition number and trading resolution for stability. The condition number is the number that quantifies the trade.

  • Trusting an eigenvector computation. Route 1 of the matrix exponential computes f(A)=Sf(Λ)S−1f(A) = S f(\Lambda) S^{-1} from an eigenbasis. The relevant conditioning is not κ(A)\kappa(A) but κ(S)\kappa(S), which blows up as AA approaches a defective matrix, because two eigenvectors then become nearly parallel. The same quantity controls the sensitivity of computed eigenvalues, which is why nearly degenerate normal modes of a structure, or nearly crossing energy levels, demand care that well-separated ones do not.