"In linear algebra, the Cayley–Hamilton theorem (named after the mathematicians Arthur Cayley and William Hamilton) states that every square matrix over a commutative ring (such as the real or complex field) satisfies its own characteristic equation."
This means that once you have the characteristic polynomial of a matrix M (for a 3x3 matrix in this example):
P(x) = a0 + a1x + a2x2 + x3= 0
then replacing x with M:
P(M) = a0I + a1M + a2M2 + M3= 0
will also be true.
Notice that we've replaced the constant term a0 with a0I, guaranteeing that this will give us a square matrix.
Notice that we've replaced the constant term a0 with a0I, guaranteeing that this will give us a square matrix.