Solving by Substitution
Substituting known values into a formula and solving for the unknown, and solving a pair of equations by substituting y = … into the other.
- 6 steps
- 5 min
- 4 syllabuses
Try a real exam question on this
4MA1/1F · Jan 2019 · Q9 · 4 marks · Solve it step by step, the way the examiner marks it.
Loading the animated solution…
See the solution as textText version of the solution
Using the formulas h = 6q − 2u and B = 3m + 2p, substitute given values to find h, then rearrange to find p.
(a) 2 marks
Substitute q = 3 and u = −5 into h = 6q − 2u and calculate h.
- Understand the question. The formula gives h as 6q minus 2u, and we are given q is 3 and u is negative 5, so we must find the value of h.
- Use substitution into a formula. The formula is h equals 6q minus 2u, and the question gives q as 3 and u as negative 5, so replace each letter with its value.
- Find 6q. q is 3, so 6q means 6 times 3.
- 6 × 3 = 18
- Find 2u. u is negative 5, so 2u means 2 times negative 5.
- 2 × (−5) = −10
- Combine the parts. The formula subtracts 2u, so 18 minus negative 10. Watch out. u is negative, so subtracting it makes the result bigger.
- 18 − (−10) = 18 + 10 = 28
Answer 28
(b) 2 marks
Given B = 2 and m = 5 in B = 3m + 2p, solve for p.
- Understand the question. The formula gives B as 3m plus 2p, and we are given B is 2 and m is 5, so we must find the value of p.
- Use the formula B equals 3m plus 2p. The question gives B and m, so substitute them and solve for p.
- B = 3m + 2p
- Substitute the values. B is 2 and m is 5, so replace B with 2 and m with 5 in the formula.
- Substitute: 2 = 3 × 5 + 2p, so 2 = 15 + 2p
- Subtract 15 from both sides. 15 is added to 2p, so subtracting 15 undoes that.
- Subtract 15: 2p = −13
- Divide both sides by 2. 2p means 2 times p, so dividing by 2 gives p.
- p = −13/2
Answer −13/2
The lesson, step by step
Step 1 of 6
Put the Numbers In, Then Solve
Substitution means swapping a letter for what it is equal to. Here a formula gives you every value except one. Put in the numbers you know, and what is left is an equation to solve.
Worked example
- 1
— The question: find a. You know P and b, so a is the only unknown.
- 2
— Put in the numbers you know. Use a bracket for b.
- 3
— Work out 2 × 13 = 26.
- 4
— Take 26 from both sides: 5 − 26 = −21.
- 5
— Divide both sides by 3, because the question asks for a.
Common mistake
Stopping at 3a = −21. The question asks for a, so divide by 3.
Step 2 of 6
When the Answer Is a Fraction
The answer does not have to be a whole number. A negative, a fraction or a decimal is fine.
Worked example
- 1
— The question: find k.
- 2
— Put in the numbers you know.
- 3
— Work out 4 × 4 = 16.
- 4
— Take 16 from both sides. It is 3 − 16, not 16 − 3.
- 5
— 3 − 16 = −13. The answer will be negative.
- 6
— Divide both sides by 2. A fraction or a decimal is fine.
Common mistake
Working out 16 − 3 = 13. Take 16 from both sides: 3 − 16 = −13.
Step 3 of 6
Two Equations: Substitute One Into the Other
With two equations, if one says , put that whole expression in place of y in the other.
Key idea
Why does this work? Both equations are true for the same x and y.
So if one equation tells you what y is, you can put that in place of y in the other equation. That leaves an equation with only x, which you can solve.
Worked example
- 1
— The pair. The first one tells you exactly what y equals.
- 2
— Replace y with its whole expression, in a bracket. Now only x is left.
- 3
— Collect the x terms: 3x + 2x = 5x.
- 4
— Add 1 to both sides.
- 5
— Divide both sides by 5.
- 6
— Put x = 3 into y = 2x − 1 to find y.
Key idea
Check in the other equation: . Both are true, so x = 3, y = 5.
Step 4 of 6
When y Has a Number in Front
Exams often say “find the point where the lines meet” (the point of intersection). That point is on both lines, so solve the two equations together. Watch out when y has a number in front.
Worked example
- 1
— The question: find where these two lines meet.
- 2
— Replace y with 3x − 2 in a bracket. The 2 must multiply all of it.
- 3
— Expand: 2 × 3x = 6x and 2 × (−2) = −4.
- 4
— Collect the x terms: x + 6x = 7x.
- 5
— Add 4 to both sides.
- 6
— Divide both sides by 7.
- 7
— Put x = 3 into y = 3x − 2, the easier equation.
- 8
— Check in the other equation: 3 + 14 = 17. It works.
- 9
— The question asks for a point, so write the answer as coordinates (x, y).
Common mistake
Writing 2(3x) − 2. The 2 multiplies both terms in the bracket, so it is 6x − 4.
Step 5 of 6
Rearrange First, Then Substitute
Neither equation starts y = …? If one has a lone x or y (no number in front), make that letter the subject first. Then substitute as before.
Worked example
- 1
— The pair. The first one has a lone x, so it is the easy one to rearrange.
- 2
— Take 3y from both sides. Now it says x = …
- 3
— Replace x in the other equation with 11 − 3y, in a bracket.
- 4
— Expand: 2 × 11 = 22 and 2 × (−3y) = −6y.
- 5
— Collect the y terms: −6y − y = −7y.
- 6
— Take 22 from both sides: 1 − 22 = −21.
- 7
— Divide both sides by −7. Minus ÷ minus is plus, so y = 3.
- 8
— Put y = 3 into x = 11 − 3y.
- 9
— Check in the other equation: 4 − 3 = 1. It works, so x = 2, y = 3.
Common mistake
Checking in the equation you rearranged. It always fits, so it proves nothing. Check in the other one.
Step 6 of 6
Which Method? Read the Question
Read the question, then pick the move.
| You see | You do |
| A formula with one letter unknown | Put the numbers in, then solve what is left |
| Two equations, one starts y = … or x = … | Put that expression, in a bracket, into the other |
| Two equations, one has a lone x or y | Make that letter the subject, then substitute |
| Two equations, no lone letter | Add or subtract them to remove a letter (lesson: Simultaneous Equations by Elimination) |
| One equation has a squared term | Substitute the line into the curve (lesson: Simultaneous Equations with a Curve) |
Key idea
Always check: put your answer back into the equation you did not use.
Key idea
Show every line, especially the one with the bracket. Most of the marks are for the working, so an answer with no working scores very little.
More real exam questions on this
Solve one in Lemmara and see where every mark goes.
- 0580/22Feb/Mar 2026 · Q73 marksA horizontal line L is given as y = 2. Work out a perpendicular line through (−1, 5), then locate where L meets y = 20 − 6x.Solve it →
- 4024/12May/Jun 2026 · Q158 marksLine L is 2y + x = 19. Find its gradient and y-intercept, show that the line perpendicular to L through (−1, −5) is y = 2x − 3, and find where the two lines meet.Solve it →
- 4PM1/01RJun 2023 · Q28 marksSimultaneous equations y = px + 9 and 6x² − xy = 5 have a solution (−1/2, q), with p an integer and q prime. Find p, q, then the other solution.Solve it →
- 4MA1/1FJan 2020 · Q87 marksSimplify an algebraic expression by collecting like terms, then use P = 2a + 3b to find P from given a and b, and to find a from given P and b.Solve it →
Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.