Ch4 problem8

319 days ago by ghkdgnf

A=matrix(QQ, 3, 3, [1,2,3,2,4,6,3,6,9]) print A.eigenvectors_right() 
       
[(14, [
(1, 2, 3)
], 1), (0, [
(1, 0, -1/3),
(0, 1, -2/3)
], 2)]
[(14, [
(1, 2, 3)
], 1), (0, [
(1, 0, -1/3),
(0, 1, -2/3)
], 2)]
x1=vector([1, 2, 3]) x2=vector([1, 0,-1/3]) x3=vector([0, 1,-2/3]) a=x1.dot_product(x2) b=x3.dot_product(x1) print a print b 
       
0
0
0
0