Lecture Note Math 244
Lecture Note Math 244
andApplications
M244
MongiBlel
2025
King Saud University
College of Sciences
Department of Mathematics
M-244
CLASS NOTES
2025
1
Mongi BLEL
Professor
i
ii
Definition 1.2
• Two matrices A = (aj,k ) and B = (bj,k ) in Mm,n (R) are called equal
if aj,k = bj,k for all j, k
• A matrix in M1,n (R) is called a row matrix or a row n−vector.
• A matrix in Mm,1 (R) is called a column matrix or a column vector.
• If the entries of a matrix are zero, we denote this matrix (0) or 0
• A matrix in Mn,n (R) is called a square matrix of type n and Mn,n (R)
will be denoted by Mn (R)
• A square matrix A = (aj,k ) ∈ Mn (R) is called diagonal if aj,k = 0 if
iii
iv
1 0 0
̸ k, example A = 0 0
j= 0.
0 0 3
Definition 1.3
Example 1 :
2 3 −1 4 −2 3
If A = and B = , then
−1
1 3 2 −1 −2
6 1 2
A+B = .
1 0 1
Example 2 :
2 3 −1 4 6 −2
If A = , then 2A = .
0 1 5 0 2 10
3. Matrix Multiplication:
(a) If A ∈ M1,n (R) is a row
matrix,
A = (a1 , . . . , an ) and B ∈ Mn,1 (R)
b1
a column matrix, B = ... , we define the product A.B by: AB =
bn
a1 b1 + · · · + an bn .
v
This matrix is of type (1, 1) (one column and one row) and called
the inner product of A and B.
(b) If A = (aj,k ) ∈ Mm,n (R) and B = (bj,k ) ∈ Mn,p (R), then the
product AB is defined as AB = (cj,k ) ∈ Mm,p (R), where cj,k is the
inner product of the j th row of A and the k th column of B
n
X
cj,k = aj,ℓ bℓk .
ℓ=1
Example 3 :
0 1 −1
2 3 −1 7 3 7
If A = and B = 2 1 3 , then AB = .
0 1 5 −3 11 3
−1 2 0
Remarks 1 :
i.e. AB ̸= BA
1. The multiplication operation ofmatrixis not commutative
0 1 0 0
in general. For example A = and B = . Then AB =
0 0 1 0
1 0 0 0
and BA = .
0 0 0 1
0 1
2. If A = , then A2 = 0.
0 0
The matrix operations satisfy the following properties:
Theorem 1.4
1. A + B = B + A,
2. A + (B + C) = (A + B) + C,
3. a(A + B) = aA + aB,
4. (a + b)A = aA + bA,
5. (ab)A = a(bA),
6. A + 0 = A, where 0 is the null matrix in Mm,n (R).
7. Im A = A and AIn = A,
8. If D ∈ Mn,p (R), E ∈ Mp,q (R) and F ∈ Mr,m (R), then
A(DE) = (AD)E,
vi
9. (A + B)D = AD + BD,
10. F (A + B) = F A + F B,
Remark 2 :
Let A ∈ Mm,n (R) and B ∈ Mn,p (R). If B1 , . . . , Bp are the columns of B, then
the columns of AB are A.B1 , . . . , [Link] .
B1 B2 . . . B p AB1 AB2 . . . ABp
b b1,2 . . . b1,p c c1,2 . . . c1,p
1,1 1,1
If B = ... ..
.
..
.
.. , then AB = ..
. .
..
.
..
.
.. , where
.
bn,1 bn,2 . . . bn,p cm,1 cm,2 . . . cm,p
n
X
cj,k = aj,i bi,k .
i=1
2 Transpose of Matrices
Definition 2.1
Theorem 2.2
Definition 2.3
Definition 2.5
Definition 2.6
Definition 2.7
A matrix in Mm,n (R) is called in row echelon form if it has the following
properties:
A matrix in Mm,n (R) is called in reduced row echelon form if it has the
following properties:
Example 4:
1 −1 2
1. 0 1 3 is in row echelon form but is not reduced:
0 0 0
1 0 2
2. 0 1 5 is in reduced row echelon form:
0 0 0
1 −1 2
3. 0 1 5 is not in row echelon form.
3 0 0
Example 5 :
2 3 −1 2 3 −1
(−1)R1,2
3 1 2 −→ 1 −2 3
4 1 0 4 1 0
1 −2 3 1 −2 3
R1,2 (−2)R1,2 ,(−4)R1,3
−→ 2 3 −1 −→ 0 7 −7
4 1 0 0 9 −12
ix
1 1 −2 3 1 −2 3
7 R2 (−9)R2,3
−→ 0 1 −1 −→ 0 1 −1
0 9 −12 0 0 −3
1
− 31 R3
−2 3 1 −2 0 1 0 0
(−3)R3,1 ,1.R3,2 2R2,1
−→ 0 1 −1 −→ 0 1 0 −→ 0 1 0
0 0 1 0 0 1 0 0 1
Example6 :
2 −3 4 −2 0 2 −3 4 −2 0
3 −1 2 −3 2 1 2 −2 −1 2
(−1)R
−→
1,2
−2 −3 4 3 2 −2 −3 4 3 2
−3 1 0 3 1 −3 1 0 3 1
1 2 −2 −1 2 1 2 −2 −1 2
R1,2 2 −3 4 −2 0 (−2)R 1,2
0 −7 8 0 −4
−→ −2 −3 −→
4 3 2 −2 −3 4 3 2
−3 1 0 3 1 −3 1 0 3 1
1 2 −2 −1 2 1 2 −2 −1 2
2R1,3 ,3R1,4 0 −7 8 0 −4 0 1 0 1 6
−→ R2,3−→
,1R2,4
0 1 0 1 6 0 −7 8 0 −4
0 7 −6 0 7 0 0 2 0 3
1 2 −2 −1 2 1 2 −2 −7 2
7R2,3 0 1 0 1 6 R3,4 0 1 0 1 6
−→ 0 0 8
−→
7 38 0 0 2 0 3
0 0 2 0 3 0 0 8 7 38
1 2 −2 −1 2 1 2 −2 −1 2
1 1 0
(−4)R3,4 0 1 0 1 6 2 R3 , 7 R4 1 0 1 6
−→ −→
3
0 0 2 0 3 0 0 1 0 2
26
0 0 0 7 26 0 0 0 1 7
1 0 −2 −3 −10 1 0 0 −3 −7
(−2)R2,1 0 1 0 1 6 0 1 0 1 6
−→ 2R3,1
3 −→
3
0 0 1 0 0 0 1 0
2 2
26 26
0 0 0 1 7 0 0 0 1 7
29 29
1 0 0 0 7 1 0 0 0 7
3R4,1 0 16
1 0 1 6 (−1)R4,2 0 1 0 0
−→ 0
−→
3
7
3
0 1 0 2
0 0 1 0 2
26 26
0 0 0 1 7 0 0 0 1 7
x
1 2 −2 −1 2 7 14 −14 −7 14
(−4)R3,4 0 1 0 1 6 0 7 0 7 42
−→ 7R−→
1 ,7R2
0 0 2 0 3 0 0 2 0 3
0 0 0 7 26 0 0 0 7 26
7 14 −14 0 40 7 0 0 0 29
1.R4,1 ,−1R4,2 0 7 0 0 16 0 7 0 0 16
−→ 7R3,1 ,(−2)R
−→
2,1
0 0 2 0 3 0 0 2 0 3
0 0 0 7 26 0 0 0 7 26
1 0 0 0 29
7
1 1 1 1
7 R1 , 7 R2 , 2 R3 , 7 R4 0
1 0 0 16
−→ 0 0 1 0 3
7
2
0 0 0 1 26 7
Theorem 2.9
Each matrix is row equivalent to one and only one reduced echelon
matrix.
Example7 :
3 −2 7 0 7
1 −1 3 −1 4
Let A =
1
. We look for the reduced echelon form of A.
0 1 1 0
2 −2 6 0 7
xi
3 −2 7 0 7 1 0 1 1
0
1 −1 3 −1 4 R3,1 ,(−1)R1,2 0 −1 2 −2
4
−→
1 0 1 1 0 (−3)R1,3 ,(−2)R1,4 0 −2 4 −3
7
2 −2 6 0 7 0 −2 4 −2
7
1 0 1 1 0
(−2)R2,3 0 −1 2 −2 4
−→
0
(−1)R3,4 0 0 1 1
0 0 0 1 0
1 0 1 1 0
−R2 ,(−1)R3,4 0 1 −2 2 −4
−→
0 0 0 1 −1
0 0 0 0 1
1 0 1 0 0
(1)R4,3 ,(4)R4,2 0 1 −2 0 0
−→
0
(−2)R3,2 ,(−1)R3,1 0 0 1 0
0 0 0 0 1
Theorem 3.2
Example 8 :
Let A be a square matrix such that (A − I)2 = 0. Then A is invertible. Indeed:
(A − I)2 = A2 − 2A + I = 0 ⇐⇒ A(2I − A) = I. Then A is invertible and
A−1 = 2I − A.
Example 9 :
−4 7 2 3
Let B = and C = . We look for a matrix A of order 2 such
1 −2 1 1
−1
that B −1 A = C.
−1
−1 −1 −1
We have:
B A = C ⇐⇒ A B= C ⇐⇒ A = BC .
−1 3 11 −26
C −1 = and A = BC −1 = .
1 −2 −3 7
Definition 3.3
Remarks 3 :
1 −1 0 1 0 0
1. Let A = 2 1 3 and the elementary matrix E = 0 0 1
1 −2 1 0 1 0
which is the result of switching
the second
and the third rows of I3 .
1 −1 0
We have R2,3 A = EA = 1 −2 1.
2 1 3
1 0 2 3 1 0 0
2. Let A = 2 −1 3 6 and the elementary matrix E = 0 1 0 =
1 4 4 0 5 0 1
5R1,3 I3 .
1 0 2 3
We have 5R1,3 A = EA = 2 −1 3 6 .
6 4 14 15
In general we have
xiii
Theorem 3.4
Theorem 3.5
Proof .
1. Suppose R = rRj is the operation which multiplies the j th row of a
matrix by r ̸= 0. Let R′ = 1r Rj .
2. Suppose R = rRj,k is the operation which replaces row k by row k plus
r times row j, j ̸= k, then R′ = (−r)Rj,k
3. If R = Rj,k interchanges rows j and k, let R′ = R.
Corollary 3.6
Theorem 3.7
1. Let [B|C] be the reduced row echelon form of the matrix [A|I] ∈ Mn,2n (R).
2. If B = In , then C = A−1 .
3. If B ̸= In , the matrix A is not invertible.
Example 10 :
2 1 −1 1
If A satisfies (AT − 2I)−1 = , then AT − 2I = , AT =
3 1 3 −2
1 1 1 3
and A = .
3 0 1 0
Example11 :
0 21 − 12
Let A = 1 0 1
1
2 2 1
0 21 − 12 1 0 0
1 0 1 0 1 0
R1,2 ,R2,3 1
1 0 1 0 1 0 −→ 2
2 1 0 0 1
2 12 1 0 0 1 0 1
2 − 12 1 0 0
1 0 1 0 1 0 1 0 1 0 1 0
(−2)R1,2 (−1)R2,3
−→ 0 21 −1 0 −2 1 −→ 0 1
2 −1 0 −2 1
0 12 − 12 1 0 0 0 0 1
2 1 2 −1
1 0 1 0 1 0 1 0 0 −2 −3 2
2R2 ,2R3 (−1)R3,1 ,2R3,2
−→ 0 1 −2 0 −4 2 −→ 0 1 0 4 4 −2
0 0 1 2 4 −2 0 0 1 2 4 −2
−2 −3 2
Then the inverse matrix of A is the matrix 4 4 −2.
2 4 −2
0 21 − 12
−2 −3 2 1 0 0
1 0 1 4 4 −2 = 0 1 0
2 12 1 2 4 −2 0 0 1
xv
Example12 :
1 3 2 1
2 3 3 1
Let A =
3
.
3 4 2
1 1 1 1
1 3 2 1 1 0 0 0 1 3 2 1 1 0 0 0
2 3 3 1 0 1 0 0 0 −3 −1 −1 −2 1 0 0
−→ −→
3 3 4 2 0 0 1 0 0 −6 −2 −1 −3 0 1 0
1 1 1 1 0 0 0 1 0 −2 −1 0 −1 0 0 1
1 3 2 12 1 0 0 0 1 3 2 1 1 0 0 0
0 3 1 1 2 −1 0 0 0 1 0 1 1 −1 0 1
−→ −→
0 6 2 1 3 0 −1 0 0 0 0 −1 −1 2 −1 0
0 2 1 0 1 0 0 −1 0 2 1 0 1 0 0 −1
1 3 2 1 1 0 0 0 1 3 2 1 1 0 0 0
0 1 0 1 1 −1 0 1 0 1 0 0 0 1 −1 1
−→ −→
0 0 0 −1 −1 2 −1 0 0 0 0 1 1 −2 1 0
0 0 1 −2 −1 2 0 −3 0 0 1 0 1 −2 2 −3
1 3 2 1 1 0 0 0 1 0 0 0 −2 3 −2 3
0 1 0 0 0 1 −1 1 0 1 0 0 0 1 −1 1
−→ .
0 0 1 0 1 −2 2 −3 0 0 1 0 1 −2 2 −3
0 0 0 1 1 −2 1 0 0 0 0 1 1 −2 1 0
−2 3 −2 3
0 1 −1 1
The inverse matrix of the matrix A is
1 −2 2 −3
1 −2 1 0
1 1 1 1
0 1 1 1
Let A =
1
.
0 1 1
1 1 0 1
1 1 1 1 1 0 0 0 1 1 1 1 1 0 0 0
0 1 1 1 0 1 0 0 0 1 1 1 0 1 0 0
−→
1 0 1 1 0 0 1 0 0 −1 0 0 −1 0 1 0
1 1 0 1 0 0 0 1 0 0 −1 0 −1 0 0 1
1 0 0 0 1 −1 0 0 1 0 0 0 1 −1 0 0
0 1 1 1 0 1 0 0 0 0 0 1 −2 1 1 1
−→ −→
0 −1 0 0 −1 0 1 0 0 −1 0 0 −1 0 1 0
0 0 −1 0 −1 0 0 1 0 0 −1 0 −1 0 0 1
1 0 0 0 1 −1 0 0
0 1 0 0 1 0 −1 0
−→
0 0 1 0 1 0 0 −1
0 0 0 1 −2 1 1 1
1 −1 0 0
1 0 −1 0
Then A−1 = .
1 0 0 −1
−2 1 1 1
CHAPTER II
THE DETERMINANTS
We associate to any square matrix a number which is zero if and only if the
matrix is not invertible.
Example 13 :
1 2 3
1 2
If A = −1 2 −4 , then A2,3 =
.
2 −3
2 −3 4
Definition 1.2
a b
1. If A = , the determinant of A is defined by: |A| =
c d
a b
det(A) = = ad − bc.
c d
xvii
xviii
a b c
2. If A = d e f , the determinant of A is defined by:
g h i
a b c
e f d f d e
|A| = det(A) = d e f =a −b +c .
h i g i g h
g h i
Definition 1.3
3. If
a1,1 a1,2 ... a1,n
a2,1 a2,2 ... a2,n
A= ,
..
.
an,1 am,2 ... an,n
the determinant of A is defined by:
Example 14 :
4 5
1. The determinant of the matrix A = is
2 3
4 5
|A| = det(A) = = 4.3 − 5.2 = 2.
2 3
1 3 5
2. The determinant of the matrix A = 2 4 6 is
0 2 4
1 3 5
4 6 2 6 2 4
|A| = det(A) = 2 4 6 =1 −3 +5
2 4 0 4 0 2
0 2 4
xix
1 3 5
3. The determinant of the matrix A = 2 4 6 , is
0 2 4
1 3 5
4 6 2 6 2 4
|A| = det(A) = 2 4 6 =1 −3 +5 = 0.
2 4 0 4 0 2
0 2 4
Definition 1.4
Remark 4 :
1. If A is a square matrix of order n, the determinant of the matrix A is
equal to
n
X
detA = a1,j C1,j .
j=1
n
X n
X
detA = a1,j C1,j = ak,j Ck,j
j=1 j=1
Xn
= ak,j Ck,j .
k=1
Example 15 :
3 −4 0
If A = 0 7 6,
2 −6 1
3 −4 0 3 −4
detA = 0 7 6 0 7
2 −6 1 2 −6
= 3 · 7 · 1 + (−4) · 6 · 2 − (−6) · 6 · 3 = 81.
a1,1 . . . an,n .
Theorem 2.2
Example 16 :
1 3 2 2 1 3 2 1
2 3 3 1 (−2)R1,2 ,(−3)R1,3 0 −3 −1 −1
=
3 3 4 2 (−1)R1,4 0 −6 −2 −1
1 1 1 1 0 −2 −1 0
3 1 1
= − 6 2 1
2 1 0
3 1 1
(−1)R1,2 3 1
= − 3 1 0 =− = −1.
2 1
2 1 0
Example 17 :
xxii
1 −2 5 −2 −1 1 −2 5 −2 −1
−2 3 −1 1 0 0 −1 9 −3 −2
2R1,2 ,−3R1,3
3 −3 2 0 −1 = 0 3 −13 6 2
−1R1,4 ,−1R1,5
1 −1 2 1 −4 0 1 −3 3 −3
1 −2 4 −3 1 0 0 −1 −1 2
−1 9 −3 −2
3 −13 6 2
=
1 −3 3 −3
0 −1 −1 2
−1 9 −3 −2
3R1,2 ,1R1,3 0 14 −3 −4
=
0 6 0 −5
0 −1 −1 2
14 −3 −4 14 6 1
= 6 0 −5 = −3 0 1
1 1 −2 −4 −5 −2
14 6 1
(−1)R1,2 ,2R1,3 −17 −6
= −17 −6 0 = |
24 7
24 7 0
1R1,2 −17 −6
= = 25.
7 1
Example 18 :
1 1 1 1 1 1 1 1
1 −1 2 1 0 −2 1 0
=
1 0 1 1 0 −1 0 0
1 2 1 −2 0 1 0 −3
1 1 1
1 1
= 0 1 0 = = −3.
0 −3
0 0 −3
Example 19 :
1 a a2 1 a a2
1 b b2 = 0 b−a (b − a)(b + a)
1 c c2 0 c−a (c − a)(c + a)
1 b+a
= (b − a)(c − a)
1 c+a
= (b − a)(c − a)(c − b).
xxiii
Theorem 2.3
Theorem 2.4
Remarks 5 :
Theorem 3.2
Theorem 3.3
1
A−1 = adj(A).
detA
1
detA−1 = .
detA
Example 20 :
2 −1 1 1 1 1 1
1. A = , detA = 5, adj(A) = and A−1 = .
3 1 −3 2 5 −3 2
2 1 0
2. A = 1 −2 3, detA = −13
−1 0 2
T
−4 −5 −2 −4 −2 3
adj(A) = −2 4 −1 = −5 4 −6
3 −6 −5 −2 −1 −5
4 2 −3
1
and A−1 = 5 −4 6 .
13
2 1 5
3 1 1 1
1 3 1 1
1 1 3 1, detA = −24
3. A =
1 1 1 3
−20 −4 −4 −4
−4 −20 −4 −4
adj(A) =
−4 −4 −20 −4 ,
−4 −4 −4 −20
5 1 1 1
1 1 5 1 1
and A−1 =
6 1 1 5 1
1 1 1 5
Example 21 :
Let A, B be matrices of size (3, 3) such that A is not invertible and |B| = 2.
Find Aadj(A) + 2B −1 .
8
Aadj(A) = 0 and Aadj(A) + 2B −1 = = 4.
|B|
Example 22 :
xxv
3 1 2
If adj(A) = 0 3 2, find the matrix A.
−1 2 1
We have Aadj(A) = I3 , then A = |A|(adj(A))−1 and
|A| |adj(A)|
p = |A|3 , then |adj(A)| = |A|2 . Therefore
A = |adj(A)|(adj(A))−1 .
−1 3 −4
|adj(A)| = 1, the |A| = 1 and A = −2 5 −6
3 −7 9
Theorem 3.4
|adj(A)| = |A|n−1
1
(adj(A))−1 = A,
|A|
and
adj(adj(A)) = (detA)n−2 A.
Proof .
From the relation Aadj(A) = |A|In , we have |adj(A)| = |A|n−1 and (adj(A))−1 =
1
|A| A.
Let B = adj(A). We have: Badj(B) = |B|In = |A|n−1 In ,
adj(B) = |A|n−1 B −1 = |A|n−2 A and adj(adj(A) = (detA)n−2 A.
Remark 6 :
Let A ∈ Mn (R). The matrix A is invertible if and only if adj(A) is invertible.
1
If the matrix A is invertible, then A−1 = adj(A). Hence adj(A) is invertible.
|A|
Also, if the matrix adj(A) is invertible and the matrix A is not invertible, then
Aadj(A) = 0 and Aadj(A)(adj(A))−1 = 0.
Then A = 0 this is absurd, because if A = 0 then adj(A) = 0.
CHAPTER III
a1 x1 + . . . + an xn = b,
This linear system can be written more concisely as the vector equation:
AX = B, where
xxvii
xxviii
a1,1 a1,2 ··· a1,n b1 x1
a2,1 a2,2 ··· a2,n b2 x2
A= . .. , B = . , X = . .
.. ..
.. . . . .. ..
am,1 am,2 ··· am,n bm xn
Definition 1.2
Definition 1.3
Example 23 :
The following linear system with two variables
4x − y = 5
−7x + 2y = 3
can be interpreted as the intersection in the plane of the straight lines of equa-
tions respectively 4x − y = 5 and−7x + 2y= 3.
4 −1 x1 5
This system can also be written =
−7 2 x2 3
Example 24 :
The following linear system with three variables
x + y −3 z = 1
2x + y − z = 3
can be interpreted as the intersection in the space of the planes of equations
x + y − 3z = 1 and 2x + y − z = 3.
xxix
The solution of this system is {(2, 1, 0) + z(−2, −5, 1); z ∈ R}. This is the
equation of the line passing through the point A of coordinates (2, 1, 0) and
parallel of the vector v of coordinates (−2, −5, 1).
Example 25 :
1 −1 0 1 2
Consider the matrices A = and C = and we look for a
1 −2 1 2 3
matrix
of order (2,
3) such that AB = C.
x y z
If B = we find the following linear system:
t u v
x−t = 0
x − 2t = 1
y−u = 1
y − 2u = 2
z−v = 2
z − 2v = 3
Two linear systems are called equivalent if they have the same set of
solutions.
The basic strategy for solving a linear system is to replace one system with
an equivalent system (i.e., one with the same solution set) that is easier to
solve.
The following operations on a system of linear equations do not change the
solution set are:
Definition 1.5
Example 26 :
The augmented matrix associated to the linear system
x + 2y − z = 1
2x + y + 3z = 3
1 2 −1 1
is .
2 1 3 3
The elementary row operations on the augmented matrix of a system pro-
duce the augmented matrix of an equivalent system.
Example 27 :
Consider
the following linear system
x + 2y − z = −4
−x + y = −2
y−z = −4
The augmented matrix of the system is
1 2 −1 −4
−1 1 0 −2
0 1 −1 −4
xxxi
Give the relations between the numbers a, b and c so that the following linear
system
is consistent.
x + y + 2z = a
x+z = b
2x + y + 3z = c
1 1 2 a
The augmented matrix of the system is: 1 0 1 b .
2 1 3 c
1 1 2 a
A row echelon form of the augmented matrix is 0 1 1 a − b .
0 0 0 c−a−b
The system is consistent if and only if c − a − b = 0.
Example 30 :
Consider the following linear system
x + my + (m − 1)z = m+1
3x + 2y + mz = 3
(m − 1)x + my + (m + 1)z = m − 1
The determinant of the system is m2 (m − 4).
If m = 0, the augmented
matrix of
the system is:
1 0 −1 1 1 0 −1 1
3 2 0 3 . The matrix 0 1 3 0 is a row echelon form of the
2
−1 0 1 −1 0 0 0 0
augmented matrix of the system.
The system has an infinity of solutions {(1 + z, − 32 z, z); z ∈ R}.
1 4 3 5
1
If m = 4, a row echelon form of the augmented matrix is 0 1 2 0 .
0 0 0 12
The system is inconsistent.
Remarks 7 :
1. Any homogeneous linear system is consistent. 0 is a solution of the sys-
tem.
2. If X1 and X2 are solutions of the homogeneous system AX = 0, then
X1 + λX2 is also a solution of the linear system for all λ ∈ R.
xxxiii
Theorem 2.2
Theorem 2.3
Theorem 2.4
3 Crammer Method
Theorem 3.1
If A is an invertible
matrix,
then the linear system AX = B has a
x1
unique solution X = ... , with
xn
detA1 detAn
x1 = , . . . , xn = .
detA detA
where Aj the matrix obtained by replacing the j th column of A by the
column matrix B.
Example 31 :
xxxiv
3x − 2z = 2
Use Crammer method to solve the following system: −2x + 3y − 2z = 3
−5x + 4y − z = 1
3 0 −2 2 0 −2
|A| = −2 3 −2 = 1, |A1 | = 3 3 −2 = −8 = x,
−5 4 −1 1 4 −1
3 2 −2 3 0 2
|A2 | = −2 3 −2 = −13 = y, |A3 | = −2 3 3 = −13 = z.
−5 1 −1 −5 4 1
Example 32 :
x + 2y − z = −4
Consider the system −x + y = −2
y−z = −4
1 2 −1 −4
The augmented matrix of the system is −1 1 0 −2 and the matrix
0 1 −1 −4
1 0 0 1
0 1 0 −1 is the reduced echelon form of this matrix. Then the unique
0 0 1 3
1
solution of this system is −1.
3
Example 33 :
Consider
the system of linear equations:
x + my + (m − 1)z = m+1
3x + 2y + mz = 3
(m − 1)x + my + (m + 1)z = m − 1
The augmented matrix of the
system is:
1 m m−1 m+1
3 2 m 3 . This matrix is row equivalent to the matrix
m − 1 m m + 1 m −1
1 m m−1 m+1
0 2 − 3m 3 − 2m −3m .
0 m(2 − m) m(3 − m) m(1 − m)
If m = 0, the set of solutions is {(1 + z, − 23 z, z) : z ∈ R}.
If m ̸= 0, the augmented
matrix is row equivalent to the matrix
1 m m−1 m+1
0 2 1+2m
1 m .
0 0 m − 4 m+2 m
If m = 4, no solutions of the system and if m ̸= 4 and m ̸= 0, the system has
a unique solution.
Example 34 :
xxxv
Consider
the system of linear equations:
ax + by − 3z = −3
−2x − by + z = −1 . If (1, −1, 2) is a solution of the linear system, then
ax + 3y − cz = −1
a − b − 6 = −3
−2 + b + 2 = −1 ⇐⇒ b = −1, a = 2, c = 0. With these values of a, b, c,
a − 3 − 2c = −1
(1, −1, 2) is the unique solution of the linear system because the determinant
2 −1 −3
of the system −2 1 1 = 16 ̸= 0,
2 3 0
4 Exercises
Solve the following linear systems
x + 2y − z + t = 1
1. 3x − y + 5z − t = 2 .
5x + 3y + 3z + t = m
−2y + 3z = 0
2x − 4y + 2z = 1
2. ,
−x − 2y + 5z = 0
x − 2y = 1
x + 2y + z = 1
3. 2x + (a + 3)y + 3z = 3
x + (−a + 3)y + (a − 2)z = 0
2x − 3y = −2
4. 2x + y = 1
3x + 2y = 1
3x + 2y − z = −15
5x + 3y + 2z = 0
5.
3x + y + 3z = 11
11x + 7y = −30
4x − 8y = 12
6. 3x − 6y = 9
−2x + 4y = −6
x + y + 2z + t = 11
x + 2y + z + t = 9
7.
x + y + z + 2t = 6
2x + y + z + t = 14
1. Give conditions on the numbers a, b and c such that the following linear
system is consistent.
x + y + 2z = a
x+z = b
2x + y + 3z = c
2. that if ad −
Prove bc ̸= 0, the reduced row echelon form of the matrix
a b 1 0
is .
c d 0 1
Find a, b, c such that (1, −1, 2) is a solution of the following linear system:
1.
ax + by − 3z = −3
−2x − by + z = −1 .
ax + 3y − cz = −1
1 −2 0 1
1 −2 0 1
0 2 −3 0
trix is row equivalent to the matrix . The system is
0 0 1 −1
0 0 0 1
inconsistent.
1 1 2 8
3. The augmented matrix of the system is: −1 −2 1 1
3 −7 4 10
A row echelon form:
1 1 2 8
1R1,2 , −3R1,3 0 −1 3 9
0 −10 −2 −14
1 1 2 8
−R2 , 10R2,3 : 0 1 −3 −9
0 0 −32 −104
1 1 2 8
1
− 32 r3 : 0 1 −3 −9
0 0 1 134
1 0 5 17
(−1)R2,1 : 0 1 −3 −9
0 0 1 13 4
1 0 0 34
3R3,2 , (−5)R3,1 : 0 1 0 34 .
0 0 1 134
3 3 13
The solution is x = , y = , z = .
4 4 4
1 −1 2 −1 −1
2 1 −2 −2 −2
1. The augmented matrix of the system is:
−1
.
2 −4 1 1
3 0 0 −3 3
xxxviii
4 6 −2
• B = adj(A) = −1 0 1 and |A| = 2.
−2 −2 2
• A−1 = 12 B.
−1 1 2
A − B = −2 2 2
4 −2 −4
A(A − B) = 2I3 .
A−1 = 12 (A − B).
The augmented matrix of the system is
1 1 2 1 11 1 1 2 1 11 1 1 2 0 6
1
2 1 1 9 0
−→ 1 −1 0 −2 0
−→ 1 0 0 1
1 1 1 2 6 0 0 −1 1 −5 0 0 1 0 3
2 1 1 1 14 0 −1 −3 −1 −8 0 0 0 1 −2
Then x = 6, y = 1, z = 3, t = −2.
CHAPTER IV
A real vector space V is a non empty set whose elements are called
vectors and an operation (+) on the vectors called addition and scalar
multiplication (.) satisfying:
xli
xlii
Example 35 :
1. Rn is a vector space.
1. 0u = 0;
2. k0 = 0;
3. (−1)u = −u;
4. If ku = 0, then k = 0 or u = 0.
2 Vector Sub-Spaces
Definition 2.1
Theorem 2.2
Example 36 :
a b
1. The set F = { ; a, b ∈ R} is a sub-space of V = M2 (R).
0 2a − b
2. Let A ∈ Mm,n (R) be a matrix and F = {X ∈ Rn ; AX = 0}.
F is sub-space of V = Rn . F is the set of solutions of the homoge-
neous system AX = 0. F is also called the null space of A and denoted
nullspace(A).
3. The set F = {(x, x + 1); x ∈ R} is not a sub-space of R2 since (0, 0) ̸∈ F .
4. The set W = {A ∈ Mn : A = −AT } is a sub-space of Mn (R). (W is the
subspace of anti-symmetric matrices.)
Indeed: if A, B ∈ W and λ ∈ R, (A + B)T = AT + B T = −A − B and
(λA)T = λAT = −λA. Then W is a sub-space of Mn .
5. The set F = {A ∈ Mn : A = AT } is a sub-space of Mn (R). (F is the
subspace of symmetric matrices.)
6. The set E = {(x, y) ∈ R2 ; xy = 0} is not a sub-space since (1, 0) ∈ E
and (0, 1) ∈ E but (1, 0) + (0, 1) = (1, 1) ̸∈ E.
Definition 3.1
x1 v1 + . . . + xn vn ,
where x1 , . . . , xn ∈ R.
A vector space v ∈ V is a linear combination of the vectors v1 , . . . , vn if
there is x1 , . . . , xn ∈ R such that
v = x1 v1 + . . . + xn vn .
Example 37 :
xliv
1. The vector (4, 1, 1) is a linear combination of the vectors (1, 0, 2),(2, −1, 3),
(0, −1, 1) because (4, 1, 1) = −2(1, 0, 2) + 3(2, −1, 3) − 4(0, −1, 1).
2. The vector (1, 1, 2) is not a linear combination of the vectors (1, 0, 2),
(0, −1, 1) because the linear system (1, 1, 2) = x(1, 0, 2)+y(0, −1, 1) don’t
have a solution.
Theorem 3.2
Example 38 :
a b
1. Let F = { ; a, b ∈ R}.
0 2a −b
a b 1 0 0 1
= a +b . Then F is the sub-space of
0 2a − b 0 2 0 −1
1 0 0 1
V = M2 (R) spanned by , .
0 2 0 −1
4 −4 1
The system is not consistent because the second and the forth equations
can not be true in the same time. ((2a − 2b = 1, 4a − 4b = 1)).
The vector (a, 1, 1, b) ∈ Vect{v 1 , v2 } ifand only if the
linear
system AX =
1 1 a
2 −2
and B = 1. The system is
B is consistent with A = 3 3 1
4 −4 b
1
consistent and has a unique solution only if a = and b = 2.
3
xlv
Theorem 3.3
x1
Let A be the matrix of type (m, n) and let X = ... be the matrix
xn
of type (n, 1). If C1 , . . . , Cn are the columns of the matrix A, then
AX = x1 C1 + . . . + xn Cn .
Corollary 3.4
Definition 3.5
Theorem 3.6
Example 39 :
1. Determine whether the vectors v1 = (1, −1, 4), v2 = (−2, 1, 3), and v3 =
(4, −3, 5) span R3 .
We solve
the following linearsystem
AX = B, where
1 −2 4 a
A = −1 1 −3, B = b for arbitrary a, b, c ∈ R.
4 3 5 c
A
reduced of the augmented
matrix is given by:
1 0 2 −a − 2b
0 1 −1 −a − b .
0 0 0 7a + 11b + c
This system has a solution only when 7a + 11b + c = 0. Thus, the vectors
do not span R3 .
1 1 2 1
2. Determine whether the vectors v1 = and v2 = , span the
0 1 0 3
a b
vector space F = { ; a, b ∈ R}.
0 2a − b
x + 2y = a
a b
= xv1 + yv2 ⇐⇒ x+y = b .
0 2a − b
x + 3y = 2a − b
This system has the unique solution x = 2b − a and y = a − b.
xlvii
x1 v1 + . . . , +xn vn = 0
Example 40 :
1. The vectors u = (1, 1, −2), v = (1, −1, 2) and w = (3, 0, 2) are linearly
independent in R3 .
x + y + 3z = 0
xu + yv + zw = (0, 0, 0) ⇐⇒ x−y = 0.
−2x + 2y + 2z = 0
This system has 0 as unique solution.
1 1 3
The matrix of this system is 1 −1 0 and its determinant is −4.
−2 2 2
Definition 4.2
Example 41 :
The vectors u = (0, 1, −2, 1), v = (1, 0, 2, −1) and w = (3, 2, 2, −1) are linearly
dependent in R4 .
xlviii
y + 3z = 0
x + 2z = 0
xu + yv + zw = (0, 0, 0, 0) ⇐⇒ . This system has
−2x + 2y + 2z = 0
x−y−z = 0
infinite many solutions.
0 1 3 0
1 0 2 0
The extended matrix of this system is
and the reduced row
−2 2 2 0
1 −1 −1 0
1 0 2 0
0 1 3 0
0 0 0 0.
form of this matrix is :
0 0 0 0
Theorem 4.3
Theorem 4.4
Example 42 :
1. If A is a matrix of type (m, n) with m < n. Then the homogeneous
system AX = 0 has an infinite many solutions.
Theorem 5.2
Proof .
If v = x1 v1 +. . .+xn vn = y1 v1 +. . .+yn vn , then (x1 −y1 )v1 +. . .+(xn −yn )vn =
0. Since the system S is linearly independent, xj = yj for all j = 1, . . . , n.
Remark 8 :
Let S = {e1 , . . . , en } in Rn , where e1 = (1, 0, . . . , 0), . . . , en = (0, . . . , 0, 1). The
set S is a basis of Rn and called the standard basis of Rn .
Example 43 :
1. The system S = {1, X, . . . , X n } is a basis of the vector space Pn .
Theorem 5.3
Proof .
l
n
X
Consider uj = aj,k vk , for all j = 1, . . . , m.
k=1
If
m m n
!
X X X
0= xj uj = xj aj,k vk
j=1 j=1 k=1
n
X m
X
= xj aj,k vk .
k=1 j=1
m
X
Then xj aj,k = 0 for all k = 1, . . . , n. This system is an homogeneous
j=1
system of n equations and m variables and m > n. This system has an infinite
many solutions. Then T is linearly dependent.
Corollary 5.4
All bases of a finite dimensional vector space have the same number of
elements.
Definition 5.5
Theorem 5.6
1. S is a basis of V ;
2. S is linearly independent;
3. S generates the vector space V .
li
Theorem 5.7
Theorem 5.8
Proof .
In the second part of the theorem, we add to the system S any basis {e1 , . . . , em }
of V . We use the first algorithm to extract a basis from the generating system
{v1 , . . . , vn , e1 , . . . , em }. This basis contains S.
Example 44 :
1. Let W be the sub-space of R5 generated by the set of vectors: S = {v1 =
(1, 0, 2, −1, 2), v2 = (2, 0, 4, −2, 4), v3 = (1, 2, −1, 2, 0), v4 = (1, 4, −4, 5, −2).}
lii
t
2x + y + z = 0 x = −2y
AX = 0 ⇐⇒ ⇐⇒
x−y+z =0 z = 3y
−2 0
1 0
⇐⇒ X = y 3 + t 0.
0 1
Then {(−2, 1, 3, 0), (0, 0, 0, 1)} is a basis of the vector sub-space W .
liii
xn
Theorem 6.2
Example 45 :
1. Let B = {v1 = (0, 1, 1), v2 = (1, 0, −2), v3 = (1, 1, 0)} be a basis of the
vector space R3 and let C = {u1 = (1, 0, 0), u2 = (0, 1, 0), u3 = (0, 0, 1)}
3
be the standard
basis
of R .In this case
0 1 1 −2 2 −1 1
C PB =
1 0 1 and B PC = −1 1 −1. If [v]C = 0 ,
1 −2 0 2 −1 1 −1
−1
then [v]B = B PC [v]C = 0 .
1
2. Consider two bases
B and Cof vector space V such that the transition
1 −1 −2
matrix C PB = 0 −1 1 . Let u be a vector in V such that [u]C =
1 2 −2
x 6y + 3z
y , then [u]B = B PC [u]C = C P −1 [u]C = 1 −x + z .
B 3
z −x + 3y + z
liv
Theorem 7.2
Theorem 7.3
Let A be a matrix and B any row echelon form of the matrix A. Then
the set of non zero rows of the matrix B is a basis of the row vector
space of A.
Definition 7.4
The dimension of the row vector space of a matrix A is called the rank
of A.
rank(A) = dim(row(A)).
Remark 9 :
The rank of a matrix A is the numbers of leading numbers in any row echelon
form of the matrix A.
lv
Theorem 7.5
Corollary 7.6
Corollary 7.7
Proof .
There exist some elementary matrices E1 , . . . , Ep of order m such that P =
E1 . . . Ep .
We know that if E is a elementary matrix which corresponds to an elementary
row operation R, then EA is the result of this elementary row operation R on
the matrix A. Hence
rank(A) = rank(P A).
Also rank(P AQ) = rank(P AQ)T = rank(QT AT P T ) = rank(AT P T ) = rank(P A) =
rank(A).
Theorem 7.8
Theorem 7.9
Definition 7.10
Theorem 7.11
How to find bases for the null space, row space and column space of a matrix
Given a matrix A of type (m, n)
1. Reduce the matrix A to a row echelon form R.
2. Solve the system RX = 0. Find a basis for the solutions space. The same
basis for the solution space of RX = 0 is a basis for the null space of A.
3. Consider the non-zero rows of R. They form a basis for the row space of
R. The same basis for the row space of R is a basis for the row space of
lvii
A.
4. Take the columns of R with leading 1s . They form a basis for the column
space of R. The corresponding column vectors in A form a basis for the
column space of A.
Example 46 :
1 2 −1 −1
0 −1 2 3
1. Consider the matrix A =
2
3 0 1
1 1 1 2
3 8 5
1 0 −1
0 1 1
The reduced row form of this matrix is . Then F = G.
0 0 0
0 0 0
CHAPTER V
1 Inner Product
Definition 1.1
Example 47 :
lix
lx
Z 1
⟨f, g⟩ = f (t)g(t)dt.
0
⟨u, u⟩ = 0 ⇐⇒ z = x = y = 0 ⇐⇒ u = 0.
is an inner product on R2 .
⟨(x, y), (x′ , y ′ )⟩ = ⟨(x′ , y ′ ), (x, y)⟩ if a = b.
Remark 10 :
If (E, ⟨ , ⟩) is an inner product space and u, v, w, x ∈ E, a, b, c, d ∈ R, we have:
2 The Orthogonality
Definition 2.1
⟨u, v⟩
cos θ =
∥u∥.∥v∥
Example 48 :
Consider the inner product space M2 (R), ⟨ , ⟩) defined by:
⟨A, B⟩ = tr(AB T ).
1 −1 2 1 T 1 0
Let A = and B = . We have AB = , ∥A∥2 = 15,
2 3 1 1 7 5
√
2 3
∥B∥2 = 7. Then if θ is the angle between the matrices A and B, cos θ = √ .
35
Proof .
Let Q(t) be the polynomial
Q(t) = ∥u + tv∥2 = ∥u∥2 + 2t⟨u, v⟩ + t2 ∥v∥2 .
Since Q(t) ≥ 0 for all t ∈ R, then the discriminant of Q(t) is non positive.
Then ⟨u, v⟩2 ≤ ∥u∥2 ∥v∥2 . If |⟨u, v⟩| = ∥u∥∥v∥, the discriminant of Q is zero
and there exists t ∈ R such that Q(t) = 0. Then u + tv = 0.
Theorem 2.3
∥u + v∥ ≤ ∥u∥ + ∥v∥.
Proof .
∥u + v∥2 = ∥u∥2 + ∥v∥2 + 2⟨u, v⟩
≤ ∥u∥2 + ∥v∥2 + 2∥u∥ ∥v∥ = (∥u∥ + ∥v∥)2 .
lxiii
Definition 2.4
Proof .
∥u + v∥2 = ∥u∥2 + ∥v∥2 + 2⟨u, v⟩ = ∥u∥2 + ∥v∥2 .
Definition 3.1
⟨ej , ek ⟩ = 0, ∀1 ≤ j ̸= k ≤ n.
⟨ej , ek ⟩ = δj,k , ∀1 ≤ j, k ≤ n.
Theorem 3.2
Theorem 3.3:
Proof .
n
X Pn
If u = aj ej , then ⟨u, ek ⟩ = j=1 aj ⟨ej , ek ⟩ = ak .
j=1
Vect{e1 , . . . , ek } = Vect{v1 , . . . , vk };
Proof .
Consider the orthogonal set of vectors {u1 , . . . , un } defined by iteration : u1 =
k−1
X ⟨ui , vk ⟩
v1 and for all 1 ≤ k ≤ n, uk = vk − ui . The set {e1 , . . . , en } defined
i=1
∥ui ∥2
by: ek = ∥uukk ∥ , k ∈ {1, . . . , n} is orthonormal.
Example 49 :
1. Let F be the vector sub-space of R4 spanned by the vectors S = {u =
(1, 1, 0, 0), v = (1, 0, −1, 0), w = (0, 0, 1, 1)}. S is a basis of F . In use of
Gramm-Schmidt algorithm, we construct an orthonormal basis of F with
respect to the Euclidean inner product .
u1 = √12 (1, 1, 0, 0), u2 = √16 (1, −1, −2, 0), u3 = √112 (1, −1, 1, 3).
B = {u1 , u2 , u3 } is an orthonormal basis of the sub-space F .
Consider the vector v = (2, 3, −4, 1).
v = ⟨v, u1 ⟩u1 + ⟨v, u2 ⟩u2 + ⟨v, u3 ⟩u3 = √52 u1 + √76 u2 − √13 u3 .
lxv
2. Consider the base {u1 = (1, −1), u2 = (1, 2)} of R2 and the following
inner product
The vector u1 is unitary with respect to the inner product and using the
Gramm-Schmidt algorithm, the vector v2 = (1, 0) is orthogonal to u1 and
{v1 = (1, −1), v2 = (1, 0)} is an orthonormal basis of R2 .
3. Consider the basis
S = {u1 , } of the
u2 , u3 , u4 space
M2 (R)defined by:
1 −1 1 0 1 0 0 1
u1 = , u2 = , u3 = , u4 = . In use of
0 1 1 1 0 2 1 1
Gramm-Schmidt algorithm, we construct an orthonormal basis from the
1 1 −1
basis S and , we find: v1 = √ .
3 0 1
2 1 1 2 1 1 2
⟨u2 , v1 ⟩ = √ , u2 − ⟨u2 , v1 ⟩v1 = . Then v2 = √ .
3 3 3 1 15 3 1
√ 3
⟨u3 , v1 ⟩ = 3, ⟨u3 , v2 ⟩ = √
15
1 −1 3 1 −1 3
u3 − ⟨u3 , v1 ⟩v1 − ⟨u3 , v2 ⟩v2 = . Then v3 = √ .
5 −3 4 35 −3 4
6 4
⟨u4 , v1 ⟩ = 0, ⟨u4 , v2 ⟩ = √ , ⟨u4 , v3 ⟩ = √
15 35
1 −10 −39
u4 − ⟨u4 , v1 ⟩v1 − ⟨u4 , v2 ⟩v2 − ⟨u4 , v3 ⟩v3 = . Then v4 =
35 −29 −29
1 2 1
√ .
7 −1 −1
x = 23 z
x + 2y + 2t = 0
⇐⇒
−x + y + z + t = 0 y = − z3 − t
vector sub-space F ⊥ .
CHAPTER VI
LINEAR TRANSFORMATIONS
Example 50 :
1. T : R2 −→ R3 defined by: T (x, y) = (x + 3y, 2x − y, x + 5y);
2. T : Mm,n (R) −→ Mn,m (R) defined by: T (A) = AT ;
lxvii
lxviii
Example 51 :
The following functions are not linear transformations
Theorem 1.2
Theorem 1.3
Remarks 11 :
1. If S = {u1 , . . . un } is a basis of the vector space V . A linear transforma-
tion T : V −→ W is well defined if T (u1 ), . . . , T (un ) are defined.
2. The unique linear transformations T : R −→ R are T (x) = ax, a ∈ R.
lxix
Example 52 :
Consider the basis {v1 = (1, 1, 0), v2 = (1, 1, 1), v3 = (1, 0, 1)} of R3 and con-
sider the linear transformation T : R3 −→ R2 such that T (v1 ) = (2, 1), T (v2 ) =
(−1, 3) and T (v3 ) = (1, 2). If v = (x, y, z) ∈ R3 , then v = (x − z)v1 + (z − x +
y)v2 +(x−y)v3 and T (x, y, z) = (x−z)(2, 1)+(z −x+y)(−1, 3)+(x−y)(1, 2) =
(4x − 2y − 3z, y + 2z).
Theorem 1.4
Theorem 1.5
Theorem 1.6
Theorem 2.2
Definition 2.3
Example 53 :
If A ∈ Mm,n (R) and TA : Rn −→ Rm the linear transformation defined by:
TA (X) = AX, then rank(T ) = rankA, and Im(T ) = colA.
Example 54 :
Let T : R3 −→ R2 be the linear transformation defined by T (x, y, z) = (2x −
y + 3z, x − 2y + z).
2x − y + 3z = 0
(x, y, z) ∈ ker(T ) ⇐⇒
x − 2y + z = 0
2 −1 3 0
The extended matrix of this linear system is: .
1 −2 1 0
Then (x, y, z) ∈ ker(T ) ⇐⇒ x = 5y, z = −3y. Hence
ker(T ) = Vect{(5, 1, −3)}.
lxxi
Im(T ) = Vect{(2, 1), (−1, −2), (3, 1)} = Vect{(2, 1), (−1, −2)}.
Theorem 2.4
nullity(T ) + (rank(T ) = n.
i.e.
dimker(T ) + dimIm(T ) = n.
Definition 2.6
If T : V −→ W is a linear transformation,
Theorem 2.7
Corollary 2.8
Example 55 :
Consider the linear transformation T : R4 −→ R4 defined by:
1 0 6 6
Then {(1, 0, 0, 1), (−1, 0, 1, 0), (0, 2, 4, 6)} is a basis of the range of T .
Example 56 :
Let V, W be two vector spaces and T : V −→ W a linear transformation. If T
is injective and S = {u1 , . . . , un } is a set of linearly independent, then the set
{T (u1 ), . . . , T (un )} is linearly independent.
Definition 3.1
Example 57 :
Let T : R3 −→ R2 be the linear transformation defined by the following:
T (x, y, z) = (2x − y + 3z,
x − 2y +z). The matrix of T with respect to the
2 −1 3
standard basis of R3 is:
1 −2 1
Example 58 :
Consider the linear transformation of R3 defined by: T1 ((1, 0, 0)) = (1, 1, 1),
T1 ((0, 1, 0)) = (1, 2, 2), T1 ((0,
0, 1)) = (1,
2, 3). The matrix of T with respect to
1 1 1
the standard basis of R3 is 1 2 2 and T1 (x, y, z) = (x + y + z, x + 2y +
1 2 3
2z, x + 2y + 3z).
Theorem 3.2
[T ]B = B PC [T ]C C PB .
Example 59 :
Let T : R3 −→ R3 be the linear transformation such that its matrix with respect
to the standard basis C of the vector space R3 is
−3 2 2
[T ]C = −5 4 2 .
1 −1 1
1 1 0
C PB =
1 1 1 . Then the matrix of T with respect to the basis S
1 0 −1
and the basis B is
−1 1 1
−1 2 −1 −1
B PC = S PB =
−1 1 0
and
1 0 0
[T ]B = B PC [T ]C C PB = 0 −1 0 .
0 0 2
Example 60 :
Consider the linear transformation T : R3 −→ R3 defined by:
T (x, y, z) = (3x + 2y, 3y + 2z, 9x − 4z).
3 2 0
The matrix of the linear transformation T is A = 0 3 2 .
9 0 −4
3 2 0 0
The extended matrix of the linear system AX = 0 is: 0 3 2 0. This
9 0 −4 0
3 2 0 0
matrix is equivalent to the matrix 0 1 0 0.
0 0 1 0
Then ker(T ) = {0} and the range of T is R3 .
Consider the basis S = {(0, 0, 1), (0, 1, 1), (1, 1, 1)} of rb3 .
The
matrix the linear transformation
T with respect to the basis S is P −1 AP =
−6 −9 0 0 0 1
2 3 0, with P = 0 1 1 and
0 2 5 1 1 1
0 −1 1
P −1 = −1 1 0.
1 0 0
Example 61 :
Consider u1 = 13 (1, 2, 2), u2 = 13 (2, 1, −2), u3 = 13 (2, −2, 1).
1 2 2
As the determinant 2 1 −2 = −27, then the set{u1 , u2 , u3 } is a basis of
2 −2 1
R3 . Also, we have ∥u1 ∥ = ∥u2 ∥ = ∥u3 ∥ = 1 and ⟨u1 , u2 ⟩ = ⟨u1 , u3 ⟩ = ⟨u2 , u3 ⟩ =
0, then the set {u1 , u2 , u3 } is an orthonormal basis of R3 .
Define the linear transformation T : R3 7→ R3 by: T (e1 ) = u1 , T (e2 ) = u2
and T (e3 ) = u3 , where {e1 , e2 , e3 } the standard basis of R3 . The matrix of the
lxxv
and
1
T (x, y, z) = (x + 2y + 2z, 2x + y − 2z, 2x − 2y + z).
3
Define the linear transformation S : R3 7→ R3 by:
S(x, y, z) = (−x + 2z, y + 2z, 2x + 2y).
The matrix of S with respect to the
−1 0 2
basis {e1 , e2 , e3 } is A = 0 1 2 . The matrix of S with respect to basis
2 2 0
{u1 , u2 , u3 } is B = P −1 AP . As P −1 = P T = P , hence
3 0 0 1 0 0
B = 0 −3 0 , B n = 3n 0 (−1)n 0 and An = P B n P.
0 0 0 0 0 0
3. Let F = U ◦ T ◦ S.
Find F (e1 ), F (e2 ), F (e3 ).
Find the matrix of the linear transformation F and conclude the value
An for all n ∈ N.
Solution
1.
T (x, y, z) = (2x − 2y + 3z, −2x + 2y + 3z, 3x + 3y − 3z).
An = P Dn P −1 .
CHAPTER VII
DIAGONALIZATION OF MATRIX
If A ∈ Mn (R) and λ ∈ R.
λ is called an eigenvalue of the matrix A if there is X ∈ Rn \ {0} such
that
AX = λX.
The corresponding nonzero X are called eigenvectors of the matrix A.
Example 63 :
1 1 1
If A is the matrix A = , then the vector X = is an eigenvector
−3 5 1
for A because AX = 2X. The corresponding eigenvalue is λ = 2.
Remark 12 :
Note that if AX = λ and c is any real number, then A(cX) = cAX = c(λX) =
λ(cX). Then, if X is an eigenvector of A, then so is cX for any nonzero number
c.
The eigenvalue equation can be rewritten as (A−λI)X = 0. The eigenvalues
of A are the values of λ for which the above equation has nontrivial solutions.
There are nontrivial solutions if and only if det(A − λI) = 0.
lxxix
lxxx
Theorem 1.2
Definition 1.3
qA (λ) = |A − λI|
Example 64 :
1 3
Find all of the eigenvalues and eigenvectors of A = .
2 2
1−λ 3
Compute the characteristic polynomial qA (λ) = = (λ+1)(λ−4).
2 2−λ
3
The roots of qA (λ) are −1 and 4. X1 = is an eigenvector for A with
−2
1
respect to the eigenvalue −1 and X2 = is an eigenvector for A with respect
1
to the eigenvalue 4.
Example 65 :
Find theeigenvalues of
the following
matrix
1 −1 0 5 4 2 −1 4 −2
A = −1 2 −1, A = 4 5 2, A = −3 4 0 .
0 −1 1 2 2 2 −3 1 3
Definition 1.4
Example 66 :
lxxxi
1 0 0
Let A = −1 1 −1. The characteristic function of the matrix A is
1 0 2
λ−1 0 0
qA (λ) = 1 λ−1 1 = (λ − 1)2 (2 − λ).
−1 0 λ−2
The eigenvalue λ = 1 has algebraic multiplicity 2, while λ = 2 has algebraic
multiplicity 1.
Definition 1.5
Eλ = {X ∈ Rn ; AX = λX}
is called the eigenspace of A associated to the eigenvalue λ.
Remark 13 :
If λ is an eigenvalue of the matrix A ∈ Mn (R), then Eλ = {X ∈ Rn ; AX = λX}
is vector sub-space of Rn . Its dimension is called the the geometric multiplicity
of λ.
The geometric multiplicity of λ is the number of linearly independent eigen-
vectors corresponding to λ.
Theorem 1.6
Definition 1.7
Theorem 1.8
Proof .
The proof is by induction. The result is true for m = 1.
Assume the result true for m and let X1 , . . . , Xm+1 be eigenvectors for different
eigenvalues λ1 , . . . , λm+1 .
If a1 X1 + . . . am Xm + am+1 Xm+1 = 0, then
a1 λ1 X1 + . . . am λm Xm + am+1 λm+1 Xm+1 = 0. Also we have
a1 λm+1 X1 + . . . am λm+1 Xm + am+1 λm+1 Xm+1 = 0. Then
a1 (λ1 − λm+1 )X1 + . . . + am (λm − λm+1 )Xm = 0. Since
(λj − λm+1 ) ̸= 0 for all j = 1, . . . m, then a1 = . . . = am = 0 and so am+1 = 0.
2 Diagonalization
Definition 2.1
Remark 14 :
If X1 , . . . , Xn are the columns of the matrix P , then the columns of the matrix
AP are: AX1 , . . . , AXn .
Moreover if
λ1 0 . . . . . . 0
.
0 λ2 0 . . . ..
D = ... .. .. ..
0 . . .
. . .
.. .. . . . . . 0
0 . . . . . . 0 λn
then the columns of the matrix P D are: λ1 X1 , . . . , λn Xn .
Then P −1 AP = D ⇐⇒ P D = AP and the columns of the matrix P form a
basis of Rn of eigenvectors of the matrix A.
lxxxiii
Theorem 2.2
Example 67 :
Prove that the following matrices are diagonalizable and find an invertible
−1 15
matrix P∈ Mn (R) suchthat the
matrix P AP is diagonal and
find A .
1 −1 0 5 4 2 −1 4 −2
A = −1 2 −1, A = 4 5 2, A = −3 4 0 .
0 −1 1 2 2 2 −3 1 3
Theorem 2.3
Remark 15 :
For example, if a matrix A ∈ Mn (R) and has n different eigenvalues, then A is
diagonalizable.
Example 68 :
5 4
Consider the matrix A = . The characteristic polynomial of the
−4 −3
matrix A is
5−λ 4
qA (λ) = = (1 − λ)2 .
−4 −3 − λ
Then the matrix is not diagonalizable.
Example 69 :
−10 −6
Consider the matrix A = . The characteristic polynomial of the
18 11
matrix A is
−10 − λ −6
qA (λ) = = (λ − 2)(1 + λ).
18 11 − λ
Then the matrix is diagonalizable.
E−1 = ⟨(−2, 3)⟩ and E2 = ⟨(1, −2)⟩.
lxxxiv
−1 0
The diagonal matrix is D =
0 2
−2 1
and the matrix P is P = .
3 −2
Example 70 :
5 0 4
Consider the matrix A = 2 1 5 . The characteristic polynomial of
−4 0 −3
the matrix A is
5−λ 0 4
qA (λ) = 2 1−λ 5 = (1 − λ)3 .
−4 0 −3 − λ
5−λ −3 0 9
0 3−λ 1 −2
qA (λ) = = (5 − λ)(3 − λ)(2 − λ)2 .
0 0 2−λ 0
0 0 0 2−λ
lxxxv
The matrix is diagonalizable if and only if the dimension of the vector space
E2 is 2.
E2 = ⟨(1, 1, −1, 0), (−1, 2, 0, 1)⟩.
Then the matrix A is diagonalizable.
E5 = ⟨(1, 0, 0, 0)⟩ and E3 = ⟨(3,
2, 0, 0)⟩.
5 0 0 0
0 3 0 0
The diagonal matrix is D = 0 0 2 0
0 0 0 2
1 3 1 −1
0 2 1 2
and P = 0 0 −1 0 .
0 0 0 1
Example 73 :
2 2 −1
Consider the matrix A = 1 3 −1.
−1 −2 2
The characteristic polynomial of the matrix A is
2−λ 2 −1
qA (λ) = 1 3−λ −1 = −(λ − 1)2 (λ − 5).
−1 −2 2−λ
E1 = ⟨(1, 0, 1), (−2, 1, 0)⟩, E5 = ⟨(1, 1, −1)⟩.
Then the matrix A is diagonalizable.
1 0 0 1 −2 1
The diagonal matrix is D = 0 1 0 and P = 0 1 1
0 0 5 1 0 −1
Example 74 :
7 4 16
Consider the matrix A = 2 5 8 .
−2 −2 −5
The characteristic polynomial of the matrix A is
7−λ 4 16
qA (λ) = 2 5−λ 8 = −(λ − 3)2 (λ − 1).
−2 −2 −5 − λ
E3 = ⟨(1, −1, 0), (4, 0, −1)⟩, E1 = ⟨(2, 1, −1)⟩.
Then the matrix A is diagonalizable.
1 0 0 2 1 4
The diagonal matrix is D = 0 3 0 and the matrix P is P = 1 −1 0
0 0 3 −1 0 −1
Example 75 :
lxxxvi
−1 0 21
2
0 1 0 12
Consider the matrix A =
−1
. The characteristic polynomial
1 1 −1
1 −1 1 3
of the matrix A is
1
2−λ −1 0 2
1
0 1−λ 0
qA (λ) = 2 = (1 − λ)(2 − λ)3 .
−1 1 1−λ −1
1 −1 1 3−λ
The matrix is diagonalizable if and only if the dimension the vector space E2
is 3.
E2 = ⟨(−1, 1, 0, 2), (−1, 0, 1, 0)⟩. Then the matrix is not diagonalizable.