LA+Chapter8+Ex+5(new)-서승완

2028 days ago by math2013

A=matrix(4,4,[1,0,0,0,0,-1,0,1,-1,0,1,0,0,0,0,1]) print A.eigenvalues() print E=identity_matrix(4) print (-E-A).echelon_form() print print (E-A).echelon_form() print 
       
[-1, 1, 1, 1]

[1 0 2 0]
[0 0 4 0]
[0 0 0 1]
[0 0 0 0]

[ 1  0  0  0]
[ 0  2  0 -1]
[ 0  0  0  0]
[ 0  0  0  0]
[-1, 1, 1, 1]

[1 0 2 0]
[0 0 4 0]
[0 0 0 1]
[0 0 0 0]

[ 1  0  0  0]
[ 0  2  0 -1]
[ 0  0  0  0]
[ 0  0  0  0]