Chapter 5
Chapter 5
TECHNOLOGY
——————–o0o——————–
ALGEBRA
Hanoi - 2022
1 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Chapter 5: Linear Mappings
5 5.5 Diagonalization
2 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Chapter 5: Linear Mappings
5 5.5 Diagonalization
3 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
5.1.1 Definition
Definition
Let V and W be vector spaces. A mapping f : V → W is called a
linear mapping if it satisfies the following two conditions:
1) f (u + v) = f (u) + f (v) for all u, v ∈ V .
2) f (αu) = αf (u) for all α ∈ R and all u ∈ V .
4 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Example 1.
Zero mapping:
θ:V →W
u 7→ θ(u) = 0
Identity mapping:
IdV : V → V
u 7→ IdV (u) = u
5 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
5.1.2 Properties
Theorem 5.1
A mapping f : V → W is linear if and only if for all u, v ∈ V and all
α, β ∈ R,
f (αu + βv) = αf (u) + βf (v).
is linear.
6 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Theorem 5.2
If f : V → W is a linear mapping, then
1) f (0) = 0.
2) f (α1 v1 + α2 v2 + . . . + αn vn ) = α1 f (v1 ) + α2 f (v2 ) + . . . + αn f (vn )
for all α1 , α2 , . . . , αn ∈ R and all v1 , v2 , . . . , vn ∈ V .
7 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Theorem 5.3
Let V and W be vector spaces and let {v1 , v2 , . . . , vn } be a basis of V .
Given any vectors u1 , u2 , . . . , un in W , there exists a unique linear
mapping f : V → W such that
8 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
5.1.3 Operations on Linear Mappings
9 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Theorem 5.4
1) Hom(V, W ) is a vector space with the above operations of addition
and scalar multiplication.
2) If V and W are of finite dimension, then
10 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Let U, V and W be vector spaces. If f : U → V, g : V → W are
linear mappings, then the g ◦ f is also a linear mapping.
Let End(V ) denote the set of all endomorphisms of V .
For any f ∈ End(V ), we define
11 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Example 4. Let f : R2 → R2 be a linear mapping defined by
12 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Chapter 5: Linear Mappings
5 5.5 Diagonalization
13 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Theorem 5.5
Let f : V → W be a linear mapping. Then
1) If V1 is a subspace of V , then f (V1 ) is a subspace of W .
If S is a spanning set of V1 , then f (S) is a spanning set of f (V1 ).
Therefore, dim f (V1 ) ≤ dim V1 .
2) If W1 is a subspace of W , then f −1 (W1 ) is a subspace of V .
14 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Definition
Let f : V → W be a linear mapping. Then the kernel of f , denoted by
Kerf , and the image of f , denoted by Imf , are defined as follows
15 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Theorem 5.6
Let f : V → W be a linear mapping. If Kerf and Imf are both finite
dimensional, then V is also finite dimensional and
16 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Chapter 5: Linear Mappings
5 5.5 Diagonalization
17 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
5.3.1 Monomorphisms
Definition
A linear mapping is called a monomorphism if it is injective.
Theorem 5.7
Let f : V → W be a linear mapping. The following propositions are
equivalent.
1) f is a monomorphism.
2) Kerf = {0}.
3) The image of a linearly independent set of vectors in V is a
linearly independent set of vectors in W .
4) rank(f ) = dim V .
18 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
5.3.2 Epimorphisms
Definition
A linear mapping is called a epimorphism if it is surjective.
Theorem 5.8
Let f : V → W be a linear mapping. The following propositions are
equivalent.
1) f is an epimorphism.
2) The image of a spanning set of V is a spanning set of W .
3) rank(f ) = dim W .
19 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
5.3.3 Isomorphisms
Definition
A linear mapping is called an isomorphism if it is bijective.
The vector spaces V and W are called isomorphic if there exists an
isomorphism f : V → W .
Theorem 5.9
The vector spaces V and W are isomorphic if and only if
dim V = dim W
20 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Theorem 5.10
Suppose that f : V → W is a linear mapping and dim V = dim W .
Then the following propositions are equivalent.
1) f is isomorphic.
2) f is monomorphic.
3) f is epimorphic.
is an isomorphism.
21 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Chapter 5: Linear Mappings
5 5.5 Diagonalization
22 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
5.4.1 Matrix of a Linear Mapping
Definition
Let B = {e1 , . . . , en }, B ′ = {ω1 , . . . , ωm } be bases of vector spaces
V, W , respectively and let f : V → W be a linear mapping.
The matrix whose jth column is formed by the coordinates of
f (ej ) in the basis B ′ (j = 1, . . . , n) is called the matrix of f with
′
respect to the bases B and B ′ , denoted by [f ]B B .
The matrix of f with respect to the standard bases of V and W is
called the standard matrix of f .
If f is an endomorphism of V , then the matrix of f with respect to
the basis B is denoted by [f ]B .
23 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Express the vectors f (ej ), j = 1, . . . , n, as linear combinations of
ω1 , . . . , ω m .
24 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Example 7. Find the standard matrix of the linear mapping
f : R3 → R2 defined by
25 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Remark: The standard matrix of the linear mapping f : Rn → Rm
defined by
is
a11 a12 ... a1n
a21 a22 ... a2n
A= .
.. ..
.. . ... .
am1 am2 . . . amn
26 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Theorem 5.11
Let V, W be two vector spaces of dimension n and m respectively.
Suppose that B is a basis of V , B ′ is a basis of W . Then the mapping
Hom(V, W ) → Mm×n
′
f 7→ [f ]B
B
27 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Theorem 5.12
Let B, B ′ , B ′′ be bases of vector spaces U, V, W respectively. If
f : U → V, g : V → W are linear mappings, then the matrix of g ◦ f
with respect to the bases B and B ′′ is
′′ ′′ ′
[g ◦ f ]B B B
B = [g]B ′ [f ]B
28 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Theorem 5.13
Let B be a basis of a vector space V of dimension n. Then the mapping
End(V ) → Mn
f 7→ [f ]B
29 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Corollary 1.
Let f ∈ End(V ) and A = [f ]B . Then f is an isomorphism if and only if
A is invertible and the matrix of f −1 with respect to B is
[f −1 ]B = A−1
Corollary 2.
Let f ∈ End(V ). If p(t) = a0 + a1 t + . . . + an tn is a polynomial of
degree n, then the matrix of p(f ) with respect to B is
p(A) = a0 I + a1 A + . . . + an An .
30 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Example 9. Let f : R3 → R3 be the linear mapping defined by
31 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
5.4.2 Matrices of a Linear Mapping with respect to
Different Bases
Theorem 5.14
Let P be the transition matrix from a basis B1 to a basis B1′ in V , and
let Q be the transition matrix from a basis B2 to a basis B2′ in W .
Then for any linear mapping f : V → W ,
B′
[f ]B2′ = Q−1 [f ]B2
B1 P
1
[f ]B ′ = P −1 [f ]B P.
32 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Example 10. Let f : R3 → R2 be the linear mapping defined by
f (x, y, z) = (x + y + z, x + y − z).
Definition
Two matrices A, B are called similar if there exists an invertible matrix
P such that B = P −1 AP .
33 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Remark:
The two matrices of an endomorphism with respect to two
different bases are similar.
If A, B are similar, then det A = det B.
Definition
Let B be a basis of a vector space V and f ∈ End(V ). The determinant
of f , denoted by det f , is the determinant of the matrix [f ]B .
34 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
5.4.3 Coordinates Formula of a Linear Mapping
Suppose that
f : V → W is a linear mapping,
B = {e1 , ..., en } is a basis of V ,
B ′ = {ω1 , ..., ωm } is a basis of W .
If (v)B = (x1 , x2 , . . . , xn ), (f (v))B ′ = (y1 , y2 , . . . , ym ) and
′
[f ]B
B = [aij ]m×n , then
y1 a11 a12 . . . a1n x1
y2 a21 a22 . . . a2n x2
.. = ..
.. .. ..
. . . ... . .
ym am1 am2 . . . amn xn
36 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Theorem 5.15
Let V and W be vector spaces with bases B and B ′ respectively. If
f : V → W is a linear mapping, then for all v ∈ V ,
′
[f (v)]B ′ = [f ]B
B [v]B
37 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Chapter 5: Linear Mappings
5 5.5 Diagonalization
38 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
5.5.1 Eigenvalues and Eigenvectors
Definition
Let A be a square matrix of order n.
A number λ is called an eigenvalue of A if there exist x1 , x2 , . . . , xn
not simultaneously equal to zero such that
x1 x1 x1 0
x2 x2 x2 0
A . = λ . or (A − λI) . = . (1)
.. .. .. ..
xn xn xn 0
39 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
3 5
Example 12. Let A = and v = (5, 1). We have
1 −1
3 5 5 20 5
= =4 ,
1 −1 1 4 1
Remark:
The eigenvectors corresponding to the eigenvalue λ are the
nonzero solutions to the homogeneous system (1).
The space of solutions to (1) is called the eigenspace corresponding
to the eigenvalue λ, denoted by Vλ .
40 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Definition
Let f be an endomorphism of a vector space V . A number λ is called
an eigenvalue of f if there exists a vector v ∈ V, v ̸= 0 such that
f (v) = λv.
41 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Definition
Let f be an endomorphism of a vector space V . For each λ ∈ R, denote
Theorem 5.16
1) λ is an eigenvalue of f if and only if Vλ ̸= {0}.
2) If λ is an eigenvalue of f , then every vector v in Vλ , v ̸= 0 is an
eigenvector corresponding to λ.
3) For all λ, the subspace Vλ is invariant to f , that is f (Vλ ) ⊆ Vλ .
42 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Remark: Suppose that f is an endomorphism of a vector space V , B
is a basis of V and A = [f ]B . Then
v ∈ V is an eigenvector of f corresponding to the eigenvalue λ if
and only if (v)B is an eigenvector of A corresponding to the
eigenvalue λ.
If V = Rn and B is the standard basis of Rn , then v is an
eigenvector of f corresponding to the eigenvalue λ if and only if it
is an eigenvector of A corresponding to the eigenvalue λ.
43 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
5.5.2 Characteristic Polynomials
Definition
Let A be a square matrix of order n. The determinant
is a polynomial of degree n of λ.
PA (λ) is called the characteristic polynomial of A.
Suppose that f is an endomorphism of a vector space V , B is a
basis of V and A = [f ]B . Then, the determinant
44 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Theorem 5.17
λ0 is an eigenvalue of A (resp. of f ) if and only if it is a solution to the
characteristic polynomial of A (resp. of f ).
45 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
5.5.3. Diagonalizable Endomorphisms and
Diagonalizable Matrices
Diagonal Matrix
An n × n matrix D is called a diagonal matrix if all its entries off the
main diagonal are zero, that is if D has the form
λ1 0 . . . 0
0 λ2 . . . 0
D= . .. = diag(λ1 , λ2 , . . . , λn )
.. . .
.. . . .
0 0 . . . λn
46 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Remark: If D = diag(λ1 , λ2 , . . . , λn ), E = diag(µ1 , µ2 , . . . , µn ), then
1) DE = diag(λ1 µ1 , λ2 µ2 , . . . , λn µn )
2) Dk = diag(λk1 , λk2 , . . . , λkn )
Definition
An endomorphism f of a vector space V is called diagonalizable if
there exists a basis B of V such that [f ]B is a diagonal matrix.
A square matrix A is called diagonalizable if there exists an
invertible matrix P such that P −1 AP is a diagonal matrix.
47 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Theorem 5.18
If v1 , v2 , . . . , vm are the eigenvectors corresponding to the distinct
eigenvalues λ1 , λ2 , . . . , λm of an endomorphism f (or a matrix A) then
{v1 , v2 , ..., vm } is linearly independent.
dim Vλi = mi , ∀i = 1, . . . , k
48 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Corollary 2. Let A be a square matrix of order n.
If the characteristic polynomial of A has n distinct real roots, then
A is diagonalizable.
If PA (λ) = (−1)n (λ − λ1 )m1 ...(λ − λk )mk , where
m1 + . . . + mk = n and λ1 , . . . , λk are distinct real numbers, then
A is diagonalizable if and only if
dim Vλi = mi , ∀i = 1, . . . , k.
49 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
5.5.4. Diagonalization Algorithm
PA (λ) = 0.
51 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings
Example 16. Let f : R3 → R3 be an endomorphism defined by
Find a basis of R3 such that the matrix of f with respect to this basis
is diagonal.
52 / 52
Nguyen Thi Minh Tam Chapter 5: Linear Mappings