Home › Matrix Math › Lesson 6

Diagonalization and the Jordan Normal Form

Lesson 6 of 12

Key idea of this section

A diagonalizable  ⇔  mA has distinct roots  ⇔  ∑ geometric multiplicities = n
A = S (Jk₁(λ₁) ⊕ ⋯ ⊕ Jks(λs)) S⁻¹,   unique up to the order of blocks

Diagonalizability

A is diagonalizable if A = SΛS⁻¹ with Λ diagonal; the columns of S are then eigenvectors and the diagonal of Λ lists the eigenvalues. Thus A is diagonalizable precisely when 𝔽ⁿ has a basis of eigenvectors. Diagonalization makes functions of A transparent: Ak = SΛkS⁻¹, and more generally q(A) = S q(Λ) S⁻¹.

Lemma 6.1 (Kernel decomposition). If q = q₁q₂ with gcd(q₁, q₂) = 1, then ker q(A) = ker q₁(A) ⊕ ker q₂(A).

Proof. By Bézout there are polynomials a, b with aq₁ + bq₂ = 1, hence I = a(A)q₁(A) + b(A)q₂(A). For x ∈ ker q(A), put x₁ = b(A)q₂(A)x and x₂ = a(A)q₁(A)x. Then x = x₁ + x₂, while q₁(A)x₁ = b(A)q(A)x = 0 and q₂(A)x₂ = 0. If x lies in both kernels, x = a(A)q₁(A)x + b(A)q₂(A)x = 0. ∎

Theorem 6.2. For A ∈ 𝔽n×n the following are equivalent: (i) A is diagonalizable over 𝔽; (ii) pA splits over 𝔽 and, for each eigenvalue, the geometric multiplicity equals the algebraic multiplicity; (iii) mA splits over 𝔽 into distinct linear factors.

Proof. (i) ⇒ (iii): if A = SΛS⁻¹ with distinct diagonal values μ₁, …, μs, then q(t) = ∏(t − μj) kills Λ and hence A, so mA divides q and has distinct roots. (iii) ⇒ (i): if mA = ∏(t − μj) with distinct μj, repeated use of Lemma 6.1 gives 𝔽ⁿ = ker mA(A) = ⊕ ker(A − μjI), a direct sum of eigenspaces. (i) ⇔ (ii): eigenspaces for distinct eigenvalues form a direct sum by Proposition 5.2, so A has a basis of eigenvectors exactly when the geometric multiplicities add up to n; since each is at most the corresponding algebraic multiplicity (Proposition 5.1) and those add up to at most n, with equality exactly when pA splits, this happens exactly under (ii). ∎

Corollary 6.3. A matrix with n distinct eigenvalues is diagonalizable. Over ℂ the diagonalizable matrices are dense, since an arbitrarily small perturbation of the upper triangular Schur form (Lesson 8) separates the eigenvalues.

Jordan blocks

The Jordan block Jk(λ) is the k × k matrix with λ on the diagonal, 1 on the superdiagonal and 0 elsewhere. With N = Jk(λ) − λI, the shift N sends ek ↦ ek−1 ↦ ⋯ ↦ e₁ ↦ 0, so Nk−1 ≠ 0 and Nk = 0. Hence Jk(λ) has the single eigenvalue λ with algebraic multiplicity k, geometric multiplicity 1, and minimal polynomial (t − λ)k. For k ≥ 2 it is not diagonalizable.

Theorem 6.4 (Jordan normal form). Let A ∈ ℂn×n, or more generally suppose pA splits over 𝔽. Then A is similar to a block-diagonal matrix J = Jk₁(λ₁) ⊕ ⋯ ⊕ Jks(λs), and J is unique up to the order of the blocks.

Proof. Step 1 (generalized eigenspaces). Write pA = ∏(t − μj)aj with distinct μj. By Cayley–Hamilton and Lemma 6.1, 𝔽ⁿ = ⊕_j Gj with Gj = ker(A − μjI)aj. Each Gj is A-invariant, and on Gj the operator Nj = A − μjI is nilpotent. It therefore suffices to show that a nilpotent operator N on a space G has a basis consisting of chains x, Nx, …, Nk−1x with Nk x = 0, because in the reversed basis Nk−1x, …, Nx, x each chain is a single shift block.

