System of Linear Equations2
System of Linear Equations2
3 y 5z 6
2 3
y 2z 1 0 1 2 1
x y 3z 4 1 1 3 4
z3 0 0 1
R2 3R3 R2
3
y 2z 1 0 1 2 1
x y 3z 4 1 1 3 4
0
y 2z 1 R2 R3
1 2 1
z3
MAT 125: Dr. Litan Kumar Saha
0 0 1 3 25
Gaussian Elimination
Some system are much easier to solve:
1) Diagonal matrices
2) Triangular matrices
Gaussian Elimination transforms the problem into a
triangular system
26
MAT 125: Dr. Litan Kumar Saha
ECHELON FORM
A rectangular matrix is in echelon form (or row echelon form)
if it has the following three properties:
1. If a row does not consist entirely of zeros, then the first
nonzero number in the row is a 1. We call this a leading 1.
2. If there are any rows that consist entirely of zeros, then they
are grouped together at the bottom of the matrix.
3. In any two successive rows that do not consist entirely of
zeros, the leading 1 in the lower row occurs farther to the right
than the leading 1 in the higher row.
27
MAT 125: Dr. Litan Kumar Saha
Example of matrix in Echelon Form
1 4 5 9 7 13 6 10 0
0 1 4 6 6 00 1 4 3
0 0 0 1 0 00 0 1 1
2
0
0 0 0 0 00 0 0 0
Leading 1's shift to
the right in
successive rows.
28
MAT 125: Dr. Litan Kumar Saha
Reduced Row-Echelon Form
A matrix is in reduced row-echelon form if it is in row-
echelon form and also satisfies the following condition.
29
MAT 125: Dr. Litan Kumar Saha
Reduced Row-Echelon Form
A matrix is in reduced row-echelon form if it is in row-
echelon form and also satisfies the following condition.
30
MAT 125: Dr. Litan Kumar Saha
Example of Reduced Row-Echelon Form
é 1 0 0 1 ù 1 0 2 3 0 24
ê ú 0 1 2 2 0 7
ê 0 1 0 2 ú
êë 0 0 1 0 úû 0 0 0 0 1 4
1 3 0 0 0
0 0 1 0 3
0 0 0 1 1
2
0 0 0 0 0
31
MAT 125: Dr. Litan Kumar Saha
Solving a System Using Row-Echelon Form
4 x 8 y 4z 4
3 x 8 y 5z 11
2 x y 12z 17
We first write the augmented matrix of the system. Then, we use
elementary row operations to put it in row-echelon form.
4 8 4 4
3 8 5 11
2 1 12 17
32
MAT 125: Dr. Litan Kumar Saha
Solving a System Using Row-Echelon Form
4 8 4 4 1 2 1 1
3 8 5 11 1R
4 1
3 8 5 11
2 1 12 17 2 1 12 17
33
MAT 125: Dr. Litan Kumar Saha
Using Reduced Row-Echelon Form
36
MAT 125: Dr. Litan Kumar Saha
Using Reduced Row-Echelon Form
1 2 1 1
0 1 4 7
0 0 1 2
37
MAT 125: Dr. Litan Kumar Saha
Using Reduced Row-Echelon Form
Find the complete solution of the system.
x 2y 3z 4w 10
x 3 y 3z 4w 15
2 x 2y 6z 8w 10
1 2 3 4 10 1 2 3 4 10
1 3 3 4 15
R2 R1 R2
0 1 0 0 5
R3 2R1 R3
2 3 6 8 10 0 2 0 0 10
1 2 3 4 10 1 0 3 4 0
R3 2R2 R3
0 1 0 0 5
R1 2R2 R1
0 1 0 0 5
0 0 0 0 0 0 0 0 0 0
39
MAT 125: Dr. Litan Kumar Saha
Using Reduced Row-Echelon Form
So, the last matrix corresponds to the system
x 3z 4w 0
y 5
To obtain the complete solution, we solve for the leading variables x
and y in terms of the nonleading variables z and w, and we let z and w
be any real numbers.
Thus, the complete solution is:
x = 3s + 4t
y=5
z=s
w=t
where s and t are any real numbers.
We can also express the answer as the ordered quadruple
(3s + 4t, 5, s, t).
40
MAT 125: Dr. Litan Kumar Saha
Using Reduced Row-Echelon Form
41
MAT 125: Dr. Litan Kumar Saha
Using Reduced Row-Echelon Form
Adding —2 times the first row to the second and fourth rows gives
Multiplying the second row by −1 and then adding −5 times the new second row to
the third row and −4 times the new second row to the fourth row gives
42
MAT 125: Dr. Litan Kumar Saha
Using Reduced Row-Echelon Form
Interchanging the third and fourth rows and then multiplying the third row of the
resulting matrix by gives the row echelon form
43
MAT 125: Dr. Litan Kumar Saha
Using Reduced Row-Echelon Form
44
MAT 125: Dr. Litan Kumar Saha
Using Reduced Row-Echelon Form
45
MAT 125: Dr. Litan Kumar Saha
Gaussian Elimination
Solve the system of linear equations using Gaussian elimination and
Gauss-Jordan elimination.
46
MAT 125: Dr. Litan Kumar Saha
Gaussian Elimination
Consider the system
(a) Find those values of a for which the system has a unique
solution.
(b) Find those pairs of values (a; b) for which the system has
more than one solution.
47
MAT 125: Dr. Litan Kumar Saha
Gaussian Elimination
Solve the system of linear equations using Gaussian elimination and
Gauss-Jordan elimination.
48
MAT 125: Dr. Litan Kumar Saha
Gaussian Elimination
In Exercises 5–8, solve the linear system by Gaussian elimination
and Gauss-Jordan elimination.
49
MAT 125: Dr. Litan Kumar Saha