Worked Example · Equations, Inequalities and Graphs · Paper 2 · 5 marks

Solving |x + 1| = |2x − 4|

Rig, founder of IGCSE Add Math Malaysia

Written by Rig, our founder

8 years teaching IGCSE & SPM maths · Updated 16 August 2026

With a modulus on both sides, A=B|A| = |B| splits into two cases: A=BA = B and A=BA = -B. Both sides are non-negative, so unlike a modulus equal to a variable, both candidates are usually valid, though checking is still good practice.

Solve x+1=2x4|x + 1| = |2x - 4|. [5]

The working

Step 1, set up the two cases: x+1=2x4orx+1=(2x4)(M1)x + 1 = 2x - 4 \qquad \text{or} \qquad x + 1 = -(2x - 4) \quad \text{(M1)}

Step 2, solve the first case: x+1=2x4    1+4=2xx    x=5(A1)x + 1 = 2x - 4 \;\Rightarrow\; 1 + 4 = 2x - x \;\Rightarrow\; x = 5 \quad \text{(A1)}

Step 3, solve the second case (distribute the minus to both terms): x+1=2x+4    3x=3    x=1(A1)x + 1 = -2x + 4 \;\Rightarrow\; 3x = 3 \;\Rightarrow\; x = 1 \quad \text{(A1)}

Step 4, check both in the original:

  • x=5x = 5: 6=6|6| = |6|
  • x=1x = 1: 2=2|2| = |-2|

Both valid: x=1x = 1 or x=5x = 5. (M1, A1)

Where the marks are won and lost

  • The second case is x+1=(2x4)x + 1 = -(2x - 4), distribute the minus to both terms: 2x+4-2x + 4.
  • Both sides being moduli means both candidates are typically valid, but a quick check confirms it and catches any slip.
  • Squaring both sides ((x+1)2=(2x4)2(x+1)^2 = (2x-4)^2) is an alternative route that reaches the same two solutions.

Common mistakes

  • Distributing the minus to only one term: (2x4)=2x4-(2x - 4) = -2x - 4 (wrong; it’s 2x+4-2x + 4).
  • Setting up only one case.
  • Assuming a solution must be rejected (here both are valid).

Full method: Modulus Equations & Inequalities notes. Topic home: Equations, Inequalities and Graphs pillar.

Common questions

How do I solve an equation with a modulus on both sides?
Set up two cases: the insides equal (A = B), and the insides equal but opposite (A = −B). Solving both gives the candidate solutions. Because both sides are moduli (never negative), you don't get the sign restriction you'd have with a variable on one side, so both candidates are usually valid, but it's still good practice to check each in the original equation. Squaring both sides is an alternative that also works.

Keep going

See the teaching work on your own child. Then decide.

Every student starts with a 1-hour trial class taught by the vetted tutor your child would actually have. Real teaching, a diagnostic on real exam questions, and a straight answer on the gap to target. One hour at your tutor's rate (RM80–90/hr), no package and no deposit, and you decide afterwards whether to book a weekly slot. Online anywhere in Malaysia.