← 🎯 Eigenvalues & Eigenvectors
Subtopic 4 of 6

5.4Cayley–Hamilton theorem

The idea

Cayley–Hamilton: every square matrix satisfies its own characteristic equation. It lets you reduce high powers and find the inverse.

Think of it like this: A matrix obeying its own rulebook: plug yourself in and you get zero.

Why it exists

It gives a fast way to compute A⁻¹ or A¹⁰ without heavy multiplication.

How it works

  1. Compute p(λ) = det(A − λI).
  2. Replace λ by A (and the constant term by that constant times I): p(A) = 0.
  3. For 2 × 2: A² − (tr A)A + (det A)I = 0.
  4. Rearrange to get A⁻¹ = (tI − A)/d from A² − tA + dI = 0, or reduce a high power to a low-degree polynomial.

Worked example: A = [[2, 1],[1, 3]]

p(λ) = λ² − 5λ + 5, so A² − 5A + 5I = 0 and A⁻¹ = (5I − A)/5. The lab checks that the sum of the terms really is the zero matrix.

Now play with it

  • →Watch the terms c·Aᵏ add up to the zero matrix.
  • →Load the singular matrix: the constant term is 0 and there is no inverse.
p(λ) = det(A − λI) = λ^2 − 5λ + 5
Substitute A into p: each term cₖ·Aᵏ
1·A^2
55
510
+
-5·A^1
-10-5
-5-15
+
5·A^0
50
05
Sum
00
00
✓ p(A) = 0, as Cayley–Hamilton promises
Inverse from the theorem: A⁻¹ = −(1/c₀)·(Aⁿ⁻¹ + c₁Aⁿ⁻² + …)
3/5-1/5
-1/52/5
✓ A · A⁻¹ = I

Check yourself

If A² − 3A + 2I = 0, then A⁻¹ equals

Remember: p(A) = 0; use it for the inverse and for high powers.
Exam notes (the dense version)

Every square matrix satisfies its own characteristic equation: if p(λ) = det(A − λI), then p(A) = 0. For 2×2: A² − (tr A)A + (det A)I = 0. Use it to reduce high powers of A to a low-degree polynomial in A and to find A⁻¹: from A² − tA + dI = 0 we get A⁻¹ = (tI − A)/d.

Previous year questions: Eigenvalues & Eigenvectors (14)

PYQs are grouped by topic, so this is the full set for Eigenvalues & Eigenvectors; try the ones that match this subtopic. Open all 14 on the topic page.