Vertex Learn

Simultaneous equations: elimination and substitution

WorksheetShare to Classroom

What this lesson covers

  • Two equations in two unknowns are solved by the pair of values that makes both true at once.
  • Graphically, that pair is the point where the two lines cross.
Key idea

One pair that fits both

  • X plus y is 10, and x minus y is 4.
  • Lots of pairs fit one equation. Only one fits both.
  • That pair, x is 7 and y is 3, is the solution.
Pairx + y = 10?x − y = 4?
x = 6, y = 4yes, 10no, 2
x = 8, y = 2yes, 10no, 6
x = 9, y = 5no, 14yes, 4
x = 7, y = 3yes, 10yes, 4
Key idea

Why you can add two equations

  • Each equation says two amounts are equal.
  • Add equal to equal and the totals are still equal.
  • Plus y and minus y cancel, so y is eliminated.
LineReasonResult
x + y = 10two equal amounts
x − y = 4two more equal amounts
Add left, add rightequal + equal is equal2x = 14
The y terms+y and −y cancelx = 7
Back in the first7 + y = 10y = 3
Worked example

Elimination by adding

  • Plus two y and minus two y: opposite signs.
  • Add, and eight x is thirty-two, so x is four.
  • Y is three. Check it in both equations.
StepWorkingResult
3x + 2y = 185x − 2y = 14+2y and −2y
Add them8x = 32x = 4
x = 4 in the first12 + 2y = 18y = 3
Check the first12 + 6 = 18true
Check the second20 − 6 = 14true
Worked example

Elimination by subtracting

  • Both have plus two x: the same sign.
  • Take the second from the first. Two y is six.
  • Y is three, x is two, and both checks hold.
StepWorkingResult
2x + 3y = 132x + y = 7both +2x
First take second2y = 6y = 3
y = 3 in the second2x + 3 = 7x = 2
Check the first4 + 9 = 13true
Check the second4 + 3 = 7true
Key idea

Add or subtract?

  • Look at one letter in both equations.
  • Opposite signs, add. Same signs, subtract.
  • If the sizes differ, multiply first.
CoefficientsDo thisBecause
Same size, opposite signaddthey cancel
Same size, same signsubtractthey cancel
Different sizesmultiply firstto make a match
Whichever it isone letter goesone unknown left
Worked example

Multiply one equation first

  • Three y and minus y do not match yet.
  • Times the whole second equation by three.
  • Now add. x is three, y is two, and both check.
StepWorkingResult
4x + 3y = 182x − y = 4no match yet
Second × 36x − 3y = 12every term
Add to the first10x = 30x = 3
x = 3 in the second6 − y = 4y = 2
Check both12 + 6 = 18, 6 − 2 = 4both true
Worked example

With an unknown constant

  • X plus y is k, where k is some fixed number.
  • Add for x, subtract for y. Nothing new.
  • The answers are in terms of k, and they check.
StepWorkingResult
x + y = kx − y = 6k is fixed
Add them2x = k + 6x = (k + 6)/2
Subtract them2y = k − 6y = (k − 6)/2
Check the sum2k/2k, true
Check the difference12/26, true
Worked example

Substitution

  • One equation already says what y is.
  • So put two x minus one in place of y.
  • X is three, y is five. Check in both.
StepWorkingResult
y = 2x − 13x + 2y = 19y is alone
Replace y3x + 2(2x − 1) = 19same number
Expand, collect7x − 2 = 19x = 3
Find y2 × 3 − 1y = 5
Check both5 = 5, 9 + 10 = 19both true
Key idea

The solution on a graph

  • Blue: y equals two x minus one.
  • Gold: three x plus two y equals nineteen.
  • Both sets of points pass through (3, 5).
The solution on a graph
Key idea

Graphing calculator

Key idea

Why the crossing is the answer

  • Every point on a line fits its own equation.
  • Only the crossing point is on both lines.
  • Parallel lines never cross, so there is no solution.
