Here is the characteristic polynomial of a matrix.
In[1]:=
Out[1]=
This verifies the Cayley-Hamilton theorem for matrices.
In[2]:=
Out[2]=