Modulus equations & inequalities
Solving equations and inequalities that involve : splitting into cases, squaring both sides, and using a sketch to know how many solutions to expect and which ones to reject.
1What you need to know
Tick these off as you go. By the end of the page you should be able to do all of them without notes.
- Interpret as the distance between and AHL 2.16
- Solve and AHL 2.16
- Solve and reject invalid solutionsAHL 2.16
- Solve , and AHL 2.16
- Use a sketch to solve harder modulus inequalitiesAHL 2.16
2Notes & worked examples
Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.
is the size of without its sign: if and if . So is the distance between and on the number line. Every modulus equation is really two ordinary equations (one for each sign). The skill is choosing the quickest method and throwing away solutions that do not fit.
2.1 The modulus as a distance
asks: which numbers are at distance 2 from 3? Answer: 1 and 5. asks which numbers are closer than 2 to 3: . Thinking of distance makes simple cases instant.
Also useful: , and .
2.2 Equations |f(x)| = k and |f(x)| = |g(x)|
When both sides are moduli, either use , or square both sides. Squaring is safe here because both sides are already non-negative, so no false solutions are created.
2.3 Equations |f(x)| = g(x): check your answers
If the right-hand side is not a modulus, it could be negative, and a modulus can never equal a negative number. Splitting into or squaring can produce solutions that do not satisfy the original equation. Always substitute back, or check that .
2.4 Modulus inequalities
With moduli on both sides, squaring is the cleanest method: both sides are non-negative, so squaring keeps the direction of the inequality.
2.5 Using a sketch (the hard cases)
When the inequality mixes a modulus with a non-modulus expression, squaring is unsafe and case-splitting gets messy. The reliable method: sketch both sides, solve the equation (rejecting false solutions as in 3.3), and read the inequality off the sketch.
- against a constant: use directly.
- Modulus on both sides: square both sides.
- Modulus against a non-constant expression: split into cases, check every solution, and use a sketch for inequalities.
- Not sure? Sketch first: it tells you how many solutions to expect.
On Paper 2, use abs( ) from the template menu. Graph both sides and find the intersections, or use nSolve with a sensible starting value. For inequalities, read the intervals off the graph.
3Explore it
The navy V is and the red line is . The green bars show where . Make the line steep or shallow and see the number of solutions change.
4Common mistakes & exam tips
Common mistakes
- Not checking solutions of : one case often gives a value where .
- Squaring both sides when one side is not a modulus, which can create false solutions or reverse an inequality.
- Writing as , which is impossible. It is two separate inequalities.
- Writing . This is false in general.
- In , forgetting to exclude the zeros of .
Exam tips
- Show both cases explicitly, and write "reject" next to any invalid solution with a reason.
- A quick sketch of the V or the reflected curve is worth drawing even when not asked for.
- For , square and factorise: the critical values are the solutions of the equation.
- Leave answers exact on Paper 1 (fractions and surds).
5Practice
Fluency questions build the basics. Problem-solving questions make you think about which method to use.
6Exam-style questions
Original questions in the style of the IB exam, with full markschemes. Give yourself about 1 minute per mark.
Solve the equation .
| or | M1 |
| A1 | |
| M1 | |
| A1 |
- (a)On the same axes, sketch the graphs of and .[2]
- (b)Hence solve the inequality .[4]
| (a) | |
| V-shape with vertex | A1 |
| line with intercepts and | A1 |
| (b) | |
| M1 | |
| A1 | |
| has no solution, so one intersection | R1 |
| A1 | |
- (a)Solve the equation .[4]
- (b)Hence solve the inequality .[3]
| (a) | |
| and | M1 |
| A1 | |
| A1A1 | |
| (b) | |
| sketch or sign analysis | M1 |
| A1 | |
| A1 | |
7Check yourself
Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.
8Past-paper practice
Once you're scoring well above, try real IB questions. Your school or teacher will have these papers.
| Paper | Question | Focus | Difficulty |
|---|---|---|---|
| Nov 2022 · Paper 1 | Q11 | Solving using a sketch of | ★★★ |
| Nov 2025 · TZ3 · Paper 1 | Q5 | Solving | ★★★ |
