Systems in Three Variables
Learning goals
- Picture each equation as a plane in three-dimensional space
- Eliminate one variable at a time to reach triangular form, then back-substitute
- Tell a false row (no solution) apart from a vanishing row (a free variable)
- Sort the outcome into a point, a line, a plane, or no solution
- Parameterize a line or a plane with one letter per free variable
From a line to a plane
A linear equation in three variables has the standard form
with numbers , , , and at least one of , , nonzero, and each variable to the first power only. Its solutions are ordered triples , three numbers at once. Compare the counting. In two variables an equation leaves one degree of freedom: solve for whichever variable has a nonzero coefficient, and the other is free to be anything, so the solutions sweep out a line. (If , that means picking freely and solving for .) In three variables an equation leaves two degrees of freedom: solve for one variable using whichever coefficient is nonzero, and the other two are free, so the solutions sweep out a two-dimensional sheet, a plane. (If , that means picking and freely and solving for .) Going up one variable lifts the picture up one dimension.
A system of three linear equations stacks three of these and asks for the triples satisfying all three at once. Geometrically it stacks three planes and asks which points lie on every one. That is why solving a three-variable system is the study of how planes can intersect.
The elimination algorithm: reduce to triangular form
You met elimination as a way to cancel a variable by adding or subtracting equations. The previous lessons also proved the key fact we lean on: replacing one equation by itself plus a multiple of another changes nothing about the solution set. The upgrade here is to stop combining pairs at random and instead aim at a target shape. Use the first equation to remove from the other two, then use the new second equation to remove from the third. This only works if the equation you are eliminating with actually contains the variable you are clearing; if it does not, for instance the first equation happens to have no term, swap it with a lower equation that does. Swapping the order of two equations changes nothing about the solution set, so it is always allowed. What remains is a triangular (staircase) system: the first equation still carries all three unknowns, the second carries only two, the third carries only one.
The bottom equation has one unknown, so you solve it outright. Carry that value up into the second equation and solve for its second unknown. Carry both up into the first equation and solve for the last. This forward sweep to triangular form, then the climb back up, is a fixed procedure you can run without inventing anything. Two lessons from now you will drop the letters and record only the coefficients in a rectangular array called a matrix, and this identical sweep becomes a purely mechanical routine. For now keep the letters, so the reasoning stays visible.
Worked example 1 Solve , ,
Number the equations to keep the bookkeeping honest:
Use equation to clear from the other two. Subtract from , and subtract times from :
Now clear from the second of these by subtracting it from the first, which leaves a single equation in :
The system is now triangular, one variable dropping away at each step:
Climb from the bottom. The last row gives . Put that into the middle row:
Put and into the top row:
The candidate is . Check it in all three originals, including the one you touched last:
The three planes meet at the single point .
Check your understanding
A system has been reduced to the triangular form , , and . What is ?
Climb from the bottom. The last equation gives . Substitute into the middle equation.
Now put and into the top equation.
Back-substitution recovers the variables one row at a time, from the bottom up.
A word problem in three unknowns
Three unknowns generally need three independent facts to pin down one value for each, and each fact becomes one equation. Independent just means each fact adds real information: repeating something you already know does not count as a fourth fact. The elimination routine solves the resulting system the same way, whether the third fact is a full weighted total or a plain relationship between the unknowns.
Worked example 2 A three-way coffee blend
A roaster builds a -pound blend from three coffees. The three coffees are a house roast at dollars per pound, a dark roast at dollars per pound, and a decaf at dollars per pound. The blend costs dollars in all, and the roaster uses as much house roast as dark and decaf combined. How many pounds of each go in?
Let , , and be the pounds of house, dark, and decaf. The three facts become
Divide equation by to shrink the numbers, and rewrite equation with all terms on one side:
Use to clear . Subtract from , and subtract times from :
Those two equations are an ordinary two-variable system. Subtract times the first from the second to strip out :
Then , and . Check the cost, the fact held back longest:
The blend takes pounds of house roast, pounds of dark, and pounds of decaf.
The four possible outcomes
Every example so far ended at one point, but that is only the most common ending. Recall the two-variable result from the previous lesson: a system there is consistent (has a solution) or inconsistent (none). A consistent system is in turn either independent (exactly one solution) or dependent (infinitely many). The infinite case had a single shape, a whole line where two equations described the same line. Space adds a dimension, and with it a new possibility. A dependent system in three variables can leave the solutions filling a line or filling an entire plane, so the catalog grows from three entries to four.
How do you tell which of the four you are looking at, just from the arithmetic? Read the triangular form. The next three examples work out a line, a false row, and a plane in turn; after that we can explain why these four outcomes, and no others, are the only ones possible.
Degenerate systems and how to read them
When the sweep ends with anything other than one value pinned down for each variable, the arithmetic tells you which shape you have. A false row ( with ) means no solution, and it overrides everything else. If no row is false, then a vanishing row () is a redundant constraint, so a variable is free and you parameterize. To parameterize, name each free variable with a letter and solve for the rest in terms of it.
Worked example 3 A vanishing row: the solutions form a line
Solve
Clear using equation . Add to each of the others, since their terms are :
Both reductions give the identical equation , so subtracting one from the other leaves . The third equation carried no new information. Only two real constraints survive, equation and , so one variable is free: the solutions form a line.
Parameterize by naming the free variable. Set ; then gives
Recover from equation , :
Every solution has the form
one triple for each value of . (You could set instead to clear the fraction out of , giving : the same line, just labeled with a differently scaled letter.) Check the held-back equation :
for every . The three planes share this whole line.
Worked example 4 A false row: no solution
Solve
Clear with equation . Subtract times from , and times from :
The same expression cannot equal both and . Subtract the first from the second to see it:
This row is false, so no triple satisfies all three equations. The system is inconsistent, and the three planes enclose space without ever sharing a common point.
Check your understanding
Elimination on a three-equation system produces the rows , , and . What is the solution set?
The row is false: no triple can make equal . A false row means the system has no solution, and it overrides every other row, even if another row happened to vanish too. Once you find one false row, you never need to look at the rest.
Worked example 5 Two vanishing rows: the solutions form a plane
Solve
Look before computing. Equation is exactly times equation , and equation is exactly times equation . Elimination confirms it: adding times to gives , and subtracting times from gives . Both extra rows vanish, so only one real constraint survives. With two variables left undetermined, the solution set is a whole plane, namely the single plane that all three equations describe.
Parameterize with two letters. Solve for , whose coefficient is so no fractions appear, and let the other two run free as and :
Every solution has the form
one triple for each pair . Two free letters sweep out a two-dimensional sheet, which is exactly what it means for the answer to be a plane.
Check your understanding
A system reduces to the single surviving equation , with the other two rows vanishing to . Writing and , which parameterization gives every solution?
Two rows vanished, so only one real constraint survives in three unknowns and two variables are free. Set and , then solve the surviving equation for .
So every solution is . Spot-check with : the triple satisfies .
Why exactly these four?
Why exactly these four outcomes, and never a stray answer like two points? The triangular form settles it. The count that matters is how many rows out of the triangular system still carry real information, that is, how many did not vanish into .
Why the solution set is a point, a line, a plane, or nothing#
Run the forward elimination until the system is triangular, exactly as in the examples above. Each step replaces one equation by itself plus a multiple of another, and the earlier lessons proved that such a step neither loses a solution nor invents one. So the triangular system has exactly the solutions the original did. Read it from the bottom up.
If any row comes out false ( with ), no triple can satisfy it, so the solution set is empty. That case is done; assume from here that no row is false.
Otherwise, count the surviving equations, the rows that did not vanish into . Each surviving equation pins down one variable once the variables below it are known, the same way back-substitution worked in every worked example above. Every variable that no surviving equation pins down is free: you may give it any value you like, and each choice produces a different solution.
| Surviving equations | Free variables | Solution set |
|---|---|---|
| 3 | 0 | a single point |
| 2 | 1 | a line (one parameter) |
| 1 | 2 | a plane (two parameters) |
A count of surviving equations would need all three original equations to vanish, which cannot happen for a genuine system of three equations. So a consistent system always lands in one of the three rows above, and together with the empty case, the complete catalog is point, line, plane, or nothing. It can never be exactly two solutions, or any other finite count past one, because as soon as one variable is free, running it through infinitely many values produces infinitely many solutions.