Professional Documents
Culture Documents
Linear Transformations
Function T that maps a vector space V into a vector space W:
T : V mapping
W , V , W : vector space
V: the domain of T
W: the codomain of T
2/36
Image of v under T:
the range of T:
The set of all images of vectors in V.
the preimage of w:
The set of all v in V such that T(v)=w.
3/36
Ex 1: (A function from R2 into R2 )
T : R 2 R 2 v (v1 , v2 ) R 2
T (v1 , v2 ) (v1 v2 , v1 2v2 )
(a) Find the image of v=(-1,2). (b) Find the preimage of w=(-1,11)
Sol:
(a) v (1, 2)
T ( v) T (1, 2) (1 2, 1 2(2)) (3, 3)
(b) T ( v) w (1, 11)
T (v1 , v2 ) (v1 v2 , v1 2v2 ) (1, 11)
v1 v2 1
v1 2v2 11
v1 3, v2 4 Thus {(3, 4)} is the preimage of w=(-1,
11). 4/36
Linear Transformation (L.T.):
V , W:vector space
T : V W:V to W linear transformation
(1) T (u v) T (u) T ( v), u, v V
(2) T (cu) cT (u), c R
5/36
Notes:
(1) A linear transformation is said to be operation preserving.
6/36
Ex 2: (Verifying a linear transformation T from R2 into R2)
T (v1 , v2 ) (v1 v2 , v1 2v2 )
Pf:
u (u1 , u2 ), v (v1 , v2 ) : vector in R 2 , c : any real number
(1)Vector addition :
u v (u1 , u2 ) (v1 , v2 ) (u1 v1 , u 2 v2 )
T (u v ) T (u1 v1 , u2 v2 )
((u1 v1 ) (u2 v2 ), (u1 v1 ) 2(u 2 v2 ))
((u1 u 2 ) (v1 v2 ), (u1 2u2 ) (v1 2v2 ))
(u1 u2 , u1 2u2 ) (v1 v2 , v1 2v2 )
T (u) T ( v )
7/36
(2) Scalar multiplication
cu c(u1 , u2 ) (cu1 , cu2 )
T (cu) T (cu1 , cu 2 ) (cu1 cu 2 , cu1 2cu 2 )
c(u1 u 2 , u1 2u 2 )
cT (u)
Therefore, T is a linear transformation.
8/36
Ex 3: (Functions that are not linear transformations)
(a ) f ( x) sin x
sin( x1 x2 ) sin( x1 ) sin( x2 )
f ( x ) sin x is not a linear transformation
sin( 2 3 ) sin( 2 ) sin( 3 )
(b) f ( x) x 2
( x1 x2 ) 2 x12 x22 f ( x ) x 2 is not a linear transformation
(1 2) 2 12 2 2
(c ) f ( x ) x 1
f ( x1 x2 ) x1 x2 1
f ( x1 ) f ( x2 ) ( x1 1) ( x2 1) x1 x2 2
f ( x1 x2 ) f ( x1 ) f ( x2 )
f ( x ) x 1 is not a linear transformation
9/36
Notes: Two uses of the term “linear”.
10/36
Zero transformation:
T :V W T ( v) 0, v V
Identity transformation:
T :V V T ( v ) v, v V
Thm 6.1: (Properties of linear transformations)
T : V W , u, v V
(1) T (0) 0
(2) T ( v) T ( v )
(3) T (u v) T (u) T ( v )
(4) If v c1v1 c2 v2 cn vn
Then T ( v ) T (c1v1 c2 v2 cn vn )
c1T (v1 ) c2T (v2 ) cnT (vn )
11/36
Ex 4: (Linear transformations and bases)
Let T : R 3 R 3 be a linear transformation such that
T (1,0,0) (2,1,4)
T (0,1,0) (1,5,2)
T (0,0,1) (0,3,1)
Find T(2, 3, -2).
Sol:
(2,3,2) 2(1,0,0) 3(0,1,0) 2(0,0,1)
T (2,3,2) 2T (1,0,0) 3T (0,1,0) 2T (0,0,1) (T is a L.T.)
2(2,1,4) 3(1,5,2) 2T (0,3,1)
(7,7,0)
12/36
Ex 5: (A linear transformation defined by a matrix)
3 0
v1
The function T : R R is defined as T ( v ) Av 2
2 3 1
v 2
(a) Find T ( v) , where v (2,1) 1 2
(b) Show that T is a linear transformation form R 2 into R 3
3 0 6
2
T ( v ) Av 2 1 3
1
1 2 0
T (2,1) (6,3,0)
(b) T (u v) A(u v) Au Av T (u) T ( v) (vector addition)
13/36
Thm 6.2: (The linear transformation given by a matrix)
Let A be an mn matrix. The function T defined by
T ( v ) Av
is a linear transformation from Rn into Rm.
Note: R n vector R m vector
a11 a12 a1n v1 a11v1 a12 v2 a1n vn
a21 a22 a2 n v2 a21v1 a22 v2 a2 n vn
Av
am1 am 2 amn vn am1v1 am 2 v2 amn vn
T ( v ) Av
T : Rn
R m
14/36
Ex 7: (Rotation in the plane)
Show that the L.T. T : R 2 R 2 given by the matrix
cos sin
A
sin cos
has the property that it rotates every vector in R2
counterclockwise about the origin through the angle .
Sol:
v ( x, y ) (r cos , r sin ) (polar coordinates)
r : the length of v
: the angle from the
positive x-axis
counterclockwise to the
15/36
cos sin x cos sin r cos
T ( v ) Av
sin cos sin
y cos r sin
r cos cos r sin sin
r sin cos r cos sin
r cos( )
r sin( )
r : the length of T(v)
+ : the angle from the positive x-axis counterclockwise
to
the vector
Thus, T(v) T(v) that results from rotating the vector v
is the vector
counterclockwise through the angle .
16/36
Ex 8: (A projection in R3)
The linear transformation T : R 3 R 3 is given by
1 0 0
A 0 1 0
0 0 0
is called a projection in R3.
17/36
Ex 9: (A linear transformation from Mmn into Mn m )
T ( A) AT (T : M mn M nm )
Show that T is a linear transformation.
Sol:
A, B M mn
T ( A B ) ( A B)T AT B T T ( A) T ( B )
18/36
Keywords in Section 6.1:
function: دا@@لة
domain:مجا@@ل
codomain:مجا@@لمق@ابل
T ت@@@حتا@@ل
image of v under T:تحويل v ص@@ورة
range of T: Tمدى
preimage of w:
linear transformation:ت@@@حويل خطي
linear operator:مؤثر خطي
zero transformation:ت@@@حويل ص @ف@ري
identity transformation:ت@@@حويل محايد
19/36
6.2 Matrices for Linear Transformations
Two representations of the linear transformation T:R3→R3 :
2 1 1 x1
(2)T (x) Ax 1 3 2 x2
0 3 4 x3
Three reasons for matrix representation of a linear transformation:
It is simpler to write.
It is simpler to read.
It is more easily adapted for computer use.
20/36
Thm 6.10: (Standard matrix for a linear transformation)
Let T : R n R m be a linear trtansformation such that
a11 a12 a1n
a21 a22 a2 n
T (e1 ) , T (e2 ) , , T (en ) ,
am1 am 2 amn
Then the m n matrix whose n columns correspond to T (ei )
a11 a12 a1n
a21 a22 a2 n
A T (e1 ) T (e2 ) T (en )
am1 am 2 amn
is such that T ( v ) Av for every v in R n .
A is called the standard matrix for T .
21/36
Pf:
v1
v2
v v1e1 v2 e2 vn en
vn
T is a L.T. T (v ) T (v1e1 v2 e2 vn en )
T (v1e1 ) T (v2 e2 ) T (vn en )
v1T (e1 ) v2T (e2 ) vnT (en )
22/36
a11 a12 a1n
a21 a22 a2 n
v1 v2 vn
am1 am 2 amn
v1T (e1 ) v2T (e2 ) vnT (en )
23/36
Ex 1: (Finding the standard matrix of a linear transformation)
Find the standard matrix for the L.T. T : R 3 R 2 define by
T ( x, y , z ) ( x 2 y , 2 x y )
Sol:
Vector Notation Matrix Notation
1
1
T (e1 ) T (1, 0, 0) (1, 2) T (e1 ) T ( 0 )
2
0
0
2
T (e2 ) T (0, 1, 0) (2, 1) T (e2 ) T ( 1 )
1
0
0
0
T (e3 ) T (0, 0, 1) (0, 0) T (e3 ) T ( 0 )
0
1
24/36
A T (e1 ) T (e2 ) T (e3 )
1 2 0
2 1 0
Check:
x x
1 2 0 x 2 y
A y y
2 1 0 2 x y
z z
i.e. T ( x, y, z ) ( x 2 y,2 x y )
Note:
1 2 0 1x 2 y 0 z
A
2 1 0 2 x 1 y 0 z
25/36
Ex 2: (Finding the standard matrix of a linear transformation)
The linear transformation T : R 2 R 2 is given by projecting
each point in R 2 onto the x - axis. Find the standard matrix for T .
Sol:
T ( x , y ) ( x , 0)
1 0
A T (e1 ) T (e2 ) T (1, 0) T (0, 1)
0 0
Notes:
(1) The standard matrix for the zero transformation from Rn into Rm
is the mn zero matrix.
(2) The standard matrix for the zero transformation from Rn into Rn
is the nn identity matrix In
26/36
Ex 3: (The standard matrix of a composition)
Let T1 and T2 be L.T. from R 3 into R 3 s.t.
T1 ( x, y, z ) (2 x y, 0, x z )
T2 ( x, y, z ) ( x y, z, y )
Find the standard matrices for the compositions
T T2 T1 and T ' T1 T2 ,
Sol:
2 1 0
A1 0 0 0 (standard matrix for T1 )
1 0 1
1 1 0
A2 0 0 1 (standard matrix for T2 )
0 1 0
27/36
The standard matrix for T T2 T1
1 1 0 2 1 0 2 1 0
A A2 A1 0 0 1 0 0 0 1 0 1
0 1 0 1 0 1 0 0 0
The standard matrix for T ' T1 T2
2 1 0 1 1 0 2 2 1
A' A1 A2 0 0 0 0 0 1 0 0 0
1 0 1 0 1 0 1 0 0
28/36
Inverse linear transformation:
Note:
If the transformation T is invertible, then the inverse is
unique and denoted by T–1 .
29/36
Ex 5: (Finding a matrix relative to nonstandard bases)
Let T:R 2 R 2 be a L.T. defined by
T ( x1 , x2 ) ( x1 x2 , 2 x1 x2 )
Find the matrix of T relative to the basis
B {(1, 2), (1, 1)} and B' {(1, 0), (0, 1)}
Sol:
T (1, 2) (3, 0) 3(1, 0) 0(0, 1)
T (1, 1) (0, 3) 0(1, 0) 3(0, 1)
matrix of T relative to the bases B and B‘ :
’B وB بالنسبة لألساسT مصفوفة التحويل الخطي
matrix of T relative to the basis B:
B بالنسبة لألساسT مصفوفة التحويل الخطي
32/36
6.3 Similarity
Ex 4: (Similar matrices)
2 2 3 2
(a) A and A' are similar
1 3 1 2
1 1 1
because A' P AP, where P
0 1
2 7 2 1
(b) A and A' are similar
3 7 1 3
1 3 2
because A' P AP, where P
2 1
33/36
Ex 5: (A comparison of two matrices for a linear transformation)
1 3 0
Suppose A 3 1 0 is the matrix for T : R 3 R 3 relative
0 0 2
to the standard basis. Find the matrix for T relative to the basis
B ' {(1, 1, 0), (1, 1, 0), (0, 0, 1)}
Sol:
The transition matrix from B' to the standard matrix
1 1 0
P (1, 1, 0)B (1, 1, 0)B (0, 0, 1)B 1 1 0
0 0 1
12 12 0
P 1 12 12 0
0 0 1
34/36
matrix of T relative to B ':
12 12 0 1 3 0 1 1 0
A' P 1 AP 12 12 0 3 1 0 1 1 0
0 0 1 0 0 2 0 0 1
4 0 0
0 2 0
0 0 2
35/36
Notes: Computational advantages of diagonal matrices:
d1k 0 0 d1 0 0
k
0 d 2k 0 0 d2 0
(1) D D
0 0 d nk 0 0 d n
( 2) D T D
d11 0 0
0 1
0
(3) D 1 d2 , d i 0
0 0 1
dn
36/36
Keywords in Section 6.3:
matrix of T relative to B:
B بالنسبة لألساسT مصفوفة التحويل الخطي
matrix of T relative to B' :
’B بالنسبة لألساسT مصفوفة التحويل الخطي
transition matrix from B' to B :
B ’ الىB مصفوفة االنتقال من األساس
transition matrix from B to B' :
’B الىB مصفوفة االنتقال من األساس
similar matrix:
مصفوفة مماثلة
37/36