Solve this system of linear equations.
The system has exactly one solution.
Write the system as one block of numbers
While we solve, the letters and the signs never change; only the numbers do. Carrying the letters through every line is pure copying, and copying is where slips happen. So we strip the system down to its numbers, keeping each number's POSITION to remember what it multiplies. That block is the augmented matrix.
Pivot 1: column 1, row 1
We work one column at a time, left to right. The goal for a column is a single (the pivot) with zeros everywhere else in it. A column in that state says something very plain: its variable appears in exactly one equation, with nothing in front of it. Each cleared column is one variable pinned down.
Multiply row 1 by , which turns the pivot into . Multiplying an equation through by a number that is not zero keeps it true for exactly the same values.
| column | working | new entry |
|---|---|---|
Replace row 2 by . The multiplier is chosen so that the entry under attack, , is cancelled exactly by the pivot: .
| column | working | new entry |
|---|---|---|
Replace row 3 by . The multiplier is chosen so that the entry under attack, , is cancelled exactly by the pivot: .
| column | working | new entry |
|---|---|---|
Pivot 2: column 2, row 2
The same job for the next column. Working left to right matters: the rows we use now already have zeros in the earlier pivot columns, so clearing this column cannot spoil the columns already finished. That is why the method never has to go back.
Swap row 2 and row 3, to bring the entry up to the pivot position. Swapping two equations changes nothing about what they say together.
Multiply row 2 by , which turns the pivot into . Multiplying an equation through by a number that is not zero keeps it true for exactly the same values.
| column | working | new entry |
|---|---|---|
Replace row 1 by . The multiplier is chosen so that the entry under attack, , is cancelled exactly by the pivot: .
| column | working | new entry |
|---|---|---|
Replace row 3 by . The multiplier is chosen so that the entry under attack, , is cancelled exactly by the pivot: .
| column | working | new entry |
|---|---|---|
Pivot 3: column 3, row 3
The same job for the next column. Working left to right matters: the rows we use now already have zeros in the earlier pivot columns, so clearing this column cannot spoil the columns already finished. That is why the method never has to go back.
Multiply row 3 by , which turns the pivot into . Multiplying an equation through by a number that is not zero keeps it true for exactly the same values.
| column | working | new entry |
|---|---|---|
Replace row 1 by . The multiplier is chosen so that the entry under attack, , is cancelled exactly by the pivot: .
| column | working | new entry |
|---|---|---|
Replace row 2 by . The multiplier is chosen so that the entry under attack, , is cancelled exactly by the pivot: .
| column | working | new entry |
|---|---|---|
Read the answer off the reduced matrix
The reduced matrix is the same system written in its plainest form, so now we turn the numbers back into equations and simply read them. Three things can happen, and the matrix shows at a glance which one: an impossible row, a pivot for every unknown, or an unknown left without a pivot.
Every unknown has a pivot, so every row names one unknown outright. Reading the rows:
Check the answer in every original equation
Row reduction involves dozens of small calculations, and one wrong sign anywhere gives a confident, wrong answer. The check costs little and is decisive: put the answer into the ORIGINAL equations, not the reduced ones. If every one balances, no slip can have survived.