Vertex Learn

Solving three equations

WorksheetShare to Classroom

What this lesson covers

  • Eliminate one variable from two pairs.
  • Solve the resulting two equations.
  • Substitute back and check.
Key idea

The plan

  • Each step removes one unknown, until one equation is left.
  • Then work back up, finding one value at a time.
Three equations reduced to two equations in x and y, then to y equals 2.
Key idea

Try it: three planes

Worked example

x + y + z = 6, 2x − y + z = 3, x + 2y − z = 2

  • Number them (1), (2) and (3).
  1. (1) + (3): 2x + 3y = 8
  2. (2) − (1): x − 2y = −3
  3. so x = 2y − 3
  4. 2(2y − 3) + 3y = 8, so y = 2
  5. x = 1
  6. z = 6 − 1 − 2 = 3
Key idea

Try it: eliminate step by step

Worked example

When one equation is easy

  • X + 2y + z = 8, 2x − y + z = 3, x + y − z = 0. The third gives z straight away.
  1. z = x + yfrom the third
  2. 2x + 3y = 8put into the first
  3. 3x = 3put into the second
  4. x = 1, y = 2
  5. z = 3
Key idea

3D grapher

Common mistakes

  • Eliminating different variables from each pair.
    Remove the same variable both times.
  • Skipping the check.
    Test all three equations.

Your turn

1

x + y + z = 6, x = 1 and y = 2. Find z.

2

Add x + y + z = 6 and x − y − z = 0. What do you get?

3

Does (1, 2, 3) satisfy 2x + y − z = 1?

4

x + y = 5, y + z = 7 and x + z = 6. Find x, y and z.

Show answer

1. z = 3 2. 2x = 6, so x = 3 3. Yes: 2 + 2 − 3 = 1 4. Adding gives x + y + z = 9, so x = 2, y = 3, z = 4

Your turn

Sample question: Achieved

Solve the system x + y + z = 9, 2x − y + z = 5 and x + 2y − z = 4.

Hint

Remove z twice: add equation (3) to equation (1), and add equation (3) to equation (2).

Answer

x = 2, y = 3, z = 4

Step by step
  1. Number the equations (1), (2) and (3). The plan: remove one letter twice, to get two equations in two letters.
  2. z has +z in (1) and (2) and −z in (3), so adding (3) removes z. That makes z the easy letter to remove.
  3. (1) + (3): 2x + 3y = 13. Call it (4).
  4. (2) + (3): 3x + y = 9. Call it (5).
  5. From (5), y = 9 − 3x. Put that into (4): 2x + 3(9 − 3x) = 13.
  6. 2x + 27 − 9x = 13, so −7x = −14 and x = 2.
  7. Then y = 9 − 3 × 2 = 3.
  8. Back to (1): 2 + 3 + z = 9, so z = 4.
  9. Classic mistake: removing z from one pair and y from the other. Remove the same letter both times.
  10. Check in all three: 2 + 3 + 4 = 9, 4 − 3 + 4 = 5, 2 + 6 − 4 = 4. All correct.
Full working
  1. (1) + (3): 2x + 3y = 13z removed
  2. (2) + (3): 3x + y = 9z removed again
  3. y = 9 − 3x, so 2x + 27 − 9x = 13substitute
  4. x = 2, y = 3
  5. z = 9 − 2 − 3 = 4from (1)
  6. x = 2, y = 3, z = 4
Your turn

Sample questions: Merit

1

Solve the system 2x + 3y − z = 0, 3x − 2y + 2z = −2 and 4x + y − 3z = −20.

Hint

No letter cancels by just adding, so multiply first. z is easiest: double (1) to match (2), and triple (1) to match (3).

Answer

x = −2, y = 3, z = 5

Step by step
  1. Number the equations (1), (2) and (3). Choose a letter to remove. z has coefficients −1, 2 and −3, so (1) can be scaled to match each one.
  2. 2 × (1): 4x + 6y − 2z = 0. Add (2): 7x + 4y = −2. Call it (4).
  3. 3 × (1): 6x + 9y − 3z = 0. Subtract it from (3): −2x − 8y = −20, so x + 4y = 10. Call it (5).
  4. Now (4) and (5) both have +4y. Subtract: (4) − (5) gives 6x = −12, so x = −2.
  5. Put x = −2 into (5): −2 + 4y = 10, so y = 3.
  6. From (1), z = 2x + 3y = −4 + 9 = 5.
  7. Classic mistake: when subtracting a whole equation, forgetting to change the sign of every term, including the right-hand side.
  8. Check (2): −6 − 6 + 10 = −2. Check (3): −8 + 3 − 15 = −20. Both correct.
Full working
  1. 2(1) + (2): 7x + 4y = −2remove z
  2. (3) − 3(1): −2x − 8y = −20, so x + 4y = 10remove z again
  3. 6x = −12, x = −2subtract the two
  4. y = 3from x + 4y = 10
  5. z = 2x + 3y = 5from (1)
  6. x = −2, y = 3, z = 5
2

Solve the system 6x + 4z = 7, 2x − y = 4 and 4y + 3z = −9, giving exact values.

Hint

Each equation has only two letters. Make y the subject of the second equation and substitute it into the third.

Answer

x = 12, y = −3, z = 1

