All subjects · Mathematics · WMA13 (P3)

Modulus equations and inequalities

To solve an equation with a modulus, sketch the graphs first, then solve the two cases. The sketch tells you which answers are real.

Two cases

|f(x)| = g(x) means f(x) = g(x) or -f(x) = g(x). Solve both, then check each answer in the original equation: a modulus cannot equal a negative number, so reject any x where g(x) < 0.

Use a sketch

Sketch y = |f(x)| and y = g(x). The number of intersection points is the number of solutions. The specification expects you to use graphs like this to solve modulus equations and inequalities, such as |2x - 1| = x + 5.

Inequalities

For harder ones, find where the graphs meet, then read from the sketch where one graph is under or over the other.

Worked example

Solve |2x - 1| = x + 5.

  1. Case 1: 2x - 1 = x + 5 gives x = 6.
  2. Case 2: -(2x - 1) = x + 5 gives -3x = 4, so x = -4/3.
  3. Both give x + 5 > 0, so both are valid.

Answer: x = 6 or x = -4/3

Key idea: Solve f(x) = g(x) and -f(x) = g(x), then check. |x - a| < b gives one interval; |x - a| > b gives two.

Check yourself

  1. Solve |x - 3| = 5.
    Show answer

    x = 8 or x = -2. x - 3 = 5 or x - 3 = -5.

  2. Solve |3x + 2| = 2x + 8.
    Show answer

    x = 6 or x = -2. 3x + 2 = 2x + 8 gives x = 6. -(3x + 2) = 2x + 8 gives -5x = 10, so x = -2. Both make 2x + 8 positive.

  3. How many solutions does |2x - 5| = x - 4 have?
    Show answer

    0. The cases give x = 1 and x = 3, but at both x - 4 is negative, so neither works. A sketch shows the line stays under the V.

  4. Solve |x - 4| < 3.
    • x < 1 or x > 7
    • -7 < x < 7
    • 1 < x < 7
    • x < 7
    Show answer

    1 < x < 7. -3 < x - 4 < 3, so 1 < x < 7.

  5. Solve |2x + 1| ≥ 5.
    • x ≤ -3 or x ≥ 2
    • -3 ≤ x ≤ 2
    • x ≥ 2
    • x ≤ -2 or x ≥ 3
    Show answer

    x ≤ -3 or x ≥ 2. 2x + 1 ≥ 5 gives x ≥ 2; 2x + 1 ≤ -5 gives x ≤ -3.

  6. Solve |x| > 2x - 3.
    • x > 3
    • x < 1 or x > 3
    • x < 3
    • 1 < x < 3
    Show answer

    x < 3. For x ≥ 0: x > 2x - 3 gives x < 3. For x < 0: -x > 2x - 3 gives x < 1, which every negative x satisfies. Together: x < 3.

  7. Solve |x2 - 5| = 4.
    Show answer

    x = ±3 or x = ±1. x2 - 5 = 4 gives x2 = 9; x2 - 5 = -4 gives x2 = 1.

Practise with instant feedback

Sources

Last updated 7 November 2026. Spotted a mistake? Tell us.