A smoothie stand sold 60 smoothies on Saturday, and it sold twice as many small smoothies as large ones. How many of each? Let be the number of small smoothies and the number of large ones. The facts give two equations: and . You could graph both lines, but look at the second equation: it tells you that is . So in the first equation you can cross out and write in its place. That leaves , an equation with only one variable, which you already know how to solve. This move, replacing a variable with an expression that is equal to it, is called substitution, and it is one of the two main algebra methods for solving linear systems.
So the stand sold 40 small and 20 large smoothies. Check both facts: , and is twice . Why is it allowed? The two equations must be true at the same time, so at the solution really does equal . Replacing one by the other cannot change whether the first equation is true. The payoff is that the second variable disappears, and a two-variable problem becomes a one-variable equation.
The steps
- Isolate one variable in one of the equations, so it reads or . Choose a variable whose coefficient is or if you can.
- Substitute that expression into the other equation, inside brackets.
- Solve the new equation, which has only one variable.
- Back-substitute: put the value you found into the isolated equation from step 1 to find the other variable.
- Check the ordered pair in both original equations, then state the solution as .
Why the brackets matter
In the figure, in is replaced by . The in front of multiplies the whole expression, so you must write . Distributing gives and , so the equation becomes . Without brackets, it is easy to write , and that one sign error makes every later step wrong. Brackets also keep a product clear when you back-substitute: , not .
When the variable disappears
Sometimes, after you substitute and simplify, both variables cancel and you are left with a statement containing only numbers. That is not an error: it is the algebra telling you which special case you have. Try and . Substituting gives , so , which is . That is always true, whatever is, so every point on the line is a solution: the two equations describe the same line and there are infinitely many solutions. Now try and . Isolating gives , and substituting gives , so , which is . That is never true, so no point works: the lines are parallel and there is no solution.
- Example: or
- Every point on the line works
- The equations describe the same line
- Infinitely many solutions
- Example: or
- No point works
- The lines are parallel and never meet
- No solution