LA+Ch+7+P12+김원경

2035 days ago by math2013

A = matrix(QQ, 3, 3, [0,1,1,0,1,0,1,0,1]) print 't = 0' print A.rref() print A.rank() print B = matrix(QQ, 3, 3, [1,1,1,1,1,1,1,1,1]) print 't = 1' print B.rref() print B.rank() print C = matrix(QQ, 3, 3, [-1,1,1,-1,1,-1,1,-1,1]) print 't = -1' print C.rref() print C.rank() print E = matrix(QQ, 3, 3, [2,1,1,2,1,2,1,2,1]) print 't is not 0, 1, -1 (In here, 2)' print E.rref() print E.rank() 
       
t = 0
[1 0 0]
[0 1 0]
[0 0 1]
3

t = 1
[1 1 1]
[0 0 0]
[0 0 0]
1

t = -1
[ 1 -1  0]
[ 0  0  1]
[ 0  0  0]
2

t is not 0, 1, -1 (In here, 2)
[1 0 0]
[0 1 0]
[0 0 1]
3
t = 0
[1 0 0]
[0 1 0]
[0 0 1]
3

t = 1
[1 1 1]
[0 0 0]
[0 0 0]
1

t = -1
[ 1 -1  0]
[ 0  0  1]
[ 0  0  0]
2

t is not 0, 1, -1 (In here, 2)
[1 0 0]
[0 1 0]
[0 0 1]
3