LA.Ch7.P8.SC.Kim

2043 days ago by seongchan

A=matrix(3, 2, [1, 2, 2, 4, -1, -2]) B= A.transpose() C= B*A print "A=" print A print "B" print B print "BA=C=" print C print print "row space of A" print A.row_space() print A.right_nullity() print print "row space of C" print C.row_space() print C.right_nullity() 
       
A=
[ 1  2]
[ 2  4]
[-1 -2]
B
[ 1  2 -1]
[ 2  4 -2]
BA=C=
[ 6 12]
[12 24]

row space of A
Free module of degree 2 and rank 1 over Integer Ring
Echelon basis matrix:
[1 2]
1

row space of C
Free module of degree 2 and rank 1 over Integer Ring
Echelon basis matrix:
[ 6 12]
1
A=
[ 1  2]
[ 2  4]
[-1 -2]
B
[ 1  2 -1]
[ 2  4 -2]
BA=C=
[ 6 12]
[12 24]

row space of A
Free module of degree 2 and rank 1 over Integer Ring
Echelon basis matrix:
[1 2]
1

row space of C
Free module of degree 2 and rank 1 over Integer Ring
Echelon basis matrix:
[ 6 12]
1