Augmented matrices and row operations
Why bother with a matrix
- Elimination involves writing , and over and over. The letters carry no information — only the coefficients change.
- An augmented matrix strips out the letters and keeps the numbers in position:
- Each row is one equation. Each column is one variable, and the column after the bar holds the constants.
- The vertical bar matters. It marks where the equals signs were; without it the constants look like a fourth variable.
- This is bookkeeping, not new mathematics. Every row operation is exactly a step of elimination written more compactly.
Setting the matrix up correctly
- Every equation must be in the same order of variables before you start: terms, then , then , then the constant.
- A missing variable is a ZERO, not a gap. becomes the row .
- Keep the signs. A coefficient of is written , not 1.
The three row operations
- Only three operations are allowed, and each corresponds to something you already do in elimination:
| Operation | Notation | Elimination equivalent |
|---|---|---|
| Swap two rows | writing the equations in a different order | |
| Multiply a row by a non-zero constant | multiplying an equation through | |
| Add a multiple of one row to another | subtracting one equation from another |
- Every one of these leaves the solution unchanged, because each is reversible and each corresponds to a valid algebraic step.
- Multiplying by ZERO is not allowed. It destroys an equation and can turn an inconsistent system into a consistent-looking one.
- Label every operation. "" written beside the new row is the working, and without it the method is invisible.
Row echelon form
- The goal is a staircase of zeros in the lower left:
-
Once in this form, the last row is a single equation in one unknown, and the system unwinds by back-substitution from the bottom up.
-
The procedure:
- Use row 1 to make zeros below the first entry of column 1.
- Use row 2 to make a zero below the leading entry of column 2.
- Read off the bottom row, then back-substitute upwards.
-
Worked through — from the matrix above:
- Bottom row: , so
- Middle row: , so
- Top row: , so
- Solution — the same answer as by ordinary elimination ✓
Reading the nature of the solution off the matrix
- The bottom row tells you everything, before any back-substitution:
| Bottom row | Meaning | Solutions |
|---|---|---|
| with | gives a definite | Unique |
| , always true | Infinitely many | |
| with | , impossible | None |
- This is the fastest way to classify a system, and it is why the matrix form is worth learning even though it changes no mathematics.
- A row of zeros including the constant means one equation carried no new information — it was a combination of the others.
What NOT to do with the matrix
- Do not swap columns. Rows are equations and may be reordered freely; columns are variables and reordering them silently renames your unknowns.
- Do not treat the augmented matrix as an object of matrix algebra. At this level it is a layout for elimination — there is no need for determinants or inverses, and this standard does not require them.
Worked ExampleSolving by row reduction
Solve the following system using an augmented matrix, and state the nature of the solution.
Step 1 — Write the augmented matrix
Every variable is present in every equation, so there are no zeros to insert.
Step 2 — Swap to get a leading 1
, so that the top-left entry is 1 and the arithmetic stays in whole numbers:
Step 3 — Clear the first column
:
:
Step 4 — Simplify row 3 before continuing
, since every entry is even:
Step 5 — Clear the second column below the pivot
Match the coefficients of : .
Step 6 — Read the nature of the solution from the bottom row
The bottom row is , meaning .
Step 7 — Back-substitute from the bottom
Row 3:
Row 2:
Row 1:
Step 8 — Check in all three ORIGINAL equations
Equation 1: ✓
Equation 2: ✓
Equation 3: ✓
Step 9 — State the answer
Geometrically, the three planes meet at exactly one point — which is what the non-zero bottom-left entry in the echelon form told us at Step 6, before any of the arithmetic was done.