Book a free chat

Topic explainer · MYP 2–3

Solving linear equations

How to solve equations such as 3x − 4 = 11 and 5(x + 2) = 2x + 19, with worked examples, common mistakes and practice questions.

By Rachel Bodily · Last updated 27 November 2026

Created with AI assistance, reviewed by our IB educators.

To solve a linear equation, do the same operation to both sides until the letter is on its own. Undo the operations in reverse order. Always check by substituting your answer back into the original equation.

The key idea

An equation is a balance. Both sides weigh the same. Whatever you do to one side, do to the other, and it stays balanced.

To get x on its own, undo what was done to it, in reverse order. In 3x−4=11, x was multiplied by 3 and then 4 was subtracted. So first undo the −4 by adding 4, then undo the ×3 by dividing by 3.

Worked examples

  1. Example 1
    Solve 3x−4=11.
    Undo in reverse order
    3x−4=11x was multiplied by 3, then 4 was subtracted3x=11+4Add 4 to both sides3x=15x=153Divide both sides by 3x=5
    Checkx=5: 3(5)−4=15−4=11 ✓
    Answer: x=5
  2. Example 2
    Solve 5(x+2)=2x+19.
    Expand the brackets, then collect x on one side
    5(x+2)=2x+19x is on both sides5x+10=2x+19Expand the brackets3x+10=19Subtract 2x from both sides3x=9Subtract 10 from both sidesx=93Divide both sides by 3x=3
    Checkx=3: 5(3+2)=5×5=25, and 2(3)+19=25 ✓
    Answer: x=3
  3. Example 3
    Solve x+14=3.
    Undo the division first
    x+14=31 was added to x, then the result was divided by 4x+1=3×4Multiply both sides by 4x+1=12x=12−1Subtract 1 from both sidesx=11
    Checkx=11: 11+14=124=3 ✓
    Answer: x=11

Common mistakes

  • Expanding brackets on only the first term5(x+2) is 5x+10, not 5x+2.
  • Doing something to one side onlySubtracting a term from one side but not the other breaks the balance. Whatever you do to one side, do to the other.
  • Skipping the checkSubstituting your answer back in takes seconds and catches most errors.

In an MYP task

Comparing phone plans (Criterion D)

Plan A costs €12 a month plus €0.05 per minute. Plan B costs €20 a month plus €0.03 per minute. When do they cost the same?

12+0.05m=20+0.03mSet the costs equal12+0.02m=20Subtract 0.03m from both sides0.02m=8Subtract 12 from both sidesm=80.02Divide both sides by 0.02m=400minutes

For the higher levels of Criterion D, students then interpret the answer: Plan A is cheaper for under 400 minutes a month, and Plan B is cheaper for more. They also comment on whether the model is realistic.

Practice questions

  1. 2x+7=19
    Show answer
    2x=12
    x=6
  2. 4(x−3)=20
    Show answer
    4x−12=204x=32
    x=8
  3. 7x−5=3x+11
    Show answer
    4x−5=114x=16
    x=4
  4. 2x3=8
    Show answer
    2x=24
    x=12

More topic explainers

Find more free resources, or look up command terms in the glossary.

Back to all free resources