Row Echelon Form (REF) and Reduced Row Echelon Form (RREF)
Problem
Transform the matrix [[1,2,3],[4,5,6],[7,8,10]] to reduced row echelon form and identify the pivots.
Explanation
REF vs. RREF — definitions
A matrix is in row-echelon form (REF) if:
- All zero rows sit at the bottom.
- The leading entry (pivot) of each non-zero row is strictly to the right of the pivot in the row above.
- Entries below each pivot are zero.
A matrix is in reduced row-echelon form (RREF) if, additionally: 4. Each pivot is exactly . 5. Each pivot is the only non-zero entry in its column.
RREF is unique — any matrix reduces to exactly one RREF regardless of the row operations you use.
Step-by-step reduction
Start:
Step 1 — Zero out column 1 below the pivot.
: . : .
Step 2 — Zero out column 2 below the pivot.
: .
This is row-echelon form. To continue to RREF:
Step 3 — Scale each row so pivots become 1.
: .
Step 4 — Zero out entries ABOVE each pivot. Start from the rightmost pivot.
: . : .
: .
The matrix has three pivots — one in each column — so its rank is 3.
What RREF tells you
- Rank = number of pivots.
- Number of free variables = (# columns) − (# pivots).
- Null space basis reads directly off the RREF of .
- Solving reduces to reading values from the RREF of .
For this identity RREF: the matrix is invertible, with a unique solution to any consistent system.
Common mistakes
- Moving column-to-column before clearing the current column. Clear one column completely before starting the next.
- Scaling before clearing the column. Works either way, but leave scaling for last to keep arithmetic clean (fewer fractions mid-way).
- Confusing REF with RREF. REF only requires zeros below pivots and pivots moving right. RREF also requires leading s and zeros above each pivot.
Try it in the visualization
Step through each row operation. The matrix updates in place; pivots highlight in green; zero entries below and above pivots highlight as they're cleared.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.