4.5.10 · D4Linear Algebra (Full)

Exercises — Row echelon form and reduced row echelon form

2,218 words10 min readBack to topic

Before we start, one shared piece of notation, built from zero.

Figure — Row echelon form and reduced row echelon form

The figure above is your reference card for the whole page. Read it left-to-right:

  • Left grid (REF). The three shaded diagonal squares are the pivots — the first non-zero entry of each row. They "march right and down" like a staircase, which is exactly what REF demands. The plain numbers above the diagonal ( and ) are allowed to stay in REF.
  • Right grid (RREF). Same pivots, but now the entries above each pivot have been forced to (the shaded off-diagonal cells). RREF requires each pivot to be the only non-zero entry in its column, so this grid is the identity.
  • The arrow between them is the extra Gauss–Jordan work: "clean above." REF → RREF is precisely the act of zeroing everything above each pivot.

(The colour coding — pivots in one accent, cleaned zeros in another — is just a visual aid; the text above states every cell's role so the figure is not needed to follow the logic.)


Level 1 — Recognition

(Can you tell whether a matrix is already in a form, without doing any arithmetic?)

Exercise 1.1

For each matrix, state whether it is in REF, in RREF, or neither. Justify with the exact rule that passes or fails.

Recall Solution 1.1

Read the rules as a checklist. REF needs: (i) zero rows at the bottom, (ii) each pivot strictly right of the one above, (iii) zeros below each pivot. RREF adds: (iv) every pivot , (v) each pivot alone in its column (zeros above too).

: Pivots sit at positions — each further right, no zero rows, zeros below. ✅ REF. But look above pivots: the and the are non-zero entries above pivots. So (v) fails. is in REF only.

: The zero row is in the middle, not the bottom → rule (i) fails immediately. is neither.

: Identity matrix. Every pivot is , alone in its column, staircase perfect. ✅ RREF (and therefore also REF).


Level 2 — Application

(Actually run Gaussian elimination.)

Exercise 2.1

Reduce to REF and solve by back-substitution:

Recall Solution 2.1

Augmented matrix: Step 1 — kill below the top-left pivot ( out of eqns 2,3): , : Step 2 — next pivot is the at ; clear below it: : The bottom row reads . Contradiction → the system has no solution (inconsistent). A pivot landed in the constants column — the algebraic "shout" of inconsistency.

Exercise 2.2

Reduce to REF and solve:

Recall Solution 2.2

Step 1 — make the top-left pivot friendly. Scale : Step 2 — kill below: , : Step 3 — clear below pivot : : Bottom row: inconsistent, no solution. (Notice: two different-looking systems in this level both turned out inconsistent — the tell is always a pivot in the last column.)


Level 3 — Analysis

(Reach RREF, then interpret pivots, free variables and rank.)

Exercise 3.1

Bring to RREF and describe the full solution set:

Recall Solution 3.1

Step 1 — clear below pivot : : Step 2 and are identical; clear below pivot in column 3: : Pivots already equal and column above the row-2 pivot (column 3) is already clean above → this is also RREF. Pivot columns: and . Non-pivot columns: and → variables and are free. Read the equations:

  • Row 1:
  • Row 2:

Solution set (with free): Rank = number of pivots = ==== (see Rank of a Matrix). With variables and rank , there are free variables → a whole 2-D plane of solutions in solution space.

Exercise 3.2

For which value(s) of does the system have (a) a unique solution, (b) infinitely many, (c) none?

Recall Solution 3.2

, : The decisive entry is the pivot slot: , with constant .

  • If : the pivot , so all three columns have pivots → unique solution. Solve: , then , then . So for every .
  • If : bottom row becomes — a zero row, no contradiction, and only pivots for variables → infinitely many solutions (one free variable ). From row 2: . From row 1: . So .
  • No value of gives no solution, because the degenerate case () produces , never . So case (c) is empty.

Level 4 — Synthesis

(Combine RREF with a second idea: independence, or the inverse.)

Exercise 4.1

Use RREF to decide whether these vectors are linearly independent, and find the rank:

Recall Solution 4.1

Put them as columns of a matrix and reduce (pivot columns mark an independent set — see Linear Independence): , : Swap so zero row sinks: Pivots in columns and only → rank . Three vectors but only pivots ⇒ they are linearly dependent. Concretely the dependency shows up because column 3 is not a pivot column: (check: ✅).

Exercise 4.2

Find the inverse of using the augment-with-$I$ method.

Recall Solution 4.2

Augment with the identity and drive the left block to RREF; the right block becomes : : : : : So . Check: ✅.


Level 5 — Mastery

(Build systems / prove structural facts.)

Exercise 5.1

Construct a augmented matrix (3 equations, 3 unknowns ) that is consistent with exactly a one-parameter family of solutions, and whose RREF has pivots in columns and . Then write its solution.

Recall Solution 5.1

One free variable ⇒ rank , pivots in columns (so column , i.e. , is free). A clean RREF meeting this is:

  • Pivots: columns ✅; column pivot-free → free ✅.
  • Last (constant) column has no pivot → consistent ✅; rank variables → one-parameter family ✅. Solution: from row 1, ; from row 2, ; free: A valid original system (un-reduce it): — or dress it up as .

Exercise 5.2

Prove (by contradiction, at the level of pivots) that a square matrix is invertible iff its RREF is the identity .

Recall Solution 5.2

Setup. The RREF of a square matrix is either (a pivot in every column) or has at least one pivot-free column (hence at least one zero row, since pivots can't fit if a column is skipped). These are the only two possibilities for a square matrix.

() RREF invertible. Each row operation equals left-multiplication by an elementary matrix , and each is invertible. If , then , a product of invertibles → invertible, with .

() invertible RREF . Suppose not: the RREF has a zero row. Then , but with all factors invertible, so . Since each and (by assumption) , the product contradiction with the zero row forcing . Hence the RREF has no zero row → a pivot in every column → RREF .


Recall Self-check: rank ↔ solution-count cheat sheet

Each line below is written as Prompt ::: Answer — cover the part after the ::: and test yourself, then reveal it. Let = rank of coefficient block, = rank of augmented matrix, = number of unknowns. If (pivot in last column) ::: no solution (inconsistent) If ::: unique solution If ::: infinitely many, with free variables

Connections

Difficulty Map

L1 recognise a form

L2 run Gaussian elimination

L3 RREF plus free vars rank

L4 independence and inverse

L5 construct and prove