Row Reduction (3)
From a General Matrix to an Echelon Form
The colors below mean the following:
Blue=Done Part, Yellow=Current Focus, Pink=Pivot
The Given Matrix
| 0 |
0 |
0 |
1 |
2 |
1 |
2 |
-1 |
0 |
-1 |
2 |
3 |
| 0 |
0 |
0 |
-3 |
-6 |
-3 |
-6 |
3 |
0 |
3 |
-6 |
-3 |
| 0 |
0 |
2 |
-1 |
3 |
3 |
4 |
-3 |
-1 |
0 |
-4 |
1 |
| 0 |
0 |
6 |
-11 |
-7 |
1 |
-4 |
-1 |
0 |
8 |
-4 |
1 |
| 0 |
0 |
4 |
-7 |
-4 |
-1 |
4 |
-3 |
-7 |
1 |
-6 |
3 |
| 0 |
0 |
0 |
0 |
0 |
4 |
-12 |
4 |
10 |
8 |
-24 |
-12 |
Objective:
Obtain an echelon form of the given
matrix by row operations.
- Start with the leftmost nonzero column of the matrix.
We have nothing to do with the zero columns on the left of the working column; they are done.
| 0 |
0 |
0 |
1 |
2 |
1 |
2 |
-1 |
0 |
-1 |
2 |
3 |
| 0 |
0 |
0 |
-3 |
-6 |
-3 |
-6 |
3 |
0 |
3 |
-6 |
-3 |
| 0 |
0 |
2 |
-1 |
3 |
3 |
4 |
-3 |
-1 |
0 |
-4 |
1 |
| 0 |
0 |
6 |
-11 |
-7 |
1 |
-4 |
-1 |
0 |
8 |
-4 |
1 |
| 0 |
0 |
4 |
-7 |
-4 |
-1 |
4 |
-3 |
-7 |
1 |
-6 |
3 |
| 0 |
0 |
0 |
0 |
0 |
4 |
-12 |
4 |
10 |
8 |
-24 |
-12 |
- Pick a nonzero entry in the working column as a pivot
| 0 |
0 |
0 |
1 |
2 |
1 |
2 |
-1 |
0 |
-1 |
2 |
3 |
| 0 |
0 |
0 |
-3 |
-6 |
-3 |
-6 |
3 |
0 |
3 |
-6 |
-3 |
| 0 |
0 |
2 |
-1 |
3 |
3 |
4 |
-3 |
-1 |
0 |
-4 |
1 |
| 0 |
0 |
6 |
-11 |
-7 |
1 |
-4 |
-1 |
0 |
8 |
-4 |
1 |
| 0 |
0 |
4 |
-7 |
-4 |
-1 |
4 |
-3 |
-7 |
1 |
-6 |
3 |
| 0 |
0 |
0 |
0 |
0 |
4 |
-12 |
4 |
10 |
8 |
-24 |
-12 |
- Swap Row 1 and Row 3 to bring the pivot to the top of the working column
| 0 |
0 |
2 |
-1 |
3 |
3 |
4 |
-3 |
-1 |
0 |
-4 |
1 |
| 0 |
0 |
0 |
-3 |
-6 |
-3 |
-6 |
3 |
0 |
3 |
-6 |
-3 |
| 0 |
0 |
0 |
1 |
2 |
1 |
2 |
-1 |
0 |
-1 |
2 |
3 |
| 0 |
0 |
6 |
-11 |
-7 |
1 |
-4 |
-1 |
0 |
8 |
-4 |
1 |
| 0 |
0 |
4 |
-7 |
-4 |
-1 |
4 |
-3 |
-7 |
1 |
-6 |
3 |
| 0 |
0 |
0 |
0 |
0 |
4 |
-12 |
4 |
10 |
8 |
-24 |
-12 |
- Eliminating the entries below the pivot in the working column:
Row 4 replaced by Row 4 - 3 Row 1
Row 5 replaced by Row 5 - 2 Row 1
| 0 |
0 |
2 |
-1 |
3 |
3 |
4 |
-3 |
-1 |
0 |
-4 |
1 |
| 0 |
0 |
0 |
-3 |
-6 |
-3 |
-6 |
3 |
0 |
3 |
-6 |
-3 |
| 0 |
0 |
0 |
1 |
2 |
1 |
2 |
-1 |
0 |
-1 |
2 |
3 |
| 0 |
0 |
0 |
-8 |
-16 |
-8 |
-16 |
8 |
3 |
8 |
8 |
-2 |
| 0 |
0 |
0 |
-5 |
-10 |
-7 |
-4 |
3 |
-5 |
1 |
2 |
1 |
| 0 |
0 |
0 |
0 |
0 |
4 |
-12 |
4 |
10 |
8 |
-24 |
-12 |
- The blue rows and columns are done.
Now we focus on the remaining part, that is,
the (Yellow) submatrix at the lower right corner.
| 0 |
0 |
2 |
-1 |
3 |
3 |
4 |
-3 |
-1 |
0 |
-4 |
1 |
| 0 |
0 |
0 |
-3 |
-6 |
-3 |
-6 |
3 |
0 |
3 |
-6 |
-3 |
| 0 |
0 |
0 |
1 |
2 |
1 |
2 |
-1 |
0 |
-1 |
2 |
3 |
| 0 |
0 |
0 |
-8 |
-16 |
-8 |
-16 |
8 |
3 |
8 |
8 |
-2 |
| 0 |
0 |
0 |
-5 |
-10 |
-7 |
-4 |
3 |
-5 |
1 |
2 |
1 |
| 0 |
0 |
0 |
0 |
0 |
4 |
-12 |
4 |
10 |
8 |
-24 |
-12 |
- The next working column is the leftmost nonzero column within the (Yellow) submatrix.
A nonzero entry in that column of the submatrix is picked as a new pivot.
(If necessary, move this pivot to the top row of the submatrix by row swapping.)
| 0 |
0 |
2 |
-1 |
3 |
3 |
4 |
-3 |
-1 |
0 |
-4 |
1 |
| 0 |
0 |
0 |
-3 |
-6 |
-3 |
-6 |
3 |
0 |
3 |
-6 |
-3 |
| 0 |
0 |
0 |
1 |
2 |
1 |
2 |
-1 |
0 |
-1 |
2 |
3 |
| 0 |
0 |
0 |
-8 |
-16 |
-8 |
-16 |
8 |
3 |
8 |
8 |
-2 |
| 0 |
0 |
0 |
-5 |
-10 |
-7 |
-4 |
3 |
-5 |
1 |
2 |
1 |
| 0 |
0 |
0 |
0 |
0 |
4 |
-12 |
4 |
10 |
8 |
-24 |
-12 |
- Eliminate the other entries in the (Yellow) working column by using the pivot:
Row 3 replaced by Row 3 + (1/3)Row 2
Row 4 replaced by Row 4 - (8/3)Row 2
Row 5 replaced by Row 5 - (5/3)Row 2
| 0 |
0 |
2 |
-1 |
3 |
3 |
4 |
-3 |
-1 |
0 |
-4 |
1 |
| 0 |
0 |
0 |
-3 |
-6 |
-3 |
-6 |
3 |
0 |
3 |
-6 |
-3 |
| 0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
2 |
| 0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
3 |
0 |
24 |
6 |
| 0 |
0 |
0 |
0 |
0 |
-2 |
6 |
-2 |
-5 |
-4 |
12 |
6 |
| 0 |
0 |
0 |
0 |
0 |
4 |
-12 |
4 |
10 |
8 |
-24 |
-12 |
- The blue part of the matrix is in good shape now.
Our next working area is the Yellow submatrix
at the lower right corner:
| 0 |
0 |
2 |
-1 |
3 |
3 |
4 |
-3 |
-1 |
0 |
-4 |
1 |
| 0 |
0 |
0 |
-3 |
-6 |
-3 |
-6 |
3 |
0 |
3 |
-6 |
-3 |
| 0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
2 |
| 0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
3 |
0 |
24 |
6 |
| 0 |
0 |
0 |
0 |
0 |
-2 |
6 |
-2 |
-5 |
-4 |
12 |
6 |
| 0 |
0 |
0 |
0 |
0 |
4 |
-12 |
4 |
10 |
8 |
-24 |
-12 |
- The next working column is the leftmost nonzero column of the submatrix.
The columns on the left of that column are all done.
| 0 |
0 |
2 |
-1 |
3 |
3 |
4 |
-3 |
-1 |
0 |
-4 |
1 |
| 0 |
0 |
0 |
-3 |
-6 |
-3 |
-6 |
3 |
0 |
3 |
-6 |
-3 |
| 0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
2 |
| 0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
3 |
0 |
24 |
6 |
| 0 |
0 |
0 |
0 |
0 |
-2 |
6 |
-2 |
-5 |
-4 |
12 |
6 |
| 0 |
0 |
0 |
0 |
0 |
4 |
-12 |
4 |
10 |
8 |
-24 |
-12 |
- In the working column of the submatrix,
pick a nonzero entry as the next working pivot.
Move the wokring pivot to the top of the working column, by swapping Row 3 and Row 5.
| 0 |
0 |
2 |
-1 |
3 |
3 |
4 |
-3 |
-1 |
0 |
-4 |
1 |
| 0 |
0 |
0 |
-3 |
-6 |
-3 |
-6 |
3 |
0 |
3 |
-6 |
-3 |
| 0 |
0 |
0 |
0 |
0 |
-2 |
6 |
-2 |
-5 |
-4 |
12 |
6 |
| 0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
3 |
0 |
24 |
6 |
| 0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
2 |
| 0 |
0 |
0 |
0 |
0 |
4 |
-12 |
4 |
10 |
8 |
-24 |
-12 |
- Using the working pivot to eliminate the other nonzero entries in the working column:
Row 6 replaced by Row 6 + 2Row 3
| 0 |
0 |
2 |
-1 |
3 |
3 |
4 |
-3 |
-1 |
0 |
-4 |
1 |
| 0 |
0 |
0 |
-3 |
-6 |
-3 |
-6 |
3 |
0 |
3 |
-6 |
-3 |
| 0 |
0 |
0 |
0 |
0 |
-2 |
6 |
-2 |
-5 |
-4 |
12 |
6 |
| 0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
3 |
0 |
24 |
6 |
| 0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
2 |
| 0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
- The resulting matrix is in echelon form now.
The five pink entries are the pivots.
ECHELON FORM
| 0 |
0 |
2 |
-1 |
3 |
3 |
4 |
-3 |
-1 |
0 |
-4 |
1 |
| 0 |
0 |
0 |
-3 |
-6 |
-3 |
-6 |
3 |
0 |
3 |
-6 |
-3 |
| 0 |
0 |
0 |
0 |
0 |
-2 |
6 |
-2 |
-5 |
-4 |
12 |
6 |
| 0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
3 |
0 |
24 |
6 |
| 0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
2 |
| 0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
Remark 1:
Even if we start from the same matrix,
different choices of row operations may give
different echelon forms.
For example,
| |
| → |
| R2 replaced by R2-(1/2)R1 | |
|
(Echelon Form) |
|
|
| |
| |
| |
| |
|
|
|
|
(Also an Echelon Form) |
Remark 2:
The reduced echelon form, however, is unique.
The reduced echelon form is independent of the row operations you choose.
Links: (1)
From a General Matrix to the Reduced Echelon Form, with detailed explanations
(2)
From a General Matrix to the Reduced Echelon Form, with steps only (no detailed explanations)
(4)
From an Echelon Form to the Reduced Echelon Form