Row Reduction and Echelon Forms
Row reduction uses the safe row operations to turn any matrix into a staircase shape (echelon form), where the solutions can be read straight off. The fully reduced version is unique, so its pivots tell you the true structure of the system: whether there's a solution, and how many.
What the symbols mean
- Any number
Entries the reduction doesn't control.
Explanation
Row reduction is simply the elimination you already know from algebra, done on the rows of the augmented matrix instead of on the written-out equations, until the matrix is as simple as it can get. That's the name: you work on rows, and you reduce the matrix to a simpler shape. It's good for solving any system at all, no matter how many equations and unknowns, and it's exactly what computers do. The target shape above looks cryptic, but it's just three kinds of entries: the s (the pivots, one per row, each further right than the one above), the s (entries we've cleared out on purpose) and the s (numbers that come out to whatever they come out to). Read it as equations and the first row pins down (in terms of ), the second pins down , and the bottom row says . A few new words, but it's just tidy elimination; bear with it.
Echelon form is the staircase shape (échelon is French for a rung of a ladder). It means three things:
- nonzero rows sit above any rows of all zeros;
- each row's leading entry (its first nonzero number) is to the right of the leading entry in the row above;
- everything below a leading entry is zero.
Reduced echelon form goes one step further: every leading entry is , with zeros above it too, so each pivot sits alone in its column.
Pivots are the positions of the leading entries. Columns with pivots correspond to basic variables; columns without a pivot belong to free variables, which can take any value. Think about why that makes sense. A pivot in a column means some row says "this variable equals (stuff)", so that variable gets decided. A column with no pivot never gets its own equation, so nothing pins it down: you choose its value, and the basic variables adjust to match.
Reading the answer:
- A row with means : inconsistent, no solution.
- Otherwise consistent: unique if there are no free variables, infinitely many if there are.
Notice these are the same three cases from the last lesson: lines that never meet, lines that cross once, and lines that lie on top of each other.
A common mistake. It's tempting to think a row of all zeros, , means there's no solution, because a row of nothing looks like something went wrong. It isn't: it says , which is always true. It just means one of the equations was redundant. Only a nonzero number on the right of an otherwise all-zero row signals trouble.
The algorithm. Work left to right: create a pivot, then clear everything below it. When you reach the bottom you're in echelon form. Then sweep back upward, clearing above each pivot, to get the reduced form. There's an animation further down that shows why none of these steps moves the solution.
See it
Worked examples
Solve the system whose augmented matrix reduces to .
- 1
The pivots are in columns 1 and 2, so and are basic and is free.
Practice
Type your answer and check it. Solve them all to complete the lesson.
How many pivots does have?
A consistent system has 3 variables and 2 pivots. How many free variables?
Is the system with row consistent?
Reduce and give .
For the example's solution , give the solution with .
A chemist needs L of acid, mixed from a stock and a stock. How many liters of each? Give the amount, then the amount.
The hardest one here. Get it, and you've got this lesson.
Row reduce the system , , , and give the solution with .
Where it's used
Gaussian elimination is the workhorse inside every numerical linear algebra library, solving systems with millions of unknowns in engineering simulations.