Systems with More Variables
Progress can't be saved in this browser, so this lesson's status can't be set.
Learning goals
- Write and solve for ordered triples
- Eliminate the same variable from two different pairs
- Reduce to a two-variable system, then back-substitute
- Explain why each round removes an unknown and terminates
- Interpret a shared point, line, or plane as solutions
- Read a false or always-true leftover as the special cases
From two unknowns to three
Take the system
The triple solves it, because , , and are all true. A solution is now three numbers, one for each letter.
An equation like these, written in the standard form
is a linear equation in three variables: , , , and are numbers, , , and are not all zero, and each variable appears only to the first power. Its solutions are ordered triples . A system of three linear equations asks for the triple that satisfies all three at the same time. Pinning down three unknowns takes three equations with independent left sides: no left side can be formed by adding multiples of the other two. When one can, the system has either no solution or infinitely many, as the special cases below show.
Elimination, from two lessons ago, still removes a variable however many other letters there are. What is new is how you organize the work: eliminate the same variable from two different pairs of equations, leaving two equations in the same two unknowns.
Check your understanding
Rewrite in the standard form . Which equation results?
Add and subtract on both sides to get , then exchange the two sides. The equation matches with , , , and : each variable appears only to the first power, and the terms are added to equal a constant.
has a term, two variables multiplied together, so it is not linear. has squared, also not first power. has no equals sign, so it is an expression, not an equation, and cannot be solved.
The reduction strategy step by step
- Choose a variable to eliminate, often one that already has matching or opposite coefficients somewhere.
- Eliminate it from one pair of equations by adding or subtracting (scaling first if needed). This leaves one equation in the other two unknowns.
- Eliminate the same variable from a different pair, one that uses the equation you have not touched yet. This gives a second equation in the same two unknowns.
- Solve that two-variable system by substitution or elimination.
- Back-substitute the two values into an original equation with a nonzero coefficient on the eliminated variable, and solve for it.
- Check the triple in all three original equations, not just the ones you combined.
Step 3 is the one people get wrong: eliminate from one pair but from the other, and the two leftover equations still involve three unknowns. If an equation loses all its variables, use the special cases below.
Worked example 1 Solve , , and
Number the equations so the bookkeeping stays clear:
Eliminate : equations and have and equation has , so adding to either of the others cancels . Add and :
Now eliminate the same variable from a second pair that uses the untouched equation . Add and :
Equations and form an ordinary two-variable system. By substitution, gives , so replace in :
Then . Back-substitute and into equation to recover :
Check in all three originals: , , and . All three hold, so the solution is .
Check your understanding
For , , and , add the second equation to each of the other two. Which reduced system results?
Both chosen pairs have opposite coefficients, so both additions eliminate .
Adding the second and third equations gives . Thus , then , and the first original gives . All three originals check: , , and .
Check your understanding
Solve , , and by eliminating from two pairs, then back-substituting. Which triple results?
Add the third equation to the first and to the second, eliminating both times.
Multiply the second reduced equation by , then subtract the first: , so . From , . Back-substitute into to get .
All three originals hold. For example, satisfies the first but gives , not , in the second.
Why the reduction works and always finishes
Each replacement is reversible, just as in the elimination lesson.
Why eliminating a variable preserves the solution set, and why two rounds finish it#
Use , , and . Keep the first equation. Subtract twice the first from the second, and the first from the third:
Adding twice the kept equation back to the first reduced equation recovers the original second equation, and adding the kept equation to the other recovers the original third. Each reduced equation is a combination of the original equations, so every triple that solves those three satisfies it. No triple was gained or lost. Adding the two reduced equations gives ; then , and the kept equation gives .
The same steps work for any coefficients. Choose a variable with a nonzero coefficient and keep an equation containing it. Subtract suitable multiples of that equation from the other two to cancel the variable; adding the same multiples back undoes each step, so the solutions are unchanged. Solve the two remaining equations, then use the kept equation’s nonzero coefficient to recover the eliminated variable. Three unknowns become two, then one: two rounds finish the one-solution case.
The reduction also ends in the other cases. A false statement means no solution. An always-true statement adds no condition and can be set aside. If the reduction finishes with no false statement at any step, a variable that was never eliminated and is missing from all the remaining equations is free to vary.
Larger systems shrink the same way: four equations in four unknowns become three in at most three, and so on, with the same endings.
Check your understanding
Why does the reduction always come to an end, instead of running forever, no matter which three-variable system you start with?
Each elimination round removes a variable from the remaining problem: three can become two, then one. There are only finitely many variables. The process reaches equations that can be solved directly, free variables, or a contradiction; redundant equations can be set aside. Which variable you eliminate is a choice, not a rule, and a three-variable system can also have no solution or infinitely many, not only one.
Check your understanding
After eliminating , you find and . One original equation is . How do you recover ?
Eliminating only set it aside, and the original equation must still hold. Back-substitute the known coordinates.
Simply adding and does not solve the original equation. The recovered triple must also satisfy the other originals.
A three-variable word problem
Three-variable systems fit problems with three unknowns and three facts, such as recovering prices from three receipts, where each receipt is one equation.
Worked example 2 Unknown prices from three receipts
At a snack stand the popcorn, pretzels, and drinks each have a fixed price. Three customers pay:
- one popcorn, one pretzel, and one drink cost dollars,
- two popcorns, one pretzel, and three drinks cost dollars,
- one popcorn, two pretzels, and four drinks cost dollars.
Find the price of each item.
Let , , and be the price in dollars of a popcorn, a pretzel, and a drink. Each receipt becomes one equation:
Eliminate , whose coefficient is in the first equation. Subtract twice equation from equation :
Eliminate the same variable from the untouched equation by subtracting equation :
Add and to cancel :
From , , so . Back-substitute into equation : , so .
So popcorn costs dollars, a pretzel dollars, and a drink dollar. Check each receipt:
The geometry: three planes in space
With two variables, a linear equation draws a line on a flat page. With three, draws a flat sheet stretching out forever in space, a plane. A system of three equations is three planes, and a solution triple is a point lying on all three at once. In the one-solution case, the three planes meet at exactly one point.
Check your understanding
One system's three planes share exactly one point. A second system is , , and . A third system's planes share exactly one line. Which description of their solution sets is correct?
A point shared by all three planes gives a triple satisfying every equation. Exactly one shared point means exactly one solution.
In the second system, dividing the last two equations by and gives the first equation. All three therefore describe the plane .
Every point on that plane solves the second system, including and . Every point on the third system's shared line solves all three of its equations. Both systems have infinitely many triples, but their solution sets have different shapes.
Two planes can also be parallel. Compare with . Dividing the second by gives , which cannot hold at the same point as : same variable coefficients, different constant, so the planes are distinct and parallel. (With instead of , the two equations would describe the same plane.) As with lines in the elimination lesson, two planes are parallel or the same exactly when one equation’s variable coefficients are a nonzero multiple of the other’s; otherwise they cross along a line.
If the planes have no common point, the system is inconsistent and has no solution. That happens when two of them are distinct parallel planes, or when all three cross in pairs without one point common to all three. In the second case, the three intersection lines are distinct and parallel, like the vertical edges of a triangular prism with each side face extended into a whole plane.
Any two of these lines lie in one of the planes and cannot meet, because a meeting point would lie on all three planes, so they are parallel.
If the three planes share a whole line, or coincide as one plane, the system has infinitely many solutions. Elimination tells the cases apart: a false statement means no common point (Worked Example 3), and with no contradiction left means infinitely many (Worked Example 4).
When the reduction hits no solution or infinitely many
Worked example 3 A system with no solution
Solve
Eliminate using the first equation. Subtract equation from equation :
Now clear the same variable from equation by subtracting times equation :
The same expression cannot equal both and . Subtracting from shows it:
This is false, so the system has no solution: the three planes share no common point. Equation ‘s left side is plus , but is not .
Worked example 4 A system with infinitely many solutions
Solve
Eliminate again with the first equation. Subtract equation from equation :
Subtract equation from equation :
Equation is exactly twice . Subtracting times from gives
Indeed, the third original equation is twice the second minus the first, including its constant: . It is a combination of the other two, though not a multiple of either, so it added no new condition. The system has infinitely many solutions: pick any value for , and gives , then equation gives . Here is a free variable: you may choose any real value for it, and the remaining equations determine the other coordinates. Try a few values:
| Triple | |||
|---|---|---|---|
Every row solves all three original equations; for the first, , , and . Each choice of gives a different triple on the same line: the three planes meet along a whole line rather than at a single point.
With two equations in two unknowns, always meant infinitely many solutions. With three equations it means only that one equation added nothing new, and another can still contradict the rest: in , , , the first two collapse to , but the third against the first leaves , so there is no solution.
Check your understanding
Reducing a system of three equations in three unknowns, you eliminate a variable from two pairs and arrive at and . What does this tell you?
is exactly twice , so it adds nothing new: one of the two reduced equations was redundant.
Both pairs have already been eliminated by this point, using all three original equations, so no equation is left in reserve to contradict this pair. One real condition remains for two unknowns, so infinitely many pairs , and so infinitely many triples, solve the system, exactly as in Worked Example 4.
Check your understanding
Reducing a system of three equations in three unknowns, you eliminate a variable from two pairs and arrive at . What does this tell you?
When a step collapses to a false numerical statement, no triple can satisfy every equation.
The three planes share no common point. An always-true ending like would instead say that one equation added no new condition; you would then keep reducing the remaining equations to see whether there are infinitely many solutions or none.