LA. Ch 4. Problem 3_other example. seongchan

2314 days ago by seongchan

A=matrix(QQ,3,3,[-2, 0, 0 ,1, 2,0,1,2,1]) A_2=2*A Ai=A.inverse() Ai_2=A_2.inverse() print "det(A)=",A.det() print "(1) det(A^2)=",(A^2).det() print "(2) det(A^(-1))=",Ai.det() print "(3) det(2A)=",A_2.det() print "(4) det((2A)^(-1))=",Ai_2.det() 
       
det(A)= -4
(1)   det(A^2)= 16
(2)   det(A^(-1))= -1/4
(3)   det(2A)= -32
(4)   det((2A)^(-1))= -1/32
det(A)= -4
(1)   det(A^2)= 16
(2)   det(A^(-1))= -1/4
(3)   det(2A)= -32
(4)   det((2A)^(-1))= -1/32