Systems in Three Variables
Learning goals
- Picture each equation as a plane in space
- Eliminate forward to triangular form, then back-substitute
- Sort the outcome into point, line, plane or empty
- Read a false row as empty and a zero row as free
- Parameterize a line or plane with a letter per free variable
- Note the routine is mechanical, which is why a matrix can run it
From a line to a plane
A linear equation in three variables has the standard form
with numbers , , , (and , , not all zero) 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: pick and is forced, so the solutions sweep out a line. In three variables an equation leaves two degrees of freedom: pick and freely and is forced, so the solutions sweep out a two-dimensional sheet, a plane. 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. 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 need three independent facts, and each fact becomes one equation. 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 shape of the solution set
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.
Why exactly these four, and never a stray answer like two points? The triangular form settles it. The count that matters is how many equations survive the forward sweep as genuine constraints.
Why the solution set is a point, a line, a plane, or nothing#
Run the forward elimination until the system is triangular. 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.
First, a row may collapse to with . No triple can make equal a nonzero number, so the system has no solution and its solution set is empty. Set that case aside.
Otherwise every surviving row genuinely constrains the unknowns. Call a variable a pivot when it is the first variable still present in some row of the triangular system. That row pins its pivot down as soon as the variables after it are known. A variable that is never a pivot is free, meaning you may hand it any value you like. Suppose of the rows survive as real constraints, so there are pivots and free variables. Back-substitution then determines each pivot uniquely from whatever values the free variables were given. So the solutions are exactly the triples you sweep out by running the free variables through all their choices.
Now count. If , no variable is free, back-substitution forces one value for each unknown, and the solution set is a single point. If , one variable is free; letting it run traces a one-parameter family of triples, which is a line. If , two variables are free, and the two-parameter family they generate fills a plane. A count of would need all three equations to vanish, which cannot happen for a genuine system, and no other value of exists. So a consistent three-variable system has one solution, a line of them, or a plane of them. Such a system never has exactly two solutions, or any other finite count past one, because a single free variable already delivers infinitely many. Together with the empty case, the complete catalog is point, line, plane, or nothing.
Check your understanding
Elimination turns a three-equation system into and , with the third equation reduced to . What is the solution set?
The row is always true, so it imposes no condition and drops out. Two genuine equations survive in three unknowns, so and there is one free variable.
One free variable traces a one-parameter family, which is a line. A plane would need two free variables, that is only one surviving equation.
Degenerate systems and how to read them
When the sweep ends anywhere but three clean pivots, 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 and one variable is free: the solutions form a line.
Parameterize. In , set so the division by comes out clean; as runs over all numbers, still reaches every value. Then
Recover from equation , :
Every solution has the form
one triple for each value of . Check the held-back equation : $-t + 5(1 - t) + 3(2t) = -t + 5 - 5t
- 6t = 5t$. 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.
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 constraint survives. With free variables, 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 and , with the third equation vanishing. Writing , which parameterization gives all the solutions?
One row vanished, so two constraints remain in three unknowns and one variable is free. Set and solve each equation for its leading variable.
So every solution is . You can spot-check with : the triple satisfies both and .