UNIHIVE

Study Hub UNIPORT MTH 210

MTH 210 · Linear Algebra

Characteristic and minimal polynomials, Cayley-Hamilton theorem

The Cayley-Hamilton theorem, using it to find inverses and powers, and the minimal polynomial and what it says about diagonalisation.

Our notes

2 min read

Characteristic polynomial

c(λ) = det(A − λI) (some books use det(λI − A), which differs only by the sign (−1)ⁿ). For 2 × 2: λ² − (tr A)λ + det A.

Cayley-Hamilton theorem

Every square matrix satisfies its own characteristic equation: if c(λ) = λⁿ + aₙ₋₁λⁿ⁻¹ + ... + a₀ then
Aⁿ + aₙ₋₁Aⁿ⁻¹ + ... + a₀I = 0 (the zero matrix).

Worked example (verify). A = [1 2; 3 4]: tr = 5, det = 4 − 6 = −2, so c(λ) = λ² − 5λ − 2.
A² = [1 + 6, 2 + 8; 3 + 12, 6 + 16] = [7 10; 15 22].
A² − 5A − 2I = [7 − 5 − 2, 10 − 10; 15 − 15, 22 − 20 − 2] = [0 0; 0 0]. ✓

Inverse from Cayley-Hamilton

From A² − 5A − 2I = 0: A(A − 5I) = 2I, so A⁻¹ = (A − 5I)/2 = (1/2)[−4 2; 3 −1] = [−2 1; 1.5 −0.5].
Check: [1 2; 3 4][−2 1; 1.5 −0.5] = [−2 + 3, 1 − 1; −6 + 6, 3 − 2] = I. ✓
In general, if a₀ ≠ 0 (that is, det A ≠ 0), A⁻¹ is a polynomial in A.

Powers from Cayley-Hamilton

A² = 5A + 2I, so A³ = 5A² + 2A = 5(5A + 2I) + 2A = 27A + 10I. Any power reduces to αA + βI for a 2 × 2 matrix.
Check: 27A + 10I = [37 54; 81 118]; A³ = A²A = [7 + 30, 14 + 40; 15 + 66, 30 + 88] = [37 54; 81 118]. ✓

Minimal polynomial

The minimal polynomial m(λ) is the monic polynomial of smallest degree with m(A) = 0.

  • m(λ) divides c(λ) (and every polynomial p with p(A) = 0).
  • m and c have the same roots (the eigenvalues), possibly with lower powers.
  • A is diagonalisable if and only if m(λ) has no repeated roots (it is a product of distinct linear factors).

Worked example. A = [2 1 0; 0 2 0; 0 0 3]: c(λ) = (λ − 2)²(λ − 3) (up to sign). Try (λ − 2)(λ − 3): (A − 2I)(A − 3I) = [0 1 0; 0 0 0; 0 0 1][−1 1 0; 0 −1 0; 0 0 0]. First row: (0·(−1) + 1·0 + 0, 0·1 + 1·(−1) + 0, 0) = (0, −1, 0) ≠ 0. So m(λ) = (λ − 2)²(λ − 3): repeated root, not diagonalisable.
Worked example. A = diag(2, 2, 3): (A − 2I)(A − 3I) = diag(0, 0, 1)·diag(−1, −1, 0) = 0, so m(λ) = (λ − 2)(λ − 3): diagonalisable (as it is already diagonal).
Worked example. If A² = A (a projection), m divides λ² − λ = λ(λ − 1), which has distinct roots, so every projection is diagonalisable with eigenvalues 0 and 1.

Exams usually ask: state and verify the Cayley-Hamilton theorem; use it to find A⁻¹ or a high power; find the minimal polynomial; use it to decide diagonalisability.

Common mistake: substituting a number for λ in the matrix sense, as in "c(A) = det(A − AI) = 0, so it's obvious". That argument is invalid; the theorem says the polynomial with A put in (and constant times I) gives the zero matrix.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All MTH 210 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.