Reduced Row-Echelon Form & Gauss–Jordan
Row echelon form gives you a staircase of pivots, but reduced row echelon form (rref) goes further: every pivot is scaled to a leading 1 and stands alone in its column. This lesson covers Definition 5.4, the Gauss–Jordan sweep that produces the rref, and Remark 5.2 — the fact that the rref of a matrix is unique.
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
Is the matrix in reduced row echelon form?
Which statement correctly distinguishes reduced row echelon form (rref) from row echelon form (REF)?
What you’ll be able to do
- State the three conditions of Definition 5.4 that a matrix must satisfy to be in reduced row echelon form.
- Carry out Gauss–Jordan elimination: reduce to row echelon form, scale each pivot to a leading 1, then clear every other entry in each pivot column.
- Use Remark 5.2 to explain why the rref of a matrix is unique even though its row echelon form is not.
- Determine the rank of a matrix by counting the leading 1's in its rref.
- Decide whether a given matrix is in reduced row echelon form.
In your course
· MATH2015 · Linear Algebra & Probability- Definition 5.3Row-echelon formA matrix is in row echelon form if all zero rows are at the bottom and the pivot of every nonzero row lies to the right of the pivot of the row above.
- Definition 5.4Reduced row echelon formA matrix is in reduced row echelon form if it is in row echelon form, the leading entry of each nonzero row is a 1, and each column containing a leading 1 has zeros in all its other entries.
- Remark 5.2Uniqueness of the rrefThe rref may be computed by Gauss–Jordan elimination and is unique; although the REF is not unique, all REFs and the rref of a matrix have the same number of zero rows, with pivots in the same rows and columns.
- Example 5.4Reduced row echelon form of a 4×4 matrixReduces A to an rref with three leading 1's, giving rank(A) = 3.
From row echelon form to reduced row echelon form
Recall Definition 5.3: a matrix is in row echelon form (REF) when every all-zero row is at the bottom and each pivot (the left-most nonzero entry of a row) lies strictly to the right of the pivot in the row above. Definition 5.4 adds two conditions for reduced row echelon form (rref): (2) the leading entry of every nonzero row equals 1 (a 'leading 1'), and (3) every column containing a leading 1 has zeros in all of its other entries. For instance, is in REF with leading 1's but is still not in rref, because column 2 has a nonzero entry () above its leading 1. Its rref is .
Gauss–Jordan elimination
Gaussian elimination (the forward pass) only makes zeros below each pivot, producing a row echelon form. Gauss–Jordan elimination finishes the job to produce the rref. After reaching REF, work backwards from the last (bottom-right) pivot upward: scale each pivot row so the pivot becomes a leading 1, then add multiples of that row to the rows above to create zeros above the pivot as well. When every pivot is a 1 that stands alone in its column, you have the rref. In short: the forward pass clears entries below the pivots, and the backward pass normalizes the pivots and clears the entries above them.
The rref is unique (Remark 5.2)
A matrix has many row echelon forms — different valid choices of row swaps and scalings give different nonzero entries. But Remark 5.2 guarantees it has exactly one reduced row echelon form. Moreover, for a fixed matrix, every REF and the rref share the same number of zero rows, and the pivots always appear in the same rows and columns. The 'skeleton' of the elimination is forced by the matrix itself; driving each pivot column all the way down to a column of the identity removes every remaining ambiguity, leaving one canonical matrix.
Reading off the rank
Because pivot positions are invariant (Remark 5.2), the number of pivots is a property of the matrix itself — this number is the rank. Read it off the rref by counting the leading 1's, equivalently the nonzero rows. In Example 5.4 the matrix reduces to an rref with three leading 1's, so its rank is 3; in Example 5.3 the row echelon form has two pivots, so that matrix has rank 2. For a square matrix, full rank is equivalent to .
A matrix is in row echelon form if: (1) all rows consisting only of zeros are at the bottom; and (2) the leading entry (pivot) — the left-most nonzero entry — of every nonzero row lies to the right of the leading entry of every row above it.
A matrix is in reduced row echelon form if: (1) it is in row echelon form; (2) the leading entry in each nonzero row is a 1 (a leading 1); and (3) each column containing a leading 1 has zeros in all its other entries.
The reduced row echelon form of a matrix may be computed by Gauss–Jordan elimination. Unlike the row echelon form, the reduced row echelon form of a matrix is unique. For a given matrix, although the REF is not unique, all row echelon forms and the rref have the same number of zero rows, and the pivots are found in the same rows and columns.
Worked examples
Find the reduced row echelon form of , and state its rank.
- 1
The entry is already a leading 1, so it is the first pivot. Clear the entry below it: gives .
- 2
Scale row 2 so its pivot becomes a leading 1: gives . The matrix is now in row echelon form with leading 1's.
- 3
Gauss–Jordan backward sweep: use the row-2 pivot (column 2) to clear the entry above it. gives .
- 4
Every pivot is a leading 1 and stands alone in its column, so this is the rref.
(Example 5.4) Find the reduced row echelon form and the rank of .
Is in reduced row echelon form? If not, finish the reduction.