The Matrix of a Linear Transformation Important result (general case): Let L :V W be a linear transformation of an n-dimensional vector space V into an m-dimensional vector space W ( m 0, n 0 ) and let S v1 , v2 ,, vn and T w1 , w2 ,, wm be bases for V and W, respectively. Then, there exists a unique m n matrix A such that Lx T AxS , where A Lv1 T Lv2 T x V , Lvn T . Note: the matrix A is referred to as the matrix of L with respect to the bases S and T. Note: as L :V V and S v1 , v2 ,, vn is a basis of V, then Lx S AxS , where A Lv1 S Lv2 S x V , Lvn S . the matrix A is referred to as the matrix of L with respect to the basis S. Intuition: 1 L Lx x A xS Lx T AxS Example: L : R R is defined by Lx 2 x . Let S v, T w. Suppose v 3w, u 5v . Then, Lu 2 u 2 5 v 5 2 v 5 2 3w 5 6w 30w . Lu T 30 6 5 Lv T u S . ( u 5v u S 5 Lv T 2v T 6 wT 6) . Example: Let L : R 3 R 2 defined by x1 1 L x L x2 x 1 3 1 2 x1 1 x2 Ax . 3 x3 Let 1 0 0 1 0 S 0, 1, 0 , T , 0 1 0 0 1 2 Then, since x1 1 0 0 x1 x x2 x1 0 x2 1 x3 0 xS x2 x x3 0 0 1 x3 and x1 1 1 1 x1 x2 x3 1 0 L x x x x x x 2 x 3 x 2 3 1 2 3 0 1 2 1 2 3 x x1 2 x1 3x3 1 3 x1 x1 x2 x3 1 1 1 1 1 1 Lx T Lx 1 2 3 x2 1 2 3xS AxS x 2 x 3 x 2 3 x 1 3 then Lx Lx T AxS Ax . Example: Let L : R 3 R 2 defined by x1 x x2 L x L x2 1 . 2x 3 x 3 Let 1 0 1 1 0 S v1 , v2 , v3 1, 1 , 2 , T w1 , w2 , . 0 2 0 4 3 Find the matrix of L with respect to the bases S and T. [solution:] A Lv1 T Lv2 T Lv3 T 3 Thus, 1 Lv1 L 1 0 1 1 2 1 0 2 0 2 0 0 0 2 2 w1 0 w2 2 Lv1 T . 0 0 0 1 1 1 0 Lv2 L 1 1 4 1w1 4 w2 0 2 4 2 4 8 1 Lv2 T 4 1 1 2 3 1 0 Lv3 L 2 3 3 6 0 2 3w1 3w2 2 3 3 3 Lv3 T . 3 Therefore, 2 A 0 1 4 3 3 . General Procedure for Computing A: Let L : Rn Rm be a linear transformation. Let S v1 , v2 ,, vn be bases for Rn and Rm , and T w1 , w2 ,, wm respectively. Then, the matrix of L with respect to the bases S and T can be obtained via the following steps: 4 1. Form the m n m augmented matrix w1 w2 wm Lv1 Lv2 Lvn . 2. Transform the augmented matrix into the reduced row echelon matrix, I nn A. The matrix A is the matrix of L with respect to the bases S and T. Example (continue): Let L : R 3 R 2 defined by x1 x x2 L x L x2 1 . 2x 3 x 3 Let 1 0 1 1 0 S v1 , v2 , v3 1, 1 , 2 , T w1 , w2 , . 0 2 0 4 3 We can use the above procedure to find the matrix of L with respect to the bases S and T. 1. Form the augmented matrix w1 1 0 2 1 3 w2 Lv1 Lv2 Lv3 0 2 0 8 6 2. Transform the above augmented matrix into I 22 1 0 2 1 3 A . 0 1 0 4 3 Therefore, the matrix of L with respect to the bases S and T is 2 A 0 1 4 5 3 3 Example: Let L : P1 P2 defined by Lx L p(t ) tp(t ) . Let . S v1 , v2 t , 1, T w1 , w2 , w3 t 2 , t ,1 Find the matrix of L with respect to the bases S and T. [solution:] A Lv1 T Lv2 T Lt T L1T Thus, Lv1 Lt t t t 2 1 t 2 0 t 0 1 1w1 0w2 0w3 Lv1 T 1 0 . 0 Lv2 L1 t 1 t 0 t 2 1 t 0 1 0w1 1w2 0w3 Lv2 T 0 1 . 0 Therefore, 1 A 0 0 Example: 6 0 1 . 0 Let L : P1 P2 defined by Lx L p(t ) tp(t ) . Let . S v1 , v2 t , 1, T w1 , w2 , w3 t 2 , t 1, t 1 Find the matrix of L with respect to the bases S and T. [solution:] A Lv1 T Lv2 T Lt T L1T Thus, Lv1 Lt t t t 2 1 t 2 0 t 1 0 t 1 1w1 0 w2 0 w3 Lv1 T 1 0 . 0 Lv2 L1 t 1 t 0 t 2 Lv2 T 1 1 1 1 t 1 t 1 0w1 w2 w3 2 2 2 2 0 1 12 . 2 Therefore, 1 A 0 0 7 0 1 2 . 1 2 Example: Let L : P2 P1 defined by L at 2 bt c a b t c . Let S v1 , v2 , v3 t 2 , t , 1 , T w1 , w2 t ,1 . Find the matrix of L with respect to the bases S and T. [solution:] Lv2 T Lv3 T Lt 2 T Lt T L1T A Lv1 T Thus, Lv1 L t 2 L 1 t 2 0 t 0 1 1 0t 0 1 t 0 1 1w1 0w2 1 Lv1 T . 0 Lv2 Lt L 0 t 2 1 t 0 1 0 1t 0 1 t 0 1 1w1 0w2 1 Lv2 T . 0 Lv3 L1 L 0 t 2 0 t 1 1 0 0t 1 0 t 1 1 0w1 1w2 0 Lv3 T . 1 Therefore, 1 A 0 1 0 8 0 1 . NOTE: in the above example, L Lv a b t c a b w1 c w2 v at bt c av1 bv 2 cv3 2 vS a b c 1 1 0 A 0 0 1 Av S a 1 1 0 b 0 0 1 c a b c Lv T 9