Subspace Properties: Rank, Nullity, Bases
Subspace Properties: Rank, Nullity, Bases
Syllabus: Row and column spaces - Rank and nullity - Bases for subspace -
Invertibility.
Definition [Row Space] The row space of an m×n matrix A is the subspace
of Rn spanned by the row vectors of A.
Row(A) = span{r1 , r2 , . . . , rm }
where ri are the row vectors of A.
Definition [Column Space] The column space of an m × n matrix A is the
subspace of Rm spanned by the column vectors of A.
Col(A) = span{c1 , c2 , . . . , cn }
1
where cj are the column vectors of A. Also called the range or image of A.
Definition [Null Space] The null space of an m × n matrix A is the set
of all solutions to the homogeneous equation Ax = 0. Null(A) = {x ∈ Rn :
Ax = 0} The null space is a subspace of Rn . Also called the kernel of A.
Definition Two matrices A and B are row equivalent if and only if there
exists a finite sequence of elementary row operations that transforms A into
B.
Equivalently, A and B are row equivalent if
A = Ek Ek−1 · · · E1 B
where each Ei is an elementary matrix corresponding to an elementary row
operation.
That is,
A ∼ B ⇐⇒ A can be transformed into B by elementary row operations
Property 1 If two matrices A and B are row equivalent, then their row
spaces are the same. If B is in echelon form, the nonzero rows of B form a
basis for the row space of A as well as for that of B.
Property 2 Row operations do not change the row space of a matrix. If B
is obtained from A by elementary row operations, then Row(A) = Row(B).
Property 3 The row space of A equals the row space of its row echelon
form (REF).
Property 4 The nonzero rows of the REF of A form a basis for Row(A).
Property 5 Col(A) = {Ax : x ∈ Rn }. The column space consists of all
possible linear combinations of the columns of A.
Property 6 For any matrix A:
Row(A) = Row(AT A)
Col(A) = Col(AAT )
2
Theorem If A is m × n, then:
Row(A) ⊆ Rn
Col(A) ⊆ Rm
dim(Row(A)) ≤ min(m, n)
dim(Col(A)) ≤ min(m, n)
Definition [Rank of a Matrix] The dimension of the row space (or equiva-
lently, the column space) of matrix A.
rank(A) = dim(Row(A)) = dim(Col(A))
• Equals the number of linearly independent rows (or columns)
• Equals the number of pivot positions in the REF(RREF)
Definition [Nullity of a Matrix] The dimension of the null space of matrix
A.
nullity(A) = dim(Null(A))
Definition [Full Rank] A matrix A is said to have full rank if:
rank(A) = min(m, n) where A is m × n
For square matrices: rank(A) = n (where A is n × n).
3
Property 4 If A is m × n and B is n × p, then:
rank(AB) ≤ rank(A)
rank(AB) ≤ rank(B)
Property 5 rank(A + B) ≤ rank(A) + rank(B)
Property 6 For any invertible matrices P and Q:
rank(P AQ) = rank(A)
Property 7 rank(AT A) = rank(A) = rank(AAT )
4
• Orthonormal (each vector has unit length and they are mutually orthog-
onal)
• The natural choice for coordinate representation in Rn
• The basis with respect to which coordinates are typically given unless
otherwise specified
Definition An ordered basis for a vector space V is a finite sequence
B = (v1 , v2 , . . . , vn ) of vectors in V such that:
1. The set {v1 , v2 , . . . , vn } is linearly independent
2. The set {v1 , v2 , . . . , vn } spans V
3. The order of the vectors matters for coordinate representation
Every vector v ∈ V can be uniquely written as:
v = c1 v1 + c2 v2 + · · · + cn vn
where the coefficients (c1 , c2 , . . . , cn ) are called the coordinates of v with
respect to the ordered basis B.
5
For Column Space:
1. Reduce A to REF
2. Identify pivot columns in REF
3. The corresponding columns in the original matrix A form a basis for
Col(A)
For Null Space:
1. Reduce REF(A) (Use Backward Substitution method to find the solution)
[OR] RREF(A) (Continuation Process...)
2. Solve Ax = 0
3. Express the solution in parametric form
4. The parameter vectors form a basis for Null(A)
Lemma If A is m × n with rank r, then:
• Any basis for Row(A) has r vectors
• Any basis for Col(A) has r vectors
• Any basis for Null(A) has (n − r) vectors
4 Invertibility
4.1 Definition
6
4. The equation Ax = 0 has only the trivial solution
5. The columns of A form a linearly independent set
6. The columns of A span Rn
7. The columns of A form a basis for Rn
8. The rows of A form a linearly independent set
9. The rows of A span Rn
10. The rows of A form a basis for Rn
11. The equation Ax = b has exactly one solution for each b in Rn
12. det(A) ̸= 0
13. rank(A) = n
14. nullity(A) = 0
15. AT A is invertible
16. A can be expressed as a product of elementary matrices
7
4.4 Methods to Find Inverse
Tip 1 To find a basis for Row(A), always use REF. Never use the original
matrix rows.
Tip 2 To find a basis for Col(A), find pivot columns in REF, then use
corresponding columns from the original matrix A.
Tip 3 If asked whether a vector b is in Col(A), check if Ax = b has a
solution.
Tip 4 Remember: Row operations change column relationships but pre-
serve row relationships.
Tip 1 Use the Rank-Nullity Theorem as a check: rank + nullity should equal
the number of columns.
Tip 2 For quick rank calculation, count pivot positions in REF(RREF).
Tip 3 If A is m × n and rank(A) = m, then the rows are linearly indepen-
dent.
Tip 4 If A is m × n and rank(A) = n, then the columns are linearly
independent.
Tip 5 rank(AB) ≤ min(rank(A), rank(B)) - use this for theoretical prob-
lems.
8
5.3 Basis Tips
Tip 1 To check if vectors form a basis for Rn , form a matrix with these
vectors as columns and check if it’s invertible.
Tip 2 To extend a linearly independent set to a basis, add standard basis
vectors and remove dependent ones.
• Remember: “REF rows for row space, original columns for column space”
• Remember: “Rank + Nullity = Number of columns”
• Remember: “Square + Full rank = Invertible”
• Remember: “Pivot columns → basis for column space”
Problem 1
Determine the dimension and basis for the row space of the matrix:
2 −1 3
1 0 1
A= 0 2 −1
1 1 4
Solution
To find the row space, we perform row reduction to obtain the row echelon
form (REF).
9
Step 1: Swap rows to get a leading 1 in the first position.
R1 ↔ R2
1 0 1
2 −1 3
0 2 −1
1 1 4
Step 2: Eliminate entries below the first pivot.
R2 → R2 − 2R1
R4 → R4 − R1
1 0 1
0 −1 1
0 2 −1
0 1 3
Step 3: Make the second pivot positive.
R2 → −R2
1 0 1
0 1 −1
0 2 −1
0 1 3
Step 4: Eliminate entries below the second pivot.
R3 → R3 − 2R2
R4 → R4 − R2
1 0 1
0 1 −1
0 0 1
0 0 4
Step 5: Eliminate entries below the third pivot.
R4 → R4 − 4R3
1 0 1
0 1 −1
REF(A) =
0 0 1
0 0 0
10
Conclusion
Dimension: The row space has dimension 3, since there are 3 non-zero rows
in REF(A).
Basis: A basis for the row space is given by the non-zero rows of REF(A):
T T T
1
0 0
B = 0 , 1 , 0
1 −1 1
Problem 2
Find bases for the row space, the column space, the null space of the matrix
A, dim(Row(A)), dim(Col(A)), dim(Null(A)). And hence, verify the Rank-
Nullity theorem.
−2 −5 8 0 −17
1 3 −5 1 5
A= 3 11 −19 7 1
1 7 −13 5 −3
Solution
We will use REF (Row Echelon Form) for finding the row and column space
bases, and RREF (Reduced Row Echelon Form) for finding the null space
basis.
Initial Matrix:
−2 −5 8 0 −17
1 3 −5 1 5
A=
3 11 −19 7 1
1 7 −13 5 −3
11
Step 1: R1 ↔ R2 (swap rows to get leading 1)
1 3 −5 1 5
−2 −5 8 0 −17
3 11 −19 7 1
1 7 −13 5 −3
Step 2: Eliminate below the first pivot
R2 → R2 + 2R1
R3 → R3 − 3R1
R4 → R4 − R1
Calculations:
R2 : [−2, −5, 8, 0, −17] + 2[1, 3, −5, 1, 5] = [0, 1, −2, 2, −7]
R3 : [3, 11, −19, 7, 1] − 3[1, 3, −5, 1, 5] = [0, 2, −4, 4, −14]
R4 : [1, 7, −13, 5, −3] − [1, 3, −5, 1, 5] = [0, 4, −8, 4, −8]
Result:
1 3 −5 1 5
0
1 −2 2 −7
0 2 −4 4 −14
0 4 −8 4 −8
Step 3: Eliminate below the second pivot
R3 → R3 − 2R2
R4 → R4 − 4R2
Calculations:
R3 : [0, 2, −4, 4, −14] − 2[0, 1, −2, 2, −7] = [0, 0, 0, 0, 0]
R4 : [0, 4, −8, 4, −8] − 4[0, 1, −2, 2, −7] = [0, 0, 0, −4, 20]
Result:
1 3 −5 1 5
0
1 −2 2 −7
0 0 0 0 0
0 0 0 −4 20
Step 4: R4 → − 41 R4
12
Calculation: − 41 [0, 0, 0, −4, 20] = [0, 0, 0, 1, −5]
Step 5: R3 ↔ R4 (move pivot up)
REF (Row Echelon Form):
1 3 −5 1 5
0 1 −2 2 −7
0 0 0 1 −5
0 0 0 0 0
PART II: Continue to RREF (OR simply apply the backward substitution method
from REF)
Method: The basis for the row space consists of the non-zero rows of REF.
13
From REF, the non-zero rows are:
Row 1: [1, 3, −5, 1, 5]
Row 2: [0, 1, −2, 2, −7]
Row 3: [0, 0, 0, 1, −5]
T T T
1 0 0
3 1 0
−5 , −2 , 0
Basis for Row Space =
1 2 1
5 −7 −5
dim(Row(A)) = 3
Method: The pivot columns are columns 1, 2, and 4 (from REF). We take
the corresponding columns from the original matrix.
From the original matrix A:
−2
1
Column 1: 3
1
−5
3
Column 2: 11
7
0
1
Column 4: 7
5
−2 −5 0
1 3 1
Basis for Column Space = , ,
3 11 7
1 7 5
14
dim(Col(A)) = 3
15
Basis vectors:
−1
2
1
v1 = (corresponds to x3 = 1, x5 = 0)
0
0
−1
−3
0
v2 = (corresponds to x3 = 0, x5 = 1)
5
1
−1 −1
2 −3
1 , 0
Basis for Null Space =
0 5
0 1
dim(Null(A)) = 2
16
FINAL ANSWER
dim(Col(A)) = 3
3. Null Space Basis:
−1 −1
2 −3
1 , 0
0 5
0 1
dim(Null(A)) = 2
Problem 3
b
in the column space of the following matrix
2 3 3
0 −4 −5
A=
6 3 0
1 1 3
17
Solution
Step 1: Set up the augmented matrix [A|B]
2 3 3 | 1
0 −4 −5 | 2
[A|B] =
6 3 0 | 3
1 1 3 | b
1 1 3 | b
0 −4 −5 | 2
6 3 0 | 3
2 3 3 | 1
R3 = R3 − 6R1 , R4 = R4 − 2R1 : Eliminate first column
1 1 3 | b
0 −4 −5 | 2
0 −3 −18 | 3 − 6b
0 1 −3 | 1 − 2b
R2 ↔ R4 : Get leading 1 in position (2, 2)
1 1 3 | b
0 1 −3 | 1 − 2b
0 −3 −18 | 3 − 6b
0 −4 −5 | 2
R3 = R3 + 3R2 , R4 = R4 + 4R2 : Eliminate second column
For R3 : R3 + 3R2 = [0 − 3 − 18 | 3 − 6b] + 3[0 1 − 3 | 1 − 2b]
= [0 − 3 + 3 − 18 − 9 | 3 − 6b + 3 − 6b] = [0 0 − 27 | 6 − 12b]
For R4 : R4 + 4R2 = [0 − 4 − 5 | 2] + 4[0 1 − 3 | 1 − 2b]
= [0 − 4 + 4 − 5 − 12 | 2 + 4 − 8b] = [0 0 − 17 | 6 − 8b]
18
Step 3: Resulting REF form
1 1 3 | b
0
1 −3 | 1 − 2b
0 0 −27 | 6 − 12b
0 0 −17 | 6 − 8b
R3 R4
R3 = −27 , R4 = −17 :
1 3 |
1 b
0
1 −3 | 1 − 2b
0 0 1 | 6−12b
−27
0 0 1 | 6−8b
−17
R4 = R4 − R3 :
1 3 |
1 b
0
1 −3 | 1 − 2b
6−12b
0 0 1 | −27
6−8b 6−12b
0 0 0 | −17 + 27
12b − 6 8b − 6
=⇒ =
27 17
Simplify:
17(12b − 6) = 27(8b − 6)
204b − 102 = 216b − 162
204b − 216b = −162 + 102
−12b = −60
b=5
19
Step 5: Complete solution when b = 5
1 1 3 | 5
0
1 −3 | −9
0 0 1 | 2
0 0 0 | 0
Final REF form:
1 1 3 | 5
0 1 −3 | −9
0 0 1 | 2
Back-substitution to find a particular solution:
From row 3: x3 = 2
From row 2: x2 − 3x3 = −9 ⇒ x2 − 3(2) = −9 ⇒ x2 = −3
From row 1: x 2 + 3x3 = 5 ⇒ x1 + (−3) + 3(2) = 5 ⇒ x1 = 2
1 + x
2
Solution: x = −3
2
Verification: A · x = B when b = 5
2 · 2 + 3 · (−3) + 3 · 2
2 0 · 2 + (−4) · (−3) + (−5) · 2
A · −3 =
6 · 2 + 3 · (−3) + 0 · 2
2
1 · 2 + 1 · (−3) + 3 · 2
4−9+6
0 + 12 − 10
= 12 − 9 + 0
2−3+6
1
2
=3 ✓
20
Conclusion
1
2
The vector B =
3 is in the column space of matrix A if and only if b = 5 .
Exercises
1 −3 4 −2 5 4
2 −6 9 −1 8 2
1. A =
2 −6 9 −1 9 7
−1 3 −4 2 −5 −4
1 1 −3 7 9 −9
1 2 −4 10 13 −12
2. A =
1 −1 −1 1 1 −3
1 −3 1 −5 −7 3
1 −2 0 0 −5 −4
Find bases for the row space, the column space and the null space of the
matrix. Also, find the Rank(A), Nullity(A) and Verify the Rank-Nullity
theorem.
21
Bases for Subspaces
22
Step 4: Find Basis for V ∩ W using N(Q)
4. Extract vectors in V ∩ W:
• For each null space vector x = (a1 , . . . , ak , b1 , . . . , bℓ ), compute:
y = a1 v1 + · · · + ak vk = −(b1 w1 + · · · + bℓ wℓ )
Step 5: Verification
1. Check dimensions:
• dim(V + W ) = number of pivot columns in REF(Q)
• dim(V ∩ W ) = number of free variables in REF(Q)
• Verify: dim(V ) + dim(W ) = dim(V + W ) + dim(V ∩ W )
23
Summary of Connections
24
So z is the sum of a vector from V and a vector from W . Therefore
z ∈ V + W and hence, C(Q) ⊆ V + W .
Therefore, from step 1 & step 2 we get C(Q) = V + W .
Hence, the proof.
25
Suppose W1 and W2 are two subspaces of a vector space R2 . Here are simple examples to explain the linear
sum of two subspaces with and without standard basis vectors.
Linear Sum W1 + W2 :
Verification:
• Any vector (a, b) ∈ R2 can be written as (a, b) = (a, 0) + (0, b)
• Where (a, 0) ∈ W1 and (0, b) ∈ W2
• So W1 + W2 = R2
Geometric Interpretation: The x-axis plus the y-axis gives us the entire plane.
26
Linear Sum W1 + W2 :
t+s=a (6)
t−s=b (7)
Solving: t = a+b
2
ands = a−b
2
a+b a+b
So (a, b) = 2 , 2 + a−b , − a−b
2 2
Therefore: W1 + W2 = R2
Specific Example:
Let’s find (3, 1) as a sum from W1 and W2 :
• t= 3+1
2
=2
• s= 3−1
2
=1
• Check: (2, 2) + (1, −1) = (3, 1) ✓
• Where (2, 2) ∈ W1 and (1, −1) ∈ W2
Linear Sum W1 + W2 :
Key Observations
1. Examples 1 & 2: Both give W1 + W2 = R2 because the subspaces span different directions
2. Example 3: Gives W1 + W2 ̸= R2 because both subspaces lie on the same line
3. Dimension:
• Examples 1 & 2: dim(W1 ) = 1, dim(W2 ) = 1, dim(W1 + W2 ) = 2
• Example 3: dim(W1 ) = 1, dim(W2 ) = 1, dim(W1 + W2 ) = 1
The key insight is that the linear sum depends on how the subspaces are oriented relative to each other, not
whether they use standard basis vectors or not.
27
Suppose W1 and W2 are two subspaces of a vector space R2 . Here are simple examples to explain the direct
sum of two subspaces with and without standard basis vectors.
Condition 1: W1 + W2 = R2
• Any vector (a, b) = (a, 0) + (0, b) where (a, 0) ∈ W1 and (0, b) ∈ W2 ✓
Condition 2: W1 ∩ W2 = {(0, 0)}
• W1 ∩ W2 = {(t, 0) : t ∈ R} ∩ {(0, s) : s ∈ R} = {(0, 0)} ✓
Unique Representation:
Every vector (a, b) ∈ R2 has a unique representation:
Example: (3, 2) = 3(1, 0) + 2(0, 1) - this is the only way to write (3, 2) as a sum from W1 and W2 .
Condition 1: W1 + W2 = R2
• For any (a, b) ∈ R2 , we need t, s such that:
• (a, b) = (t, t) + (s, −s) = (t + s, t − s)
• Solving: t = a+b
2
, s= a−b
2
• These always exist and are unique ✓
Condition 2: W1 ∩ W2 = {(0, 0)}
• W1 ∩ W2 = {(t, t) : t ∈ R} ∩ {(s, −s) : s ∈ R}
• For intersection: (t, t) = (s, −s), so t = s and t = −s
• This gives t = s = 0, so intersection is {(0, 0)} ✓
28
Unique Representation:
Every vector (a, b) has a unique representation:
a+b a−b
(a, b) = (1, 1) + (1, −1) (13)
2 2
Example: (5, 1) = 3(1, 1) + 2(1, −1) = (3, 3) + (2, −2) = (5, 1)
• Check: t = 5+1
2
= 3, s = 5−1
2
=2✓
Check Conditions:
Condition 1: W1 + W2 = x-axis ̸= R2 ×
Condition 2: W1 ∩ W2 = x-axis ̸= {(0, 0)} ×
(multiple representations)
Therefore: W1 ⊕ W2 = R2
2t + s = 7 (15)
t + 3s = 10 (16)
29
From second: t = 10 − 3s
Substitute: 2(10 − 3s) + s = 7
20 − 6s + s = 7 (17)
−5s = −13 (18)
13 13 11
s= , t = 10 − 3 = (19)
5 5 5
6 Key Points
1. Direct sum requires TWO conditions:
• W1 + W2 = R2 (spans the whole space)
• W1 ∩ W2 = {0} (intersection is only zero vector)
2. Standard vs. Non-standard basis doesn’t matter - what matters is that the subspaces are
“linearly independent” (don’t overlap except at origin)
3. Unique representation is the key feature - every vector has exactly one way to be written as a
sum from the two subspaces
4. Geometric interpretation: Direct sum means the subspaces point in “different directions” and
together fill the entire space
Problem 1
30
Solution
Row Operations:
Eliminate entries below using
R2 → R2 − 3R1 , R3 → R3 + 2R1 , R4 → R4 − 2R1 , R5 → R5 − 3R1 ,
which gives
1 1 1 2 1 2
0 1 0 −3 2 −2
0 −1 2 3 −4 8 .
0 2 0 −6 4 −2
0 −1 0 3 −2 2
Eliminate entries below in column 2 using
R3 → R3 + R2 , R4 → R4 − 2R2 , R5 → R5 + R2 ,
which gives
1 1 1 2 1 2
0
1 0 −3 2 −2
0
0 2 0 −2 6
.
0 0 0 0 0 2
0 0 0 0 0 0
31
Row Echelon Form (REF)
32
x1
x2
x3
x4 .
Let X =
x5
x6
From (4):
x6 = 0
From (3):
x3 = x5
From (2):
x2 = 3x4 − 2x5
From (1):
x1 + (3x4 − 2x5 ) + x5 + 2x4 + x5 = 0
x1 + 5x4 = 0 ⇒ x1 = −5x4
Let
x4 = t, x5 = s, t, s ∈ R.
33
Then
−5t
3t − 2s
s
t .
X=
s
0
Equivalently,
−5
0
3 −2
0
+ s 1 ,
X = t
1 0 t, s ∈ R.
0 1
0 0
Final Answer
34
Convert to vectors in V ∩ W :
For x1 = (−5, 3, 0, 1, 0, 0):
−5
3
0
1 =0
Qx1 = 0 =⇒ [v1 v2 v3 w1 w2 w3 ]
0
0
Step 5: Verification
35
Final Answer
• Basis for V +W : {(1, 3, −2, 2, 3), (1, 4, −3, 4, 2), (1, 3, 0, 2, 3), (2, 4, 4, 2, 8)}
• Basis for V ∩ W : {(−2, −3, 1, 2, −9), (−1, −5, 6, −6, −1)}
Problem 2
Given that
• W1 is the subspace generated by: S = {(1, 1, 0, −1), (1, 2, 3, 0), (2, 3, 3, −1)}
• W2 is the subspace generated by: T = {(1, 2, 2, −2), (2, 3, 2, −3), (1, 3, 4, −3)}
Find (i) dim(W1 + W2 ) and (ii) dim(W1 ∩ W2 )
Solution:
−1 0 −1
Apply row operations to find REF:
R2 → R2 − R1 :
1 1 2
0 1 1
0 3 3
−1 0 −1
R4 → R4 + R1 :
1 1 2
0 1 1
0 3 3
0 1 1
36
R3 → R3 − 3R2 and R4 → R4 − R2 :
1 1 2
0 1 1
0 0 0
0 0 0
Pivot columns: 1st and 2nd columns
Column rank = 2
Therefore: dim(W1 ) = 2
−2 −3 −3
Apply row operations to find REF:
R2 → R2 − 2R1 , R3 → R3 − 2R1 , R4 → R4 + 2R1 :
1 2 1
0 −1 1
0 −2 2
0 1 −1
R2 → −R2 :
1 2 1
0 1
−1
0 −2 2
0 1 −1
R3 → R3 + 2R2 and R4 → R4 − R2 :
1 2 1
0 1
−1
0 0 0
0 0 0
Pivot columns: 1st and 2nd columns
Column rank = 2
Therefore: dim(W2 ) = 2
37
Step 3: Find dim(W1 + W2 ):
38
Substituting our values:
2 + 2 = 3 + dim(W1 ∩ W2 )
4 = 3 + dim(W1 ∩ W2 )
dim(W1 ∩ W2 ) = 1
Final Answers
(i) dim(W1 + W2 ) = 3
(ii) dim(W1 ∩ W2 ) = 1
Problem 2 Let V and W be the subspaces of the vector space P3 (R)
spanned by
v1 (x)
= 3 − x + 4x2 + x3 ,
v2 (x) = 5 + 5x2 + x3 ,
v3 (x) = 5 − 5x + 10x2 + 3x3 ,
and
2 3
w1 (x) = 9 − 3x + 3x + 2x ,
w2 (x) = 5 − x + 2x2 + x3 ,
w3 (x) = 6 + 4x2 + x3 ,
Solution:
Given Information
39
Step 1: Find V + W
40
R4 − 3R1 → R4 :
0 0 −9 −1
R5 − 35 R1 → R5 :
0 − 32 − 14 2
3 − 3
R6 − 2R1 → R6 :
0 2 −4 −1
Continuing the reduction:
3 −1 4 1
0 5 − 5 − 2
3 3 3
0 0 0 2
0 0 −9 −1
0 0 −6 0
0 0 −6 1
After complete row reduction:
−1
3 4 1
5
0
3 − 53 − 23
0
0 −9 −1
0 0 0 2
0 0 0 0
0 0 0 0
Result for V + W :
• Dimension of V + W = 4 (number of pivot columns)
n o
5x2 2x3
• Basis: 3 − x + 4x + x , 3 − 3 − 3 , −9x − x , 2x
2 3 5x 2 3 3
For V :
3 −1 4 1
5 0 5 1
5 −5 10 3
41
Row reducing:
3 −1 4 1
0 5 − 5 − 2
3 3 3
0 0 0 2
Dimension of V = 3
For W :
9 −3 3 2
5 −1 2 1
6 0 4 1
Row reducing:
9 −3 3 2
0 2 7 − 1
9 3 9
0 0 83 13
Dimension of W = 3
Problem 2
Let
V = {(x, y, z, u) ∈ R4 : y + z + u = 0}, (26)
W = {(x, y, z, u) ∈ R4 : x + y = 0, z = 2u} (27)
be two subspaces of R4 . Find bases for V , W , V + W , and V ∩ W .
Solution:
Given Information
V = {(x, y, z, u) ∈ R4 : y + z + u = 0} (28)
W = {(x, y, z, u) ∈ R4 : x + y = 0, z = 2u} (29)
42
Step 1: Find a Basis for V
43
Step 3: Construct Matrix Q and Find Basis for V + W
0 0 1 0 1
1 0 0 1 0
0 1 1 1 0
R3 ← R3 − R2 :
0 0 −1 −1 2
0 0 1 0 1
1 0 0 1 0
0 1 1 1 0
R3 ← −R3 : 0 0 1 1 −2
0 0 1 0 1
1 0 0 1 0
0 1 1 1 0
R4 ← R4 − R3 :
0 0 1 1 −2
0 0 0 −1 3
The pivot columns are 1, 2, 3, and 4, so the basis for V + W consists of
the first 4 columns of Q:
BV +W = {(1, 0, 0, 0), (0, −1, 1, 0), (0, −1, 0, 1), (1, −1, 0, 0)}
44
Step 4: Find Basis for V ∩ W
Summary of Results
• Basis for V : {(1, 0, 0, 0), (0, −1, 1, 0), (0, −1, 0, 1)} (dimension 3)
• Basis for W : {(1, −1, 0, 0), (0, 0, 2, 1)} (dimension 2)
• Basis for V + W : {(1, 0, 0, 0), (0, −1, 1, 0), (0, −1, 0, 1), (1, −1, 0, 0)} (di-
mension 4)
• Basis for V ∩ W : {(3, −3, 2, 1)} (dimension 1)
Verification: dim(V ) + dim(W ) = 3 + 2 = 5 = 4 + 1 = dim(V + W ) +
dim(V ∩ W ) ✓
45
Invertibility
Note: Right inverse & left inverse both are same in this case.
47
Left Inverse: Find C3×2 such that C · A = I3×3
No left inverse exists because C3×2 · A2×3 cannot equal I3×3
Example 2: 3 × 2 Matrix
1 0
Let A = 0 1
1 0 3×2
Left Inverse: Find B2×3 such that B · A = I2×2
1 0 0
B=
0 1 0 2×3
1 0
1 0 0 1 0
Verification: B · A = 0 1 = = I2×2
0 1 0 0 1
1 0
Right Inverse: Find C2×3 such that A · C = I3×3
No right inverse exists because A3×2 · C2×3 cannot equal I3×3
48
Example 2: 3 × 3 Matrix
1 0 0
Let A = 0 2 0 (diagonal matrix)
0 0 3 3×3
For a diagonal matrix, the inverse is:
1
1 0 0 1 0 0
−1
A = 0 21 0 = 0 0.5 0
0 0 13 0 0 13
Verification:
1 0 0 1 0 0 1 0 0
A · A−1 = 0 2 0 0 0.5 0 = 0 1 0 = I3×3
0 0 3 0 0 13 0 0 1
Key Observations
The following are the Existence and Uniqueness Theorems for a solution of a
system of linear equations Ax = b for an m×n matrix A and a vector b ∈ Rm .
49
4. There exists an n × m right inverse B of A such that AB = Im .
Theorem 2 (Uniqueness) Let A be an m×n matrix. Then the following
statements are equivalent.
1. For each b ∈ Rm , Ax = b has at most one solution x in Rn .
2. The column vectors of A are linearly independent.
3. dimC(A) = rank A = n, and hence n ≤ m.
4. R(A) = Rn .
5. N (A) = {0}.
6. There exists an n × m left inverse C of A such that CA = In .
Remark: (1) Note that an m × n matrix A has a right inverse if and only
if rank A = m, and A has a left inverse if and only if rank A = n. In the
first theorem Ax = b always has a solution, and in the second theorem the
solution (if it exists) is unique. Therefore, if m ̸= n, A cannot have both left
and right inverses.
50
7. Ax = 0 has only a trivial solution, i.e., N (A) = {0}.
8. The columns of A are linearly independent.
9. The columns of A span Rn , i.e., C(A) = Rn .
10. A has a left inverse.
11. rank A = n.
12. The rows of A are linearly independent.
13. The rows of A span Rn , i.e., R(A) = Rn .
14. A has a right inverse.
51
INTERPOLATION
Definition: Interpolating Polynomial
Digressions:
P (x) = a0 + a1 x + a2 x2 + · · · + an xn
P (xi ) = a0 + a1 xi + a2 x2i + · · · + an xni
= yi = f (xi ), i = 0, 1, . . . , n.
1 x0 x20 · · · xn0 a0 y0
1 x x2 · · · xn1 a1 y1
1
⇒ .. .. ..1 .. = ..
. . . . . . ... . .
1 xn x2n · · · xn n
an yn
Ax = B
The coefficient matrix A is called as Vandermonde’s matrix.
Y
|A| = det(A) = (xj − xi )
0≤i<j≤n
48
Since xi ’s are all distinct, |A| = ̸ 0 which implies that Ax = B has a unique
solution.
∴ It is the unique polynomial P (x) of degree ≤ n passing through the
(n + 1) points, (x0 , y0 ), (x1 , y1 ), . . . , (xn , yn ) in R2 .
Example 1
Given four points (0, 3), (1, 0), (−1, 2), (3, 6) in R2 . Construct a polynomial
P (x) which passes through the given points?
Solution:
3 + a1 + a2 + a3 = 0 ⇒ a1 + a2 + a3 = −3
3 − a1 + a2 − a3 = 2 ⇒ −a1 + a2 − a3 = −1
3 + 3a1 + 9a2 + 27a3 = 6 ⇒ a1 + 3a2 + 9a3 = 1
Step 2: Set up the augmented matrix for the 3×3 system:
1 1 1 | −3
−1 1 −1 | −1
1 3 9 | 1
Step 3: Apply row operations to get REF:
49
R2 = R2 + R1 and R3 = R3 − R1 :
1 1 1 | −3
0 2 0 | −4
0 2 8 | 4
R3 = R3 − R2 :
1 1 1 | −3
0 2 0 | −4
0 0 8 | 8
Step 4: Backward substitution:
From row 3: 8a3 = 8 ⇒ a3 = 1
From row 2: 2a2 = −4 ⇒ a2 = −2
From row 1: a1 + a2 + a3 = −3 ⇒ a1 + (−2) + 1 = −3 ⇒ a1 = −2
Final Solution is:
a0 = 3, a1 = −2, a2 = −2, a3 = 1
Verification:
P (0) = 3 = 3 ✓
P (1) = 3 + (−2) + (−2) + 1 = 0 ✓
P (−1) = 3 − (−2) + (−2) − 1 = 2 ✓
P (3) = 3 + 3(−2) + 9(−2) + 27(1) = 6 ✓
Therefore, the interpolating polynomial is:
P (x) = 3 − 2x − 2x2 + x3
Exercise
50
Hints for Matrix Formation
Problem 1: Sine Function Interpolation
51
Problem 3: Circle Through Three Points
52
Linear Transformation
Syllabus
Linear transformations - Basic properties - Invertible linear transformation - Matrices of linear transfor-
mations - Vector space of linear transformations.
T : V (F) → W (F)
is called a linear transformation/map from V to W over the same field F, if the following conditions
hold:
(OR)
(∀ x, y ∈ V, ∀ α, β ∈ F (T (αx + βy) = αT (x) + βT (y)))
The following diagram illustrates the vector addition and scalar multiplication property of linear
transformations:
x, y T
T (x), T (y)
+ +
T
x T (x)
α∈F α∈F
αx αT (x)
T ∥
T (αx)
Note:
In particular:
A transformation (or function or mapping) T from Rn to Rm is a rule that assigns to each vector x in
Rn a vector T (x) in Rm . The set Rn is called the domain of T , and Rm is called the codomain of T .
The notation T : Rn → Rm indicates that the domain of T is Rn and the codomain is Rm . For x in Rn ,
the vector T (x) in Rm is called the image of x (under the action of T ). The set of all images T (x) is
called the range of T (See: Figure 1).
1
Figure 1: Domain, codomain, and range of T : Rn → Rm
Theorem
If T : V → W is a linear transformation, then
(a) T (0) = 0.
(b) T (x − y) = T (x) − T (y) for all x and y in V.
Note:
The identity transformation on a vector space V is the linear transformation
I:V →V
defined by
I(x) = x, for all x ∈ V.
The zero transformation on a vector space V is the linear transformation
Z:V →W
defined by
Z(x) = 0 (0 - zero vector in W), for all x ∈ V.
2
Solution:
(i) ∀ x, y ∈ V ,
T (x + y) = 2(x + y) = 2x + 2y = T (x) + T (y).
∴ T (x + y) = T (x) + T (y).
(ii) ∀ x ∈ V, ∀ α ∈ F ,
T (αx) = 2(αx) = α(2x) = αT (x).
∴ T (αx) = αT (x).
Problem 2
Let T : R → R be defined by
T (x) = x2 − x.
Determine whether T is a linear transformation.
Solution. A map T is linear iff for all x, y ∈ R and all scalars α ∈ R we have
(1) Additivity:
T (x + y) = (x + y)2 − (x + y)
= x2 + 2xy + y 2 − x − y
T (x) + T (y) = (x2 − x) + (y 2 − y).
Thus T (x + y) = T (x) + T (y) would require 2xy = 0 for all x, y, which is false.
For a concrete counterexample take x = 1, y = 1:
T (2) = 4 − 2 = 2, 2T (1) = 2 · 0 = 0,
Problem 3
Given: S : R2 → R2 defined by S(x, y) = (x − y, 2x). Check whether S is a linear transformation.
3
Solution
Additivity
S(u + v) = S(u) + S(v) for all u, v ∈ R2
Proof. Let u = (u1 , u2 ) and v = (v1 , v2 ) be arbitrary vectors in R2 .
Left side: S(u + v)
u + v = (u1 + v1 , u2 + v2 )
S(u + v) = S((u1 + v1 , u2 + v2 ))
= ((u1 + v1 ) − (u2 + v2 ), 2(u1 + v1 ))
= (u1 + v1 − u2 − v2 , 2u1 + 2v1 )
= (u1 − u2 + v1 − v2 , 2u1 + 2v1 )
Conclusion
Since both axioms are satisfied:
1. Additivity: S(u + v) = S(u) + S(v) ✓
2. Scalar multiplication: S(cu) = cS(u) ✓
Therefore, S : R2 → R2 defined by S(x, y) = (x − y, 2x) IS a linear transformation.
Problem 4
Given: k : R2 → R2 defined by k(x, y) = (xy, x2 + 1). Check whether k is a linear transformation by
verifying both axioms.
4
Solution:
Additivity
k(u + v) = k(u) + k(v) for all u, v ∈ R2
Given u = (u1 , u2 ) and v = (v1 , v2 ):
Left side:
k(u + v) = k((u1 + v1 , u2 + v2 ))
= ((u1 + v1 )(u2 + v2 ), (u1 + v1 )2 + 1)
= (u1 u2 + u1 v2 + v1 u2 + v1 v2 , u21 + 2u1 v1 + v12 + 1)
Right side:
k(u) + k(v) = (u1 u2 , u21 + 1) + (v1 v2 , v12 + 1)
= (u1 u2 + v1 v2 , u21 + v12 + 2)
Comparison:
• First component: u1 u2 + u1 v2 + v1 u2 + v1 v2 ̸= u1 u2 + v1 v2 (unless u1 v2 + v1 u2 = 0)
• Second component: u21 + 2u1 v1 + v12 + 1 ̸= u21 + v12 + 2 (unless u1 v1 = 12 )
5
Testing with Specific Values (Counter Example)
Let c = 2 and u = (1, 3).
Left side: k(cu)
cu = 2(1, 3) = (2, 6)
k(cu) = k(2, 6) = (2 · 6, 22 + 1) = (12, 5)
• k(cu) = (12, 5)
• ck(u) = (6, 4)
• Since (12, 5) ̸= (6, 4), homogeneity fails
Conclusion
k : R2 → R2 defined by k(x, y) = (xy, x2 + 1) is NOT a linear transformation.
Exercise Problems
1. Let T : R2 → R2 defined by T (x, y) = (x + y, 2x). Is this linear or not?
2. Let T : R2 → R2 defined by T (x, y) = (x − y, x + y). Is this linear or not?
3. Let T : R2 → R2 defined by T (x, y) = (x2 + 1, 2y). Is this linear or not?
6
Kernel/Image of Linear Transformation
Kernel/Null space:
Let T : V → W be a linear transformation. The kernel of T , denoted by ker(T ), is defined as:
Image/Range/Graph:
Let T : V → W be a linear transformation. The range (or image) of T , denoted by range(T ) or Im(T ),
is defined as:
(OR)
Im(T ) = image(T ) = {T (v) | v ∈ V }
Key Note:
Let T : V → W be a linear transformation where V, W - finite dimensional vector space (FDVS) over
the same field F , then dim(ker(T )) = dim(N (T )) = nullity(T ) and dim(range(T )) = dim(R(T )) =
dim(C(T )) = rank(T ). The dimension formula is
Theorem
Let T : V → W be a linear transformation. Then:
(i) ker(T ) is a subspace of V
(ii) Im(T ) is a subspace of W
7
Proof
Claim: ∀u, v ∈ ker(T ), α ∈ F
1. u + v ∈ ker(T )
2. αu ∈ ker(T )
Note: T : V → W linear
(i) T (u + v) = T (u) + T (v), ∀u, v ∈ V
(ii) T (αu) = αT (u) ∀u ∈ V, ∀α ∈ F
Part (i)(1): Let u, v ∈ ker(T ) =⇒ {u ∈ V | T (u) = 0} and {v ∈ V | T (v) = 0}. Then: (i.e.,)
To prove: u + v ∈ ker(T )
We need to show: T (u + v) = 0
Since T is linear:
T (u + v) = T (u) + T (v)
=0+0
=0
Therefore, u + v ∈ ker(T ).
∴ αu ∈ ker(T ).
Thus ker(T ) is a subspace of V .
To prove: x + y ∈ Im(T )
Since T is linear,
T (u + v) = T (u) + T (v)
=x+y
∴ x + y ∈ Im(T ).
⇒ αx ∈ Im(T )
∴ Im(T ) is a subspace of W .
8
Properties of Kernel (Null Space)
• ker(T ) is always a subspace of the domain V
• 0 ∈ ker(T )
• If A is the matrix representation of T , then ker(T ) = null space of A
Matrix Connections
For an m × n matrix A representing linear transformation T :
• RREF directly shows basis for null space and column space
9
Function (Many-to-One)
”The Grade Assigner”
Why it’s onto: Every faculty member who’s assigned to teach Linear Algebra gets at least some
students in their section. The department ensures no Linear Algebra professor is left without
students
Why it’s bijective: Each student gets exactly one seat (one-to-one), and every seat in the room is
filled (onto). No student is left standing, no seat is empty.
10
Injectivity, Surjectivity, and Bijection
One-to-One (Injective) function
Let f : X → Y be a function. f is said to be one-to-one (injective) if
(∀x, y ∈ X(f (x) = f (y) in Y =⇒ x = y in X)).
Example 1
The following figure shows that the mapping T : Rn → Rm is not one-to-one and T is one-to-one.
Example 2
Test whether the function T (x) = x3 is injective.
Solution:
Suppose T (x) = T (y), that is,
x3 = y 3
Taking the cube root of both sides, √ p
3 3
x3 = y3
x=y
Therefore, T is one-to-one.
Example 3
Test whether the function T : R → R defined by T (x) = x2 is injective.
Solution:
Suppose T (x) = T (y), that is,
T (x) = T (y)
=⇒ x2 = y 2
=⇒ x2 − y 2 = 0
=⇒ (x − y)(x + y) = 0
=⇒ (x − y) = 0 or (x + y) = 0
=⇒ x = y or x = −y
=⇒ x = ±y
Therefore, x = y or x = −y.
∴ T is not one-to-one
Counter Eg: T (−2) = T (2), but − 2 ̸= 2
11
Remarks
For a linear transformation T with matrix representation A:
Example 1
The following figure shows that the mapping T : Rn → Rm is not onto and T is onto.
Example 2
Test whether the function T : R → R defined by T (x) = x3 is onto.
Solution:
Let T (x) = y ∈ R, ∃x (To find x?),
√
Now, y = x3 ⇒ x = 3 y
√ √
∴ T (x) = T ( 3 y) = ( 3 y)3 = y✓
⇒ T is onto.
Example 3
Test whether the function T : R → R defined by T (x) = x2 is onto.
Solution:
Let T (x) = y, ∃x (To find x?),
√
Now, y = x2 ⇒ x = ± y ×
This is not true ∀ y ∈ R
Counter Eg:
∃ y = −2 (Take)
Then ∀x ∈ R
T (x) ̸= y (= −2)
12
Remarks
For a linear transformation T : Rn → Rm with matrix A:
This is equivalent to: every b ∈ Rm has a solution to Ax = b (i.e., the columns of A span Rm ).
Example: T : R → R by T (x) = x3 is bijective function. (i.e.,) (∀y ∈ Y (∃!x ∈ X(f (x) = y)))
Remarks
If T : Rn → Rm be a linear transformation and if A is an m × n matrix, here are three ways of viewing
the same subspace of Rn :
13
Invertible Linear Transformation
Definition: Let T : V → W be a linear transformation. Then T is said to be ”invertible” (inverse
exist/one-to-one correspondance between these two spaces) iff T is both one-to-one & onto. If
T is linear, then T −1 is also linear.
(OR)
A function f : X(̸= ϕ) → Y (̸= ϕ) is said to be invertible iff
14
3x+2
Example 2: Inverse of f (x) = x−1
3x + 2
y=
x−1
3y + 2
x= (interchange x and y)
y−1
x(y − 1) = 3y + 2
xy − x = 3y + 2
xy − 3y = x + 2
y(x − 3) = x + 2
x+2
y=
x−3
x+2
f −1 (x) =
x−3
A is invertible ⇔ det(A) ̸= 0
⇔ rank(A) = n
⇔ null space of A = {0}
Determinant Connections
For a square matrix A:
• det(A) ̸= 0 ⇔ A is invertible
• det(A) = 0 ⇔ columns are linearly dependent
• det(A) = 0 ⇔ ker(A) ̸= {0}
• |A| = volume scaling factor of the transformation
Key Relationships
1. Rank-Nullity Theorem:
n = rank + nullity
connects dimensions of kernel and range.
2. REF/RREF computational tool:
• Pivot columns → basis for column space
15
• Free variables → basis for null space
• Number of pivots = rank
4. Geometric interpretation:
• Kernel: vectors that get ”collapsed” to zero
• Range: all possible outputs (target set)
• Rank: effective dimensionality of output
• Determinant: volume scaling factor of the linear transformation
Example 1
Given T : R → R defined by T (x) = 2x. Find the dimensions of kernel and image of T .
Solution:
Kernel:- T (x) = 0 ⇒ 2x = 0 ⇒ x = 0
∴ ker(T ) = {0}
Image:- Im(T ) = R
Notice that here, dim(domain space) = 1, dim(ker(T )) = 0, dim(Im(T )) = 1
Therefore, 1 = 0 + 1.
Example 2
Given T : R → R defined by T (x) = 0. Find the dimensions of kernel and image of T .
Solution:
Kernel:- T (x) = 0 ⇒ y = 0 (entire x-axis)
∴ ker(T ) = R
Image:- Im(T ) = {0}
Notice that here, dim(domain space) = 1, dim(ker(T )) = 1, dim(Im(T )) = 0
Therefore, 1 = 1 + 0.
16
Figure 7: Kernel and Images
Example 3
Given: T : R2 → R2 defined by T (x, y) = (2x + y, x − y). Find the dimensions of kernel and image of T .
Solution:
Finding the Kernel
The kernel consists of all vectors (x, y) such that T (x, y) = (0, 0).
T (x, y) = (0, 0)
(2x + y, x − y) = (0, 0)
This gives us the system of equations:
(
2x + y = 0
x−y =0
2x + x = 0 =⇒ 3x = 0 =⇒ x = 0
Therefore: y = 0
Result:
ker(T ) = {(0, 0)}
Dimension:
dim(ker(T )) = 0
2 = 0 + dim(Im(T )) =⇒ dim(Im(T )) = 2
Result:
Im(T ) = R2
Dimension:
dim(Im(T )) = 2
17
Verification using Rank-Nullity Theorem
dim(R2 ) = dim(ker(T )) + dim(Im(T ))
2=0+2=2 ✓
Example 4
Given: T : R3 → R3 defined by T (x, y, z) = (x + y, y + z, x + z). Find the dimensions of kernel and image
of T .
Solution:
Finding the Kernel
The kernel consists of all vectors (x, y, z) such that T (x, y, z) = (0, 0, 0).
T (x, y, z) = (0, 0, 0)
(x + y, y + z, x + z) = (0, 0, 0)
This gives us the system of equations:
x + y = 0 (1)
y + z = 0 (2)
x + z = 0 (3)
x + x = 0 =⇒ 2x = 0 =⇒ x = 0
Therefore: y = 0 and z = 0
Result:
ker(T ) = {(0, 0, 0)}
Dimension:
dim(ker(T )) = 0
Result:
Im(T ) = R3
Dimension:
dim(Im(T )) = 3
18
Alternative Verification: Direct Computation
To verify Im(T ) = R3 , we show that any vector (a, b, c) ∈ R3 can be expressed as T (x, y, z) for some
(x, y, z).
We need to solve:
T (x, y, z) = (a, b, c)
This gives us the system:
x + y = a
y+z =b
x+z =c
Verification:
a+c−b a+b−c b+c−a
T , ,
2 2 2
a+c−b a+b−c a+b−c b+c−a a+c−b b+c−a
= + , + , +
2 2 2 2 2 2
a+c−b+a+b−c a+b−c+b+c−a a+c−b+b+c−a
= , ,
2 2 2
2a 2b 2c
= , ,
2 2 2
= (a, b, c) ✓
This confirms that every vector in R3 is in the image of T .
Example 5
Consider the linear transformation T : R3 → R3 defined by
Solution:
Method 1
Step 1: Find the Matrix Representation of T
First, let’s express T as a matrix. We need to find how T acts on the standard basis vectors:
For e1 = (1, 0, 0):
19
For e2 = (0, 1, 0):
Step 3: R2 ← − 23 R2
3 1
1 2 2
0 1
1 3
0 1 0
Step 4: R3 ← R3 − R2
3 1
1 2 2
0 1
1 3
0 0 − 13
From REF (A) we can see that A has rank 3 and is therefore invertible.
20
Finding the Inverse:
Matrix of cofactors:
(−1) × (+1) (1) × (−1) (6) × (+1)
C = (−1) × (−1) (0) × (+1) (2) × (−1) (1)
(0) × (+1) (−1) × (−1) (−3) × (+1)
−1 −1 6
= 1 0 −2 (2)
0 1 −3
−1 1 0
adj(A) = C T = −1 0 1 (3)
6 −2 −3
−1 1 0
1
A−1 = × −1 0 1 (4)
1
6 −2 −3
−1 1 0
= −1 0 1 (5)
6 −2 −3
(OR)
To find A−1 , we use the augmented matrix [A|I] and row reduce:
2 3 1 1 0 0
3 3 1 0 1 0
2 4 1 0 0 1
Following the same row operations as above:
After complete reduction:
1 0 0 −1 1 0
0 1 0 −1 0 1
0 0 1 6 −2 −3
Therefore:
−1 1 0
A−1 = −1 0 1
6 −2 −3
The inverse transformation is:
21
Part (iii): Find Range(T)
Since T : R3 → R3 and T is invertible (as shown in part i), by the Rank-Nullity Theorem:
e1 = (1, 0, 0)
e2 = (0, 1, 0)
e3 = (0, 0, 1)
Method 2
Step 1: Find the Matrix Representation of T
Extract T as a matrix from the given
22
Part (i): Show that T is invertible and find its inverse
To show T is invertible, we need to show that the matrix A has rank 3 (full rank) (or) |A| ̸= 0.
Determinant:
2 3 1
3 3 1 = 2(3 − 4) − 3(3 − 2) + 1(12 − 6) = 1 ̸= 0
2 4 1
∵ |A| ̸= 0 and therefore T is invertible.
(OR)
Step 3: R2 ← − 23 R2
3 1
1 2 2
0 1
1 3
0 1 0
Step 4: R3 ← R3 − R2
3 1
1 2 2
0 1
1 3
0 0 − 13
From REF (A) we can see that A has rank 3 and is therefore invertible.
−1 1 0
adj(A) = C T = −1 0 1 (8)
6 −2 −3
23
−1 1 0
1
A−1 = × −1 0 1 (9)
1
6 −2 −3
−1 1 0
= −1 0 1 (10)
6 −2 −3
(OR)
To find A−1 , we use the augmented matrix [A|I] and row reduce:
2 3 1 1 0 0
3 3 1 0 1 0
2 4 1 0 0 1
Following the same row operations as above:
After complete reduction:
1 0 0 −1 1 0
0 1 0 −1 0 1
0 0 1 6 −2 −3
Therefore: y1 y2 y3
−1 1 0
A−1 = −1 0 1
6 −2 −3
e1 = (1, 0, 0)
e2 = (0, 1, 0)
e3 = (0, 0, 1)
24
Summary
1. T is invertible because its matrix has full rank (3). The inverse is T −1 (y1 , y2 , y3 ) = (−y1 +
y2 , −y1 + y3 , 6y1 − 2y2 − 3y3 )
2. Ker(T ) = {0} (trivial kernel)
3. Range(T ) = R3 (entire codomain)
2 3 1
4. Basis for Range(T): 3 , 3 , 1
2 4 1
or
e1 = (1, 0, 0)
e2 = (0, 1, 0)
e3 = (0, 0, 1)
Note: If the linear transformation T : Rn → Rn , then for any n > 3 use Gauss-Jordan method to
find the inverse.
Example 6
Given a linear transformation T : V2 (R) → V3 (R) defined by:
T (a, b) = (a + b, a − b, b)
Solution
Step 1: Finding the Range of T
To find the range RT , we need to determine what vectors in V3 (R) can be obtained as outputs of T .
Since {(1, 0), (0, 1)} forms a basis for V2 (R), we can find the range by applying T to these basis vectors:
Applying T to basis vectors:
T (1, 0) = (1 + 0, 1 − 0, 0) = (1, 1, 0)
T (0, 1) = (0 + 1, 0 − 1, 1) = (1, −1, 1)
Since (1, 0) and (0, 1) generate V2 (R), the vectors T (1, 0) and T (0, 1) will generate T (V2 (R)) = RT .
Therefore:
RT = span{(1, 1, 0), (1, −1, 1)} = Column space (T) ⊆ subspace of V3 (R)
25
From this system of equations:
a+b=0
a−b=0
b=0
We know:
• dim(V2 (R)) = 2
• rank(T ) = 2
Therefore:
2 = 2 + nullity(T )
nullity(T ) = 0
T (a, b) = (a + b, a − b, b) = (0, 0, 0)
This gives us the system:
a+b=0
a−b=0
b=0
Final Answer
• Range: RT = span{(1, 1, 0), (1, −1, 1)}
• Rank: rank(T ) = 2
• Null-space: NT = {(0, 0)}
• Nullity: nullity(T ) = 0
Verification
The Rank-Nullity theorem is satisfied:
26
Example 7
1 −1 3
The linear transformation T : R3 → R3 is defined by T (x) = Ax, where A = 5 6 −4.
7 4 2
Find a basis for the kernel of T and a basis for the range of T . Also find the rank and nullity of T .
Solution:
• x2 − 19
11 x3 = 0 ⇒ x2 = 19
11 x3
• x3 is free
Setting x3 = 11t (to avoid fractions), we get:
−14
ker(T ) = t 19 : t ∈ R
11
27
Step 2: Finding the Range of T
The range (column space) of T is the span of the columns of A.
From our row reduction, we found that the matrix has rank 2 (two pivot columns). The first two
columns are linearly independent and form a basis for the column space.
Basis for the range:
1 −1
5 , 6
7 4
rank(T ) = 2
nullity(T ) = 1
2+1=3 ✓
Final Answer
−14
• Basis for kernel: 19
11
1 −1
• Basis for range: 5 , 6
7 4
• Rank: 2
• Nullity: 1
Example 8
Let T : P3 → P2 be the mapping defined by T (a0 + a1 x + a2 x2 + a3 x3 ) = 5a0 + a3 x2 .
(a) Show that T is linear. (b) Find a basis for the kernel of T . (c) Find a basis for the range of T .
Solution:
Part (a): Show that T is linear.
To prove T is linear, we need to show:
1. T (u + v) = T (u) + T (v) for all u, v ∈ P3
2. T (cu) = cT (u) for all c ∈ R and u ∈ P3
Let u = a0 + a1 x + a2 x2 + a3 x3 and v = b0 + b1 x + b2 x2 + b3 x3 .
Additivity:
28
Homogeneity:
Therefore, T is linear.
Part (b): Find the matrix representation and use REF to find the kernel.
Using standard bases α = {1, x, x2 , x3 } for P3 and β = {1, x, x2 } for P2 :
Apply T to each basis vector:
T (1) = 5 · 1 + 0 · x2 = 5 = 5 · 1 + 0 · x + 0 · x2
T (x) = 5 · 0 + 0 · x2 = 0 = 0 · 1 + 0 · x + 0 · x2
T (x2 ) = 5 · 0 + 0 · x2 = 0 = 0 · 1 + 0 · x + 0 · x2
T (x3 ) = 5 · 0 + 1 · x2 = x2 = 0 · 1 + 0 · x + 1 · x2
5a0 = 0 ⇒ a0 = 0
0 = 0 (always true)
a3 = 0
29
5
The pivot columns are columns 1 and 4, corresponding to: - Column 1: 0 represents 5 · 1 + 0 · x +
0
0
0 · x2 = 5 - Column 4: 0 represents 0 · 1 + 0 · x + 1 · x2 = x2
1
Basis for range: {5, x2 } or equivalently {1, x2 }
Final Answers:
(a) T is linear (proven above)
Theorem
Let V and W be vector spaces and α = {v1 , v2 , . . . , vn } be a basis for V and w1 , w2 , . . . , wm be any m
vectors (possibly repeated) in W . Then there exists a unique linear transformation T : V → W such that
T (vi ) = wj , ∀ i = 1, 2, . . . , n, ∀j = 1, 2, . . . , m
Solution:
Let x = (x1 , x2 , x3 ) ∈ R3 then
a = x3
b = x 2 − x3
c = x 1 − x2
⇒ a = x3 , b = x2 − x 3 , c = x1 − x 2
∴ x = x3 v1 + (x2 − x3 )v2 + (x1 − x2 )v3
30
Now,
T (x) = T (x3 v1 + (x2 − x3 )v2 + (x1 − x2 )v3 )
= x3 T (v1 ) + (x2 − x3 )T (v2 ) + (x1 − x2 )T (v3 ) [since T is linear]
= x3 w1 + (x2 − x3 )w2 + (x1 − x2 )w3
= x3 (1, 0) + (x2 − x3 )(2, −1) + (x1 − x2 )(4, 3)
= (x3 , 0) + (2x2 − 2x3 , −x2 + x3 ) + (4x1 − 4x2 , 3x1 − 3x2 )
= (4x1 − 2x2 − x3 , 3x1 − 4x2 + x3 )
Example 2
Find T −1 of T (x, y, z) = (2x, 4x − y, 2x + 3y − z) for T : R3 → R3 . Also, find T −1 (1, 2, 3).
Solution:
Let (r, s, t) = T (x, y, z) = (2x, 4x − y, 2x + 3y − z) eqn(1)
Then T −1 (r, s, t) = (x, y, z) =⇒ T −1 (2x, 4x − y, 2x + 3y − z) = (x, y, z)
Now from eqn(1),
r = 2x
s = 4x − y
t = 2x + 3y − z
r
⇒x=
2
r
s = 4x − y = 4 − y = 2r − y =⇒ y = 2r − s
2
r
t = 2x + 3y − z = 2 + 3(2r − s) − z = r + 6r − 3s − z = 7r − 3s − z =⇒ z = 7r − 3s − t
2
31
Find T −1 (1, 2, 3)
Substitute r = 1, s = 2, t = 3:
1
T −1 (1, 2, 3) = , 2(1) − 2, 7(1) − 3(2) − 3 (11)
2
1
= , 2 − 2, 7 − 6 − 3 (12)
2
1
= , 0, −2 (13)
2
Verification
Let’s verify by checking T 12 , 0, −2 :
1 1 1 1
T , 0, −2 = 2 ,4 − 0, 2 + 3(0) − (−2) (14)
2 2 2 2
= (1, 2, 1 + 0 + 2) (15)
= (1, 2, 3) ✓ (16)
Final Answer:
• General inverse: T −1 (r, s, t) = r
− s, 7r − 3s − t
2 , 2r
Exercise
1. Find T −1 of T (x, y, z) = (3x, x − y, 2x + y + z) for T : R3 → R3 and hence find T −1 (−1, 0, 1).
Prove that T is invertible and find T −1 . Also prove that (T 2 − I)(T − 3I) = 0.
4. Let T : R3 → R3 be a linear transformation such that
32
Isomorphism
A linear transformation T : V → W from a vector space V to a vector space W is called an isomorphism,
if it is invertible (or one-to-one and onto). In this case, we say V and W are isomorphic to each other.
Note: If T is an isomorphism, then its inverse T −1 is also an isomorphism with (T −1 )−1 = T . There-
fore, if V and W are isomorphic to each other, then it means that they look the same as vector spaces.
Lemma
Suppose that S and T are linear transformations whose composition S ◦ T is well-defined. Then, the
following are true:
1. if S ◦ T is one-to-one, then T is one-to-one,
Theorem
Two vector spaces V and W are isomorphic if and only if dim V = dim W .
Remark
Let T : V → W be a linear transformation. Then, the following are true:
1. T is one-to-one if and only if Ker(T ) = {0},
2. if V = W , then T is one-to-one if and only if T is onto.
Corollary
Any n-dimensional vector space V is isomorphic to the n-space Rn .
Problems
Example 1: Show that T is an Isomorphism on R2
.
Define,
T : R2 → R2 , by T (x, y) = (x + y, x − y).
−1
and hence, find T .
33
Solution
Step 1: Linearity
A transformation T is linear if for all vectors u, v ∈ R2 and scalar c ∈ R,
T (u + v) = T (x1 + x2 , y1 + y2 ) = (x1 + x2 + y1 + y2 , x1 + x2 − y1 − y2 ).
On the other hand,
So T (u + v) = T (u) + T (v).
Also,
T (cu) = T (cx1 , cy1 ) = (cx1 + cy1 , cx1 − cy1 ) = c(x1 + y1 , x1 − y1 ) = cT (u).
Hence T is linear.
34
Solution
Step 1: Linearity
Each component of T is a linear combination of a, b, c. Therefore T is linear. (Try!)
a′ = 5−4+3
2 = 2, b′ = 5+4−3
2 = 3, c′ = −5+4+3
2 = 1.
35
Solution
Step 1: Linearity
Each vi is a linear combination of coefficients aj . Hence T is linear. (Try!)
Step 2: Matrix of T
With basis {1, x, . . . , xn } of Pn (R) and the standard basis of Rn+1 , the matrix is
1 0 0 ··· 0
1
1 0 · · · 0
0 1 1 · · · 0
. .
A= ..
0
0 1 . ..
. .. . . ..
..
. . . 0
0 0 ··· 1 1
This is a lower-bidiagonal matrix with 1’s on the diagonal and 1’s just below the diagonal.
Step 3: Isomorphism
Since A is lower triangular with diagonal entries all equal to 1, we have
det(A) = 1 · 1 · · · 1 = 1 ̸= 0.
a0 = v0 , a1 = v1 − v0 , a2 = v2 − a1 , a3 = v3 − a2 , . . .
In closed form,
i
X
ai = (−1)i−k vk .
k=0
So
i
X
T −1 (v0 , . . . , vn ) = a0 + a1 x + · · · + an xn , ai = (−1)i−k vk .
k=0
a0 = v0 = 2, a1 = v1 − a0 = 5 − 2 = 3, a2 = v2 − a1 = 2 − 3 = −1, a3 = v3 − a2 = 3 − (−1) = 4.
36
Matrix of a Linear Transformation
Matrix Basics
Row Picture/Column Picture for the System of Linear Equations:
Example 1
Draw the row and column picture for the systme of linear equation of the form Ax = b.
Solution:
Write the given system of linear equations in the form Ax = b.
2 −3 x 1
= (3)
1 2 y −3
2 −3 1
=⇒ x (= Column 1) + y (= Column 2) = (= Column 3) (4)
1 2 −3
1
Column Picture from Eqn.(4)
Example 2
Draw the row and column picture for the systme of linear equation of the form Ax = b.
x+y+z =6 (5)
2x − y + z = 3 (6)
x + 2y − z = 2 (7)
Solution:
Write the given system of linear equations in the form Ax = b.
1 1 1 x 6
2 −1 1 y = 3 (8)
1 2 −1 z 2
1 1 1 6
=⇒ x 2 (= Column 1) + y −1 (= Column 2) + z 1 (= Column 3) = 3 (= Column 4) (9)
1 2 −1 2
2
Figure 3: Row Picture
3
Introduction
For an m × n matrix A, the equation Ax = b means that to every vector x = [x1 x2 · · · xn ]T in Rn
the matrix multiplication Ax assigns a vector b ( = Ax ) in Rm . That is, the matrix A transforms every
vector x in Rn into a vector b in Rm by the matrix multiplication Ax = b. Moreover, the distributive
law
A(x + ky) = Ax + kAy
for k ∈ R and x, y ∈ Rn , of matrix multiplication means that A preserves the sum of vectors and scalar
multiplication.
Example 1
1 0 1 0
The columns of I2 = are e1 = and e2 = .
0 1 0 1
Suppose T : R2 → R3 is a linear transformation such that
5 −3
T (e1 ) = −7 and T (e2 ) = 8
2 0
With no additional information, find a formula for the image T (x) of an arbitrary x ∈ R2 .
Solution: Write
x 1 0
x = 1 = x1 + x2 = x1 e1 + x2 e2 (10)
x2 0 1
Since T is a linear transformation,
5 −3 5x1 − 3x2 5 −3
x x1
=⇒ T (x) = x1 −7 + x2 8 = −7x1 + 8x2 = −7 8 1 = T (e1 ) T (e2 ) = Ax
x2 x2
2 0 2x1 + 0 2 0
The step from equation (1) to equation (2) explains why knowledge of T (e1 ) and T (e2 ) is sufficient
to determine T (x) for any x. Moreover, since (2) expresses T (x) as a linear combination of vectors, we
can put these vectors into the columns of a matrix A and write (2) as
x1
T (x) = T (e1 ) T (e2 ) = Ax
x2
Example 2
1 0 0 1 0 0
The columns of I3 = 0 1 0 are e1 = 0, e2 = 1 and e3 = 0.
0 0 1 0 0 1
Suppose T : R → R2
3
is a linear transformation such that
a a a
T (e1 ) = 11 , T (e2 ) = 12 and T (e2 ) = 13
a21 a22 a23
With no additional information, find a formula for the image T (x) of an arbitrary x ∈ R3 .
Solution: Write
x1 1 0 0
x = x2 = x1 0 + x2 1 + x3 0 = x1 e1 + x2 e2 + x3 e3
x3 0 0 1
Since T is a linear transformation,
4
x1
a a a a x + a12 x2 + a13 x3 a a12 a13
=⇒ T (x) = x1 11 + x2 12 + x3 13 = 11 1 = 11 x2
a21 a22 a23 a21 x1 + a22 x2 + a23 x3 a21 a22 a23
x3
x1
y1 2
= T (e1 ) T (e2 ) T (e3 ) x2 = Ax =b= ∈R
y2
x3
Theorem 1
Let T : Rn → Rm be a linear transformation such that, for the standard basis vectors ei of Rn .
a11 a12 a1n
a21 a22 a2n
T (e1 ) = . , T (e2 ) = . , . . . , T (en ) = . .
.. .. ..
am1 am2 amn
Then there exists a unique matrix A such that T (x) = Ax, ∀ x ∈ Rn (A is called the standard matrix
for T )
5
In fact, A is the m × n matrix whose jth column is the vector T (ej ), where ej is the jth column of
the identity matrix in Rn :
A = T (e1 ) ··· T (en )
6
Geometric Linear Transformations of R2
Note: Since the transformations are linear, they are determined completely by what they do to the
columns of I2 , and what a transformation does to the unit square.
Example 1 (Dilation)
Find the standard matrix A for the dilation (scale factor> 1 [Enlargement], < 1 [Reduction]) transfor-
mation T (x) = 3x, ∀ x ∈ R2 .
Solution:
3 0
T (e1 ) = 3e1 = and T (e2 ) = 3e2 =
0 3
3 0
A = T (e1 ) T (e2 ) =
0 3
In general,
Figure 8: Dilation/Scaling
Example 2 (Rotation)
Let T : R2 → R2 be the transformation that rotates (rotation) each point in R2 about the origin through
an angle φ, with counterclockwise rotation for a positive angle. We could show geometrically that such
a transformation is linear. Find the standard matrix A of this transformation.
7
Solution:
1 cos φ 0 − sin φ
rotates into , and rotates into . (See Figure)
0 sin φ 1 cos φ
By Theorem 1,
cos φ − sin φ
A=
sin φ cos φ
In general,
8
Solution:
9
1. Transformation: Reflections
I - Reflection through the x1 -axis:
The standard matrix is given by
1 0
A=
0 −1
and the image of the unit square will be
10
III - Reflection through the x2 = x1 :
The standard matrix is given by
0 1
A=
1 0
and the image of the unit square will be
11
V - Reflection through the origin:
The standard matrix is given by
−1 0
A=
0 −1
and the image of the unit square will be
12
II - Vertical contraction and expansion:
The standard matrix is given by
1 0
A= , ∀ 0 < k < 1 (Vertical Contraction), ∀ k > 1 (Vertical Expansion)
0 k
3. Transformation: Shears/Scalings
I - Horizontal shear:
The standard matrix is given by
1 k
A= , ∀ k < 0 (leftward shear), ∀ k > 0 (rightward shear)
0 1
13
II - Vertical shear:
The standard matrix is given by
1 0
A= , ∀ k < 0 (downward shear), ∀ k > 0 (upward shear)
k 0
4. Transformation: Projections
I - Projection onto the x1 -axis:
The standard matrix is given by
1 0
A=
0 0
and the image of the unit square will be
14
II - Projection onto the x2 -axis:
The standard matrix is given by
0 0
A=
0 1
and the image of the unit square will be
15
Matrix Representation of a Linear
Transformation
Ordered basis/Coordinate vector
An ordered basis for a vector space is a basis endowed with a specific order. Let V be a vector space
of dimension n with an ordered basis α = {v1 , . . . , vn }. Let β = {e1 , . . . , en } be the standard basis for
Rn in this order. Then clearly the linear transformation Φ defined by Φ(vi ) = ei is an isomorphism
Pn from
V to Rn , called the natural isomorphism with respect to the basis α. Now for any x = i=1 ai vi ∈ V ,
the image of x under this natural isomorphism is written as
n n a1
X X ..
Φ(x) = ai Φ(vi ) = ai ei = (a1 , . . . , an ) = . ∈ Rn ,
i=1 i=1 an
which is called the coordinate vector of x with respect to the basis α, and is denoted by [x]α (= Φ(x)).
Clearly [vi ]α = ei .
Theorem
Let α = {v1 , v2 , . . . , vn } and β = {w1 , w2 , . . . , wm } be the bases for the vector spaces V and W respec-
tively, with dim V = n and dim W = m.
Let T : V → W be a linear transformation defined by
Then,
a11 a12 ··· a1n
a21 a22 ··· a2n
[T ]βα = .
.. .. ..
.. . . .
am1 am2 ··· amn
The following commutative diagram illustrates the concept of matrix representation of linear trans-
formations:
Suppose that V is an n-dimensional vector space, that W is an m-dimensional vector space, and that
T : V → W is a linear transformation. Suppose further that B is a basis for V , that B ′ is a basis for W ,
and that for each vector x in V , the coordinate vectors for x and T (x) are [x]B and [T (x)]B ′ , respectively.
16
Figure 24: Commutative Diagram - 1
Example 1
Let T : P1 (R) → P2 (R) be a linear transformation
defined by
T (p(x)) = xp(x)
Solution:
Soln:
Given T (p(x)) = x · p(x)
Since we know that T : V → W by T (vi ) = wi
T (1) = x · 1 = x = 0 · 1 + 1 · x + 0 · x2
T (x) = x · x = x2 = 0 · 1 + 0 · x + 1 · x2
∴ The associated matrix is
0 0
[T ]βα = 1 0
0 1
17
Example 2
L.T.
Given T : R2 −−−→ R2 by
• (ii) Find a matrix representation [T ]β w.r.t the basis β = {v1 = (0, 1), v2 = (2, 3)}.
Solution:
(i) To find [T ]α w.r.t the standard basis:
Since, we know that the standard basis in R2 is α = {e1 = (1, 0), e2 = (0, 1)}
Method-I
Given that,
v1 = (1, 1) v2 = (−1, 1)
w1 = (0, 1) w2 = (2, 3)
Finding (x, y) in R2 :
a−b=x ...(1)
a+b=y ...(2)
2a = x + y
x+y
a=
2
Substituting in (1):
x+y
−b=x
2
−2b = 2x − (x + y)
−2b = x − y
y−x
b=
2
Therefore:
x+y y−x
(x, y) = v1 + v2
2 2
18
Hence, the formula for T (x, y) is:
x+y y−x
T (x, y) = T (v1 ) + T (v2 )
2 2
x+y y−x
= w1 + w2
2 2
x+y y−x
= (0, 1) + (2, 3)
2 2
x+y y−x y−x
= 0, + · 2, ·3
2 2 2
x+y 3(y − x)
= 0, + y − x,
2 2
x + y + 3(y − x)
= y − x,
2
x + y + 3y − 3x
= y − x,
2
−2x + 4y
= y − x,
2
= (y − x, −x + 2y)
Method-II (Alternatively)
Let
(1, 1) = 1(1, 0) + 1(0, 1) = 1 · e1 + 1 · e2 = e1 + e2
Now, apply T on both side,
T (1, 1) = T (e1 + e2 ) [∵ T is linear]
=⇒ (0, 1) = T (e1 ) + T (e2 )
=⇒ e2 = T (e1 ) + T (e2 ) (1)
Let
(−1, 1) = −1(1, 0) + 1(0, 1) = −1 · e1 + 1 · e2 = −e1 + e2
Now, apply T on both side,
T (−1, 1) = T (−e1 + e2 ) [∵ T is linear]
=⇒ (2, 3) = −T (e1 ) + T (e2 )
=⇒ −T (e1 ) + T (e2 ) = 2e1 + 3e2 (2)
Solving (1) & (2), we obtain
T (e1 ) = −e1 − e2
T (e2 ) = e1 + 2e2
−1 1
∴ [T ]α =
−1 2
19
(ii) To find [T ]β w.r.t the basis β = {v1 = (0, 1), v2 = (2, 3)}:
Given that,
Now,:
similarly,
2b = 1,
a + 3b = 2,
2d = 1,
c + 3d = 4
Solving for a, b, c and d, we obtain
=⇒ b = 1/2
a = 2 − 3/2 = 1/2
d = 1/2
c = 4 − 3/2 = 5/2
Now,
a 1 1 c 1 5
[T (v1 )]β = = , and [T (v2 )]β = = .
b 2 1 d 2 1
1 5
a c 2 2
1 1 5
Therefore, [T ]β = [T (v1 ) T (v2 )]β = = 1 1 = .
b d 2 2 2 1 1
Example 3
Let T : P3 → R3 be the linear transformation given by
Find the matrix for T = [T ]βα with respect to the standard bases α = {1, x, x2 , x3 } for P3 and β =
{e1 , e2 , e3 } for R3 .
20
Solution:
Given that:
• Domain: P3 (polynomials of degree ≤ 3)
• Codomain: R3
• Transformation: T (ax3 + bx2 + cx + d) = (4a − b + 3c + 3d, a + 3b − c + 5d, −2a − 7b + 5c − d)
• Basis for P3 : α = {1, x, x2 , x3 } (standard basis)
• Basis for R3 : β = {e1 , e2 , e3 } (standard basis)
Step 1: Apply T to Each Basis Element of α
To find the matrix representation, we apply T to each basis element and express the results in terms
of the basis β.
T (1) - First basis element:
For the polynomial 1: a = 0, b = 0, c = 0, d = 1
T (1) = T (0 · x3 + 0 · x2 + 0 · x + 1)
= (4(0) − 0 + 3(0) + 3(1), 0 + 3(0) − 0 + 5(1), −2(0) − 7(0) + 5(0) − 1)
= (3, 5, −1)
T (x) = T (0 · x3 + 0 · x2 + 1 · x + 0)
= (4(0) − 0 + 3(1) + 3(0), 0 + 3(0) − 1 + 5(0), −2(0) − 7(0) + 5(1) − 0)
= (3, −1, 5)
T (x2 ) = T (0 · x3 + 1 · x2 + 0 · x + 0)
= (4(0) − 1 + 3(0) + 3(0), 0 + 3(1) − 0 + 5(0), −2(0) − 7(1) + 5(0) − 0)
= (−1, 3, −7)
T (x3 ) = T (1 · x3 + 0 · x2 + 0 · x + 0)
= (4(1) − 0 + 3(0) + 3(0), 1 + 3(0) − 0 + 5(0), −2(1) − 7(0) + 5(0) − 0)
= (4, 1, −2)
e1 = (1, 0, 0)
e2 = (0, 1, 0)
e3 = (0, 0, 1)
21
The matrix representation [T ]βα has columns formed by the coordinate vectors of T applied to each
basis element of α.
Final Answer:
The matrix representation of T with respect to the given bases is:
3 3 −1 4
[T ]βα = 5 −1 3 1
−1 5 −7 −2
Example 4
Consider the vector space M2×2 (R) (all 2 × 2 matrices over the field of real numbers R).
1 1
Let T : M2×2 (R) → M2×2 (R) be the linear transformation defined by T (X) = AX, where A = .
1 1
Find the matrix of T with respect to the ordered basis B = {E1 , E2 , E3 , E4 } for M2×2 (R) where:
1 0 0 1 0 0 0 0
E1 = , E2 = , E3 = , E4 =
0 0 0 0 1 0 0 1
Solution:
1 1
Given: T : M2×2 (R) → M2×2 (R) defined by T (X) = AX where A = .
1 1
To find the matrix representation of T , we need to compute T (Ei ) for each basis element and express
the result as a linear combination of the basis elements.
T (E1 ) = 1 · E1 + 0 · E2 + 1 · E3 + 0 · E4
T (E2 ) = 0 · E1 + 1 · E2 + 0 · E3 + 1 · E4
22
Step 3: Compute T (E3 ) = AE3
1 1 0 0 1 0
T (E3 ) = AE3 = =
1 1 1 0 1 0
Express as linear combination of basis elements:
1 0 1 0 0 1 0 0 0 0
T (E3 ) = =1· +0· +1· +0·
1 0 0 0 0 0 1 0 0 1
T (E3 ) = 1 · E1 + 0 · E2 + 1 · E3 + 0 · E4
T (E4 ) = 0 · E1 + 1 · E2 + 0 · E3 + 1 · E4
Final Answer
The matrix of the linear transformation T with respect to the ordered basis B = {E1 , E2 , E3 , E4 } is:
1 0 1 0
0 1 0 1
[T ]B =
1 0
1 0
0 1 0 1
Example 5
Consider the vector space M2×2 (R) (all 2 × 2 matrices over the field of real numbers R).
1 1
Let T : M2×2 (R) → M2×2 (R) be the linear transformation defined by T (X) = AX, where A = .
1 1
Find the matrix of T with respect to the ordered basis B = {S1 , S2 , S3 , S4 } for M2×2 (R) where:
2 0 1 4 0 1 0 1
S1 = , S2 = , S3 = , S4 =
0 3 0 1 3 2 2 0
23
Solution:
Step 1: Compute T (S1 ) = AS1
1 1 2 0 2 3
T (S1 ) = AS1 = =
1 1 0 3 2 3
Express as linear combination of basis elements:
2 3 2 0 1 4 0 1 0 1
T (S1 ) = = c1 + c2 + c3 + c4
2 3 0 3 0 1 3 2 2 0
This gives us the system:
• 2c1 + c2 = 2
• 4c2 + c3 + c4 = 3
• 3c3 + 2c4 = 2
• 3c1 + c2 + 2c3 = 3
Solving: c1 = 1, c2 = 0, c3 = 0, c4 = 1
T (S1 ) = 1 · S1 + 0 · S2 + 0 · S3 + 1 · S4
T (S2 ) = 0 · S1 + 1 · S2 + 0 · S3 + 1 · S4
T (S3 ) = 1 · S1 + 0 · S2 + 1 · S3 + 0 · S4
T (S4 ) = 1 · S1 + 0 · S2 + 0 · S3 + 0.5 · S4
24
Example 6
Find the matrix representation of the L.T. T : R3 → R3 defined by
Solution:
Given Information
• Linear transformation T : R3 → R3
• T (x, y, z) = (2x − 3y + 4z, 5x − y + 2z, 4x + 7y)
25
Final Answer
2 −3 4 0 7 4 4 7 0
[T ]α = 5 −1 2 [T ]β = 2 −1 5 [T ]βα = 5 −1 2
4 7 0 4 −3 2 2 −3 4
The key difference is that β has a different ordering of the standard basis vectors, which affects how
we express the transformation results as coordinate vectors.
Exercises
1. Let T : R2 → R3 be the linear transformation defined by
T (x, y) = (x + 2y, 0, 2x + 3y) ∀x, y ∈ R.
Find the associated matrix for T w.r.t the standard bases.
Ans:
1 2
[T ]βα = 0 0
2 3
2. Find the matrix representations [T ]α , [T ]β and [T ]βα of each of the following linear transformations T
of R3 with respect to the standard basis α = {e1 , e2 , e3 }, and β = {e3 , e2 , e1 }:
Let α and β be the standard bases for R4 and R3 , respectively. Find [T ]βα .
4. Let T : R3 → R2 be defined by T (x, y, z) = (3x + 2y − 4z, x − 5y + 3z).
Find [T ]βα for α = {(1, 1, 1), (1, 1, 0), (1, 0, 0)} &
β = {(1, 3), (2, 5)}.
26
Problem (Analogue to 6.1.8)
Let
2 −1 3 0 5
B=[ ]
1 0 −2 4 1
. Compute the preimage under S of (9, 2); that is, find all x ∈ R5 such that S(x) = (9, 2).
Solution
Matrix multiplication:
2
1
2 −1 3 0 5
S(2, 1, −1, 0, 3) = [ ] −1
1 0 −2 4 1
0
3
First row:
2 ⋅ 2 + (−1) ⋅ 1 + 3 ⋅ (−1) + 0 ⋅ 0 + 5 ⋅ 3 = 4 − 1 − 3 + 0 + 15 = 15
Second row:
1 ⋅ 2 + 0 ⋅ 1 + (−2) ⋅ (−1) + 4 ⋅ 0 + 1 ⋅ 3 = 2 + 0 + 2 + 0 + 3 = 7
So,
2 −1 3 0 5 ∣ 9
[ ]
1 0 −2 4 1 ∣ 2
Let's solve:
Let x2 = a, x4 = b, x5 = c be free variables.
Express x1 and x3 in terms of a, b, c:
From equation 2:
x1 − 2x3 + 4b + c = 2 ⟹ x1 = 2 + 2x3 − 4b − c
From equation 1:
2x1 − a + 3x3 + 5c = 9
4 + 4x3 − 8b − 2c − a + 3x3 + 5c = 9
4 + 7x3 − 8b + 3c − a = 9
7x3 − 8b + 3c − a = 5
5 + 8b − 3c + a
x3 =
7
Now back to x1 :
x1 = 2 + 2x3 − 4b − c
Substitute for x3 :
5 + 8b − 3c + a 10 + 16b − 6c + 2a
x1 = 2 + 2 ( ) − 4b − c = 2 + − 4b − c
7 7
Combine:
14 10 + 16b − 6c + 2a 24 + 16b − 6c + 2a
x1 = + − 4b − c = − 4b − c
7 7 7
So the general solution is:
24 + 16b − 6c + 2a
x1 = − 4b − c
7
x2 =a
5 + 8b − 3c + a
x3 =
7
x4 =b
x5 =c
where a, b, c ∈ R.
24 + 16b − 6c + 2a
x1 = − 4b − c
7
x2 =a
5 + 8b − 3c + a
x3 =
7
x4 =b
x5 =c
Definition
Let dim V = n and dim W = m with fixed ordered bases α and β respectively. Then L(V ; W ) can be
identified with the vector space Mm×n (R) of all (m × n) matrices, so that
Thoerem 1
Let V and W be vector spaces with ordered bases α and β, respectively, and let S, T : V → W be linear.
Then we have
[S + T ]βα = [S]βα + [T ]βα and [kS]βα = k[S]βα .
Theorem 2
Let V , W and Z be vector spaces and S : V → W , T : W → Z are linear transformations, then the
composition (T ◦ S) : V → Z is also linear.
Theorem 3
Let V , W and Z be V.S. with ordered bases α, β and γ respectively. Suppose that S : V → W and
T : W → Z are linear transformations then
Theorem 4
Let V and W be vector spaces with ordered bases α and β, respectively, and let T : V → W be an
isomorphism. Then
[T −1 ]α β −1
β = ([T ]α ) .
Example 1
Let α be the standard basis for R3 , and let S, T : R3 → R3 be two linear transformations given by
1
Solution:
Step 1: Find the matrix representations [S]α and [T ]α .
Since α is the standard basis for R3 , the columns of [S]α are the images of the standard basis vectors
under S:
2 0 −1
[S]α = 2 1 2
1 2 1
Similarly, the columns of [T ]α are the images of the standard basis vectors under T :
1 0 1
[T ]α = 0 1 1
1 1 2
Step 2: Compute [S + T ]α .
By Theorem 1, [S + T ]α = [S]α + [T ]α :
2 0 −1 1 0 1 3 0 0
[S + T ]α = 2 1
2 + 0 1 1 = 2 2 3
1 2 1 1 1 2 2 3 3
Therefore:
3 2 0
[T ◦ S]α = 3 3 3
6 5 3
Example 2
Let S, T : R2 → R2 be defined by
Let α = {(1, 1), (1, 2)} be any basis for R2 , then find [S + T ]α , [S ◦ T ]α and [2T − 3S]α .
Solution:
Step 1: Find the images of the basis vectors under S and T .
For S:
2
For T :
T (1, 1) = (1, 1 + 2(1)) = (1, 3)
T (1, 2) = (2, 1 + 2(2)) = (2, 5)
Step 2: Express the images as linear combinations of the basis vectors.
We need to express each image vector as c1 (1, 1) + c2 (1, 2) = (c1 + c2 , c1 + 2c2 ).
For S(1, 1) = (4, 2):
c1 + c2 = 4
c1 + 2c2 = 2
Subtracting: −c2 = 2, so c2 = −2 and c1 = 6. Therefore, S(1, 1) = 6(1, 1) − 2(1, 2).
For S(1, 2) = (7, 2):
c1 + c2 = 7
c1 + 2c2 = 2
Subtracting: −c2 = 5, so c2 = −5 and c1 = 12. Therefore, S(1, 2) = 12(1, 1) − 5(1, 2).
For T (1, 1) = (1, 3):
c1 + c2 = 1
c1 + 2c2 = 3
Subtracting: c2 = 2 and c1 = −1. Therefore, T (1, 1) = −1(1, 1) + 2(1, 2).
For T (1, 2) = (2, 5):
c1 + c2 = 2
c1 + 2c2 = 5
Subtracting: c2 = 3 and c1 = −1. Therefore, T (1, 2) = −1(1, 1) + 3(1, 2).
Step 3: Construct the matrix representations.
6 12 −1 −1
[S]α = , [T ]α =
−2 −5 2 3
Step 4: Compute [S + T ]α .
By Theorem 1, [S + T ]α = [S]α + [T ]α :
6 12 −1 −1 5 11
[S + T ]α = + =
−2 −5 2 3 0 −2
Step 5: Compute [S ◦ T ]α .
By the composition theorem, [S ◦ T ]α = [S]α · [T ]α :
6 12 −1 −1
[S ◦ T ]α =
−2 −5 2 3
Therefore:
18 30
[S ◦ T ]α =
−8 −13
Step 6: Compute [2T − 3S]α .
By Theorem 1, [2T − 3S]α = 2[T ]α − 3[S]α :
−1 −1 6 12
[2T − 3S]α = 2 −3
2 3 −2 −5
−2 −2 18 36 −20 −38
= − =
4 6 −6 −15 10 21
Final Answers:
5 11
[S + T ]α =
0 −2
18 30
[S ◦ T ]α =
−8 −13
−20 −38
[2T − 3S]α =
10 21
3
Example 3
Let T : P2 (R) → P2 (R) be the linear transformation defined by T (f ) = (3+x)f ′ +2f , and S : P2 (R) → R3
defined by S(a + bx + cx2 ) = (a − b, a + b, c). For a basis α = {1, x, x2 } for P2 (R) and the standard basis
β = {e1 , e2 , e3 } for R3 , compute [S]βα , [T ]α , and [S ◦ T ]βα .
Solution:
Step 1: Compute [S]βα .
We need to find S(1), S(x), and S(x2 ):
Therefore:
1 −1 0
[S]βα = 1 1 0
0 0 1
Step 2: Compute [T ]α .
We need to find T (1), T (x), and T (x2 ):
Therefore:
2 3 0
[T ]α = 0 3 6
0 0 4
Step 3: Compute [S ◦ T ]βα .
By the composition theorem, [S ◦ T ]βα = [S]βα · [T ]α :
1 −1 0 2 3 0
[S ◦ T ]βα = 1 1 0 0 3 6
0 0 1 0 0 4
Therefore:
2 0 −6
[S ◦ T ]βα = 2 6 6
0 0 4
Example 4
For the vector spaces P1 (R) and R2 , choose the bases α = {1, x} for P1 (R) and β = {e1 , e2 } for R2 ,
respectively. Let T : P1 (R) → R2 be the linear transformation defined by T (a + bx) = (a, a + b).
1. Show that T is invertible.
2. Find [T ]βα and [T −1 ]α
β.
Solution:
Part (1): Show that T is invertible
To show that T is invertible, we first find its matrix representation [T ]βα and check if its determinant
is non-zero.
Step 1: Find [T ]βα .
We compute T applied to each basis vector in α:
4
Therefore:
1 0
[T ]βα =
1 1
Step 2: Check if T is invertible using determinant.
A linear transformation is invertible if and only if its matrix representation has a non-zero determinant.
β 1 0
det([T ]α ) = det = (1)(1) − (0)(1) = 1 ̸= 0
1 1
Since det([T ]βα ) = 1 ̸= 0, the transformation T is invertible.
Exercises
1. Let S, T : R3 → R3 and S(x, y, z) = (2x + 3y, x + y + z, 2z), T (x, y, z) = (y − 2z, x + 3z, 3x − 2y) with
α is a standard basis. Find [S + T ]α , [T ◦ S]α and [2S − T ]α .
2 3 0 0 1 −2
Solution: [S]α = 1 1 1, [T ]α = 1 0 3
0 0 2 3 −2 0
2. Let T : R3 → R3 is a linear transformation defined by T (x, y, z) = (2y + x, x − 4y, 3x + y). Find
[T ]α and [T ]β of α = {e1 , e2 , e3 } and β = {(1, 1, 1), (1, 1, 0), (1, 0, 0)}, where e1 , e2 , e3 are standard basis
in R3 .
1 2 0 4 4 3
Solution: [T ]α = 1 −4 0, [T ]β = −7 −7 −2
3 1 0 6 6 3
5
Change of Bases
Definition: Transition Matrix (Coordinate Change Matrix)
Let V be a finite-dimensional vector space with two ordered bases α = {v1 , v2 , . . . , vn } and β =
{w1 , w2 , . . . , wn }. The transition matrix (or coordinate change matrix) from basis α to basis β, de-
noted Pα→β , is the n × n matrix such that for any vector v ∈ V :
where [v]α and [v]β are the coordinate vectors of v with respect to bases α and β, respectively.
Pα→β = B −1 A
Properties:
1. Pα→β is always invertible (non-singular)
2. (Pα→β )−1 = Pβ→α
Example 1
Find the coordinate change matrix (transition matrix) from a basis α = {(2, 3, 1), (1, 2, 0), (2, 0, 3)} to
another basis β = {(1, 0, 1), (1, 1, 0), (0, 1, 1)}.
6
Solution:
Method - I
Given: α = {(2, 3, 1), (1, 2, 0), (2, 0, 3)} and β = {(1, 0, 1), (1, 1, 0), (0, 1, 1)}.
We need to find the transition matrix Pα→β such that for any vector v:
[v]β = Pα→β [v]α
Step 1: Express each vector in α as a linear combination of vectors in β.
We need to find coefficients such that:
(2, 3, 1) = c1 (1, 0, 1) + c2 (1, 1, 0) + c3 (0, 1, 1)
(1, 2, 0) = d1 (1, 0, 1) + d2 (1, 1, 0) + d3 (0, 1, 1)
(2, 0, 3) = e1 (1, 0, 1) + e2 (1, 1, 0) + e3 (0, 1, 1)
For (2, 3, 1):
c1 (1, 0, 1) + c2 (1, 1, 0) + c3 (0, 1, 1) = (2, 3, 1)
(c1 + c2 , c2 + c3 , c1 + c3 ) = (2, 3, 1)
This gives us the system:
c1 + c 2 = 2 (1)
c2 + c 3 = 3 (2)
c1 + c 3 = 1 (3)
From equations (1) and (3): c2 − c3 = 1. Combined with equation (2): c2 + c3 = 3. Adding:
2c2 = 4 ⇒ c2 = 2. Therefore: c3 = 1 and c1 = 0.
So (2, 3, 1) = 0(1, 0, 1) + 2(1, 1, 0) + 1(0, 1, 1).
For (1, 2, 0):
d1 (1, 0, 1) + d2 (1, 1, 0) + d3 (0, 1, 1) = (1, 2, 0)
(d1 + d2 , d2 + d3 , d1 + d3 ) = (1, 2, 0)
This gives us:
d1 + d2 = 1 (4)
d2 + d3 = 2 (5)
d1 + d3 = 0 (6)
From equations (4) and (6): d2 − d3 = 1. Combined with equation (5): d2 + d3 = 2. Adding:
2d2 = 3 ⇒ d2 = 23 . Therefore: d3 = 12 and d1 = − 12 .
So (1, 2, 0) = − 12 (1, 0, 1) + 32 (1, 1, 0) + 12 (0, 1, 1).
For (2, 0, 3):
e1 (1, 0, 1) + e2 (1, 1, 0) + e3 (0, 1, 1) = (2, 0, 3)
(e1 + e2 , e2 + e3 , e1 + e3 ) = (2, 0, 3)
This gives us:
e1 + e 2 = 2 (7)
e2 + e 3 = 0 (8)
e1 + e 3 = 3 (9)
From equations (7) and (9): e2 − e3 = −1. Combined with equation (8): e2 + e3 = 0. Adding:
2e2 = −1 ⇒ e2 = − 21 . Therefore: e3 = 12 and e1 = 25 .
So (2, 0, 3) = 52 (1, 0, 1) + (− 12 )(1, 1, 0) + 12 (0, 1, 1).
Step 2: Construct the transition matrix.
The transition matrix Pα→β has columns that are the coordinate representations of the α basis vectors
with respect to β:
0 − 12 5
2
3
Pα→β = 2 2 − 21
1 1
1 2 2
7
Method - II
Given: α = {(2, 3, 1), (1, 2, 0), (2, 0, 3)} and β = {(1, 0, 1), (1, 1, 0), (0, 1, 1)}.
The transition matrix from α to β is given by Pα→β = B −1 A, where:
• A is the matrix with α basis vectors as columns
• B is the matrix with β basis vectors as columns
Step 1: Form matrices A and B.
2 1 2 1 1 0
A = 3 2 0 , B = 0 1 1
1 0 3 1 0 1
Find B −1using the adjoint method.
Step 2:
1 1 0
For B = 0 1 1:
1 0 1
Determinant: Using the first row expansion:
1 1 0 1 0 1
det(B) = 1 −1 +0
0 1 1 1 1 0
= 1(1) − 1(−1) + 0 = 1 + 1 = 2
Cofactor Matrix:
1 1 0 1 0 1
0 −
1 1 1 1 0
1
1 1 −1
0 1 0 1 1
= −1
− 0
Cof(B) =
1 1 1
−
1 0 1 1
1
1 −1 1
0 1 0 1 1
−
1 1 0 1 0 1
Adjoint Matrix:
1 −1 1
adj(B) = [Cof(B)]T = 1 1 −1
−1 1 1
Inverse Matrix:
1
− 12 1
1 −1 1
1 1 2 2
B −1 = · adj(B) = 1 1 −1 = 21 1
2 − 12
det(B) 2
−1 1 1 − 12 1
2
1
2
Example 2
Find the transition matrix from a basis α = {(1, 0, 1), (1, 1, 0), (0, 1, 1)} to another basis β = {(2, 3, 1), (1, 2, 0), (2, 0, 3)}.
8
Solution:
The transition matrix from α to β is given by Pα→β = B −1 A, where:
2 0 3 0 3 2
det(B) = 2 −1 +2
0 3 1 3 1 0
Adjoint Matrix:
6 −3 −4
adj(B) = [Cof(B)]T = −9 4 6
−2 1 1
Inverse Matrix:
6 −3 −4 −6 3 4
1 1
B −1 = · adj(B) = −9 4 6 = 9 −4 −6
det(B) −1
−2 1 1 2 −1 −1
Example 3
Let T : R2 → R2 be defined by T (x, y) = (3x + y, x − 2y). Find the transition matrix from the standard
basis α = {(1, 0), (0, 1)} to the basis β = {(1, 1), (2, −1)} for the matrix representation of T .
9
Solution:
To compute: Pα→β = B −1 A:
1 0 1 2
A= , B=
0 1 1 −1
Find B −1 :
det(B) = (1)(−1) − (2)(1) = −3
1 2
1 −1 −2
B −1 = = 31 3
−3 −1 1 3 − 13
Therefore: 1 2
1 2
3 3 1 0
Pα→β = 1 = 13 3
3 − 13 0 1 3 − 31
Example 4
In P2 (R), find the transition matrix from basis α = {1, x, x2 } to basis β = {1 + x, x + x2 , 1 + x2 }.
Solution:
Given:
1 0 0 1 0 1
A = 0 1 0 , B = 1 1 0
0 0 1 0 1 1
Find B −1 using adjoint method:
1 0 1 1
det(B) = 1 −0+1 = 1(1) + 1(1) = 2
1 1 0 1
Cofactor matrix:
1 −1 1
Cof(B) = 1 1 −1
−1 1 1
1 1
− 21
1 1 −1
1 2 2
B −1 = −1 1 1 = −2
1 1
2
1
2
2 1
1 −1 1 2 − 21 1
2
Therefore:
1 1
− 21
2 2
Pα→β = − 1 1 1
2 2 2
1
2 − 12 1
2
Example 5
In M2×2 (R), find the transition matrix from the standard basis
1 0 0 1 0 0 0 0
α= , , ,
0 0 0 0 1 0 0 1
to basis
1 1 1 0 0 1 0 0
β= , , ,
0 0 1 0 1 0 1 1
10
Solution:
Converting matrices to vectors using the standard vectorization (row-wise):
1 0 0 0 1 1 0 0
0 1 0 0 1 0 1 0
A= 0 0 1 0 , B = 0 1 1 0
0 0 0 1 0 0 1 1
Find B −1 :
0 1 0 1 1 0
det(B) = 1 1 1 0 −1 0 1 0 = 1(−1) − 1(1) = −2
0 1 1 0 1 1
Use Gauss-Jordan method to compute inverse:
0 − 21 1
2 0
−1 1 1
0
B −1 = 2 2
1 0 −1 0
1
0 2 − 21 1
Therefore:
− 21 1
0 2 0
−1 1 1
−1 2 2 0
Pα→β =B A=
1 0 −1 0
1
0 2 − 12 1
Example 6
Consider the linear transformation T : P2 (R) → R3 defined by T (a + bx + cx2 ) = (a + b, b + c, a + c). Find
the transition matrix for changing from basis α = {1, x, x2 } in P2 (R) to basis β = {1 + x, x − x2 , 1 + x2 }
in P2 (R) for the domain, while using the standard basis in R3 for the codomain.
Solution:
For the domain transformation from α to β in P2 (R):
1 0 0 1 0 1
A = 0 1 0 , B = 1 1 0
0 0 1 0 −1 1
Find B −1 :
1 0 1 1
det(B) = 1 −0+1 = 1(1) + 1(−1) = 0 + 2 = 2
−1 1 0 −1
1
− 21 − 21
1 −1 −1
1 2
B −1 = −1 1 1 = − 12 1
2
1
2
2 1 1 1
−1 1 1 −2 2 2
This matrix transforms coordinate vectors in the α basis to coordinate vectors in the β basis for
polynomials in P2 (R).
11
Exercises
1. In R3 , find the transition matrix from basis α = {(1, 2, 1), (0, 1, 2), (2, 0, 1)} to basis β = {(1, 1, 0), (0, 1, 1), (1, 0, 2)}.
2. In the vector space P3 (R) of polynomials of degree at most 3, find the transition matrix from the
standard basis α = {1, x, x2 , x3 } to the basis β = {1 + x, 1 − x, x2 + x3 , x2 − x3 }.
3. Consider the vector space M2×2 (R) of all 2 × 2 matrices. Find the transition matrix from the
standard basis
1 0 0 1 0 0 0 0
α= , , ,
0 0 0 0 1 0 0 1
to the basis
1 1 1 0 0 1 1 1
β= , , ,
1 0 0 1 1 1 0 1
1 − 13
1
4
Pα→β = 1
3 −1
1
0 3 1
Solution 2:
For α = {1, x, x2 , x3 } and β = {1 + x, 1 − x, x2 + x3 , x2 − x3 }:
Using coordinate representations:
1 0 0 0 1 1 0 0
0 1 0 0 1 −1 0 0
A= 0 0 1 0 , B = 0 0
1 1
0 0 0 1 0 0 1 −1
1 1 1 1
det(B) = · = (−2)(−2) = 4
1 −1 1 −1
1
− 2 − 12
−2 −2 0 0 0 0
1−2 1 1
B −1
=
2 0 0 = − 2 2 0 0
4 0 0 −2 −2 0 0 − 2 − 12
1
0 0 −2 2 0 0 − 21 1
2
1
− 21
−2 0 0
− 1 1
0 0
Pα→β = 2 2
0 0 − 12 − 21
0 0 − 12 1
2
12
Solution 3:
Converting matrices to vectors (row-wise vectorization):
1 0 0 0 1 1 1 0
0 1 0 0 1 0 0 1
A= 0 0 1 0 , B = 0
1 1 1
0 0 0 1 1 1 0 1
det(B) = −2
0 0 2 0 0 0 −1 0
1 0 −2 0 2 0 1 0 −1
B −1 =− =
2 2
0 −2 0 −1 0 1 0
−2 2 0 0 1 −1 0 0
0 0 −1 0
0 1 0 −1
Pα→β =
−1
0 1 0
1 −1 0 0
13
Similarity of Linear Transformation
Definition
Let A and B be two square matrices. Then we say that A is similar to B if there exists a non-singular
matrix P such that
B = P −1 AP.
Note:
[T ]α = [Id]α β
β [T ]β [Id]α
[T ]β = [Id]βα [T ]α [Id]α
β
= P −1 [T ]α P
Example 1
If T : R3 → R3 be the linear transformation defined by T (x1 , x2 , x3 ) = (2x1 + x2 , x1 + x2 + 3x3 , −x2 )
and α = (e1 , e2 , e3 ) is the standard basis and β = {(−1, 0, 0), (2, 1, 0), (1, 1, 1)} is any ordered basis. Find
[T ]α and hence [T ]β = P −1 [T ]α P .
Solution:
Step 1: Find [T ]α (matrix representation with respect to standard basis).
Apply T to each standard basis vector:
Therefore:
2 1 0
[T ]α = 1 1 3
0 −1 0
Step 2: Find the transition matrix P from β to α.
The transition matrix P has the basis vectors of β as its columns:
−1 2 1
P = 0 1 1
0 0 1
Cofactor Matrix:
1 0 0
Cof(P ) = −2 −1 0
1 1 −1
Adjoint Matrix:
1 −2 1
adj(P ) = [Cof(P )]T = 0 −1 1
0 0 −1
Inverse Matrix:
1 −2 1 −1 2 −1
1 1
P −1 = · adj(P ) = 0 −1 1 = 0 1 −1
det(P ) −1
0 0 −1 0 0 1
14
Step 4: Calculate [T ]β = P −1 [T ]α P .
First, compute [T ]α P :
2 1 0 −1 2 1 −2 5 3
[T ]α P = 1 1 3 0 1 1 = −1 3 5
0 −1 0 0 0 1 0 −1 −1
Final Answer:
2 1 0
[T ]α = 1 1 3
0 −1 0
0 2 8
[T ]β = P −1 [T ]α P = −1 4 6
0 −1 −1
Verification of Similarity: The matrices [T ]α and [T ]β are similar because [T ]β = P −1 [T ]α P , where
P is the non-singular transition matrix from basis β to the standard basis α.
Example 2
Let β = {v1 , v2 , v3 } be a basis for R3 consisting of v1 = (1, 1, 0), v2 = (1, 0, 1) and v3 = (0, 1, 1). Let T
be the linear transformation on R3 given by the matrix
2 1 −1
[T ]β = 1 2 3 .
−1 1 1
Let α = {e1 , e2 , e3 } be the standard basis. Find the transition matrix [Id]βα (or Pα→β ) and [T ]α .
Solution:
Using the similarity relationship between matrix representations in different bases:
[T ]α = P [T ]β P −1
where P = [Id]αβ (or Pβ→α ) is the transition matrix from basis β to standard basis α.
Step 1: Find the transition matrix P = [Id]α β.
The transition matrix P has the basis vectors of β as its columns:
1 1 0
P = [Id]α
β = 1 0 1
0 1 1
15
Adjoint Matrix:
−1 −1 1
adj(P ) = [Cof(P )]T = −1 1 −1
1 −1 −1
Inverse Matrix:
1 1
− 12
−1 −1 1
1 1 2 2
P −1 = · adj(P ) = −1 1 −1 = 12 − 21 1
2
det(P ) −2
1 −1 −1 − 12 1
2
1
2
Therefore:
1 1
− 12
2 2
Pα→β = [Id]βα = P −1 = 1
2 − 21 1
2
− 21 1
2
1
2
Step 3: Calculate [T ]α = P [T ]β P −1 .
First, compute [T ]β P −1 :
1 1
− 21
2 1 −1 2 2
[T ]β P −1 = 1 2 3 12 − 12 1
2
−1 1 1 − 12 1
2
1
2
2 0 −1
= 0 1 2
− 21 − 12 3
2
Example 3
Let D be the differential operator on the vector space P2 (R). Given two ordered bases α = {1, x, x2 } and
β = {1, 2x, 4x2 − 2} for P2 (R). Find [D]α and [D]β .
Solution:
Step 1: Find [D]α (matrix representation with respect to standard basis α).
Apply the differential operator D to each basis vector in α:
D(1) = 0 = 0 · 1 + 0 · x + 0 · x2
D(x) = 1 = 1 · 1 + 0 · x + 0 · x2
D(x2 ) = 2x = 0 · 1 + 2 · x + 0 · x2
16
Therefore:
0 1 0
[D]α = 0 0 2
0 0 0
Step 2: Find [D]β (matrix representation with respect to basis β).
Apply the differential operator D to each basis vector in β:
D(1) = 0 = 0 · 1 + 0 · 2x + 0 · (4x2 − 2)
D(2x) = 2 = 2 · 1 + 0 · 2x + 0 · (4x2 − 2)
D(4x2 − 2) = 8x = 0 · 1 + 4 · 2x + 0 · (4x2 − 2)
Therefore:
0 2 0
[D]β = 0 0 4
0 0 0
Step 3: Find the transition matrix Q from β to α and verify the similarity relationship.
To find the transition matrix Q = [Id]α
β , we express each vector in β in terms of the basis α:
1 = 1 · 1 + 0 · x + 0 · x2
2x = 0 · 1 + 2 · x + 0 · x2
4x2 − 2 = −2 · 1 + 0 · x + 4 · x2
Therefore:
1 0 −2
Q = [Id]α
β = 0 2 0
0 0 4
Step 4: Find Q−1 using the adjoint method.
Since Q is an upper triangular matrix, we can find its inverse more easily. For this particular matrix:
Determinant:
det(Q) = 1 · 2 · 4 = 8
For upper triangular matrices, the inverse can be computed directly:
1 0 12
4 0 2
1
Q−1 = [Id]βα = 0 2 0 = 0 12 0
4
0 0 1 0 0 14
17
Exercises
1. Let T : R3 → R3 be the linear transformation defined by
Let α be the standard basis, and let β = {v1 , v2 , v3 } be another ordered basis consisting of v1 =
(1, 0, 0), v2 = (1, 1, 0), and v3 = (1, 1, 1) for R3 . Find the associated matrix of T with respect to α and
the associated matrix of T with respect to β. Are they similar?
18