Solving Simultaneous Equations by Substitution
Solve a pair of linear equations exactly by making one variable the subject of one equation and substituting it into the other, and check the answer in both equations.
Before you start
- A graph gives the solution of simultaneous equations only as an estimate when the lines meet between grid lines (lesson 2.5). Algebra gives it exactly.
- Expanding with a negative number in front: Every term in the bracket is multiplied by .
- Solving a linear equation: gives , so and .
The Substitution Method
Two equations in and are hard to solve at once. If one equation tells you what is in terms of , you can put that expression in place of in the other equation. What is left has only in it, and you know how to solve that.
Number the equations (1) and (2) so that each step can say which equation it uses.
Solving by substitution
(1) Make one variable the subject of one equation. Choose a variable whose coefficient is or if there is one.
(2) Substitute that expression, in brackets, into the other equation.
(3) Solve the equation in one unknown.
(4) Substitute the value back to find the other unknown.
(5) Check both values in both original equations.
Example 1: One equation already gives y
Solve the simultaneous equations and .
Solution
(1)
(2)
Equation (1) already has as the subject. Substitute for in (2):
, so .
Substitute into (1): .
Check in (1): , true. Check in (2): , true.
On a graph, the lines and meet at , the same answer:
,
Making a Variable the Subject First
Usually neither equation gives or on its own. Look for a variable whose coefficient is or : making it the subject needs no fractions.
Example 2: A coefficient of 1
Solve and .
Solution
(1)
(2)
In (1), has coefficient . Subtract from both sides: (3)
Substitute (3) into (2):
, so .
Substitute into (3): .
Check in (1): , true. Check in (2): , true.
You could instead make the subject of (2): . Then , , , : the same answer.
,
Example 3: A coefficient of −1, and a minus sign in front of the bracket
Solve and .
Solution
(1)
(2)
In (1), has coefficient . Add to both sides and subtract : (3)
Substitute (3) into (2), keeping the brackets:
The multiplies both terms in the bracket: and .
, so .
Substitute into (3): .
Check in (1): , true. Check in (2): true.
,
When Both Equations Give y
If both equations have as the subject, the two expressions for must be equal at the solution. Set them equal: this is the same as the meeting point of two graphs in lesson 2.5.
Example 4: Setting the two expressions equal
Solve and .
Solution
(1)
(2)
Both equal , so .
Add to both sides: . Add : , so .
Substitute into (1): .
Check in (1): , true. Check in (2): , true.
,
Negative and Fractional Answers
The method does not change when the answers are negative or fractions. A graph can only estimate a value that falls between grid lines, such as ; algebra gives every value exactly.
Example 5: x = −1 and y = ½
Solve and .
Solution
(1)
(2)
From (1): , so (3)
Substitute (3) into (2):
, so
Substitute into (3):
Check in (1): true. Check in (2): true.
,
Why Check in Both Original Equations?
A check must use the original equations
The value found in step (3) always fits the equation you substituted into, and step (4) always fits the rearranged equation, even if the rearranging was wrong. Only the equation you rearranged, in the form it was first given, can catch a mistake made while rearranging. So check in both equations as they were given.
Example 6: A check that catches a mistake
Solve and . Then see what happens if is made the subject of the second equation wrongly, as .
Solution
(1)
(2)
Correct working. From (2), add and subtract : . Substitute into (1): , so , , . Then .
Check in (1): , true. Check in (2): , true.
With the mistake. into (1): , so , , . Then
This pair fits the wrong equation (since ), and it fits (1) (since ). But in (2), , not . Only the check in (2) shows that something is wrong.
, . The wrong pair is caught only by checking it in the original equation (2).
When to Use Substitution
Substitution is a good choice when one equation already gives or , or when a variable has coefficient or , or becomes so after dividing every term by the same number.
When every coefficient is or more and no division helps, substitution leads to fractions. It still works, but the elimination method of the next lesson is usually easier.
Example 7: Choosing well
(a) Solve and . (b) Solve and by substitution, and say why it is awkward.
Solution
(a) (1), (2)
Divide every term of (2) by : , so (3)
Substitute into (1): , so , , . Then .
Check in (1): , true. Check in (2): true.
(b) (1), (2)
No coefficient is or , and no division helps. From (1): . Substitute into (2):
Multiply every term by : , so , , . Then
Check in (1): , true. Check in (2): , true.
It works, but it needed a fraction and an extra step to clear it. Lesson 2.7 solves pairs like this more easily.
(a) , (b) , ; substitution was awkward because no variable had coefficient or .
Common Mistakes
- Leaving out the brackets. , not . Without brackets the never reaches the .
- Losing a sign when making the subject. From , , not .
- Substituting into the same equation you rearranged. That only gives a statement that is always true, such as , and no value. Substitute into the other equation. (In lesson 2.9, a statement like that comes from the two different equations means something else.)
- Stopping after one value. The solution is a pair: find as well as .
- Checking only in the rearranged equation, which always fits (Example 6).
Practice Questions
Solve each pair by substitution on paper before you open its solution, and check in both equations. The questions get harder as you go.
Question 1
Solve (a) and , (b) and .
ShowHide solution
(a) , so , , . Then . Check: ; .
(b) , so , . Then . Check: ; .
(a) , (b) ,
Question 2
Solve and .
ShowHide solution
Substitute for : , so , , .
Then .
Check: ;
,
Question 3
Solve and .
ShowHide solution
From the first: . Substitute: , so , , .
Then .
Check: ; .
,
Question 4
Solve and .
ShowHide solution
From the first: . Substitute: , so , , .
Then .
Check: ; .
,
Question 5
Solve and .
ShowHide solution
From the first: . Substitute: .
The multiplies both terms: , so , .
Then .
Check: ; .
,
Question 6
Solve and .
ShowHide solution
Set the two expressions for equal: , so , .
Then .
Check: ; .
,
Question 7
Solve and .
ShowHide solution
From the first: . Substitute: so , , .
Then
Check: ;
,
Question 8
Solve and .
ShowHide solution
From the first: . Substitute: , so , , .
Then .
Check: ; .
,
Question 9
Wei Jie solved and . He wrote from the second equation and got , . He checked in and it worked. Find his mistake and solve the equations correctly.
ShowHide solution
His check: It fits, because he substituted into that equation. In : not .
His mistake: from , adding and subtracting gives , not .
Correctly: , so , , . Then .
Check: ; .
He should have written . The solution is , .
Question 10
Solve and .
ShowHide solution
Divide every term of the first by : , so .
Substitute into the second: , so , , .
Then .
Check: ;
,
Question 11
The difference between two numbers is . Three times the smaller number is more than the larger. Find the two numbers.
ShowHide solution
Let the larger number be and the smaller .
(1), (2)
From (1), (3).
Substitute (3) into (2): , so , , . Then from (3), .
Check: ; three times is , and .
The numbers are and .
Question 12
A pen costs $ more than a pencil. Three pens and two pencils cost $. Find the cost of each.
ShowHide solution
Let a pen cost $ and a pencil $.
(1), (2)
Substitute (1) into (2): so , , . Then .
Check: is more than ;
A pen costs $ and a pencil costs $.
Key Points
- Substitution: make one variable the subject of one equation, substitute it in brackets into the other, solve, then find the other value.
- Choose a variable with coefficient or (after dividing, if that helps) to avoid fractions.
- Keep the brackets: a minus sign in front multiplies every term inside.
- If both equations give , set the two expressions equal.
- Answers may be negative, zero or fractions; algebra gives them exactly.
- Check in both original equations: the rearranged one always fits, so it cannot catch a mistake.
- When no coefficient is or , substitution brings fractions; elimination (lesson 2.7) is usually easier.