Reduce a 3x3 augmented matrix to reduced row echelon form (RREF).
Forward elimination creates the upper-triangular REF; back-
substitution then normalizes each pivot to 1 and zeros entries
above each pivot, yielding a unique solution directly.
Example
Continue row operations until each pivot column is reduced.
highlighted = computed this step
Step 1 — Set up
Start with the augmented matrix.
121130142384
Step 2 — Update row 2
Update row 2 using row 1: r2 <- r2 - 2*r1.
101110122324
Step 3 — Update row 3
Update row 3 using row 1: r3 <- r3 - r1.
10011-1121321
Step 4 — Update row 3
Update row 3 using row 2: r3 <- r3 + r2.
100110123323
Step 5 — Normalize row 3
Scale row 3: r3 <- 1/3*r3.
100110121321
Step 6 — Back-sub row 1
Update row 1 using row 3: r1 <- r1 - r3.
100110021221
Step 7 — Back-sub row 2
Update row 2 using row 3: r2 <- r2 - 2*r3.
100110001201
Step 8 — Back-sub row 1
Update row 1 using row 2: r1 <- r1 - r2.
100010001201
Step 9 — Result
Read the solution: x1 = 2, x2 = 0, x3 = 1.
100010001201,solution: x1=2,x2=0,x3=1
rrefA matrix is in reduced row echelon form when it is in REF and every pivot equals 1 with zeros both above and below it.
back-substitutionStarting from the bottom-right pivot, divide each pivot row to make the pivot 1, then subtract multiples from rows above to eliminate that column entry everywhere else.