Math lessons

Equations with variables on both sides

When x sits on both sides of the balance, take the same number of x off each side, then solve as usual.

Sometimes x is on both sides

Picture a level hanger. On the left hang 3 bags and 2 blocks. On the right hang 1 bag and 8 blocks. Every bag holds the same number of blocks, and we call that number x.

3x + 2 = x + 8

This time the unknown is on both sides. You cannot undo your way to x straight away, because there is an x on the other side too.

The plan has two parts: first get all the x onto one side, then solve what is left.

Take the same number of x from both sides

Take one bag off each side of the hanger. Both sides lose the same weight, so it stays level.

3x + 2 = x + 8subtract x from both sides2x + 2 = 8

Now x is on one side only. Taking x from both sides is a fair move for the same reason as taking 5 from both sides: you do the same thing to each side.

Which x-term should you take away? The smaller one. Then the number of x that is left stays positive, which is easier to work with.

  • 5x + 1 = 2x + 10  →  subtract 2x from both sides
  • 2x + 9 = 6x + 1  →  subtract 2x from both sides, and the x ends up on the right

Then it is a two-step equation

Once x is on one side only, you already know what to do: undo the adding or subtracting, then undo the multiplying.

5x + 3 = 2x + 15subtract 2x from both sides3x + 3 = 15subtract 3 from both sides3x = 12divide both sides by 3x = 4

Negative numbers can turn up, and that is fine:

5x + 8 = 2x + 23x + 8 = 23x = −6x = −2

Brackets? Expand them first

If one side has a bracket, expand it before anything else. Multiply the number outside by every term inside.

3(x + 2) = x + 14expand: 3 × x and 3 × 23x + 6 = x + 14subtract x from both sides2x + 6 = 14subtract 6 from both sides2x = 8x = 4

The usual slip is to multiply only the first term and write 3x + 2. The 3 multiplies the 2 as well.

Check each side on its own

To check, put your value into the original equation. Work out the left side. Then, separately, work out the right side. They must give the same number.

5x + 3 = 2x + 15,   and we found x = 4Left:   5 × 4 + 3 = 20 + 3 = 23Right:   2 × 4 + 15 = 8 + 15 = 2323 = 23, so x = 4 is correct

If the two sides come out different, your value is not the solution. Go back and look for the slip.

Two odd cases: no solution, or every number works

Sometimes the x terms all cancel. Then look at what is left.

2x + 3 = 2x + 5subtract 2x from both sides3 = 5   never true

Two bags plus 3 can never weigh the same as two bags plus 5. No number works, so the equation has no solution.

3x + 6 = 3(x + 2)expand the bracket3x + 6 = 3x + 6subtract 3x from both sides6 = 6   always true

Here both sides are the same thing written two ways. Every number is a solution.

Most equations you meet have exactly one solution. These two cases only happen when the number of x is the same on both sides.

Example 1: x on both sides

Solve 6x − 5 = 2x + 11.

  1. Get x onto one side

    The smaller x-term is 2x, so subtract 2x from both sides.

    6x − 2x − 5 = 2x − 2x + 114x − 5 = 11
  2. Undo the subtraction

    This is now a two-step equation. Add 5 to both sides.

    4x − 5 + 5 = 11 + 54x = 16
  3. Undo the multiplication

    Divide both sides by 4.

    4x ÷ 4 = 16 ÷ 4x = 4
  4. Check both sides

    Put 4 into each side of the original equation, one side at a time.

    Left:   6 × 4 − 5 = 24 − 5 = 19Right:   2 × 4 + 11 = 8 + 11 = 1919 = 19   ✓

Example 2: A bracket, and x ends up on the right

Solve 2(x + 5) = 5x + 1.

  1. Expand the bracket

    Multiply 2 by both terms inside the bracket.

    2 × x + 2 × 5 = 5x + 12x + 10 = 5x + 1
  2. Get x onto one side

    The smaller x-term is 2x, on the left. Subtract 2x from both sides. The x will be on the right, which is fine.

    2x − 2x + 10 = 5x − 2x + 110 = 3x + 1
  3. Solve the two-step equation

    Subtract 1 from both sides, then divide both sides by 3.

    9 = 3xx = 3
  4. Check both sides

    Use the original equation, with the bracket.

    Left:   2 × (3 + 5) = 2 × 8 = 16Right:   5 × 3 + 1 = 15 + 1 = 1616 = 16   ✓

