MAT1320 Week 6
MAT1320 Week 6
Lecture Notes
System of Linear Equations, Gauss-Jordan Elimination Method
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
System of Linear Equations
System of Linear Equations
a11 x1 + a12 x2 + · · · + a1n xn = b1
a21 x1 + a22 x2 + · · · + a2n xn = b2
.. (1)
.
a x +a x +···+a x = b
m1 1 m2 2 mn n m
Mehmet E. KÖROĞLU 2
System of Linear Equations
a11 x1 + a12 x2 + · · · + a1n xn = b1
a21 x1 + a22 x2 + · · · + a2n xn = b2
.. (1)
.
a x +a x +···+a x = b
m1 1 m2 2 mn n m
Mehmet E. KÖROĞLU 2
System of Linear Equations
x1 b1
. ..
Then for X = ..
and b = the system given in (1) can
.
xn bm
be written as
AX = b
Mehmet E. KÖROĞLU 3
System of Linear Equations
x1 b1
. ..
Then for X = ..
and b = the system given in (1) can
.
xn bm
be written as
AX = b
Mehmet E. KÖROĞLU 3
System of Linear Equations
x1 b1
. ..
Then for X = ..
and b = the system given in (1) can
.
xn bm
be written as
AX = b
Mehmet E. KÖROĞLU 3
The Rank of A Matrix
The Rank of A Matrix
Definition
Let REF or RREF of the matrix A be the C . The number of
nonzero rows of C is called rank of A and denoted by rank (A) .
Mehmet E. KÖROĞLU 4
The Rank of A Matrix
Definition
Let REF or RREF of the matrix A be the C . The number of
nonzero rows of C is called rank of A and denoted by rank (A) .
Example
The matrix A and its RREF C is given below.
1 0 1 0 1 1 0 1 0 1
1 −1 1
2 0 2 0 2
0 1
A=
1 −1 0 ∼C =
1 0
0
0 0 0 0
2 −2 0 2 0 0 0 0 0 0
Then rank(A) = 2.
Mehmet E. KÖROĞLU 4
Gauss-Jordan Elimination Method
Gauss-Jordan Elimination Method
Mehmet E. KÖROĞLU 5
Gauss-Jordan Elimination Method
Mehmet E. KÖROĞLU 5
Gauss-Jordan Elimination Method
Mehmet E. KÖROĞLU 5
Gauss-Jordan Elimination Method
Mehmet E. KÖROĞLU 5
Gauss-Jordan Elimination Method
Mehmet E. KÖROĞLU 5
Gauss-Jordan Elimination Method
Mehmet E. KÖROĞLU 5
Gauss-Jordan Elimination Method
Mehmet E. KÖROĞLU 6
Gauss-Jordan Elimination Method
Mehmet E. KÖROĞLU 6
Gauss-Jordan Elimination Method
Mehmet E. KÖROĞLU 6
Gauss-Jordan Elimination Method
Mehmet E. KÖROĞLU 6
Gauss-Jordan Elimination Method
Mehmet E. KÖROĞLU 6
Çözüm:1
x −y +3z = 1
2x +y = 5
−x −5y +9z = −7
Mehmet E. KÖROĞLU 7
Çözüm:1
x −y +3z = 1
2x +y = 5
−x −5y +9z = −7
Then
1 −1 3 x 1
2
1 0 y = 5
−1 −5 9 z −7
Mehmet E. KÖROĞLU 7
Çözüm:2
1 −1 3 1
2. The augmented matrix of the system is
2 1 0 5 .
−1 −5 9 −7
Mehmet E. KÖROĞLU 8
Çözüm:2
1 −1 3 1
2. The augmented matrix of the system is
2 1 0 5 .
−1 −5 9 −7
Apply elementary row operations to the augmented matrix to get
REF and RREF.
1 −1 3 1 H21 (−2)
2
1 0 5 H31 (1)
−1 −5 9 −7 ∼
Mehmet E. KÖROĞLU 8
Çözüm:2
1 −1 3 1
2. The augmented matrix of the system is
2 1 0 5 .
−1 −5 9 −7
Apply elementary row operations to the augmented matrix to get
REF and RREF.
1
1 −1 3 1 H21 (−2) 1 −1 3 1 H2
3
1 0 5 H31 (1) 0 3 −6 3 H3 −1
2
6
−1 −5 9 −7 ∼ 0 −6 12 −6 ∼
Mehmet E. KÖROĞLU 8
Çözüm:2
1 −1 3 1
2. The augmented matrix of the system is
2 1 0 5 .
−1 −5 9 −7
Apply elementary row operations to the augmented matrix to get
REF and RREF.
1
1 −1 3 1 H21 (−2) 1 −1 3 1 H2
3
1 0 5 H31 (1) 0 3 −6 3 H3 −1
2
6
−1 −5 9 −7 ∼ 0 −6 12 −6 ∼
1 −1 3 1
0 1 −2 1 H32 (−1)
∼
0 1 −2 1
Mehmet E. KÖROĞLU 8
Çözüm:2
1 −1 3 1
2. The augmented matrix of the system is
2 1 0 5 .
−1 −5 9 −7
Apply elementary row operations to the augmented matrix to get
REF and RREF.
1
1 −1 3 1 H21 (−2) 1 −1 3 1 H2
3
1 0 5 H31 (1) 0 3 −6 3 H3 −1
2
6
−1 −5 9 −7 ∼ 0 −6 12 −6 ∼
1 −1 3 1 1 −1 3 1
0 1 −2 1 H32 (−1) 0 1 −2 1 H12 (1)
∼ ∼
0 1 −2 1 0 0 0 0
Mehmet E. KÖROĞLU 8
Çözüm:2
1 −1 3 1
2. The augmented matrix of the system is
2 1 0 5 .
−1 −5 9 −7
Apply elementary row operations to the augmented matrix to get
REF and RREF.
1
1 −1 3 1 H21 (−2) 1 −1 3 1 H2
3
1 0 5 H31 (1) 0 3 −6 3 H3 −1
2
6
−1 −5 9 −7 ∼ 0 −6 12 −6 ∼
1 −1 3 1 1 −1 3 1
0 1 −2 1 H32 (−1) 0 1 −2 1 H12 (1)
∼ ∼
0 1 −2 1 0 0 0 0
1 0 1 2
0 1 −2 1 .
Mehmet E. KÖROĞLU 8
0 0 0 0
Çözüm:
Mehmet E. KÖROĞLU 9
Çözüm:
Mehmet E. KÖROĞLU 9
Çözüm:
Mehmet E. KÖROĞLU 9
Çözüm:
Mehmet E. KÖROĞLU 9
Homogenous System of Linear
Equations
Homogenous System of Linear Equations
a11 x1 + a12 x2 + · · · + a1n xn = 0
a21 x1 + a22 x2 + · · · + a2n xn = 0
.. (2)
.
am1 x1 + am2 x2 + · · · + amn xn = 0
Mehmet E. KÖROĞLU 10
Homogenous System of Linear Equations
a11 x1 + a12 x2 + · · · + a1n xn = 0
a21 x1 + a22 x2 + · · · + a2n xn = 0
.. (2)
.
am1 x1 + am2 x2 + · · · + amn xn = 0
Mehmet E. KÖROĞLU 10
Homogenous System of Linear Equations
a11 x1 + a12 x2 + · · · + a1n xn = 0
a21 x1 + a22 x2 + · · · + a2n xn = 0
.. (2)
.
am1 x1 + am2 x2 + · · · + amn xn = 0
Mehmet E. KÖROĞLU 10
Homogenous System of Linear Equations
a11 x1 + a12 x2 + · · · + a1n xn = 0
a21 x1 + a22 x2 + · · · + a2n xn = 0
.. (2)
.
am1 x1 + am2 x2 + · · · + amn xn = 0
Example
x − y + 3z = 0
Let the homogenous system 2x + y = 0 be given.
−x − 5y + 9z = 0
Mehmet E. KÖROĞLU 11
Homogenous System of Linear Equations
Example
x − y + 3z = 0
Let the homogenous system 2x + y = 0 be given.
−x − 5y + 9z = 0
x
1. For the vector of unknowns x =
y , state the system as
z
Ax = b.
Mehmet E. KÖROĞLU 11
Homogenous System of Linear Equations
Example
x − y + 3z = 0
Let the homogenous system 2x + y = 0 be given.
−x − 5y + 9z = 0
x
1. For the vector of unknowns x =
y , state the system as
z
Ax = b.
2. Write the augmented matrix of the given system and put it
into RREF.
Mehmet E. KÖROĞLU 11
Homogenous System of Linear Equations
Example
x − y + 3z = 0
Let the homogenous system 2x + y = 0 be given.
−x − 5y + 9z = 0
x
1. For the vector of unknowns x =
y , state the system as
z
Ax = b.
2. Write the augmented matrix of the given system and put it
into RREF.
3. Find rank (A) and rank ([A|b]) .
Mehmet E. KÖROĞLU 11
Homogenous System of Linear Equations
Example
x − y + 3z = 0
Let the homogenous system 2x + y = 0 be given.
−x − 5y + 9z = 0
x
1. For the vector of unknowns x =
y , state the system as
z
Ax = b.
2. Write the augmented matrix of the given system and put it
into RREF.
3. Find rank (A) and rank ([A|b]) .
4. Find all the solutions of the system.
Mehmet E. KÖROĞLU 11
Çözüm:1
x −y +3z = 0
2x +y = 0
−x −5y +9z = 0
Mehmet E. KÖROĞLU 12
Çözüm:1
x −y +3z = 0
2x +y = 0
−x −5y +9z = 0
Then
1 −1 3 x 0
2
1 0 y = 0
.
−1 −5 9 z 0
Mehmet E. KÖROĞLU 12
Çözüm:2
1 −1 3 0
2. The augmented matrix of the system is
2 .
1 0 0
−1 −5 9 0
Mehmet E. KÖROĞLU 13
Çözüm:2
1 −1 3 0
2. The augmented matrix of the system is
2 1 0 .
0
−1 −5 9 0
Apply elementary row operations to the augmented matrix to get
REF and RREF.
Mehmet E. KÖROĞLU 13
Çözüm:2
1 −1 3 0
2. The augmented matrix of the system is
2 1 0 .
0
−1 −5 9 0
Apply elementary row operations to the augmented matrix to get
REF and RREF.
1 −1 3 0 H21 (−2)
2
1 0 0 H31 (1)
−1 −5 9 0 ∼
Mehmet E. KÖROĞLU 13
Çözüm:2
1 −1 3 0
2. The augmented matrix of the system is
2 1 0 .
0
−1 −5 9 0
Apply elementary row operations to the augmented matrix to get
REF and RREF.
1
1 −1 3 0 H21 (−2) 1 −1 3 0 H2
3
1 0 0 H31 (1) 0 3 −6 0 H3 −1
2
6
−1 −5 9 0 ∼ 0 −6 12 0 ∼
Mehmet E. KÖROĞLU 13
Çözüm:2
1 −1 3 0
2. The augmented matrix of the system is
2 1 0 .
0
−1 −5 9 0
Apply elementary row operations to the augmented matrix to get
REF and RREF.
1
1 −1 3 0 H21 (−2) 1 −1 3 0 H2
3
1 0 0 H31 (1) 0 3 −6 0 H3 −1
2
6
−1 −5 9 0 ∼ 0 −6 12 0 ∼
1 −1 3 0
0 1 −2 0 H32 (−1)
∼
0 1 −2 0
Mehmet E. KÖROĞLU 13
Çözüm:2
1 −1 3 0
2. The augmented matrix of the system is
2 1 0 .
0
−1 −5 9 0
Apply elementary row operations to the augmented matrix to get
REF and RREF.
1
1 −1 3 0 H21 (−2) 1 −1 3 0 H2
3
1 0 0 H31 (1) 0 3 −6 0 H3 −1
2
6
−1 −5 9 0 ∼ 0 −6 12 0 ∼
1 −1 3 0 1 −1 3 0
0 1 −2 0 H32 (−1) 0 1 −2 0 H12 (1)
∼ ∼
0 1 −2 0 0 0 0 0
Mehmet E. KÖROĞLU 13
Çözüm:2
1 −1 3 0
2. The augmented matrix of the system is
2 1 0 .
0
−1 −5 9 0
Apply elementary row operations to the augmented matrix to get
REF and RREF.
1
1 −1 3 0 H21 (−2) 1 −1 3 0 H2
3
1 0 0 H31 (1) 0 3 −6 0 H3 −1
2
6
−1 −5 9 0 ∼ 0 −6 12 0 ∼
1 −1 3 0 1 −1 3 0
0 1 −2 0 H32 (−1) 0 1 −2 0 H12 (1)
∼ ∼
0 1 −2 0 0 0 0 0
1 0 1 0
0 1 −2 0 .
Mehmet E. KÖROĞLU 13
0 0 0 0
Çözüm:
Mehmet E. KÖROĞLU 14
Çözüm:
Mehmet E. KÖROĞLU 14
Çözüm:
Mehmet E. KÖROĞLU 14
Çözüm:
Mehmet E. KÖROĞLU 14
?
Mehmet E. KÖROĞLU 14