LA+Chapter+6+Ex+7+solved+by+이승열

2078 days ago by math2013

x,y,z=var('x y z') A(x,y,z)=(4*x,-2*x+y,-x-3*y) a(x,y,z)=(x+2*y,-z,4*x-z) T=linear_transformation(QQ^3, QQ^3,A) t=linear_transformation(QQ^3, QQ^3,a) C = T.matrix(side='right') c = t.matrix(side='right') print "[T1]=" print C print "[T2]=" print c print "[T2*T1]=" print C*c print "[T1*T2]=" print c*C 
       
[T1]=
[ 4  0  0]
[-2  1  0]
[-1 -3  0]
[T2]=
[ 1  2  0]
[ 0  0 -1]
[ 4  0 -1]
[T2*T1]=
[ 4  8  0]
[-2 -4 -1]
[-1 -2  3]
[T1*T2]=
[ 0  2  0]
[ 1  3  0]
[17  3  0]
[T1]=
[ 4  0  0]
[-2  1  0]
[-1 -3  0]
[T2]=
[ 1  2  0]
[ 0  0 -1]
[ 4  0 -1]
[T2*T1]=
[ 4  8  0]
[-2 -4 -1]
[-1 -2  3]
[T1*T2]=
[ 0  2  0]
[ 1  3  0]
[17  3  0]