Ch-6-Prob-8-New-이승진

1895 days ago by matrix

x1,x2,z1,z2,z3,y1,y2=var('x1 , x2 , z1 , z2 , z3, y1, y2') T(x1,x2)=(x1+2*x2,x2,(-1)*x1+3*x2) S(z1,z2,z3)=(z1,(-1)*z1+z2+z3) P(y1,y2)=(y1+2*y2, 5*y2) x(x1,x2)=(x1,x2) A=linear_transformation(QQ^2,QQ^3,T) B=linear_transformation(QQ^3,QQ^2,S) C=linear_transformation(QQ^2,QQ^2,P) print '(P dot S dot T)(x)=' print (C.matrix(side='right')*B.matrix(side='right')*A.matrix(side='right'))*(x) 
       
(P dot S dot T)(x)=
(x1, x2) |--> (-3*x1 + 6*x2, -10*x1 + 10*x2)
(P dot S dot T)(x)=
(x1, x2) |--> (-3*x1 + 6*x2, -10*x1 + 10*x2)