Ch-10-Prob-8-Old-이승진

1840 days ago by matrix

A=matrix(QQ,[[2,-4,2,2],[-2,0,1,3],[-2,-2,3,3],[-2,-6,3,7]]) print A.eigenvalues() E=identity_matrix(4); print (A-2*E).rank(); print (A-4*E).rank(); print ((A-4*E)^2).rank() print A.jordan_form() 
       
[4, 4, 2, 2]
2
3
2
[4 1|0|0]
[0 4|0|0]
[---+-+-]
[0 0|2|0]
[---+-+-]
[0 0|0|2]
[4, 4, 2, 2]
2
3
2
[4 1|0|0]
[0 4|0|0]
[---+-+-]
[0 0|2|0]
[---+-+-]
[0 0|0|2]