Ch7 problem6 new

330 days ago by semele27

A=matrix(QQ,[[1,2,0,2,5],[-2,-5,1,-1,-8],[0,-3,3,4,1],[3,6,0,-7,2]]) print A print A.rank() B=matrix(QQ,[[1,-2,0,3],[2,-5,-3,6],[0,1,3,0],[2,-1,4,-7],[5,-8,1,2]]) print B print B.echelon_form() print B.right_nullity() print B.rank() 
       
[ 1  2  0  2  5]
[-2 -5  1 -1 -8]
[ 0 -3  3  4  1]
[ 3  6  0 -7  2]
3
[ 1 -2  0  3]
[ 2 -5 -3  6]
[ 0  1  3  0]
[ 2 -1  4 -7]
[ 5 -8  1  2]
[    1     0     0 -63/5]
[    0     1     0 -39/5]
[    0     0     1  13/5]
[    0     0     0     0]
[    0     0     0     0]
1
3
[ 1  2  0  2  5]
[-2 -5  1 -1 -8]
[ 0 -3  3  4  1]
[ 3  6  0 -7  2]
3
[ 1 -2  0  3]
[ 2 -5 -3  6]
[ 0  1  3  0]
[ 2 -1  4 -7]
[ 5 -8  1  2]
[    1     0     0 -63/5]
[    0     1     0 -39/5]
[    0     0     1  13/5]
[    0     0     0     0]
[    0     0     0     0]
1
3