LA Ch7 Exs Prob 5 by 김지윤

374 days ago by jykim

A=matrix(4, 5, [2,1,3,1,2,3,3,1,3,6,1,5,5,4,8,5,7,8,2,4]) print "RREF(A)=" print A.rref() print print "x=" print A.right_kernel() print print "nullity(A)= ", A.right_nullity() 
       
RREF(A)=
[1 0 0 0 0]
[0 1 0 0 0]
[0 0 1 0 0]
[0 0 0 1 2]

x=
Free module of degree 5 and rank 1 over Integer Ring
Echelon basis matrix:
[ 0  0  0  2 -1]

nullity(A)=  1
RREF(A)=
[1 0 0 0 0]
[0 1 0 0 0]
[0 0 1 0 0]
[0 0 0 1 2]

x=
Free module of degree 5 and rank 1 over Integer Ring
Echelon basis matrix:
[ 0  0  0  2 -1]

nullity(A)=  1