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.
On the SAT
Section titled “On the SAT”On the SAT, you can skip the algebra and graph both equations in Desmos, then click the intersection. Substitution is still quicker when one equation already says or , because one line of work finishes it. Desmos rounds, so an intersection like means ; on a fill-in question enter the exact fraction () or fill every space (). See using Desmos on the SAT.
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 .
Homework
Section titled “Homework”Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.
Solve every system by substitution and check your solution in both original equations.
Foundations
Section titled “Foundations”H1. (Foundations) Solve each system.
- (a) and
- (b) and
H2. (Foundations) For each system, say which variable you would isolate, and in which equation, and explain why. Then solve the system.
- (a) and
- (b) and
H3. (Core) Clear the fractions or decimals first, then solve.
- (a) and
- (b) and
H4. (Core) Use substitution on each system. Say whether it has one solution, no solution, or infinitely many solutions, and describe what the two lines look like on a graph.
- (a) and
- (b) and
H5. (Core) A school band in Sudbury sells snacks to raise money for a trip (hypothetical prices). Tins of popcorn cost $8 and boxes of chocolate cost $14. The band sold items in total and raised $878.
- (a) Define your variables and write a system of equations.
- (b) Solve the system by substitution. How many of each item were sold?
- (c) Check your answer against both facts in the question.
H6. (Core) (SAT style) Consider the system and . If is the solution to the system, what is the value of ?
- A)
- B)
- C)
- D)
Challenge
Section titled “Challenge”H7. (Challenge) Kai solved and like this:
Then , so Kai’s answer was .
- (a) Find Kai’s mistake and explain it in one sentence.
- (b) Solve the system correctly.
- (c) Show how checking in the first equation would have caught the mistake.
H8. (Challenge) Consider the system and , where is a constant.
- (a) Substitute for and simplify. Show that you get .
- (b) Find the value of for which the system has no solution. Explain what the lines look like for that .
- (c) Explain why no value of gives infinitely many solutions.
- (d) Solve the system when .
H9. (Challenge) Solve the system below. After clearing the fractions, no variable has a coefficient of or , so decide which variable to isolate and handle the fraction that appears.
H10. (Challenge) The lines and and the -axis form a triangle.
- (a) Find the point where the two lines meet.
- (b) Find the -intercept of each line.
- (c) Sketch the triangle and find its area. Explain which length you used as the base and which as the height.