PhysicsScore

Cayley-Hamilton theorem

  • CSIR NET
  • UP Assistant Professor

4 minute read · Updated 2026-11-15

Picking up from

In Matrices, eigenvalues and eigenvectors, we saw that eigenvalues are roots of the characteristic polynomial. Can that polynomial simplify powers of the matrix itself?

In one line

The Cayley–Hamilton theorem says every square matrix satisfies its own characteristic polynomial.

The idea, explained

The characteristic polynomial is built by taking the determinant of a matrix minus a scalar times the identity. Cayley–Hamilton replaces that scalar by the matrix itself and makes the resulting matrix polynomial vanish. This statement is stronger than knowing the eigenvalues: it works even when a matrix lacks a complete eigenbasis. Its practical value is compression. High matrix powers reduce to a few lower powers, and an inverse can sometimes be expressed as a short polynomial instead of calculated entry by entry.

Treat the matrix identity as a recurrence for powers. Once a square is expressed using the first power and the identity, multiplying again gives a cube that can be reduced the same way. This remains useful when explicit eigenvectors are awkward or unavailable. For a larger matrix, the characteristic polynomial supplies a relation of its own degree, although an even lower-degree relation may also exist. When finding an inverse, rearrange the identity to isolate a product with the matrix and divide only by a coefficient known to be nonzero.

Core ideas

  • Use a consistent characteristic-polynomial sign; either determinant convention gives the same zero identity.
  • The theorem holds for every finite square matrix, including matrices that cannot be diagonalized.
  • For a two-by-two matrix, only the identity and first power are needed to reduce higher powers.
  • An inverse formula requires a nonzero determinant; the theorem does not make a singular matrix invertible.
  • Replace scalar constants by multiples of the identity when substituting the matrix into a polynomial.
  • An identity such as a matrix polynomial equalling zero means the zero matrix, not the scalar zero. Keep matrix sizes consistent whenever an identity matrix appears.
  • For a two-by-two singular matrix, the characteristic identity still reduces powers. Only the inverse step fails, because the determinant in its denominator vanishes.

Key formulas

Cayley–Hamilton identity for a two-by-two matrix

A2−(tr⁡A)A+(det⁡A)I=0A^2-(\operatorname{tr}A)A+(\det A)I=0

For a two-by-two matrix A, trace and determinant supply the characteristic-polynomial coefficients.

Inverse from the Cayley–Hamilton identity

A−1=(tr⁡A)I−Adet⁡AA^{-1}=\frac{(\operatorname{tr}A)I-A}{\det A}

This two-by-two inverse formula follows only when det A is nonzero.

Calculate trace and determinant directly from the entries, form the characteristic identity, and rearrange it before inserting a large power. Keep scalar coefficients separate from matrix factors. For an inverse, multiply the proposed polynomial expression by the original matrix: the characteristic identity should reduce the product exactly to the identity matrix.

Quick worked example

For A=(2112)A=\begin{pmatrix}2&1\\1&2\end{pmatrix}, trace is 44 and determinant is 33. Thus A2=4A−3IA^2=4A-3I. Multiplying once more gives A3=13A−12IA^3=13A-12I, without expanding three matrix products.

Where this leads

Continue to Similarity transformations and diagonalization, because changing the basis can expose the simplest matrix representation.

Related: Matrices, eigenvalues and eigenvectors — eigenvalues and characteristic polynomials.

Practice this topic

Practice this topic

68 questions in Assistant Professor · Physics · Physics. Sign in and practice access may be required.

Other exam sections