Caley- Hamilton Theorem for 3 by 3 matrix

1901 days ago by bigdata2016

A=matrix(QQ,[[2,1,3],[4,5,5],[6,3,3]]) p=A.characteristic_polynomial() show(A) html('<br>Characteristic Polynomial is $%s=%s$'%(latex(p),latex(p.factor()))) 
       


Characteristic Polynomial is

Characteristic Polynomial is
A3=A^3 A2=A^2 html('<br>$A^2=%s$, $A^3=%s$'%(latex(A2),latex(A3))) 
       

,

,
I=identity_matrix(3) html('$A^3-10A^2-6A+36=%s$'%latex(A3-10*A2-6*A+36*I))