Module 8 - Linear Transformation Rev 310118
Module 8 - Linear Transformation Rev 310118
Linear Transformation
Learning Objectives
Linear Transformation in
Euclidean Space
Composition of Linear
Transformations
Inverse of a linear
transformation
Similarity
Pre-test module
Pre-test
• Which one of these diagrams describes a function?
a. b. c.
Similarity
Domain Codomain
Notation: f: D K
f: x f(x)
Function
Function
Not a function
Not a function
Linear Transformation
u T(u)
V W
v T(v)
u+v T(u+v) = T(u) + T(v)
kv T(kv) = k.T(v)
Exercise
2a b ab b2
a a a
f1 : 0 f2 : 0 f3 : b
b 9a b 9a b 9 a 2b
2a b ab
a a
f4 : 5 f5 : b
b 9a b 3 a 0.9 b
Example 1: Linear Transformation
y
T(a)
1.
T(b) b
y y
T(a) T(a)
2. 3.
a a
-2a x T(a+b) = T(a) + T(b)
b
T(b)
T(-2a)=-2T(a)
Example 2: the zero transformation and
the identity operator
a. Let V and W be any two vector spaces; the linear transformation is defined as
T0: V W where T0(v) = 0 for every v element of V
T0 u v 0
0 0
T0 u T0 v
for a vector v a 0 a1 x a 2 x P
2 2
T: P2 P3
T k v ka 1 x ka 2 x
2 3
k a1 x a2 x
2 3
kT v
T v w a1 b1 x a2 b 2 x
2 3
2 2 3 3
a1 x b1 x a2 x b 2 x
a1 x a2 x b
2 3 2 3
1 x b2 x
T u T v
Example 4: a nonlinear transformation
T: R2 R3
T : v1 , v 2 v1 , v 2 ,5
T v w v 1 w 1 , v 2 w 2 ,5
T v T w v 1 w 1 , v 2 w 2 ,10
T v w T v T w
V W
0 0
-a -T(a)
Similarity
T(x) =Ax
x Ax
Linear Transformation
R R
a1
a2
a a1
T(a) 0
x
a1
a Standard
a2 Matrix
a1 a1 1 .a1 0 .a 2 1 0 a1
T
a 2 0 0 .a1 0 .a 2 0 0 a 2
Example 1: projection onto y-axis
1. Find the projection of vector (x, y) onto the y-axis.
2. Write down each component as the linear combination of x and y.
3. Find the standard matrix of the linear operator that projects vectors
onto the y-axis.
4. Find all eigenvalues of the standard matrix.
Answers:
(1) (x, y) is projected to (0, y)
x 0 0. x 0. y
(2) T
y
y 0 . x 1 . y
0 0
(3) standard matrix :
0 1
(4) Eigenvalues of [T] are 1 and 0
Eigenvalues and Eigenvectors of Linear
Operators
Rn Rn
T(a) =Aa
x Ax=λx
Linear operator
R R
x eigenvector
λ eigenvalue
Example 5: linear transformation
5 6
Let f:R2 R2 where f(x) = Ax and A
3 4
Find the linear transformation of the vectors x, y, and z.
4 1 2
x y z
2 3 2
5 6 4 8 5 6 1 13 5 6 2 2
f x f y f z
3 4 2 4 3 4 3 9 3 4 2 2
y y
y y
z
x
x
Ax Az
x
Ay
x
x eigenvector of A y not an eigenvector of A z eigenvector of A
Eigenvalue of the standard matrix that
project vectors on the x-axis
v
1 0
standard matrix T
0 0
u
Eigenvalues of [T]
b = T(b) a = T(a) x
are 1 and 0
T(a)
(x,y) (kx,y) (x,y)
a a
T(a)
x x
k 0 1 0
standard matrix Standard matrix 0
0 1 k
y y
T(a)
a
a T(a)
x x
k≥1 0≤k≤1
The eigenvalue of T is k, every nonzero vector in R2 are eigenvectors.
The determinant of a Linear Operator
Example 6:
a. T is the orthogonal projection on the x - axis where the
1 0
standard matrix is ; T , then det( T ) 0
0 0
k 0
b. the determinan t of dilation w ith factor k in R is k det
2 2
0 k
Reflection about the x-axis in R2
x
a
y Standard
Matrix
x x x 1 . x 0 . y 1 0 x
T a T
y
y
y
0 . x 1 . y 0 1 y
T(ā) ā
x
x x 1.x 0. y 1 0 x
T y
y
0.x 1. y
0 1 y
1 0
Standard matrix = [T ] det (T) = -1
0 1
y
y=x
T(a)
x y 0 . x 1 . y 0 1x
T 1 . x 0 . y 1
y
x
0 y
a
y = -x y
x
T(a)
1 0 0 x
y
0 1 0 y
0 0 1
z
T(a)
1 0 0
x
standard matrix T 0 1 0
0 0 1
a. Find eigenvectors that corresponds to eigenvalues of T.
b. Which vectors are mapped to the zero vector?
c. Find det(T)
Rotation in R2
x x* y
• Equation T * T(a) =(x*, y*)
y
y
x r cos , y r sin
α a=(x, y)
x r cos , y r sin
* *
β
x r cos cos r sin sin
*
x
y r cos sin r sin cos
*
(x*,y*,z*) y
α Standard
Matrix
(x,y,z)
x
x x 1 0 0 x
T y y cos z sin 0 cos sin y
0 sin cos z
z y sin z cos
Finding the Standard Matrix
Theorem 8.2: If T : Rn Rm then T(x) = [T]x (T can be done by multiplying
with matrix [T]). The standard matrix [T] is obtained through
[T] = [ T(e1) T(e2) ……T(en) ]
i.e. the matrix where the columns are the result of mapping the vectors of
the normal standard basis.
u1
2u 1 3 u 2
Example 7: T : R3 R2 where T : u 2
4u3
u 3
2 .1 3 .0 2 3 0
T (i) T ( j) T (k )
0 4
4 .0 0
2 3 0
Hence, [T ]
0 0 4
Shear in the x and y-direction
(x,y) (x + ky,y)
a
T(a)
x
1 k
standard matrix
0 1
• The earth rotates on its axis, which is an axis that goes through the north and
south pole. Because the sun rises from the east and sets to the west, then the
earth rotates from west to east. From the south pole perspective, the earth has
a clockwise rotation, but seeing this from the north pole, it seems that the earth
rotates counterclockwise.
Linear Transformation (Definition)
Similarity
V U W
v T1(v) T2(T1(v))
Example 8: Composition of Two Linear
Transformations
2 3 a 2
T1 : R P ; T1 : a bx ( a 2 b ) x
b
c 0 c1
T2 : P M ; T2 : c 0 c1 x c 2 x
3 2x2 2
0 c1 2 c 2
2 2x2
T2 T1 : R M ;
a 2 a b
T2 T1 : a bx ( a 2 b ) x
b 0 a 2( a 2 b )
2 2 1 2 1
T2 T1 0
1 2 2(2 2 .1 ) 0 10
Example 9: Composition of Two Rotations
Rotation followed by another rotation
y
T2(T1(a))
α T1(a)
β
x
a
Is T2(T1(a)) = T1(T2(a)) ?
Example 10: Composition of Rotation and
Projection
a. Rotation followed by a projection b. Projection followed by a rotation
y y
T2(T1(a))
T1(a) a
β β T1(a)
T2(T1(a)) a x x
Conclusion:
Composition of linear transformations is not commutative
Composition of 3 Linear Transformations
0 1 1 0 0 0
T2 T1
1 0 0 0 1 0
Standard Matrix of Composition of Linear
Transformations in Euclidean Space
V U W
a
β T1(a)
x
1 0 cos sin
T1 T2
0 0 sin cos
Similarity
Ker(T) 0 R(T)
Rank and Nullity
Ker(T) 0 R(T)
Example 11: kernel, range, nullity, and
rank
1. Zero transformation T1: V W, where T(v) = 0 for every v in V
V T1 W
Ker(T1) 0 R(T1)
V W
T2
a T(a) = a
Ker(T2) 0 0
y
L1
L2 x
R(T3)
Ker(T3)
(x,y) (x +ky, y)
a
T(a)
x
Exercise:
1. Find range and rank T
2. Find eigenvalues and eigenvectors of T
Answers to Exercise 2
1. R(T) = R2
y
b = T(b)
Standard matrix
T(a) = ka k 0
a 0 1
x
Similarity
T-1
T-1(T(v)) = T-1(w) = v
T(T-1(w)) = T(v) = w
Note: If it is a one-to-one function but not onto (surjective) then we can define
the inverse where its domain is the range of the original linear
transformation:
T-1: R(T) V
Example 15: Inverse of Linear
Transformations
y
T(a) a = T-1(T(a))
x y
T : R R where T x
2 2
y
2
0 1
standard matrix T : 1
2 0
Are inverse to one another
1
0 2
standard matrix T :
1 0
x 0 2 y x
x
1 0 2 x 2 y T
1 T x
T 1 y 1 0
y
0 y x y
2
Properties of One-to-one Linear
Transformations
• If T: Rn Rm has a standard matrix [T] that has an inverse, then [T] x =
b is consistent with exactly one solution for every b in Rn.
• [T] x = b is consistent, then for every b in Rn there is an x in Rn such that
[T]x = T(x) = b. R(T) = Rn.
• Solution of [T] x = b is exactly one, then T is one-to-one.
Properties of One-to-one Linear
Transformations
Theorem 8.5. :
If A is a nxn matrix that has an inverse and is a standard matrix for the
linear operator TA : Rn Rn then the following are equivalent.
1. A has inverse
2. R(TA) = Rn
3. Ker(TA) = {0}
4. TA is one-to-one
a
b
Example 16: T: R4 P3 where T ax bx cx d
3 2
c
d
R4 P3
a
b
c
d ≈
−
3 2
ax bx cx d
a1 a2 a3
T : M 2 X 3 R , where T a1 b3
6
a2 a3 b1 b2
b
1 b2 b3
M2x3 R6
a1
b
1
a2
b2
a3
b3 ≈
− a1 a2 a3 b1 b2 b3
R R
a b
5. T : P M 2 X 2
3
w here T ax bx cx d
3 2
is an isomorphis m.
c d
Answers:
1. False, 2. True 3. False, 4. False, 5. True
Linear Transformation (Definition)
Similarity
8.6 Similarity
Two Similar Matrices
Definition 8.8.:
If A and B are two nxn matrices, then B is similar to A if there is an invertible matrix
P such that B = P-1AP
Example 17:
1 1 1 2 14 0 1 4 0
A B P 1
P
3 3 0 0 2
2 1 2
A = PBP-1
A and B are similar
Example 18: two similar matrices
1 1 5 6 2 1 2 0
1 2 3 4 1 1 0 1
P-1 A P D
64
Example 19: two similar matrices
1 2
A
3 4
1 1 1 0 1 2 1 0
B
1
6 4 0 2 3 4 0 2
e.g A and B are similar, then there is matrix P such that B = P-1AP
1
det( B ) det( P AP )
1
det( P ) det( A) det( P )
1
det( P ) det( P ) det( A)
det( A)
Check your summary, does it contain all of the following key concepts?
B. What is the relation between Ker(T), Null(T), Null([T]); and the relation between
Rank([T]), R (T) and Coll([T]), if T is a linear operator from a Euclidean space to
another Euclidean space.
C. What is the relation between a kernel of a linear transformation and the
eigenspace?
Congratulations, you have finished Module 8.