4.5.10Linear Algebra (Full)

Row echelon form and reduced row echelon form

1,836 words8 min readdifficulty · medium2 backlinks

WHAT are these forms?

Figure — Row echelon form and reduced row echelon form

WHY does the staircase work? (first-principles derivation)

The only tools allowed are the three elementary row operations, because each preserves the solution set:

HOW to reach REF — Gaussian elimination

  1. Find the leftmost column with a non-zero entry → pivot column.
  2. Swap a non-zero entry up to the pivot position (avoid dividing by 00).
  3. Use Replace to zero out everything below the pivot.
  4. Ignore that row+column, recurse on the submatrix below-right.

HOW to reach RREF — Gauss–Jordan elimination

Do everything above, then going from the bottom pivot upward: 5. Scale each pivot row so the pivot becomes 11. 6. Use Replace to zero out entries above each pivot too.


Worked Example 1 — to REF then RREF

Solve {x+2y+z=62x+5y+3z=15x+3y+3z=11\begin{cases} x + 2y + z = 6\\ 2x + 5y + 3z = 15\\ x + 3y + 3z = 11 \end{cases}

Augmented matrix: [12162531513311]\left[\begin{array}{ccc|c} 1&2&1&6\\ 2&5&3&15\\ 1&3&3&11\end{array}\right]

Step A: R2R22R1R_2 \to R_2 - 2R_1, R3R3R1R_3 \to R_3 - R_1. Why this step? The pivot is the top-left 11; we kill the entries below it so xx disappears from equations 2 and 3. [121601130125]\left[\begin{array}{ccc|c} 1&2&1&6\\ 0&1&1&3\\ 0&1&2&5\end{array}\right]

Step B: R3R3R2R_3 \to R_3 - R_2. Why this step? The next pivot is the 11 in row 2, column 2. Kill the entry below it so yy leaves equation 3. [121601130012](REF  staircase done!)\left[\begin{array}{ccc|c} 1&2&1&6\\ 0&1&1&3\\ 0&0&1&2\end{array}\right] \quad \textbf{(REF — staircase done!)}

From REF, back-substitute: z=2z=2, then y+z=3y=1y+z=3\Rightarrow y=1, then x+2y+z=6x=2x+2y+z=6\Rightarrow x=2.

Now to RREF (clean above pivots, bottom-up):

Step C: R2R2R3R_2 \to R_2 - R_3, R1R1R3R_1 \to R_1 - R_3. Why? Clear the column of pivot in row 3. [120401010012]\left[\begin{array}{ccc|c} 1&2&0&4\\ 0&1&0&1\\ 0&0&1&2\end{array}\right]

Step D: R1R12R2R_1 \to R_1 - 2R_2. Why? Clear above the row-2 pivot. [100201010012](RREF)\left[\begin{array}{ccc|c} 1&0&0&2\\ 0&1&0&1\\ 0&0&1&2\end{array}\right] \quad \textbf{(RREF)} Read off directly: x=2, y=1, z=2x=2,\ y=1,\ z=2. ✅


Worked Example 2 — free variables & infinite solutions

[12342479]\left[\begin{array}{ccc|c} 1&2&3&4\\ 2&4&7&9\end{array}\right]

Step A: R2R22R1R_2 \to R_2 - 2R_1. Why? Kill below the leading 11. [12340011] (REF)\left[\begin{array}{ccc|c} 1&2&3&4\\ 0&0&1&1\end{array}\right] \ (\text{REF})

Step B: R1R13R2R_1 \to R_1 - 3R_2 (clean above pivot in column 3). [12010011] (RREF)\left[\begin{array}{ccc|c} 1&2&0&1\\ 0&0&1&1\end{array}\right]\ (\text{RREF})

Pivot columns: 1,31,3. Column 22 has no pivotyy is a free variable. x=12yx = 1 - 2y, z=1z = 1, yy free. Infinitely many solutions, a whole line. Why? Fewer pivots than variables ⇒ leftover freedom.


Worked Example 3 — inconsistent system

[112225]R2R22R1[112001]\left[\begin{array}{cc|c} 1&1&2\\ 2&2&5\end{array}\right] \xrightarrow{R_2 \to R_2-2R_1} \left[\begin{array}{cc|c} 1&1&2\\ 0&0&1\end{array}\right] Row 2 reads 0=10=1. A pivot in the augmented (last) columnno solution. Why this matters: a pivot in the constants column is the algebraic shout "contradiction!".



Recall Feynman: explain to a 12-year-old

Imagine a messy tower of blocks where each variable is hidden in many boxes. We slide boxes around (row operations) so the blocks form a staircase: the top step has all variables, the next step has one fewer, and the bottom step holds just one secret number. Once you know the bottom one, you climb up the stairs filling in the rest. RREF is when we also dust off the steps so each step shows exactly one clean answer — no climbing needed!


Flashcards

What is a pivot (leading entry)?
The first non-zero entry in a non-zero row.
Three conditions for REF?
Zero rows at bottom; each pivot strictly right of the one above; zeros below each pivot.
Two extra conditions for RREF beyond REF?
Every pivot is 1; each pivot is the only non-zero entry in its column (zeros above too).
Is REF unique?
No — only RREF is unique for a given matrix.
What are the three elementary row operations?
Swap rows; scale a row by a non-zero constant; add a multiple of one row to another.
Why do row operations preserve solutions?
Each is reversible, so no solution is gained or lost.
What does a pivot in the augmented (last) column mean?
The system is inconsistent (0 = nonzero) — no solution.
What is a free variable?
A variable whose column has no pivot; it can take any value.
How is rank read from REF?
Number of pivots = number of non-zero rows.
REF → solving method vs RREF → solving method?
REF: back-substitution; RREF: read solution off directly.
Gaussian vs Gauss–Jordan elimination?
Gaussian reaches REF (zeros below pivots); Gauss–Jordan continues to RREF (leading 1's, zeros above too).

Connections

Concept Map

represented as matrix

preserves solution set

first non-zero entry defines

used by

zeros below pivots produces

clean above and scale to 1

extends Gaussian to produce

enables

allows

is

Linear equation system

Elementary row operations

Pivot / leading entry

Row Echelon Form

Reduced Row Echelon Form

Gaussian elimination

Gauss-Jordan elimination

Back-substitution

Read off solution

Unique form

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, jab humein linear equations ka system solve karna hota hai, hum usko ek augmented matrix mein likhte hain aur fir row operations (row swap, row ko non-zero number se multiply, ya ek row mein doosri row ka multiple add) lagate hain. Yeh operations solution ko kabhi change nahi karte, kyun ki har operation reversible hai — jo kiya hai usko undo bhi kar sakte ho. Goal hai matrix ko ek staircase shape mein lana.

Row Echelon Form (REF) ka matlab: har row ka pehla non-zero number (jisko pivot bolte hain) upar wale pivot se thoda right mein ho, aur pivot ke neeche sab zero ho. Yahan tak aate hi tum back-substitution se neeche se upar solve kar sakte ho — last row se ek variable mil jata hai, fir upar climb karte jao.

Reduced REF (RREF) ek step aur aage hai: har pivot ko 11 bana do, aur pivot ke upar aur neeche dono zero kar do. Tab answer seedha matrix mein dikh jata hai, kuch solve karne ki zaroorat nahi. Yaad rakhna: RREF unique hota hai har matrix ke liye, par REF unique nahi (alag-alag staircase ban sakte hain).

Do important cheezein: agar kisi column mein pivot nahi hai to wo variable free variable hai (infinite solutions). Aur agar last (augmented) column mein pivot aa gaya, matlab 0=0 = koi non-zero number — system ka koi solution nahi hai. Exam mein rank nikalna ho to bas pivots gin lo!

Go deeper — visual, from zero

Test yourself — Linear Algebra (Full)

Connections