Matrices add, subtract, multiply and scale much like numbers (except AB=BA in general), so we can substitute a matrix into a polynomial. For p(x)=x2−3x+2, replacing x by a square matrix A gives
p(A)=A2−3A+2I,
where the constant 2 becomes 2I so it can be added to matrices.
The Cayley–Hamilton theorem makes a striking claim: every square matrix satisfies its own characteristic equation.
The characteristic polynomial
Every n×n matrix A has a characteristic polynomial
p(λ)=det(λI−A),
a degree-n polynomial whose roots are the eigenvalues. For a 2×2 matrix it is λ2−(trA)λ+detA. For A=(1324) this is p(λ)=λ2−5λ−2.
The statement
Important
If p(λ)=λn+cn−1λn−1+⋯+c1λ+c0 is the characteristic polynomial of A, then
p(A)=An+cn−1An−1+⋯+c1A+c0I=0,
the n×n zero matrix.
For the example, A2−5A−2I=(0000).
Why it is surprising, and a quick check
The polynomial is built from det(λI−A), yet feeding A back into it annihilates it — and this holds for any A, invertible or not. You can verify it on the general 2×2 matrix A=(acbd), where p(λ)=λ2−(a+d)λ+(ad−bc): a short computation of A2−(a+d)A+(ad−bc)I gives the zero matrix.
Why it matters
Cayley–Hamilton lets you rewrite any high power Ak (for k≥n) as a combination of I,A,…,An−1, which speeds up computing powers, exponentials and inverses. …
The Cayley-Hamilton theorem says every square matrix satisfies its own characteristic equation. For this 3×3 matrix, the characteristic polynomial is λ3−6λ2+5λ+11=0, so A3−6A2+5A+11I=O. Rearranging gives A−1=−111(A2−6A+5I).
The problem asks two things: first, to verify a matrix polynomial identity, and second, to use it to find the inverse. The key idea is the Cayley-Hamilton theorem — a matrix satisfies its own characteristic equation. So if we find the characteristic polynomial of A, plugging A into it must give the zero matrix. That gives us the identity we need to show. Then, once we have A3−6A2+5A+11I=O, we can factor out an A (carefully, since matrix multiplication isn't commutative, but A commutes with itself and with I) to get an expression for A−1.
Let's work through it.
Find the characteristic polynomial of A.
The characteristic polynomial is p(λ)=det(λI−A). Compute:
Apply Cayley-Hamilton theorem.
The theorem states that p(A)=O. That is:
A3−6A2+5A+11I=O
This is exactly what we needed to show. So the first part is done.
Tip
You don't need to compute A2 and A3 explicitly to verify the identity — the Cayley-Hamilton theorem guarantees it once you have the characteristic polynomial. But if you wanted to check, you could compute A2 and A3 and substitute; it's a good exercise but takes longer.
Find A−1 from the polynomial identity.
We have A3−6A2+5A+11I=O. Rearrange to isolate A:
A3−6A2+5A=−11I
Factor A on the left (since A commutes with itself and with I):
A(A2−6A+5I)=−11I
Multiply both sides by −111:
A⋅[−111(A2−6A+5I)]=I
This shows that A−1=−111(A2−6A+5I).
Watch out
A common mistake is to forget the sign or the factor of I. The constant term in the polynomial is +11, so when you move it to the other side it becomes −11I. Also, note that 5I is a scalar multiple of the identity, not just the number 5 — matrix equations must be dimensionally consistent.
Compute A2 and then A−1 explicitly (optional but good for verification).
First, A2:
Method: Cayley-Hamilton for a 3×3 Matrix, Then Solving for the Inverse
This method both derives a cubic matrix identity and uses it to find A−1, for a 3×3 matrix, without computing the adjoint.
Steps
Step 1: Find the characteristic polynomial of A
Either expand det(A−λI) directly, or use the shortcut for a 3×3 matrix:
p(λ)=λ3−(trA)λ2+(sum of principal 2×2 minors)λ−detA
The "principal minors" are the three 2×2 determinants obtained by deleting the same row and column number (delete row 1 & column 1, then row 2 & column 2, then row 3 & column 3).
Step 2: Apply Cayley-Hamilton to get the cubic identity
A3−(trA)A2+(sum of minors)A−(detA)I=O
This is the identity the question asks you to verify — the coefficients in the given equation should match trA, the sum of principal minors, and detA exactly. …
Mistake 1: An arithmetic error computing A2 for a 3×3 matrix
Why it's wrong: nine dot-product entries, several with negative numbers, give many chances for a sign or multiplication slip — and every later step (the cubic identity, and then A−1) depends on A2 being exactly right. Correct approach: compute each entry of A2 as a labelled row·column dot product, and where possible sanity-check one or two entries a second time before moving on.
Mistake 2: Mismatching the sign of the sum-of-principal-minors term in the characteristic polynomial
Why it's wrong: the 3×3 characteristic polynomial is λ3−(trA)λ2+(sum of principal minors)λ−detA — the middle coefficient is added, not subtracted, which is easy to get backwards by analogy with the −detA term at the end. Correct approach: derive the coefficients from det(A−λI) directly, rather than guessing a sign pattern. …