LA.Ch6.Ex8.NEW.Seongchan

2070 days ago by seongchan

x_1,x_2,x_3,z_1,z_2,z_3=var('x_1,x_2,x_3, z_1,z_2,z_3') T(x_1,x_2,x_3)=(2*x_1+x_2,2*x_2+x_3,4*x_3) S(z_1,z_2,z_3)=(z_1+3*z_2,(-1)*z_1-2*z_3,z_2+z_3) x(x_1,x_2,x_3)=(x_1,x_2,x_3) A=linear_transformation(QQ^3,QQ^3,T) B=linear_transformation(QQ^3,QQ^3,S) T= A.matrix(side='right') S= B.matrix(side='right') print '(S dot T)(x)=' print (S*T)*(x) 
       
(S dot T)(x)=
(x_1, x_2, x_3) |--> (2*x_1 + 7*x_2 + 3*x_3, -2*x_1 - x_2 - 8*x_3,
2*x_2 + 5*x_3)
(S dot T)(x)=
(x_1, x_2, x_3) |--> (2*x_1 + 7*x_2 + 3*x_3, -2*x_1 - x_2 - 8*x_3, 2*x_2 + 5*x_3)