Cayley-Hamilton theorem Created 2026-09-24 Updated 2026-10-18
Every square matrix satisfies its own characteristic polynomial. More explicitly, for an -by- matrix over a commutative ring with identity, form
Then
Here is the zero matrix, and the constant term multiplies the identity matrix. This is a polynomial evaluated at a matrix; it is stronger than saying that each eigenvalue is a root of a polynomial. Neither diagonalizability nor distinct eigenvalues is required.[ref]
The practical payoff is that arbitrarily high matrix powers can be reduced to a combination of . These powers arise when repeatedly applying a linear map, solving a linear recurrence relation, or evolving a finite state space model. The characteristic polynomial turns that repeated action into a fixed-order scalar recurrence. The minimal polynomial may reduce the number of required powers further.
Consider the real matrix
The Cayley-Hamilton theorem gives . Consequently
Thus
All four entries come from just two scalar coefficients. If , multiplying once by and replacing gives the linear recurrence relation
Equivalently , with . The appearance of Fibonacci numbers is explained by , where advances the Fibonacci recurrence. No eigenvectors need to be computed.
Figure 1.
Cayley–Hamilton reduces powers of a chosen two-by-two matrix to two integer coefficients; the fifth power is 55A − 21I
. Details.
The same identity computes an inverse. Rearrange it as , giving
This works because the constant term of this characteristic polynomial is nonzero and the coefficients lie in a field. Generally, when over a field, rearranging the Cayley-Hamilton theorem expresses as a polynomial evaluated at a matrix. Over a general commutative ring, a nonzero constant need not be a unit; invertibility requires that extra condition.