Step 2 (nilpotent operators). Induct on dim G; the case dim G = 0 is empty. Since N is nilpotent, N is not injective, so W = N(G) is a proper N-invariant subspace. By induction W has a basis of chains: vectors y₁, …, yp and lengths ℓ₁, …, ℓp such that the vectors Nr yi (0 ≤ r < ℓi) form a basis of W and Nℓi yi = 0. Each yi lies in N(G), so choose xi with Nxi = yi. The vectors Nℓi − 1yi (the chain ends) are independent and lie in ker N; extend them to a basis of ker N by vectors z₁, …, zq. Consider the chains xi, Nxi, …, Nℓixi (length ℓi + 1) together with the one-element chains zj. Their number of vectors is dim W + p + q = dim im N + dim ker N = dim G. They are independent: given a vanishing linear combination, apply N; the zj and the chain ends Nℓixi are killed, and what remains is a combination of the basis of W, so all coefficients except those of Nℓixi = Nℓi−1yi and zj vanish; those remaining vectors are independent by construction, so their coefficients vanish as well. Thus we have a chain basis of G.

Step 3 (uniqueness). For an eigenvalue λ let rk = rank(A − λI)k, with r₀ = n. On a block Jm(λ) the rank of Nk drops by one for each k ≤ m, while blocks with other eigenvalues are invertible under A − λI. Counting gives that the number of Jordan blocks for λ of size at least k equals rk−1 − rk. These ranks are similarity invariants, so the block sizes are determined by A. ∎

Corollary 6.5. The number of Jordan blocks for λ of size exactly k is rk−1 − 2rk + rk+1. The number of blocks for λ is its geometric multiplicity, the sum of their sizes is its algebraic multiplicity, and the largest size is its multiplicity as a root of mA.

Worked example: A = [ 3 1 ; −1 1 ] has tr A = 4 and det A = 4, so pA(λ) = (λ − 2)². Since A − 2I = [ 1 1 ; −1 −1 ] has rank 1, there is a single block: A ∼ J₂(2). A chain is obtained by choosing x = e₁, which is not in ker(A − 2I), and setting y = (A − 2I)x = (1, −1). With S = [ y x ] = [ 1 1 ; −1 0 ] one has A = S J₂(2) S⁻¹.

The matrix exponential

For any square A the series exp(A) = ∑k≥0 Ak/k! converges absolutely, and x(t) = exp(tA)x₀ is the unique solution of x′ = Ax with x(0) = x₀. If AB = BA then exp(A + B) = exp(A)exp(B), the binomial theorem being valid for commuting matrices. Writing Jk(λ) = λI + N with N nilpotent and commuting with λI,

exp(t Jk(λ)) = eλt ( I + tN + t²N²/2! + ⋯ + tk−1Nk−1/(k−1)! )

For the worked example, N = A − 2I satisfies N² = 0, so exp(tA) = e2t(I + tN) = e2t [ 1 + t t ; −t 1 − t ]. The polynomial factors tj eλt that appear for nontrivial blocks are the source of the secular terms in the theory of linear differential equations with repeated characteristic roots.

Two caveats are important in practice. First, the Jordan form is discontinuous in the entries: the matrix [ 0 1 ; ε 0 ] is diagonalizable with eigenvalues ±√ε for every ε > 0, but tends to J₂(0). The Jordan form therefore cannot be computed stably in floating-point arithmetic, and numerical work uses the Schur form of Lesson 8 instead. Second, every A with split characteristic polynomial decomposes uniquely as A = D + N with D diagonalizable, N nilpotent and DN = ND (the Jordan–Chevalley decomposition); moreover D and N are polynomials in A.

Exercise

  • (a)
    How many similarity classes of 4 × 4 nilpotent complex matrices are there?
  • (b)
    A is 7 × 7 with single eigenvalue 3, and with N = A − 3I one has rank N = 4, rank N² = 2, rank N³ = 1, rank N⁴ = 0. Find the Jordan block sizes.
  • (c)
    Compute exp(tA) for A = [ 0 1 ; 0 0 ] and use it to solve x′ = Ax with x(0) = (a, b).
Show solution

Answers: (a) Nilpotent Jordan forms correspond to partitions of 4: 4, 3 + 1, 2 + 2, 2 + 1 + 1, 1 + 1 + 1 + 1, so there are 5 classes. (b) Blocks of size ≥ 1: 7 − 4 = 3; ≥ 2: 4 − 2 = 2; ≥ 3: 2 − 1 = 1; ≥ 4: 1 − 0 = 1; ≥ 5: 0. Hence the sizes are 4, 2, 1 (and indeed 4 + 2 + 1 = 7). (c) A² = 0, so exp(tA) = I + tA = [ 1 t ; 0 1 ] and x(t) = (a + bt, b).

V.3.1