Ch+7+P1+solved+by+SC.Kim+revised+by+이승열+Finalized+by+WK.Kim, 김민기

2040 days ago by math2013

print "show example" A=matrix([[1, 2, 0, 2, 5], [-2, -5, 1, -1, -8], [0, -3, 3, 4, 1], [3, 6, 0, -7, 2], [0, 0, 0, 0, 2], [0, 0, 0 , -1, 0]]) print "A=" print A print print "Nullity(A)=" print A.nullity() print "Rank(A)=" print A.rank() print "Nullity(A)+Rank(A)=" print A.nullity()+A.rank() print "This is same with row" 
       
show example
A=
[ 1  2  0  2  5]
[-2 -5  1 -1 -8]
[ 0 -3  3  4  1]
[ 3  6  0 -7  2]
[ 0  0  0  0  2]
[ 0  0  0 -1  0]

Nullity(A)=
2
Rank(A)=
4
Nullity(A)+Rank(A)=
6
This is same with row
show example
A=
[ 1  2  0  2  5]
[-2 -5  1 -1 -8]
[ 0 -3  3  4  1]
[ 3  6  0 -7  2]
[ 0  0  0  0  2]
[ 0  0  0 -1  0]

Nullity(A)=
2
Rank(A)=
4
Nullity(A)+Rank(A)=
6
This is same with row