Step by step
  1. Each equation is missing a letter, so substitution is quicker than elimination here.
  2. The second equation gives y easily: y = 2x − 4.
  3. Put it into the third: 4(2x − 4) + 3z = −9, so 8x − 16 + 3z = −9 and 8x + 3z = 7.
  4. Now there are two equations in x and z: 6x + 4z = 7 and 8x + 3z = 7.
  5. Remove x: 4 × the first gives 24x + 16z = 28, and 3 × the second gives 24x + 9z = 21.
  6. Subtract: 7z = 7, so z = 1.
  7. Then 6x + 4 = 7, so 6x = 3 and x = 12. Leave it as a fraction, as the question asks for exact values.
  8. y = 2 × 12 − 4 = −3.
  9. Check: 6 × 12 + 4 = 7, 1 + 3 = 4, −12 + 3 = −9. All correct.
Full working
  1. y = 2x − 4from the second equation
  2. 4(2x − 4) + 3z = −9, so 8x + 3z = 7substitute into the third
  3. 24x + 16z = 28 and 24x + 9z = 21match the x terms
  4. 7z = 7, z = 1
  5. 6x = 3, x = 12
  6. y = 1 − 4 = −3
  7. x = 12, y = −3, z = 1
Your turn

Sample questions: Excellence

1

Solve 1x + 1y + 1z = 4, 2x + 1y − 1z = 0 and 1x − 2y + 3z = 13.

Hint

Let u = 1x, v = 1y and w = 1z. Then the system is linear in u, v and w.

Answer

x = 12, y = −1, z = 13

Step by step
  1. These are not linear in x, y and z, because x, y and z are in the denominators. But they are linear in 1x, 1y and 1z.
  2. Let u = 1x, v = 1y, w = 1z. The system becomes u + v + w = 4, 2u + v − w = 0, u − 2v + 3w = 13.
  3. Remove w. (1) + (2): 3u + 2v = 4. Call it (4).
  4. 3 × (2) + (3): 6u + 3v − 3w + u − 2v + 3w = 13, so 7u + v = 13. Call it (5).
  5. From (5), v = 13 − 7u. Into (4): 3u + 26 − 14u = 4, so −11u = −22 and u = 2.
  6. v = 13 − 14 = −1, and w = 4 − u − v = 4 − 2 + 1 = 3.
  7. Now undo the substitution: x = 1u = 12, y = 1v = −1, z = 1w = 13.
  8. Classic mistake: stopping at u, v and w. The question asks for x, y and z.
  9. Why it works: none of u, v, w is zero, so each one has a reciprocal. If one had been 0, there would be no solution.
  10. Check (3): 1x − 2y + 3z = 2 + 2 + 9 = 13. Correct.
Full working
  1. u = 1x, v = 1y, w = 1zmake it linear
  2. u + v + w = 4, 2u + v − w = 0, u − 2v + 3w = 13
  3. (1) + (2): 3u + 2v = 4remove w
  4. 3(2) + (3): 7u + v = 13remove w again
  5. u = 2, v = −1, w = 3
  6. x = 12, y = −1, z = 13take reciprocals
  7. x = 12, y = −1, z = 13
2

Show that the system x + y = a, y + z = b, x + z = c has exactly one solution for any numbers a, b and c, and find it in terms of a, b and c. Hence solve x + y = 11, y + z = 15, x + z = 14.

Hint

Add all three equations to get x + y + z. Then take each original equation away from that total.

Answer

x = a − b + c2, y = a + b − c2, z = b + c − a2; hence x = 5, y = 6, z = 9

Step by step
  1. Look at the shape: each letter appears in exactly two equations. Adding all three counts each letter twice.
  2. Add them: 2x + 2y + 2z = a + b + c, so x + y + z = a + b + c2.
  3. To get z, take away x + y = a: z = a + b + c2 − a = b + c − a2.
  4. To get x, take away y + z = b: x = a + b + c2 − b = a − b + c2.
  5. To get y, take away x + z = c: y = a + b + c2 − c = a + b − c2.
  6. These formulas work for any a, b and c, and every step was forced, so there is always exactly one solution.
  7. Hence: a = 11, b = 15, c = 14. x = 11 − 15 + 142 = 5.
  8. y = 11 + 15 − 142 = 6 and z = 15 + 14 − 112 = 9.
  9. Check the general answer: x + y = 2a2 = a. The other two work the same way.
  10. Check the numbers: 5 + 6 = 11, 6 + 9 = 15, 5 + 9 = 14. All correct.
Full working
  1. 2x + 2y + 2z = a + b + cadd all three
  2. x + y + z = a + b + c2
  3. z = b + c − a2subtract x + y = a
  4. x = a − b + c2subtract y + z = b
  5. y = a + b − c2subtract x + z = c
  6. a = 11, b = 15, c = 14: x = 5, y = 6, z = 9
  7. x = a − b + c2, y = a + b − c2, z = b + c − a2; x = 5, y = 6, z = 9
Summary

What to take away

  • Three equations down to two, then to one.
  • Check in all three.
Science

Where science uses this

Practice

Practise this

Worksheet with answersWithout answersDownload PDF
Report a mistake

More in AS 91587

Is your child on track?

Take the free placement test