La.Ch 7. Problem 5.NEW.Seongchan

2054 days ago by seongchan

A=matrix(ZZ,6,5,[3,-9,3,2,1,1,-3,2,-3,2,0,0,-2,1,-1,0,0,1,0,1,0,0,0,1,1,0,0,1,0,1]) print "RREF(A)=" print A.rref() print print A.right_kernel() print print "nullity(A)=",; print A.right_nullity() 
       
RREF(A)=
[ 1 -3  0  0  0]
[ 0  0  1  0  0]
[ 0  0  0  1  0]
[ 0  0  0  0  1]
[ 0  0  0  0  0]
[ 0  0  0  0  0]

Free module of degree 5 and rank 1 over Integer Ring
Echelon basis matrix:
[3 1 0 0 0]

nullity(A)= 1
RREF(A)=
[ 1 -3  0  0  0]
[ 0  0  1  0  0]
[ 0  0  0  1  0]
[ 0  0  0  0  1]
[ 0  0  0  0  0]
[ 0  0  0  0  0]

Free module of degree 5 and rank 1 over Integer Ring
Echelon basis matrix:
[3 1 0 0 0]

nullity(A)= 1