Section 1.2
Section 1.2
ENGINEERING
Gaussian elimination
Section 1. 2
0 0 0 1 0 0 0 0 0 0 0 0
0 1 ∗ ∗ ∗ ∗ ∗ ∗ ∗ ∗
0 0 0 1 ∗ ∗ ∗ ∗ ∗ ∗
0 0 0 0 1 ∗ ∗ ∗ ∗ ∗
0 0 0 0 0 1 ∗ ∗ ∗ ∗
0 0 0 0 0 0 0 0 1 ∗
0 0 0 1 0 0 0 0 0 0 0 0
0 1 ∗ 0 0 0 ∗ ∗ 0 ∗
0 0 0 1 0 0 ∗ ∗ 0 ∗
0 0 0 0 1 0 ∗ ∗ 0 ∗
0 0 0 0 0 1 ∗ ∗ 0 ∗
0 0 0 0 0 0 0 0 1 ∗
0x + 0y + 0z = 1
x − 5y + z = 4
From this equation we see that the free variables can be assigned
arbitrary values, say y = s and z = t, which then determine the value
of x. Thus, the solution set can be expressed parametrically as
x = 4 + 5s − t, y = s, z=t
Locate the leftmost column that does not consist entirely of zeros.
0 0 −2 0 7 12
2 4 −10 6 12 28
2 4 −5 6 −5 −1
If the entry that is now at the top of the column found in Step 1 is a,
multiply the first row by 1/a in order to introduce a leading 1
1 2 −5 3 6 14
0 0 −2 0 7 12 ←
2 4 −5 6 −5 −1
Add suitable multiples of the top row to the rows below so that all
entries below the leading 1 become zeros.
1 2 −5 3 6 14
0 0 −2 0 −2 times the first row of
7 12 +
matrix was added to the third row
0 0 5 0 −17 −29
Now cover the top row in the matrix and begin again with Step 1
applied to the submatrix that remains. Continue in this way until the
entire matrix is in row echelon form.
1 2 −5 3 6 14
0 0 −2 0 7 12
0 0 5 0 −17 −29
1 2 −5 3 6 14
0 0 1 0 − 27 −6
0 0 5 0 −17 −29
1 2 −5 3 6 14 7
0 0 1 0 0 1 ←− 2 times the third r
matrix was added
0 0 0 0 1 2
1 2 −5 3 0 2
0 0 1 0 0 1
0 0 0 0 1 2
−6 times the third row was added to the
first row.
1 2 0 3 0 7
0 0 1 0 0 1
0 0 0 0 1 2
5 times the second row was added to the
first row.
The last matrix is in reduced row echelon form.
Adding -2 times the first row to the second and fourth rows gives
1 3 −2 0 2 0 0
0 0 −1 −2 0 −3 −1
0 0 5 10 0 15 5
0 0 4 8 0 18 6
1
x1 = −3r − 4s − 2t, x2 = r , x3 = −2s, x4 = s, x5 = t, x6 =
3
x3 = −2x4
x6 = 31
1
x1 = −3r − 4s − 2t, x2 = r , x3 = −2s, x4 = s, x5 = t, x6 =
3
to be
1 2 −5 3 6 14
0 0 1 0 − 27 −6
0 0 0 0 1 2
The leading 1’s occur in positions (row 1, column 1), (row 2, column 3
), and (row 3 column 5). These are the pivot positions. The pivot
columns are columns 1, 3, and 5.