IB Maths AA HL Topic 2 — Functions Paper 1 & 2 HL only ~8 min read

Modulus Equations & Inequalities

A modulus equation hides two cases — one where the inside is positive, one where it’s negative. The standard move is to split into two equations and solve each, then check both answers in the original. Inequalities follow naturally: solve the equation first to find boundary points, then test intervals or sketch. Watch out for extraneous solutions — they’re the headline trap on this topic.

📘 What you need to know

Solving modulus equations

Standard splitting rule |f(x)| = g(x)   ⟺   f(x) = g(x)   or   f(x) = −g(x)

The split captures both possibilities for what the inside of the modulus could have been. Once you solve each linear (or polynomial) equation, you must check the answers in the original — the splitting can introduce values where the right-hand side is negative, which the modulus on the left can never equal.

|f| = |g|
both sides non-negative
extraneous solutions are rare; checking is still required
|f| = g
g(x) might be negative
extraneous solutions are common — always verify
Why do extraneous solutions appear? The equation f(x) = −g(x) might have a perfectly valid algebraic solution — but if that x makes g(x) negative, then |f(x)| (always ≥ 0) can’t equal g(x) (now negative). The split equation lied; the original equation didn’t have that solution.

Solving modulus inequalities

Two clean rules cover the most common cases when one side is a positive constant k:

Inequalities with constants |f(x)| < k   ⟺   −k < f(x) < k
|f(x)| > k   ⟺   f(x) > k   or   f(x) < −k

For more complex cases, solve the corresponding equation first to find the boundary points, then either test intervals or sketch both sides on the same axes.

🧭 Recipe — modulus inequality

  1. Replace the inequality with = and solve for the boundary points (using the splitting method above).
  2. Check each boundary in the original equation — discard any extraneous roots.
  3. Sketch both sides of the inequality on the same axes (or test values in each interval).
  4. Read off the regions: above-or-below depending on the inequality direction.
  5. Match the endpoint type: ≤/≥ uses inclusive boundaries; </> uses strict.

When to square both sides

For |f(x)| ≷ |g(x)| (both sides modulus), squaring works cleanly because both sides are non-negative — squaring preserves the inequality direction:

Squaring shortcut |f(x)| < |g(x)|   ⟺   f(x)2 < g(x)2
Why this works: squaring is monotonic on non-negative numbers — if a, b ≥ 0 and a < b, then a2 < b2. After squaring, the modulus signs vanish and you’re left with a polynomial inequality you can solve directly.
Don’t square when only one side has a modulus and the other could be negative — squaring then can introduce extraneous solutions just like splitting can. Save squaring for the |f| ≷ |g| case where both sides are guaranteed non-negative.

Worked examples

WE 1

Basic modulus equation

Solve |3x − 5| = 7.

Step 1: Split into two cases 3x − 5 = 7   or   3x − 5 = −7 Step 2: Solve each 3x = 12 → x = 4 3x = −2 → x = −2/3 Step 3: Check both |3(4) − 5| = |7| = 7 ✓ |3(−2/3) − 5| = |−7| = 7 ✓ x = 4 or x = −2/3 when the right-hand side is a positive constant, both split equations almost always give valid answers
WE 2

Modulus equation with an extraneous solution

Solve |2x + 1| = 3x − 4.

Step 1: Split into two cases 2x + 1 = 3x − 4   or   2x + 1 = −(3x − 4) Step 2: Solve each first: 1 + 4 = 3x − 2x → x = 5 second: 2x + 1 = −3x + 4 → 5x = 3 → x = 3/5 Step 3: Check both in original x = 5: |11| = 11; 3(5) − 4 = 11 ✓ x = 3/5: |11/5| = 11/5; 3(3/5) − 4 = −11/5 ✗ x = 5 only x = 3/5 makes the right-hand side negative — but |2x + 1| can never equal a negative value
WE 3

Modulus equals modulus

Solve |2x − 3| = |x + 4|.

Step 1: Split into two cases 2x − 3 = x + 4   or   2x − 3 = −(x + 4) Step 2: Solve each first: x = 7 second: 2x − 3 = −x − 4 → 3x = −1 → x = −1/3 Step 3: Check both in original x = 7: |11| = 11; |11| = 11 ✓ x = −1/3: |−11/3| = 11/3; |11/3| = 11/3 ✓ x = 7 or x = −1/3 |f| = |g| almost always gives both solutions valid because both sides are non-negative
WE 4

Modulus inequality less than a constant

Solve |3x − 2| < 8.

Step 1: Apply |f(x)| < k ⟺ −k < f(x) < k −8 < 3x − 2 < 8 Step 2: Add 2 to all three parts −6 < 3x < 10 Step 3: Divide by 3 −2 < x < 10/3 −2 < x < 10/3 strict inequality preserves strict endpoints — open interval
WE 5

Modulus inequality greater than a constant

Solve |x − 5| ≥ 3.

Step 1: Apply |f(x)| ≥ k ⟺ f(x) ≥ k or f(x) ≤ −k x − 5 ≥ 3   or   x − 5 ≤ −3 Step 2: Solve each x ≥ 8   or   x ≤ 2 x ≤ 2 or x ≥ 8 ≥ uses inclusive endpoints; the solution is “outside” the band of values where |x − 5| < 3
WE 6

Modulus less than modulus — square both sides

Solve |x − 2| < |x + 4|.

Step 1: Square both sides (valid since both ≥ 0) (x − 2)² < (x + 4)² Step 2: Expand both sides x² − 4x + 4 < x² + 8x + 16 Step 3: Simplify −4x + 4 < 8x + 16 −12x < 12 x > −1 (dividing by −12 flips the inequality) x > −1 geometric reading: |x − 2| is distance from x to 2, |x + 4| is distance from x to −4. The inequality says x is closer to 2 than to −4 — i.e., right of the midpoint −1 ✓

💡 Top tips

⚠ Common mistakes

Modulus equations and inequalities close out the modulus topic. The next note, Reciprocal Transformations, switches focus: how the graph of y = 1/f(x) relates to the original y = f(x). Roots become asymptotes; asymptotes become roots; maxes and mins flip — a different kind of transformation, but with its own clean rules.

Need help with Modulus Equations & Inequalities?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session →