Cayley-Hamilton theorem states that every square matrix satisfies its own characteristic equation. This theorem is named after two mathematicians, Arthur Cayley & William Rowan Hamilton. This theorem provides an alternative way to find the inverse of a matrix.
Let
aoλn + a1λn-1 + a2λn-2 + ………………. + an-2λ2 + an-1λ + an = 0
be the characteristic equation of square matrix P of order n. Then, according to the Cayley-Hamilton theorem, matrix P will satisfy this characteristic equation i.e.
aoPn + a1Pn-1 + a2Pn-2 + ………………. + an-2P2 + an-1P + an In= O
(λ is replaced by matrix P in the characteristic equation and an replaced by anIn, where In is the identity matrix of order n and O is the null or zero matrix of order n.
Inverse of a matrix using Cayley-Hamilton theorem
Let us take an example of 2 x 2 matrix P such that
$P=\begin{bmatrix} 1 & 4\\ 2 & 3 \end{bmatrix}$
The characterisitc equation of matrix P is
|P – λI| = 0
$\Rightarrow \begin{vmatrix} 1-\lambda & 4\\ 2 & 3-\lambda \end{vmatrix}=0 \\ \Rightarrow (1-\lambda)(3-\lambda)-8=0 \\ \Rightarrow \lambda^{2}- 4 \lambda -5 = 0$
According to Cayley-Hamilton theorem, we have
⇒ P2 – 4P – 5I = O
$\Rightarrow I=\frac{1}{5}[P^{2}-4P]$
Pre-multiplying by P-1, we get
$P^{-1}=\frac{1}{5}[P-4I] \\ P^{-1}=\frac{1}{5}\left ( \begin{bmatrix} 1 & 4\\ 2 & 3 \end{bmatrix}-4\begin{bmatrix} 1 & 0\\ 0 & 1 \end{bmatrix} \right ) \\ P^{-1}=\frac{1}{5}\begin{bmatrix} -3 & 4\\ 2 & -1 \end{bmatrix}$
This is the inverse of matrix P.