Ch-4-Prob-3-New-권의회

1900 days ago by matrix

A=matrix(QQ,3,3,[1,0,0,0,1,0,0,0,-5]) print A print "det(A)=",A.det() print "det(A*A)=",(A*A).det() print "det((A.inverse())=",(A.inverse()).det() print "det((3*A))=",(3*A).det() print "det((3*A).inverse())=",((3*A).inverse()).det() 
       
[ 1  0  0]
[ 0  1  0]
[ 0  0 -5]
det(A)= -5
det(A*A)= 25
det((A.inverse())= -1/5
det((3*A))= -135
det((3*A).inverse())= -1/135
[ 1  0  0]
[ 0  1  0]
[ 0  0 -5]
det(A)= -5
det(A*A)= 25
det((A.inverse())= -1/5
det((3*A))= -135
det((3*A).inverse())= -1/135