Ch-10-Prob-7-New-박종우

1838 days ago by matrix

A=matrix(5,5,[29,14,2,6,-9,-47,-22,-1,-11,13,19,10,5,4,-8,-19,-10,-3,-2,8,7,4,3,1,-3]) print A.charpoly().factor() print A.eigenvalues() 
       
(x + 1) * (x - 2)^4
[-1, 2, 2, 2, 2]
(x + 1) * (x - 2)^4
[-1, 2, 2, 2, 2]
E=identity_matrix(5) print (A-2*E).rank() print ((A-2*E)^2).rank() print ((A-2*E)^3).rank() 
       
3
2
1
3
2
1