Solving Linear Systems by Substitution
Graphing shows where two lines cross, but it can only estimate an answer like . Substitution finds the exact solution with algebra. The idea is to use one equation to write one variable in terms of the other, so that the second equation has only one variable left, which you already know how to solve.
Key ideas
Section titled “Key ideas”The method
Section titled “The method”- Isolate one variable in one of the equations (for example, get or ).
- Substitute that expression into the other equation. Use brackets!
- Solve the new equation, which has only one variable.
- Back-substitute that value into the isolated equation from step 1 to find the other variable.
- Check the ordered pair in both original equations, and state the solution.
Why does this work? At the solution, and have the same values in both equations. So if the first equation says equals , you can replace with in the second equation too.
You already used a special case in Grade 9: when both equations are solved for , setting the right sides equal is substitution.
Choosing which variable to isolate
Section titled “Choosing which variable to isolate”Look for a variable with a coefficient of or . Isolating it doesn’t create any fractions.
| System | Best choice |
|---|---|
| and | is already isolated |
| and | isolate in the first: |
| and | isolate in the first: |
If no coefficient is or , substitution still works but creates fractions. In that case elimination is usually easier.
Systems with fractions or decimals
Section titled “Systems with fractions or decimals”Clear them first. Multiply every term of an equation by the lowest common denominator (or by or for decimals). The new equation has the same solutions, and integer coefficients are much easier to work with.
When something strange happens
Section titled “When something strange happens”If the variable disappears and you’re left with a false statement such as , the system has no solution (the lines are parallel). If you’re left with a true statement such as , it has infinitely many solutions (the lines are the same). The elimination page looks at these cases in more detail.
Worked examples
Section titled “Worked examples”Example 1: One variable already isolated
Section titled “Example 1: One variable already isolated”Solve the system.
Solution. The first equation already gives . Substitute for in the second equation:
Back-substitute into : .
Check in the second equation: ✓. (The first equation is true by construction: ✓.)
The solution is .
Example 2: Choosing what to isolate
Section titled “Example 2: Choosing what to isolate”Solve the system.
Solution. In the first equation, has a coefficient of , so isolate :
Substitute into the second equation:
Back-substitute: .
Check: ✓ and ✓. The solution is .
Example 3: A system with fractions
Section titled “Example 3: A system with fractions”Solve the system.
Solution. Clear the fractions first. Multiply every term of the first equation by , and every term of the second by :
Now isolate in the second equation: . Substitute into the first:
Back-substitute: .
Check in the original equations: ✓ and ✓. The solution is .
Example 4: An answer graphing couldn’t find
Section titled “Example 4: An answer graphing couldn’t find”Solve the system.
Solution. In the second equation has a coefficient of . Isolate it:
Substitute into the first equation:
Back-substitute:
Check in the first equation: ✓.
The solution is . On a graph this would look like “about ”, but substitution gives the exact answer.
Common mistakes
Section titled “Common mistakes”Forgetting the brackets. Substituting into gives . Without brackets you’d write and multiply only the first term by .
Substituting back into the same equation. If you isolate from the first equation, substitute it into the second. Putting it back into the first gives something like and tells you nothing.
Stopping after one variable. Finding is only half the answer. A solution is an ordered pair: back-substitute to find too.
Sign errors when isolating. From , the result is , not . Check by substituting a value: with , both and give .
Clearing fractions from only some terms. When you multiply an equation by , every term gets multiplied, including the one on the right side.
Checking in only one equation. The equation you used to back-substitute will always check. The real test is the other one, so check both.
Practice
Section titled “Practice”1. (Warm-up) Solve: and .
Solution
Substitute for :
Then . Check: ✓. The solution is .
2. (Warm-up) Solve: and .
Solution
Substitute for :
Then . Check: ✓. The solution is .
3. (Core) Solve: and .
Solution
Isolate in the first equation: . Substitute into the second:
Then .
Check: ✓ and ✓. The solution is .
4. (Core) Solve: and .
Solution
Isolate in the second equation: . Substitute into the first:
Then .
Check: ✓ and ✓. The solution is .
5. (Core) Solve: and .
Solution
Substitute for in the second equation:
Then .
Check: ✓. The solution is .
6. (Core) Solve: and .
Solution
Multiply every term of the first equation by :
From the second equation, . Substitute:
Then .
Check in the original first equation: ✓. The solution is .
7. (Core) A rectangular garden has a perimeter of m. Its length is m more than its width. Write a system of equations and solve it by substitution to find the dimensions.
Solution
Let be the length and the width, in metres.
Substitute for :
Then . The garden is m by m.
Check: ✓.
8. (Challenge) Try to solve and by substitution. What happens, and what does it tell you about the graphs?
Solution
Substitute for :
The disappears and the result is false. No values of and can make both equations true, so the system has no solution.
On a graph, the second equation is . Both lines have slope but different -intercepts ( and ), so they are parallel and never meet.
9. (Challenge) Solve: and .
Solution
Multiply both equations by to clear the decimals:
Divide the second equation by : , so . Substitute into the first:
Then .
Check in the original equations: ✓ and ✓. The solution is .