BCS405D Module 2 PDF
BCS405D Module 2 PDF
LINEAR TRANSFORMATION
Introduction
In this chapter we will discuss linear transformations, which are the most natural kind of a
map from one vector space to another, and show how they are intimately related with matrices. In
our discussions we will give concrete examples as often as possible, and use the general properties
we have shown about vector spaces to motivate results relevant to solving systems of linear
equations and solving differential equations.
Let 𝑐 ∈ 𝑅 be arbitrary.
Consider 𝑓(𝑐. 𝛼) = 𝑓(𝑐. 𝑥1, 𝑐. 𝑦1, 𝑐. 𝑧1) = (𝑐. 𝑥1 + 𝑐. 𝑦1, 𝑐. 𝑦1 + 𝑐. 𝑧1)
= 𝑐(𝑥1 + 𝑦1, 𝑦1 + 𝑧1) = 𝑐. 𝑓(𝑥1, 𝑦1, 𝑧1) = 𝑐. 𝑓(𝛼) ⇒
𝑓(𝑐. 𝛼) = 𝑐. 𝑓(𝛼)
Therefore, f is a linear transformation.
2. If 𝑇: 𝑉3(𝑅) → 𝑉3(𝑅) is defined by 𝑇 (𝑥1, 𝑥2, 𝑥3) = (0, 𝑥2, 𝑥3), show that T is a linear
transformation.
Solution: Let 𝛼 = (𝑥1, 𝑥2, 𝑥3) & 𝛽 = (𝑦1, 𝑦2, y3) be any two elements of 𝑉3(𝑅) Consider
𝑇(𝛼 + 𝛽) = 𝑇((𝑥1, 𝑥2, 𝑥3) + (𝑦1, 𝑦2, 𝑦3))
= 𝑇(𝑥1 + 𝑦1, 𝑥2 + 𝑦2, 𝑥3 + 𝑦3)
= (0, 𝑥2 + 𝑦2, 𝑥3 + 𝑦3)
= (0, 𝑥2, 𝑥3) + (0, 𝑦2, 𝑦3)
= 𝑇(𝑥1, 𝑥2, 𝑥3) + 𝑇(𝑦1, 𝑦2, 𝑦3)
⟹ 𝑇(𝛼 + 𝛽) = 𝑇(𝛼) + 𝑇(𝛽) Let
𝑐 ∈ 𝑅 be arbitrary.
Consider,𝑇(𝑐. 𝛼) = 𝑇[𝑐. (𝑥1, 𝑥2, 𝑥3)] = 𝑇[(𝑐𝑥1, c𝑥2, c𝑥3)] = (0, c𝑥2, c𝑥3) = c.(0, 𝑥2, 𝑥3)
𝑇(𝑐. 𝛼) = 𝑐. 𝑇(0, 𝑥2, 𝑥3) = 𝑐. 𝑇(𝛼)
⇒ 𝑇(𝑐. 𝛼) = 𝑐. 𝑇(𝛼)
Therefore, T is a linear transformation.
3. If T is a mapping from 𝑉2(𝑅) into 𝑉2(𝑅) defined by
𝑇(𝑥, 𝑦) = (𝑥 𝑐𝑜𝑠𝜃 − 𝑦𝑠𝑖𝑛𝜃, 𝑥 𝑠𝑖𝑛𝜃 + 𝑦 𝑐𝑜𝑠𝜃), show that T is a linear transformation.
4. Find the linear transformation 𝑓: 𝑅2 → 𝑅2 such that 𝑓(1, 1) = (0, 1) and
𝑓(−1, 1) = (3, 2).
5. Find the linear transformation 𝑇: 𝑅2 → 𝑅3 such that 𝑇(1, 1) = (0, 1, 2) and 𝑇(−1, 1) = (2,
1, 0).
Ordered basis of V:
Definition: Let V be a vector space over a field F and dim[V] = n > 0. Choose a basis
𝒂𝟏, 𝒂𝟐, 𝒂𝟑, … , 𝒂𝒏 of V written in order. This basis 𝑩 = {𝒂𝟏, 𝒂𝟐, 𝒂𝟑, … , 𝒂𝒏}is called an ordered basis
of V. In an ordered basis, the order in which the elements are arranged is taken in to account.
Example:
[{(1, 0, 0), (0, 1, 0), (0, 0, 1)}, {(0, 1, 0), (0, 0, 1), (1, 0, 0)}, {(0, 0, 1), (1, 0, 0), (0, 1,0)}]
are three different basis of R3.
Note:
Problems:
1. Find the coordinate vector of (3, -2, 1) relative to (i) ordered standard basis
(ii) the ordered basis {(1, 1, 1), (1, 0, 0), (1, 1, 0)} of 𝑅3.
Solution:
(ii) Let (3, −2, 1) = 𝑐1(1, 1, 1) + 𝑐2(1, 0, 0) + 𝑐3(1, 1, 0) = (𝑐1 + 𝑐2 + 𝑐3, 𝑐1 + 𝑐3, 𝑐1)
⇒ 𝑐1 + 𝑐2 + 𝑐3 = 3, 𝑐1 + 𝑐3 = −2, 𝑐1 = 1
Solving we get c1 = 1, c1 = 5, c3 = -3 which are coordinates of (3, -2, 1) with respect to the
ordered basis (1, 1, 1), (1, 0, 0), (1, 1, 0).
Problem 1. Let 𝐴 = [0 1] so that we have a linear map 𝑇𝐴: 𝑅2 − 𝑅2 given by 𝑇𝐴(𝑥) = 𝐴𝑥. We
0 0
will find 𝑖𝑚 𝑇𝐴 and 𝑘𝑒𝑟𝑇𝐴.
𝑥
Solution: 𝑖𝑚 𝑇𝐴 = {𝑇𝐴 (𝑦) : 𝑥, 𝑦 ∈ 𝑅}
0 1 𝑥
= {( 0 0 ) (𝑦) : 𝑥, 𝑦 ∈ 𝑅}
𝑦
= {(0) : 𝑥, 𝑦 ∈ 𝑅}
0 1 𝑥
0 𝑥 2
𝑦 0 𝑥 2
𝑅 }
𝑥
= {( ) : 𝑥 ∈ 𝑅}
0
Definition: Let 𝑇: 𝑈 → 𝑉 be a linear transformation. The Kernel (or null space) of T is the set
𝑁(𝑇) = {𝛼 ∈ 𝑈/𝑇(𝛼) = 0} where 0 is the zero vector of V.
Rank and Nullity:
2) If 𝑁(𝑇) is finite dimensional, the dimension of 𝑁(𝑇)is called the Nullity of linear
transformation and is denoted by 𝑛(𝑇).
Rank-Nullity theorem
Let 𝑇: 𝑈 → 𝑉 be a linear transformation and U be a finite dimensional vector space. Then 𝑑𝑖𝑚
𝑅 (𝑇) + 𝑑𝑖𝑚 𝑁 (𝑇) = 𝑑𝑖𝑚 𝑈 𝑖. 𝑒. 𝑟(𝑇) + 𝑛(𝑇) = 𝑑𝑖𝑚 𝑈. [or Rank+Nullity=dim(domain)]
The null space of the matrix 𝐴, denoted by 𝑁(𝐴), is the set of all n-dimensional column vectors X
such that 𝐴𝑋 = 0.
Problems:
1. Let 𝑇: 𝑉2(𝑅) → 𝑉2(𝑅) defined by 𝑇(𝑥, 𝑦) = (𝑥 + 𝑦, 𝑥). Find the range space, kernel, rank, and
nullity. Also, verify the rank-nullity theorem.
Solution:
To find 𝑹(𝑻): We shall write the images of the elements w.r.t standard basis
𝑇(𝑒1) = 𝑇(1,0) = (1,1)&𝑇(𝑒2) = 𝑇(0,1) = (1,0)
1 1 2 1 1 2 1 1 2
𝐴 = [1 −1 0] ∼ [0 −2 −2] ∼ [0 1 1] (By echelon form)
0 0 1 0 0 1 0 0 1
Consider,
Applying linear transformation on both sides
𝑇(𝑥, 𝑦) = 𝑥+𝑦 𝑇(1, 1) + 𝑦−𝑥 𝑇(−1, 1)
2 2
⇒ 𝑇(𝑥, 𝑦) = (−𝑥 + 2𝑦, 𝑦, −3𝑥 + 3𝑦) is the required transformation relative to the basis 𝐵1 & 𝐵2.
4. Find the matrix of the linear transformation 𝑇: 𝑉3(𝑅) → 𝑉2(𝑅) defined by 𝑇(𝑥, 𝑦, 𝑧) = (𝑥 + 𝑦,
𝑦 + 𝑧) with respect to standard bases of 𝑉3(𝑅) and 𝑉2(𝑅).
5. Find the matrix of the linear transformation 𝑇: 𝑉2(𝑅) → 𝑉3(𝑅)
defined by 𝑇(𝑥, 𝑦) = (−𝑥 + 2𝑦, 𝑦,-3x+3𝑦) relative to bases 𝐵1 = {(1, 1), (−1, 1)} and 𝐵2 = {(1, 1,
1), (1, −1, 1), (0, 0, 1)}.
Change of Basis
Let 𝐵1 = {𝑎1, 𝑎2, 𝑎3, … , 𝑎𝑚} be basis of V and 𝐵2 = {𝑏1, 𝑏2, 𝑏3, … , 𝑏𝑛} be another basis of V.
Then we obtain change of basis from old basis 𝐵1 to new basis 𝐵2 by expressing 𝑏𝑖 as a linear
combination of 𝑎1, 𝑎2, 𝑎3, … , 𝑎𝑚
𝑏1 = 𝑐11𝑎1 + 𝑐21𝑎2 + 𝑐31𝑎3 + … … . + 𝑐𝑛1𝑎𝑛 𝑏2
= 𝑐12𝑎1 + 𝑐22𝑎2 + 𝑐32𝑎3 + … … . + 𝑐𝑛2𝑎𝑛 … …
…………………………………….
𝑇(𝑎𝑚) = 𝑐1𝑚𝑎1 + 𝑐2𝑚𝑎2 + 𝑐3𝑚𝑎3 + … … . + 𝑐𝑛𝑚𝑎𝑛
The transpose of the coefficient of above system of equation gives matrix of change of basis from
𝐵1𝑡𝑜 𝐵2. This matrix is given by
𝑐11 𝑐12 . 𝑐1𝑚
𝑃 = [𝑐21. 𝑐22. .. 𝑐2. 𝑚]
𝑐𝑛1 𝑐𝑛2 . 𝑐𝑛𝑚
Problems:
1. Consider the following basis of 𝑅2, 𝑆 = {𝑢1, 𝑢2} = {(1,2), (3,5)}, 𝑆′ = {𝑣1, 𝑣2} = {(1, −1),
(1, −2)}. Find the change of basis matrix P from 𝑆 to 𝑆′. Also find the change of basis
matrix Q from 𝑆′ to 𝑆.
Solution: i) Let 𝑆 = {𝑢1, 𝑢2} = {(1,2), (3,5)}. Express 𝑆′ vectors {𝑣1, 𝑣2} as a linear combination
of vectors {𝑢1, 𝑢2} of 𝑆.
𝑣1 = 𝑐1𝑢1 + 𝑐2𝑢2 ⇒ (1, −1) = 𝑐1(1, 2) + 𝑐2 (3, 5)
1 = 𝑐1 + 3𝑐2 ⇒ 𝑐1 = −8, 𝑐2 = 3
−1 = 2𝑐1 + 5𝑐2
𝑣2 = 𝑐3𝑢1 + 𝑐4𝑢2 ⇒ (1, −2) = 𝑐3(1, 2) + 𝑐4 (3, 5)
1 = 𝑐3 + 3𝑐4 ⇒ 𝑐3 = −11, 𝑐4 = 4
−2 = 2𝑐3 + 5𝑐4
Change of basis from 𝑆 to 𝑆′ is −8 − 11
𝑃=[ ]3 4
ii) To obtain change of basis from 𝑆′𝑡𝑜 𝑆, Express 𝑆 vectors {𝑢1, 𝑢2} as a linear combination of 𝑆′
vectors {𝑣1, 𝑣2}.
𝑢1 = 𝑐1𝑣1 + 𝑐2𝑣2 ⇒ (1, 2) = 𝑐1(1, −1) + 𝑐2 (1, −2)
1 = 𝑐1 + 𝑐2 ⇒ 𝑐1 = 4, 𝑐2 = −3
2 = −𝑐1 − 2𝑐2
𝑢2 = 𝑐3𝑣1 + 𝑐4𝑣2 ⇒ (3, 5) = 𝑐3(1, −1) + 𝑐4 (1, −2)
3 = 𝑐1 + 𝑐2 ⇒ 𝑐1 = 11, 𝑐2 = −8
5 = −𝑐1 − 2𝑐2
Change of basis from 𝑆 to 𝑆′ is 𝑄 = [ 4 11 ]
−3 −8
2. Consider the following basis of 𝑅3, 𝐸 = {𝑒1, 𝑒2, 𝑒3} and 𝑆 = {𝑢1, 𝑢2, 𝑢3} =
{(1,0, 1), (2, 1, 2), (1, 2, 2)}. Find the change of basis matrix P from E to S. Also find the
change of basis matrix Q from S to E.
Solution: i) Let 𝐸 = {𝑒1, 𝑒2, 𝑒3} = {(1,0,0), (0,1,0), (0,0,1)}. To find change of basis from E
to S, express S vectors {𝑢1, 𝑢2, 𝑢3} as a linear combination of vectors {𝑒1, 𝑒2, 𝑒3} of E.
𝑢1 = 𝑐1𝑒1 + 𝑐2𝑒2 + 𝑐3𝑒3 ⇒ (1, 0,1) = 𝑐1(1, 0,0) + 𝑐2 (0, 1,0) + 𝑐3(0, 0, 1) ⇒
𝑐1 = 1, 𝑐2 = 0, 𝑐3 = 1
𝑢2 = 𝑐4𝑒1 + 𝑐5𝑒2 + 𝑐6𝑒3 ⇒ (2, 1,2) = 𝑐3(1, 0,0) + 𝑐4 (0, 1,0) + 𝑐5(0, 0, 1) ⇒
𝑐4 = 2, 𝑐5 = 1, 𝑐6 = 2
𝑢3 = 𝑐7𝑒1 + 𝑐8𝑒2 + 𝑐9𝑒3 ⇒ (1, 2,2) = 𝑐1(1, 0,0) + 𝑐2 (0, 1,0) + 𝑐3(0, 0, 1)
⇒ 𝑐7 = 1, 𝑐8 = 2, 𝑐9 = 2
1 2 1
Change of basis from E to S is 𝑃 = [0 1 2]
1 2 2
ii) To obtain change of basis from S to E, Express E vectors {𝑒1, 𝑒2, 𝑒3} as a linear combination
of S vectors {𝑢1, 𝑢2, 𝑢3}.
𝑒1 = 𝑐1𝑢1 + 𝑐2𝑢2 + 𝑐3𝑢3 ⇒ (1, 0, 0) = 𝑐1(1, 0,1) + 𝑐2 (2,1,2) + 𝑐3(1,2,2) 1
= 𝑐1 + 2𝑐2 + 𝑐3
0 = 0𝑐1 + 2𝑐2 + 2𝑐3
0 = 𝑐1 + 2𝑐2 + 2𝑐3 ⇒ 𝑐1 = −2, 𝑐2 = 2, 𝑐3 = −1
𝑒2 = 𝑐4𝑢1 + 𝑐5𝑢2 + 𝑐6𝑢3 ⇒ (0, 1, 0) = 𝑐4(1, 0,1) + 𝑐5 (2,1,2) + 𝑐6(1,2,2) 0 =
𝑐1 + 2𝑐2 + 𝑐3
1 = 0𝑐1 + 2𝑐2 + 2𝑐3
0 = 𝑐1 + 2𝑐2 + 2𝑐3 ⇒ 𝑐4 = −2, 𝑐5 = 1, 𝑐6 = 0
𝑒3 = 𝑐7𝑢1 + 𝑐8𝑢2 + 𝑐9𝑢3 ⇒ (0, 0, 1) = 𝑐7(1, 0,1) + 𝑐8 (2,1,2) + 𝑐9(1,2,2) 0 =
𝑐1 + 2𝑐2 + 𝑐3
0 = 0𝑐1 + 2𝑐2 + 2𝑐3
1 = 𝑐1 + 2𝑐2 + 2𝑐3 ⇒ 𝑐1 = 3, 𝑐2 = −2, 𝑐3 = 1
−2 −2 3
Change of basis from S to E is 𝑄 = [ 2 1 −2]
−1 0 1
3. Consider the following basis of 𝑅2, 𝐸 = {𝑒1, 𝑒2} = {(1,0), (0,1)}, 𝑆 = {𝑣1, 𝑣2} = {(1,3), (1,
4)}. Find the change of basis matrix P from E to S and change of basis matrix Q from S to
E.
4. Consider the linear transformation 𝑇 on 𝑅2 defined by 𝑇(𝑥, 𝑦) = (5𝑥 − 𝑦, 2𝑥 + 𝑦) and the
following basis of 𝑅2 𝐸 = {𝑒1, 𝑒2} = {(1,0), (0,1)}, 𝑆 = {𝑣1, 𝑣2} = {(1, 4), (2, 7)}.
Find the change of basis matrix P from E to S and change of basis matrix Q from S to E.
Problems
1. Determine whether or not each of the following linear maps is nonsingular. If not, find a nonzero
vector v whose image is 0. (i) 𝐹: 𝑅2 → 𝑅2 defined by 𝐹(𝑥, 𝑦) = (𝑥 − 𝑦, 𝑥 − 2𝑦). (ii) 𝐺: 𝑅2 → 𝑅2
defined by 𝐺(𝑥, 𝑦) = (2𝑥 − 4𝑦, 3𝑥 − 6𝑦).
Solution: (i) Find Ker F by setting 𝐹(𝑣) = 0, 𝑤ℎ𝑒𝑟𝑒 𝑣 = (𝑥, 𝑦) (𝑥
− 𝑦, 𝑥 − 2𝑦) = (0,0).
𝑥 − 𝑦 = 0, 𝑥 − 2𝑦 = 0
The only solution is 𝑥 = 0, 𝑦 = 0. Hence F is nonsingular
(ii) Find Ker G by setting 𝐺(𝑣) = 0, 𝑤ℎ𝑒𝑟𝑒 𝑣 = (𝑥, 𝑦) (2𝑥
− 4𝑦, 3𝑥 − 6𝑦) = (0,0).
2𝑥 − 4𝑦 = 0,3𝑥 − 6𝑦 = 0
The system has nonzero solutions, because y is a free variable. Hence, G is singular. Let 𝑦 = 1 to
obtain the solution𝑉 = (2,1); 1Þ, which is a nonzero vector, such that 𝐺(𝑣) = 0.
2. The linear map 𝐹: 𝑅2 → 𝑅2 defined by 𝐹(𝑥, 𝑦) = (𝑥 − 𝑦, 𝑥 − 2𝑦) is nonsingular. Find a
formula for 𝐹−1.
Solution: set 𝐹(𝑥, 𝑦) = (𝑎, 𝑏), so that 𝐹−1(𝑎, 𝑏) = (𝑥, 𝑦)
We have (𝑥 − 𝑦, 𝑥 − 2𝑦) = (𝑎, 𝑏)
Solve for x and y in terms of a and b to get 𝑥 = 2𝑎 − 𝑑, 𝑦 = 𝑎 − 𝑏. Thus
𝐹−1(𝑎, 𝑏) = (2𝑎 − 𝑏, 𝑎 − 𝑏)
Problems:
1. Let 𝐹 be the linear operator on 𝑅2 defined by 𝑓(𝑥, 𝑦) = (2𝑥 + 𝑦, 3𝑥 + 2𝑦). (a) Show that F is
nonsingular. (b) Find a formula for 𝐹−1.
Solution:
a) to show that 𝐹 is invertible, we need only show that F is nonsingular. Set 𝑓(𝑥, 𝑦) = (0,0) to
obtain the homogeneous system
2𝑥 + 𝑦 = 0; 3𝑥 + 2𝑦 = 0
Solve for x and y to get 𝑥 = 0; 𝑦 = 0. Hence, 𝐹 is non singular and so invertible.
b) To find a formula for 𝐹−1 we set 𝐹(𝑥, 𝑦) = (𝑠, 𝑡) and so 𝐹−1(𝑠, 𝑡) = (𝑥, 𝑦)
2𝑥 + 𝑦 = 𝑠; 3𝑥 + 2𝑦 = 𝑡
Solve for x and y in terms of s and t to obtain 𝑥 = 2𝑠 − 𝑡; 𝑦 = −3𝑠 + 2𝑡. Thus
𝐹−1(𝑠, 𝑡) = (2𝑠 − 𝑡, −3𝑠 + 2𝑡)
where we rewrite the formula for 𝐹−1 using x and y instead of s and t.
2. Let 𝐺: 𝑅2 → 𝑅3be defined by 𝐺(𝑥, 𝑦) = (𝑥 + 𝑦, 𝑥 − 2𝑦, 3𝑥 + 𝑦), (a) Show that G is nonsingular.
(b) Find a formula for 𝐺−1.
Solution:
(a) Set 𝐺(𝑥, 𝑦) = (0,0,0) to find Ker G. We have
𝑥 + 𝑦 = 0, 𝑥 − 2𝑦 = 0, 3𝑥 + 𝑦 = 0
The only solution is 𝑥 = 0, 𝑦 = 0; hence, G is nonsingular.
(b) Although G is nonsingular, it is not invertible, because 𝑅2 and 𝑅3 have different dimensions.
(Thus, Theorem 5.9 does not apply.) Accordingly, 𝐺−1 does not exist.
3. Consider the linear operator T on 𝑅3 defined by 𝑇(𝑥, 𝑦) = (2𝑥, 4𝑥 − 𝑦, 2𝑥 + 3𝑦 − 𝑧).
(a) Show that T is invertible (b) Find formulas for 𝑇−1.
Solution:
(a) Set 𝑇(𝑥, 𝑦) = (0,0,0) to find Ker G. We have
2𝑥 = 0, 4𝑥 − 𝑦 = 0, 2𝑥 + 3𝑦 − 𝑧 = 0
The only solution is 𝑥 = 0, 𝑦 = 0, z = 0; Hence, T is non singular and so invertible.
b) To find a formula for 𝑇−1 we set 𝑇(𝑥, 𝑦) = (𝑟, 𝑠, 𝑡) and so 𝑇−1(𝑟, 𝑠, 𝑡) = (𝑥, 𝑦, 𝑧)
2𝑥 = 𝑟; 4𝑥 − 𝑦 = 𝑠; 2𝑥 + 3𝑦 − 𝑧 = 𝑡 Solve for x and y in
terms of s and t to obtain 𝑥 = 𝑟 ; 𝑦 = 2𝑟 − 𝑠; 𝑧 = 7𝑟 − 3𝑠 − 𝑡 . Thus
2
𝑟
𝑇−1( 𝑟, 𝑠, 𝑡) = ( , 2𝑟 − 𝑠, 7𝑟 − 3𝑠 − 𝑡) 2
where we rewrite the formula for 𝑇−1 using x and y instead of s and t.
Video Links:
1. Linear transformation
https://www.youtube.com/watch?v=is1cg5yhdds
2. Rank-Nullity theorem https://www.youtube.com/watch?v=-
LmAFzcKYPA