PointLies onSo
A point on one linefits that equationonly
The crossingis on both linesfits both
(3, 5)same as the algebrax = 3, y = 5
Parallel linesnever crossno pair works
y = 2x + 1, y = 2x + 4subtract: 0 = 3false
Key idea

Try it: where the lines cross

Worked example

Forming the equations

  • Tickets to a school production: adults and students.
  • Say what each letter stands for first.
  • One equation counts people, one counts dollars.
FactEquationNote
Lettersa adult, s studenttickets sold
150 people camea + s = 150counts people
Adults $12students $5
$1,240 taken12a + 5s = 1240counts dollars
Worked example

Solving the ticket problem

  • Times the first by five so the s terms match.
  • Subtract: seven a is 490, so a is seventy.
  • S is eighty. Check people, then check money.
StepWorkingResult
First × 55a + 5s = 750s terms match
Second take that7a = 490a = 70
a = 70 in the first70 + s = 150s = 80
Check people70 + 80 = 150true
Check money840 + 400 = 1240true
Worked example

Answer the question that was asked

  • A is seventy is not yet an answer.
  • 70 adult tickets and 80 student tickets were sold.
  • Whole, positive numbers: that makes sense for tickets.
Summary

What to take away

  • Three ways in, one answer, and always two checks.
A solutionone pair that makes both equations true
Opposite signsadd the equations
Same signssubtract them
Nothing matchesmultiply first, and every term
y = ... alreadysubstitute it in
On a graphthe point where the two lines cross
Every timecheck in both original equations

Common mistakes

  • 2x + 3y = 13 and 2x + y = 7: add them to get 4x + 4y = 20
    Both have +2x, the same sign, so subtract: 2y = 6, giving y = 3 and x = 2.
  • Second equation × 3: 6x − 3y = 4
    Multiply every term, the right side too: 6x − 3y = 12, then add to the first to get 10x = 30.
  • 3x + 2(2x − 1) = 19 becomes 3x + 4x − 1 = 19
    The 2 multiplies both terms in the bracket: 3x + 4x − 2 = 19, so 7x = 21 and x = 3.
  • a = 70, s = 80
    Answer the question in context: 70 adult tickets and 80 student tickets were sold, after checking both the people and the money.
Your turn

Your turn: four questions

  • Write all four out.
  • Question 3: define your letters first.
  • Check every answer in both equations.
1

Solve 3x + y = 11 and 2x − y = 4 by elimination.

2

Solve y = x + 4 and 2x + 3y = 27 by substitution.

3

Pies $5, sausage rolls $3: 50 sold for $196. How many of each?

4

Where do the lines y = x + 1 and y = 7 − x cross?

Show answer

1. x = 3, y = 2. The y terms have opposite signs, so add: 5x = 15. Then 9 + y = 11. Check: 9 + 2 = 11 and 6 − 2 = 4. 2. x = 3, y = 7. Replace y: 2x + 3(x + 4) = 27, so 5x + 12 = 27 and 5x = 15. Check: 7 = 3 + 4 and 6 + 21 = 27. 3. 23 pies and 27 sausage rolls. p + r = 50 and 5p + 3r = 196; three times the first is 3p + 3r = 150, and subtracting gives 2p = 46. Check: 23 + 27 = 50 and 115 + 81 = 196. 4. At (3, 4). Both equal y, so x + 1 = 7 − x, 2x = 6, x = 3. Check: 3 + 1 = 4 and 7 − 3 = 4.

Worked example

The answers

  • X is three, y is two.
  • X is three, y is seven.
  • 23 pies and 27 sausage rolls.
  • They cross at (3, 4).
Your turn

Sample question: Achieved

Solve the simultaneous equations 3x + 2y = 17 and 5x − 2y = 7.

Hint

The y terms are +2y and −2y, opposite signs, so add the equations to eliminate y.

Answer

x = 3, y = 4