Equations with variables on both sides: practice sheet

Name: Date:

Test 1: Getting x onto one side

  1. A level hanger has 3 bags and 2 blocks on the left, and 1 bag and 8 blocks on the right. All bags weigh the same. You take 1 bag off each side. What is on the hanger now?

    1. A 3 bags and 2 blocks on the left, 8 blocks on the right
    2. B 2 bags on the left, 8 blocks on the right
    3. C 2 bags and 2 blocks on the left, 8 blocks on the right
    4. D 2 bags and 2 blocks on the left, 1 bag and 8 blocks on the right
  2. For 6x + 2 = 4x + 10 , which first move leaves x on one side only, with a positive number of x?

    1. A Subtract 4x from the left side only
    2. B Subtract 6x from both sides
    3. C Add 4x to both sides
    4. D Subtract 4x from both sides
  3. Subtract 2x from both sides of 5x + 4 = 2x + 19 . What does the equation become?

    1. A 3x + 4 = 19
    2. B 7x + 4 = 19
    3. C 5x + 4 = 19
    4. D 3x + 4 = 2x + 19
  4. Subtract 2x from both sides of 2x + 9 = 5x + 3 . What does the equation become?

    1. A 9 = 7x + 3
    2. B 9 = 3x + 3
    3. C 9 = 3x
    4. D 2x + 9 = 3x + 3
  5. Kai starts with 4x + 6 = x + 18 and writes 3x + 6 = x + 18 . What went wrong?

    1. A Nothing: the new equation is still balanced
    2. B Kai should have added x to both sides
    3. C Kai should have subtracted 6 from the left side only
    4. D Kai subtracted x from the left side only

Test 2: Solving with x on both sides

  1. Solve for x: 5x + 2 = 3x + 10

    Answer:

  2. Solve for x: 7x = 4x + 18

    Answer:

  3. Solve for x: 6x − 4 = 2x + 12

    Answer:

  4. Solve for x: 3x + 11 = 5x + 1

    Answer:

  5. Solve for x: 9x − 7 = 6x + 14

    Answer:

Test 3: Negatives and checking

  1. Solve for x: 4x + 10 = x + 1

    Answer:

  2. Solve for x: 2x − 5 = 6x + 11

    Answer:

  3. Solve for x: 5x − 3 = 3x − 13

    Answer:

  4. Is x = 3 a solution of 4x − 2 = 2x + 4 ?

    1. A No: the left side is 10 and the right side is 6
    2. B Yes: the left side is 10 and the right side is 10
    3. C No: the left side is 14 and the right side is 10
    4. D No: the left side is 12 and the right side is 10
  5. A student says x = 4 solves 3x + 5 = 5x − 1 . The left side comes to 17. Work out the right side, 5x − 1, when x = 4.

    Answer:

Test 4: Brackets and special cases

  1. The first step for 4(x + 3) = 2x + 20 is to expand the bracket. What does the equation become?

    1. A 4x + 12 = 2x + 20
    2. B x + 12 = 2x + 20
    3. C 4x + 3 = 2x + 20
    4. D 4x + 7 = 2x + 20
  2. Solve for x: 2(x + 4) = 5x − 1

    Answer:

  3. Solve for x: 3(x − 2) = x + 8

    Answer:

  4. Solve for x: 2(3x − 1) = 4x + 10

    Answer:

  5. You subtract 3x from both sides of 3x + 4 = 3x + 9 . What does the result tell you?

    1. A It shows that x = 5
    2. B It leaves 4 = 9, which is never true, so there is no solution
    3. C It leaves 4 = 9, so every number is a solution
    4. D It shows that x = 0

