LA+Chapter8+Ex+2-서승완

2037 days ago by math2013

x, y = var('x, y') h(x, y) = [x-2*y,5*x-y,2*x+3*y] T = linear_transformation(QQ^2, QQ^3, h) x1=vector([1, 0]) x2=vector([1, 0]) y1=vector([0,0,1]) y2=vector([0,1,0]) y3=vector([1,0,0]) B=column_matrix([y1, y2, y3, T(x1), T(x2)]) print B print C=B.echelon_form() print C print A=C.submatrix(0, 3, 3, 2) print A 
       
[0 0 1 1 1]
[0 1 0 5 5]
[1 0 0 2 2]

[1 0 0 2 2]
[0 1 0 5 5]
[0 0 1 1 1]

[2 2]
[5 5]
[1 1]
[0 0 1 1 1]
[0 1 0 5 5]
[1 0 0 2 2]

[1 0 0 2 2]
[0 1 0 5 5]
[0 0 1 1 1]

[2 2]
[5 5]
[1 1]