Step by step
  1. We want the one pair of values that makes both equations true at the same time.
  2. Look at the y terms: +2y and −2y. They are the same size with opposite signs, so adding will make them cancel.
  3. Add left sides and right sides: 3x + 5x + 2y − 2y = 17 + 7, so 8x = 24.
  4. Divide by 8: x = 3.
  5. Put x = 3 into the first equation: 9 + 2y = 17. Subtract 9: 2y = 8, so y = 4.
  6. Check in the second equation, the one you did not use: 5 × 3 − 2 × 4 = 15 − 8 = 7. Correct.
  7. So x = 3 and y = 4. On a graph, the two lines cross at (3, 4).
Full working
  1. 8x = 24add: +2y and −2y cancel
  2. x = 3
  3. 9 + 2y = 17, so y = 4substitute into the first
  4. 15 − 8 = 7check in the second
  5. x = 3, y = 4
Your turn

Sample questions: Merit

1

Solve the simultaneous equations 4x + 3y = 5 and 3x − 2y = 8.

Hint

No letter matches yet. Multiply the first equation by 2 and the second by 3, so the y terms become +6y and −6y.

Answer

x = 2, y = −1

Step by step
  1. Neither letter has matching sizes, so multiply first. Choose the y terms, because their signs are already opposite.
  2. 3y and 2y both go into 6y. Multiply every term of the first equation by 2: 8x + 6y = 10.
  3. Multiply every term of the second equation by 3: 9x − 6y = 24. Multiplying only the left side is the classic mistake.
  4. Now +6y and −6y have opposite signs, so add: 17x = 34.
  5. Divide by 17: x = 2.
  6. Substitute into the first equation: 4 × 2 + 3y = 5, so 8 + 3y = 5, 3y = −3 and y = −1.
  7. Check in the second equation: 3 × 2 − 2 × (−1) = 6 + 2 = 8. Correct.
  8. Check in the first: 8 + 3 × (−1) = 5. Correct. So x = 2, y = −1.
Full working
  1. 8x + 6y = 10first equation × 2
  2. 9x − 6y = 24second equation × 3
  3. 17x = 34, so x = 2add
  4. 8 + 3y = 5, so y = −1substitute
  5. 6 + 2 = 8check in the second
  6. x = 2, y = −1
2

At a café, 3 coffees and 2 muffins cost $21. 2 coffees and 5 muffins cost $25. Find the price of a coffee and of a muffin.

Hint

Say what each letter stands for, write one equation for each order, then make the coffee terms match.

Answer

A coffee costs $5 and a muffin costs $3

Step by step
  1. Define the letters first: c is the price of one coffee and m is the price of one muffin, in dollars.
  2. First order: 3c + 2m = 21. Second order: 2c + 5m = 25.
  3. Make the c terms match. 3 and 2 both go into 6. Multiply the first equation by 2: 6c + 4m = 42.
  4. Multiply the second equation by 3: 6c + 15m = 75.
  5. Both have +6c, the same sign, so subtract. Take the first from the second: 11m = 33, so m = 3.
  6. Substitute into 3c + 2m = 21: 3c + 6 = 21, so 3c = 15 and c = 5.
  7. Check the second order: 2 × 5 + 5 × 3 = 10 + 15 = $25. Correct.
  8. Answer in words: a coffee costs $5 and a muffin costs $3. Both are positive, which makes sense for prices.
Full working
  1. 3c + 2m = 21, 2c + 5m = 25c coffee, m muffin, in dollars
  2. 6c + 4m = 42 and 6c + 15m = 75× 2 and × 3
  3. 11m = 33, so m = 3subtract
  4. 3c + 6 = 21, so c = 5substitute
  5. 10 + 15 = 25check
  6. Coffee $5, muffin $3
Your turn

Sample questions: Excellence

1

Consider the simultaneous equations 2x + ky = 6 and 3x + 6y = 10, where k is a number. (a) Show that y = 212 − 3k. (b) Explain why there is no solution when k = 4, using the graphs. (c) Find the value of k that makes y = 1, and the matching value of x.

Hint

Eliminate x: multiply the first equation by 3 and the second by 2, then subtract. Treat k as a number you have not been told.

Answer

