MAT1320 Week 3
MAT1320 Week 3
Lecture Notes
Echelon Form of a Matrix
Mehmet E. KÖROĞLU
Spring 2022
Yıldız Technical University, Department of Mathematics
[email protected]
Table of contents
Mehmet E. KÖROĞLU 1
Echelon Form of a Matrix
Echelon Form of a Matrix
Mehmet E. KÖROĞLU 2
Echelon Form of a Matrix
a) All zero rows, if there are any, appear at the bottom of the
matrix.
Mehmet E. KÖROĞLU 2
Echelon Form of a Matrix
a) All zero rows, if there are any, appear at the bottom of the
matrix.
b) The first nonzero entry from the left of a nonzero row is a 1.
Mehmet E. KÖROĞLU 2
Echelon Form of a Matrix
a) All zero rows, if there are any, appear at the bottom of the
matrix.
b) The first nonzero entry from the left of a nonzero row is a 1.
This entry is called a leading one of its row.
Mehmet E. KÖROĞLU 2
Echelon Form of a Matrix
a) All zero rows, if there are any, appear at the bottom of the
matrix.
b) The first nonzero entry from the left of a nonzero row is a 1.
This entry is called a leading one of its row.
c) For each nonzero row, the leading one appears to the right
and below any leading ones in preceding rows.
Mehmet E. KÖROĞLU 2
Echelon Form of a Matrix
a) All zero rows, if there are any, appear at the bottom of the
matrix.
b) The first nonzero entry from the left of a nonzero row is a 1.
This entry is called a leading one of its row.
c) For each nonzero row, the leading one appears to the right
and below any leading ones in preceding rows.
d) If a column contains a leading one, then all other entries in
that column are zero.
Mehmet E. KÖROĞLU 2
Echelon Form of a Matrix
Mehmet E. KÖROĞLU 3
Echelon Form of a Matrix
Mehmet E. KÖROĞLU 3
Echelon Form of a Matrix
Mehmet E. KÖROĞLU 3
Echelon Form of a Matrix
Example
The following are matrices in reduced row echelon form, since they
satisfy properties a ), b ), and d ):
1 0 0 0
0 1 0 0
,
A=
0 0 1 0
0 0 0 1
Mehmet E. KÖROĞLU 4
Echelon Form of a Matrix
Example
The following are matrices in reduced row echelon form, since they
satisfy properties a ), b ), and d ):
1 0 0 0 −2 4
1 0 0 0
0 1 0 0 4 8
0 1 0 0
, 0 0 0 1 7 −2
A= B=
0 0 1 0
0 0 0 0 0 0
0 0 0 1
0 0 0 0 0 0
Mehmet E. KÖROĞLU 4
Echelon Form of a Matrix
Example
The following are matrices in reduced row echelon form, since they
satisfy properties a ), b ), and d ):
1 0 0 0 −2 4
1 0 0 0
0 1 0 0 4 8
0 1 0 0
, 0 0 0 1 7 −2
A= B=
0 0 1 0
0 0 0 0 0 0
0 0 0 1
0 0 0 0 0 0
and
1 2 0 0 1
C = 0 0 1 2 3
0 0 0 0 0
Mehmet E. KÖROĞLU 4
Echelon Form of a Matrix
Example
The matrices that follow are not in reduced row echelon form.
(Why not?)
1 2 0 4
D= 0 0 0 0 ,
0 0 1 −3
Mehmet E. KÖROĞLU 5
Echelon Form of a Matrix
Example
The matrices that follow are not in reduced row echelon form.
(Why not?)
1 2 0 4 1 0 3 4
D= 0 0 0 0 , E = 0 2 −2 5
0 0 1 −3 0 0 1 2
Mehmet E. KÖROĞLU 5
Echelon Form of a Matrix
Example
The matrices that follow are not in reduced row echelon form.
(Why not?)
1 2 0 4 1 0 3 4
D= 0 0 0 0 , E = 0 2 −2 5
0 0 1 −3 0 0 1 2
1 0 3 4
0 1 −2 5
,
F =
0 1 2 2
0 0 0 0
Mehmet E. KÖROĞLU 5
Echelon Form of a Matrix
Example
The matrices that follow are not in reduced row echelon form.
(Why not?)
1 2 0 4 1 0 3 4
D= 0 0 0 0 , E = 0 2 −2 5
0 0 1 −3 0 0 1 2
1 0 3 4 1 2 3 4
0 1 −2 5 0 1 −2 5
,
F = G =
0 1 2 2
0 0 1 2
0 0 0 0 0 0 0 0
Mehmet E. KÖROĞLU 5
Echelon Form of a Matrix
Example
The following are matrices in row echelon form.
1 5 0 2 −2 4
0 1 0 3 4 8
H= 0 0 0 1 7 −2 ,
0 0 0 0 0 0
0 0 0 0 0 0
Mehmet E. KÖROĞLU 6
Echelon Form of a Matrix
Example
The following are matrices in row echelon form.
1 5 0 2 −2 4
1 0 0 0
0 1 0 3 4 8
0 1 0 0
0 0 0 1 7 −2 ,
H= I=
0 0 1 0
0 0 0 0 0 0
0 0 0 1
0 0 0 0 0 0
Mehmet E. KÖROĞLU 6
Echelon Form of a Matrix
Example
The following are matrices in row echelon form.
1 5 0 2 −2 4
1 0 0 0
0 1 0 3 4 8
0 1 0 0
0 0 0 1 7 −2 ,
H= I=
0 0 1 0
0 0 0 0 0 0
0 0 0 1
0 0 0 0 0 0
Note: We shall now show that every matrix can be put into row
(column) echelon form, or into reduced row (column) echelon
form, by means of certain row (column) operations.
Mehmet E. KÖROĞLU 6
Elementary Row (Column)
Operations
Elementary Row (Column) Operations
Mehmet E. KÖROĞLU 7
Elementary Row (Column) Operations
Mehmet E. KÖROĞLU 7
Elementary Row (Column) Operations
Mehmet E. KÖROĞLU 7
Elementary Row (Column) Operations
Mehmet E. KÖROĞLU 7
Elementary Row (Column) Operations
Mehmet E. KÖROĞLU 7
Elementary Row (Column) Operations
Mehmet E. KÖROĞLU 7
Elementary Row (Column) Operations
Example
0 0 1 2
Let A =
2 3 0 −2 .
3 3 6 −9
Mehmet E. KÖROĞLU 8
Echelon Form of a Matrix
Example
0 0 1 2
Let A = 2 3 0 −2 .
3 3 6 −9
Interchanging rows 1 and 3 of A, we obtain
3 3 6 −9
= 2 3 0 −2
B = Ar1 ↔r3
0 0 1 2
Mehmet E. KÖROĞLU 8
Echelon Form of a Matrix
Example
0 0 1 2
Let A = 2 3 0 −2 .
3 3 6 −9
Interchanging rows 1 and 3 of A, we obtain
3 3 6 −9
= 2 3 0 −2
B = Ar1 ↔r3
0 0 1 2
Mehmet E. KÖROĞLU 9
Echelon Form of a Matrix
Mehmet E. KÖROĞLU 9
Echelon Form of a Matrix
Mehmet E. KÖROĞLU 9
Example
1 2 4 3
Let A = 2 1 3 2
1 −2 2 3
Mehmet E. KÖROĞLU 10
Example
1 2 4 3
Let A = 2 1 3 2
1 −2 2 3
If we add 2 times row 3 of A to its second row, we obtain
1 2 4 3
= 4 −3 7 8
B = A2r3 +r2 →r2
1 −2 2 3
Mehmet E. KÖROĞLU 10
Example
1 2 4 3
Let A = 2 1 3 2
1 −2 2 3
If we add 2 times row 3 of A to its second row, we obtain
1 2 4 3
= 4 −3 7 8
B = A2r3 +r2 →r2
1 −2 2 3
so B is row equivalent to A.
Mehmet E. KÖROĞLU 10
Example
1 2 4 3
Let A = 2 1 3 2
1 −2 2 3
If we add 2 times row 3 of A to its second row, we obtain
1 2 4 3
= 4 −3 7 8
B = A2r3 +r2 →r2
1 −2 2 3
Mehmet E. KÖROĞLU 10
Example
1 2 4 3
Let A = 2 1 3 2
1 −2 2 3
If we add 2 times row 3 of A to its second row, we obtain
1 2 4 3
= 4 −3 7 8
B = A2r3 +r2 →r2
1 −2 2 3
so C is row equivalent to B.
Mehmet E. KÖROĞLU 10
Example
1 2 4 3
Let A = 2 1 3 2
1 −2 2 3
If we add 2 times row 3 of A to its second row, we obtain
1 2 4 3
= 4 −3 7 8
B = A2r3 +r2 →r2
1 −2 2 3
Theorem
Every nonzero m × n matrix A = [aij ] is row (column) equivalent
to a matrix in row (column) echelon form.
Mehmet E. KÖROĞLU 11
Echelon Form of a Matrix
Theorem
Every nonzero m × n matrix A = [aij ] is row (column) equivalent
to a matrix in row (column) echelon form.
Theorem
The RREF of a matrix is unique.
Mehmet E. KÖROĞLU 11
Echelon Form of a Matrix
Theorem
Every nonzero m × n matrix A = [aij ] is row (column) equivalent
to a matrix in row (column) echelon form.
Theorem
The RREF of a matrix is unique.
Mehmet E. KÖROĞLU 11
Echelon Form of a Matrix
Theorem
Every nonzero m × n matrix A = [aij ] is row (column) equivalent
to a matrix in row (column) echelon form.
Theorem
The RREF of a matrix is unique.
Mehmet E. KÖROĞLU 11
Echelon Form of a Matrix
Theorem
Every nonzero m × n matrix A = [aij ] is row (column) equivalent
to a matrix in row (column) echelon form.
Theorem
The RREF of a matrix is unique.
Mehmet E. KÖROĞLU 11
Example (cont.)
Interchanging rows 1 and 3 of A, we obtain
3 3 6 −9
= 2 3 0 −2
B = Ar1 ←→r3
0 0 1 2
Mehmet E. KÖROĞLU 12
Example (cont.)
Interchanging rows 1 and 3 of A, we obtain
3 3 6 −9
= 2 3 0 −2
B = Ar1 ←→r3
0 0 1 2
Mehmet E. KÖROĞLU 12
Example (cont.)
Interchanging rows 1 and 3 of A, we obtain
3 3 6 −9
= 2 3 0 −2
B = Ar1 ←→r3
0 0 1 2
Mehmet E. KÖROĞLU 13
Example (cont.)
Adding (−2) times row 3 of D to row 1 of D and 4 times row 3 of
D to row 2 of D, we obtain
1 1 0 −7
= 0 1 0 12
E =D 4r3 +r2 →r2
−2r3 +r1 →r1
0 0 1 2
Mehmet E. KÖROĞLU 13
Example (cont.)
Adding (−2) times row 3 of D to row 1 of D and 4 times row 3 of
D to row 2 of D, we obtain
1 1 0 −7
= 0 1 0 12
E =D 4r3 +r2 →r2
−2r3 +r1 →r1
0 0 1 2
Mehmet E. KÖROĞLU 14
Finding an Inverse using Elementary Row Operations
En . . . E2 E1 A = I
Mehmet E. KÖROĞLU 14
Finding an Inverse using Elementary Row Operations
En . . . E2 E1 A = I
En . . . E2 E1 I = En . . . E2 E1
Mehmet E. KÖROĞLU 14
Finding an Inverse using Elementary Row Operations
Mehmet E. KÖROĞLU 15
Finding an Inverse using Elementary Row Operations
Mehmet E. KÖROĞLU 15
Finding an Inverse using Elementary Row Operations
A I
E1 A E1 I
E2 E1 A E2 E1 I
En . . . E2 E1 A En . . . E2 E1 I
| {z } | {z }
reduced to I A−1
Mehmet E. KÖROĞLU 15
Finding an Inverse using Elementary Row Operations
A I
E1 A E1 I
E2 E1 A E2 E1 I
En . . . E2 E1 A En . . . E2 E1 I
| {z } | {z }
reduced to I A−1
Mehmet E. KÖROĞLU 15
Example
3 3 6
Let A = 2 3 0 . By using elementary row operations, find
0 0 1
the inverse of the A.
Mehmet E. KÖROĞLU 16
Example
3 3 6
Let A = 2 3 0 . By using elementary row operations, find
0 0 1
the inverse of the A.
3 3 6 1 0 0
2 3 0 0 1 0
B = [A|I3 ] =
0 0 1 0 0 1
Mehmet E. KÖROĞLU 16
Example
3 3 6
Let A = 2 3 0 . By using elementary row operations, find
0 0 1
the inverse of the A.
3 3 6 1 0 0
2 3 0 0 1 0
B = [A|I3 ] =
0 0 1 0 0 1
Mehmet E. KÖROĞLU 16
Example (cont.)
Adding (−2) times row 1 of C to row 2 of C , we obtain
1 1 2 1
30 0
0 1 −4 1 0
−2
D = C−2r1 +r2 →r2 3
0 0 1 0 0 1
Mehmet E. KÖROĞLU 17
Example (cont.)
Adding (−2) times row 1 of C to row 2 of C , we obtain
1 1 2 1
3 0 0
0 1 −4 1 0
−2
D = C−2r1 +r2 →r2 3
0 0 1 0 0 1
Mehmet E. KÖROĞLU 17
Example (cont.)
Adding (−2) times row 1 of C to row 2 of C , we obtain
1 1 2 1
3 0 0
0 1 −4 1 0
−2
D = C−2r1 +r2 →r2 3
0 0 1 0 0 1
Mehmet E. KÖROĞLU 17