# LA+Chapter6+Ex1(변형)+김원경

## 2071 days ago by math2013

x1, x2, x3, x4, x5, x6 = var('x1 x2 x3 x4 x5 x6') h(x1, x2, x3, x4, x5, x6) = [x1, x1+x2, x1+x2+x3, x1+x2+x3+x4, x1+x2+x3+x4+x5, x1+x2+x3+x4+x5+x6] T = linear_transformation(QQ^6, QQ^6, h) A = T.matrix(side='right') x = vector(QQ,[1,2,3,4,5,6]) print T print print "A*x =" , A*x
 Vector space morphism represented by the matrix: [1 1 1 1 1 1] [0 1 1 1 1 1] [0 0 1 1 1 1] [0 0 0 1 1 1] [0 0 0 0 1 1] [0 0 0 0 0 1] Domain: Vector space of dimension 6 over Rational Field Codomain: Vector space of dimension 6 over Rational Field A*x = (1, 3, 6, 10, 15, 21) Vector space morphism represented by the matrix: [1 1 1 1 1 1] [0 1 1 1 1 1] [0 0 1 1 1 1] [0 0 0 1 1 1] [0 0 0 0 1 1] [0 0 0 0 0 1] Domain: Vector space of dimension 6 over Rational Field Codomain: Vector space of dimension 6 over Rational Field A*x = (1, 3, 6, 10, 15, 21)