(b) both lines have the same gradient, so they are parallel and never cross (c) k = 103 and x = 43

Step by step
  1. (a) Eliminate x. 2x and 3x both go into 6x. Multiply the first equation by 3: 6x + 3ky = 18.
  2. Multiply the second by 2: 6x + 12y = 20.
  3. Subtract the second from the first: 3ky − 12y = −2.
  4. Take out y as a common factor: y(3k − 12) = −2, so y = −23k − 12.
  5. Multiply top and bottom by −1 to tidy it: y = 212 − 3k. That is what we had to show.
  6. (b) k = 4 makes the bottom 12 − 12 = 0, and you cannot divide by zero. The step before says 0 × y = −2, which is impossible.
  7. Using the graphs: with k = 4 the first line is 2x + 4y = 6, so y = −x2 + 32. The second is 3x + 6y = 10, so y = −x2 + 53.
  8. Both have gradient −12 but different intercepts, so they are parallel. Parallel lines never cross, so there is no solution.
  9. (c) y = 1 means 212 − 3k = 1, so 12 − 3k = 2. Then 3k = 10 and k = 103.
  10. Find x from the second equation, which has no k in it: 3x + 6 × 1 = 10, so 3x = 4 and x = 43.
  11. Check in the first equation: 2 × 43 + 103 × 1 = 83 + 103 = 183 = 6. Correct.
Full working
  1. 6x + 3ky = 18 and 6x + 12y = 20× 3 and × 2
  2. y(3k − 12) = −2subtract, take out y
  3. y = 212 − 3k
  4. k = 4: both gradients −12, different interceptsparallel, no solution
  5. 12 − 3k = 2, so k = 103y = 1
  6. 3x + 6 = 10, so x = 43second equation
  7. k = 103, x = 43
2

A harbour ferry charges $12 for an adult and $7 for a child. One sailing carried 85 passengers and took $815. (a) How many adults and how many children were on board? (b) The next day, the log says 85 passengers paid $818. Show that this record must be wrong.

Hint

Write one equation that counts people and one that counts dollars. For (b), solve the same way and look at whether the answer makes sense for people.

Answer

(a) 44 adults and 41 children (b) it gives 44.6 adults, which is not a whole number, so the record is wrong

Step by step
  1. Define the letters: a is the number of adults and c is the number of children.
  2. People: a + c = 85. Dollars: 12a + 7c = 815.
  3. The first equation gives c = 85 − a, so substitute it into the second: 12a + 7(85 − a) = 815.
  4. Expand: 12a + 595 − 7a = 815, so 5a + 595 = 815.
  5. Subtract 595: 5a = 220, so a = 44. Then c = 85 − 44 = 41.
  6. Check the money: 12 × 44 + 7 × 41 = 528 + 287 = $815. Correct.
  7. (b) Same people, new total: 12a + 7(85 − a) = 818, so 5a + 595 = 818 and 5a = 223.
  8. a = 223 ÷ 5 = 44.6. You cannot have 0.6 of an adult, so no whole numbers of adults and children fit.
  9. Another way to see it: each adult swapped for a child changes the total by $5, so every possible total is 595 plus a multiple of 5. 818 − 595 = 223 is not a multiple of 5.
  10. So the log must have a mistake: either the number of passengers or the takings is wrong.
Full working
  1. a + c = 85, 12a + 7c = 815people and dollars
  2. 12a + 7(85 − a) = 815c = 85 − a
  3. 5a = 220, so a = 44, c = 41
  4. 528 + 287 = 815check
  5. 5a = 818 − 595 = 223, so a = 44.6not a whole number
  6. (a) 44 adults, 41 children (b) 44.6 adults is impossible
Try it

Equality Explorer: Two Variables

Full screen · PhET Interactive Simulations, University of Colorado Boulder, CC BY 4.0

Practice

Practise this

Worksheet with answersWithout answersDownload PDF
2026 practice paper with worked answersOpen the paper
Report a mistake

More in AS 91947

Is your child on track?

Take the free placement test