Test 5: Stories and mixed challenge

  1. Phone plan A costs $20 a month plus $2 for each gigabyte of data. Plan B costs $8 a month plus $5 for each gigabyte. For x gigabytes the two plans cost the same. Which equation matches?

    1. A 20x + 2 = 8x + 5
    2. B 2x + 5x = 20 + 8
    3. C 2x + 20 = 5x + 8
    4. D 22x = 13x
  2. Phone plan A costs $20 a month plus $2 for each gigabyte. Plan B costs $8 a month plus $5 for each gigabyte. For how many gigabytes do the two plans cost the same?

    Answer:

  3. Ava has $30 and saves $5 every week. Ben has $6 and saves $9 every week. After how many weeks do they have the same amount?

    Answer:

  4. Solve for x: 5(x − 1) = 2x − 14

    Answer:

  5. Which of these equations has no solution?

    1. A 5x + 2 = 3x + 6
    2. B 5x + 2 = 5x + 6
    3. C 5x + 10 = 5(x + 2)
    4. D 5x = 2x

Equations with variables on both sides: answers

Test 1

  1. C (2 bags and 2 blocks on the left, 8 blocks on the right)
    3 bags − 1 bag = 2 bags on the left, and the right has no bags left. This is 3x + 2 = x + 8 becoming 2x + 2 = 8.
  2. D (Subtract 4x from both sides)
    Subtracting 4x from both sides gives 2x + 2 = 10. Subtracting 6x would leave −2x on the right.
  3. A (3x + 4 = 19)
    5x − 2x = 3x on the left, and the 2x on the right disappears: 3x + 4 = 19.
  4. B (9 = 3x + 3)
    The left becomes 9. The right becomes 3x + 3. So 9 = 3x + 3, with x on the right only.
  5. D (Kai subtracted x from the left side only)
    The left went from 4x to 3x but the right still has x. Subtracting x from both sides gives 3x + 6 = 18.

Test 2

  1. 4
    2x + 2 = 10, then 2x = 8, so x = 4. Check: 22 on both sides.
  2. 6
    3x = 18, so x = 6. Check: left 42, right 24 + 18 = 42.
  3. 4
    4x − 4 = 12, then 4x = 16, so x = 4. Check: 20 on both sides.
  4. 5
    11 = 2x + 1, then 10 = 2x, so x = 5. Check: 26 on both sides.
  5. 7
    3x − 7 = 14, then 3x = 21, so x = 7. Check: 56 on both sides.

Test 3

  1. −3
    3x + 10 = 1, then 3x = −9, so x = −3. Check: −2 on both sides.
  2. −4
    −5 = 4x + 11, then −16 = 4x, so x = −4. Check: −13 on both sides.
  3. −5
    2x − 3 = −13, then 2x = −10, so x = −5. Check: −28 on both sides.
  4. B (Yes: the left side is 10 and the right side is 10)
    Left: 12 − 2 = 10. Right: 6 + 4 = 10. Both sides match, so x = 3 is a solution.
  5. 19
    5 × 4 − 1 = 19. The left side is 17, so the sides do not match and x = 4 is not the solution. (The solution is x = 3.)

Test 4

  1. A (4x + 12 = 2x + 20)
    4 × x = 4x and 4 × 3 = 12, so the left side is 4x + 12.
  2. 3
    2x + 8 = 5x − 1, then 8 = 3x − 1, then 9 = 3x, so x = 3. Check: 14 on both sides.
  3. 7
    3x − 6 = x + 8, then 2x − 6 = 8, then 2x = 14, so x = 7. Check: 15 on both sides.
  4. 6
    6x − 2 = 4x + 10, then 2x − 2 = 10, then 2x = 12, so x = 6. Check: 34 on both sides.
  5. B (It leaves 4 = 9, which is never true, so there is no solution)
    The x terms cancel and leave 4 = 9. No value of x can make that true, so the equation has no solution.

Test 5

  1. C (2x + 20 = 5x + 8)
    Plan A costs 2x + 20 and plan B costs 5x + 8. Equal costs means 2x + 20 = 5x + 8.
  2. 4
    20 = 3x + 8, then 12 = 3x, so x = 4 gigabytes. Both plans then cost $28.
  3. 6
    30 + 5w = 6 + 9w, then 30 = 6 + 4w, then 24 = 4w, so w = 6 weeks. Both then have $60.
  4. −3
    5x − 5 = 2x − 14, then 3x − 5 = −14, then 3x = −9, so x = −3. Check: −20 on both sides.
  5. B (5x + 2 = 5x + 6)
    Subtracting 5x from 5x + 2 = 5x + 6 leaves 2 = 6, which is never true. The others have x = 2, every number, and x = 0 as solutions.