Cayley–Hamilton theorem
Every matrix satisfies its own characteristic equation — and how to use that to find inverses and reduce high powers without heavy computation.
Module contents
Statement
Every square matrix satisfies its own characteristic equation.
If the characteristic equation of is
then replacing by and the constant term by gives a true matrix identity:
Note carefully: the right-hand side is the null matrix , not the scalar , and the constant term carries an . Writing alone is dimensionally meaningless.
Order 2
Order 3
with , sum of principal minors, .
Use 1 — Finding the inverse
This is the most common exam application. Start from the theorem for order :
Multiply throughout by (legal when ), using :
Rearrange:
For order the same procedure gives
No cofactors, no adjoint — just one matrix multiplication and some scalar arithmetic.
Why this fails for singular matrices. The constant term is . Dividing by it is exactly the step that requires .
Use 2 — Reducing high powers
The theorem expresses in terms of lower powers:
Multiply by to get in terms of — then substitute the line above to bring it back down. Repeating this, every power of reduces to a combination of .
For large exponents there is a cleaner route: divide the polynomial by the characteristic polynomial ,
Since , substituting collapses the first term:
So computing needs only a polynomial remainder and then a matrix of degree at most .
Verifying the theorem
When a question says "verify the Cayley–Hamilton theorem for ", it wants:
- The characteristic equation of .
- The powers (and if order ), computed explicitly.
- Substitution into the equation, position by position, ending at .
Show the arithmetic. The mark scheme is for the working, not the conclusion.
Worked examples
2 solvedEvery step is shown, in the order you would write it in an answer book.
Verifying the theorem for a 2 × 2 and finding A⁻¹
Question
Verify the Cayley–Hamilton theorem for and use it to find .
Characteristic equation
Compute
Substitute into
The theorem is verified.
Multiply the identity by
Solve for
Cross-check with the adjoint formula
Answer
, and .
The theorem for a 3 × 3, and the inverse from it
Question
Verify the Cayley–Hamilton theorem for and hence find .
Compute
Principal minors:
Write the characteristic equation
By the theorem: .
Compute
Row 1 : , ,
Row 2 : , ,
Row 3 : , ,Compute
Row 1 : , ,
Row 2 : , ,
Row 3 : , ,Substitute and verify
Position : ✓
Position : ✓
Position : ✓
Position : ✓
Position : ✓
Position : ✓
Position : ✓
Position : ✓
Position : ✓Derive
Multiply through by :
Evaluate
Check (row 1 of × column 1 of the bracket): , and ✓
Answer
;
NoteCompute S₁, S₂, S₃ first and write the equation before touching A² or A³. It tells you exactly which powers you need.
Practice problems
4 with solutionsWork each one on paper first. The full solution — not just the answer — is one click away.
Verify the Cayley–Hamilton theorem for .
Show solutionHide solution
Characteristic equation:
Use the Cayley–Hamilton theorem to find for .
Show solutionHide solution
Multiply by :
Check: ✓
Verify the Cayley–Hamilton theorem for and find .
Show solutionHide solution
Coefficients.
Characteristic equation:
Compute .
Row 1 : , ,
Row 2 : , ,
Row 3 : , ,
Compute .
Row 1 : , ,
Row 2 : , ,
Row 3 : , ,
Verify :
: : :
: : :
: : :
Inverse. Multiply by :
Check (row 1 of × column 1 of ): ✓
If , use the Cayley–Hamilton theorem to express in the form .
Show solutionHide solution
Now climb the powers, reducing at each stage.
Verification.
Directly: the eigenvalues of are and , so those of are and . Then ✓ and ✓