ch8 problem5 by 김도형

383 days ago by dhkim

A=matrix(QQ,3,3,[3,0,1,4,-2,8,-4,0,-1]) print(A) print B=A.eigenvalues() print(B) print C=A.right_eigenvectors() print(C) 
       
[ 3  0  1]
[ 4 -2  8]
[-4  0 -1]

[-2, 1, 1]

[(-2, [
(0, 1, 0)
], 1), (1, [
(1, -4, -2)
], 2)]
[ 3  0  1]
[ 4 -2  8]
[-4  0 -1]

[-2, 1, 1]

[(-2, [
(0, 1, 0)
], 1), (1, [
(1, -4, -2)
], 2)]