Professional Documents
Culture Documents
Systems of Linear Equations Matrices: Section 3 Gauss-Jordan Elimination
Systems of Linear Equations Matrices: Section 3 Gauss-Jordan Elimination
Systems of
Linear Equations;
Matrices
Section 3
Gauss-Jordan
Elimination
Copyrightfor
Barnett, Finite Mathematics © 2015, 2011, and
Business, 2008 Pearson
Economics, Education, Inc.
Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 1
Gauss-Jordan Elimination
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 2
Reduced Matrices
In the preceding section we used row operations to transform
the augmented matrix for a system of two equations in two
variables into one of the following simplified forms:
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 3
Reduced Form
A list of all simplified matrix forms is not practical for large
linear systems.
We define a simplified form called a reduced matrix.
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 4
Example 1 Reduced Forms
The following matrix is not in reduced form.
Indicate which condition in the definition is violated.
Tell the row operation(s) required to transform the matrix into
reduced form, and find the reduced form.
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 5
Example 1 Reduced Forms
The following matrix is not in reduced form. Indicate which
condition in the definition is violated.
Tell the row operation(s) required to transform the matrix into
reduced form, and find the reduced form.
Solution Condition 3 is violated. The
1 2 2 3 column containing the left most 1 in row
B.) 2 has a nonzero element above the 1.
0 0 1 1
Perform the row operation 2R2 + R1 → R1.
1 2 0 1
0 0 1 1
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 6
Example 1 Reduced Forms
The following matrix is not in reduced form. Indicate which
condition in the definition is violated.
Tell the row operation(s) required to transform the matrix into
reduced form, and find the reduced form.
1 0 3 Solution Condition 1 is violated. The
second row contains all zeros and is not
C.) 0 0 0
0 1 2 below any row having at least one
nonzero element. Interchange R2 and R3.
1 0 3
0 1 2
0 0 0
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 7
Example 1 Reduced Forms
The following matrix is not in reduced form. Indicate which
condition in the definition is violated.
Tell the row operation(s) required to transform the matrix into
reduced form, and find the reduced form.
1 0 0 1 Solution Condition 2 is violated. The
leftmost nonzero in row 2 is not a 1.
D.) 0 2 0 3
0 0 1 5 Perform the row operation ½ R2 → R2.
1 0 0 1
3
0 1 0 2
0 0 1 5
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 8
Example 2 Solving a System
Using Gauss-Jordan Elimination
Solve by Gauss-Jordan elimination:
2 x1 2 x2 x3 3
3 x1 x2 x3 7
x 3 x2 2 x3 0
1
2 2 1 3
3 1 1 7
1 3 2 0
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 9
Example 2 Solving a System
Using Gauss-Jordan Elimination
continued
2 2 1 3 Step 1 Need a 1 in the left most
3 1 1 7 nonzero column.
1 3 2 0 R1 ↔ R3
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 10
Example 2 Solving a System
Using Gauss-Jordan Elimination
continued
1 3 2 0 Step 3 Need a 1 in the second row
second column.
0 10 7 7
0 4 3 3 0.1R2 ↔ R2
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 11
Example 2 Solving a System
Using Gauss-Jordan Elimination
continued
1 0 0.1 2.1 Step 5 Need a 1 in the third row
third column.
0 1 0.7 0.7
0 0 0.2 0.2
–5R3 ↔ R3
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 12
Example 2 Solving a System
Using Gauss-Jordan Elimination
continued
1 0 0 2 The matrix is now in reduced form,
and we can solve the corresponding
0 1 0 0
reduced system.
0 0 1 1
x1 2
x2 0
x3 1
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 13
Procedure Gauss-Jordan
Elimination
Step 1 Choose the leftmost nonzero column and use
appropriate row operations to get a 1 at the top.
Step 2 Use multiples of the row containing the 1 from step 1
to get zeros in all remaining places in the column containing
this 1.
Step 3 Repeat step 1 with the submatrix formed by
(mentally) deleting the row used in step 2 and all rows above
this row.
Step 4 Repeat step 2 with the entire matrix, including the
rows deleted mentally. Continue this process until the entire
matrix is in reduced form.
Note: If we obtain a row with all zeros to the left of the vertical line
and a nonzero number to the right, we can conclude that we will
have a contradiction: 0 = n, n ≠ 0. The system has no solution.
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 14
Example 3 Solving a System
Using Gauss-Jordan Elimination
Solve by Gauss-Jordan elimination:
2 x1 4 x2 x3 4
4 x1 8 x2 7 x3 2
2 x 4 x2 3 x3 5
1
2 4 1 4
4 8 7 2
2 4 3 5
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 15
Example 3 Solving a System
Using Gauss-Jordan Elimination
continued
2 4 1 4
4 8 7 2 0.5R1 ↔ R1
2 4 3 5
1 2 0.5 2
(–4) R1 + R2 → R2
4 8 7 2
(2) R1 + R3 → R3
2 4 3 5
1 2 0.5 2
0 0 5 10
0 0 2 1
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 16
Example 3 Solving a System
Using Gauss-Jordan Elimination
continued
1 2 0.5 2
Column 3 is the
0 0 5 10 0.2R2 ↔ R2 leftmost nonzero
0 0 2 1 column in this
submatrix.
1 2 0.5 2
(–0.5) R2 + R1 → R1
0 0 1 2
0 0 2 1 (2) R2 + R3 → R3
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 18
Example 3 Solving a System
Using Gauss-Jordan Elimination
With Calculator Processes
continued
Solution Complete the row reduction process using calculator
steps.
3 6 9 15
2 4 6 10
2 3 4 6
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 20
Example 4 Solving a System
Using Gauss-Jordan Elimination
continued
3 6 9 15
⅓R1 ↔ R1
2 4 6 10
2 3 4 6
1 2 3 5 (–2) R1 + R2 → R2
2 4 6 10 (2) R1 + R3 → R3
2 3 4 6
1 2 3 5
0 0 0 0
0 1 2 4
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 21
Example 4 Solving a System
Using Gauss-Jordan Elimination
continued
1 2 3 5 Interchange rows 2 and 3
R2 ↔ R3 to obtain a nonzero entry
0 0 0 0
0 1 2 4 at the top of the second
column of this submatrix.
1 2 3 5
(–2) R2 + R1 → R1
0 1 2 4
0 0 0 0
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 22
Example 4 Solving a System
Using Gauss-Jordan Elimination
continued
1 0 1 3
The reduced matrix corresponds to
0 1 2 4
the reduced system of equations.
0 0 0 0
x1 x3 3
x2 2 x3 4
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 23
Example 4 Solving a System
Using Gauss-Jordan Elimination
continued
x1 x3 3 x1 = –x3 – 3
gives
x2 2 x3 4 x2 = 2x3 + 4
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 25
Example 5 Solving a System
Using Gauss-Jordan Elimination
Solve by Gauss-Jordan elimination:
x1 2 x2 4 x3 x4 x5 1
2 x1 4 x2 8 x3 3 x4 4 x5 2
x1 3 x2 7 x3 3 x5 2
1 2 4 1 1 1
2 4 8 3 4 2
1 3 7 0 3 2
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 26
Example 5 Solving a System
Using Gauss-Jordan Elimination
continued
1 2 4 1 1 1 –2R1 + R2 → R2
2 4 8 3 4 2
1 3 7 0 3 2 –1R1 + R3 → R3
1 2 4 1 1 1
0 0 0 1 2 0 R2 ↔ R3
0 1 3 1 4 3
1 2 4 1 1 1
0 1 3 1 4 3 –2R2 + R1 → R1
0 0 0 1 2 0
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 27
Example 5 Solving a System
Using Gauss-Jordan Elimination
continued
1 0 2 3 9 7 –3R3 + R1 → R1
0 1 3 1 4 3
0 0 0 1 2 0 R3 + R2 → R2
1 0 2 0 3 7 Matrix is in reduced form.
0 1 3 0 2 3 Write the corresponding
0 0 0 1 2 0 system.
x1 2 x3 3 x5 7
x2 3x3 2 x5 3
x4 2 x5 0
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 28
Example 5 Solving a System
Using Gauss-Jordan Elimination
continued
x1 2 x3 3 x5 7 Solve for the left most variables
x2 3x3 2 x5 3 x1, x2, and x4, in terms of the
x4 2 x5 0 remaining variable.
x1 2 x3 3 x5 7 Let x3 = s and x5 = t, then for
x2 3 x3 2 x5 3 any real numbers s and t, we
x4 2 x5 have the solution to the system.
x1 2 s 3t 7
x2 3s 2t 3
x3 s
x4 2t
x5 t
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 29
Recall the Three Step Model
Using mathematics to solve real-
world problems can be broken down
into the three steps:
1 1 1 25
1
350 R2 R2
350 700 1, 400 28, 000
1 1 1 25
R1 R2 R2
1 2 4 80
1 1 1 25
R2 R1 R1
0 1 3 55
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 32
Example 6 Purchasing continued
x1 2 x3 30 x1 2 x3 30
or
x2 3 x3 55 x2 3 x3 55
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 33
Example 6 Purchasing continued
x1 2t 30
x2 3t 55
x3 t
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 34
Example 6 Purchasing continued
x1 2t 30
x2 3t 55
x3 t
The first and second equations also place restrictions on t.
Barnett, Finite Mathematics for Business, Economics, Life Sciences, and Social Sciences, 14e, GE
Copyright © 2019, 2015, 2011 Pearson Education Ltd. Slide 36