Mathematics Knowledge · 8 min lesson

What you will learn
Solve a pair of linear equations by replacing one variable with an expression from the other equation, then check the ordered pair in both.
The lesson
A system of two equations has two unknowns, which is hard to solve all at once. Substitution fixes that. If one equation tells you what y equals, you can swap that expression in wherever y appears in the other equation. Now you have one equation with one unknown, which you already know how to solve.
The four steps
- IsolateGet one variable alone: y = … or x = …
- SubstitutePut that expression into the other equation, in parentheses.
- SolveFind the one remaining variable, then the other.
- CheckTest the pair in both original equations.
Here is a short one. Solve y = x + 4 and 2x + y = 19.
| Step | Work |
|---|---|
| Substitute x + 4 for y | 2x + (x + 4) = 19 |
| Combine like terms | 3x + 4 = 19 |
| Solve for x | 3x = 15, so x = 5 |
| Find y | y = 5 + 4 = 9 |
| Check both | 9 = 5 + 4 ✓ and 2(5) + 9 = 19 ✓ |
When nothing is isolated yet
Pick the variable that is easiest to get alone, usually one with a coefficient of 1 or −1. Take x − 2y = 1 and 3x + y = 17. The x in the first equation has no number in front, so add 2y to both sides: x = 2y + 1.
Now substitute, using parentheses: 3(2y + 1) + y = 17. Distribute: 6y + 3 + y = 17, so 7y = 14 and y = 2. Then x = 2(2) + 1 = 5. The solution is (5, 2).
When the expression you substitute has more than one term, wrap it in parentheses. 3(2y + 1) is 6y + 3. Without parentheses it is easy to write 6y + 1 and get the wrong answer.
Substitution or elimination?
⇄ Use substitution
One equation already says y = … or x = …, or a variable has a coefficient of 1.
± Use elimination
Both equations are in ax + by = c form and the coefficients line up easily.
Both methods give the same answer. Pick whichever means less work.
If the question asks which ordered pair solves a system, you can also test the answer choices. Plug each one into both equations. The right choice works in both, not just one.
Isolate one variable, substitute its expression in parentheses into the other equation, solve, then check the ordered pair in both equations.
Worked example
A theater sold 40 tickets for $292. Adult tickets cost $9 and child tickets cost $5. How many adult tickets were sold?
- Write two equationsLet a = adult tickets and c = child tickets. a + c = 40 and 9a + 5c = 292.
- IsolateFrom the first: a = 40 − c.
- Substitute9(40 − c) + 5c = 292, so 360 − 9c + 5c = 292.
- Solve360 − 4c = 292, so 4c = 68 and c = 17. Then a = 40 − 17 = 23.
- Check23 + 17 = 40 ✓ and 9(23) + 5(17) = 207 + 85 = 292 ✓
Answer: 23 adult tickets
The answer choices will likely include 17, the child count. You solved for c first, but the question asked for a.
Practice with a hint
Hint: One equation already tells you what y equals. Put that expression in place of y in the other equation, solve for x, then find y.
Try it on your own
Work one step at a time: solve the system, check your point, then use it to finish the question.
Common mistakes
- Forgetting to distribute. 3(2y + 1) is 6y + 3, not 6y + 1.
- Dropping a negative. 9(40 − c) is 360 − 9c, not 360 + 9c.
- Substituting back into the same equation. Putting y = x + 4 into y = x + 4 just gives x + 4 = x + 4, which tells you nothing.
- Stopping at one value. A system's answer is an ordered pair. After x = 5, you still need y.
- Checking only one equation. (5, 9) must work in both equations, not just the one you used last.
Next step
- Isolate a variable, ideally one with a coefficient of 1.
- Substitute its expression in parentheses into the other equation.
- Solve for one variable, then use it to find the other.
- Check the ordered pair in both original equations.
Practice this with the free Mathematics Knowledge practice test, then review key ideas with the Mathematics Knowledge flashcards.