Solve (x + 3)/(x − 1) ≤ 2 by multiplying both sides by (x − 1) and you get x ≥ 5. That answer is half wrong: every x less than 1 also works. AA HL inequality and modulus questions are full of moves like this one, which look like ordinary algebra but quietly lose or invent solutions. The cure is to choose a method that cannot go wrong for the type of question in front of you.
This guide gives three dependable methods, shows when each one fits, and works four examples in full. For a tutor who will set and mark this kind of practice each week, see our IB AA HL maths tutoring for Diploma students.
Where this sits in the course
In the current AA course (first assessment 2021, final assessment November 2028), HL functions content includes solving inequalities of the form g(x) ≥ f(x) both analytically and graphically, and the graphs of y = |f(x)| and y = f(|x|). SL students solve quadratic inequalities and use the GDC for harder ones; HL questions can ask for polynomial, rational and modulus cases by hand.
The graph transformations themselves, including how to draw |f(x)| and f(|x|) from f(x), are in our guide to AA functions and graph transformations. This post is about using them to solve.
Three methods, and when to use each
| Method | Use it for | Why it is safe |
|---|---|---|
| Sign table | Polynomial and rational inequalities | You never multiply by an expression whose sign is unknown |
| Cases, or squaring | Modulus equations and inequalities | Each case is a plain equation; squaring works when both sides are non-negative |
| Graphs | Mixed functions, or a check on any answer | You see every region where one curve is above the other |
The sign-table routine:
- Move everything to one side, so the other side is 0.
- Combine into a single fraction and factorise top and bottom.
- Mark the critical values: zeros of the numerator and of the denominator.
- Test the sign in each interval.
- Include zeros of the numerator if the inequality is ≤ or ≥. Never include zeros of the denominator.
Worked example 1: a rational inequality
Solve (x + 3)/(x − 1) ≤ 2.
One side zero. (x + 3)/(x − 1) − 2 ≤ 0
Single fraction. (x + 3 − 2(x − 1))/(x − 1) = (5 − x)/(x − 1), so we need (5 − x)/(x − 1) ≤ 0.
Critical values. x = 5 (numerator) and x = 1 (denominator).
| Interval | 5 − x | x − 1 | Fraction |
|---|---|---|---|
| x < 1 | + | − | − |
| 1 < x < 5 | + | + | + |
| x > 5 | − | + | − |
The fraction is negative for x < 1 and x > 5, and zero at x = 5. It is undefined at x = 1.
Solution: x < 1 or x ≥ 5.
The wrong method from the introduction lost x < 1 because multiplying by a negative (x − 1) should have reversed the inequality. If you prefer to multiply, multiply by (x − 1)², which is never negative, and then solve a polynomial inequality instead. Our sibling post on rational functions and asymptotes in AA SL shows what the graph looks like near x = 1.
Worked example 2: a modulus equal to a linear expression
Solve (a) |2x − 3| = x + 1, (b) |2x − 3| < x + 1, (c) |x − 4| = 2x + 1.
(a) Cases. Either 2x − 3 = x + 1, giving x = 4, or 2x − 3 = −(x + 1), giving 3x = 2 and x = 2/3. In both, x + 1 is positive, so both are valid: x = 2/3 or x = 4.
(b) The V-shaped graph of y = |2x − 3| lies below the line y = x + 1 between the two crossing points found in (a). 2/3 < x < 4.
(c) Cases again. x − 4 = 2x + 1 gives x = −5. But then 2x + 1 = −9, and a modulus cannot equal a negative number, so x = −5 is rejected. The other case, −(x − 4) = 2x + 1, gives 3 = 3x and x = 1. Check: |1 − 4| = 3 and 2(1) + 1 = 3. x = 1 only.
Whenever the right side contains x, check each answer in the original equation. Part (c) is exactly the kind of question where an extra root is planted.
Worked example 3: a modulus on each side
Solve |x − 2| ≥ |2x + 1|.
Both sides are non-negative for every x, so squaring keeps the inequality the same way round:
(x − 2)² ≥ (2x + 1)²
x² − 4x + 4 ≥ 4x² + 4x + 1
0 ≥ 3x² + 8x − 3 = (3x − 1)(x + 3)
A positive quadratic is ≤ 0 between its roots, so −3 ≤ x ≤ 1/3.
Check one value inside, x = 0: |−2| = 2 ≥ |1| = 1. True. Check one outside, x = 1: |−1| = 1 ≥ |3| = 3. False. Squaring is the fastest method when both sides are a single modulus; with cases you would need to split the number line at x = −1/2 and x = 2.
Worked example 4: a graph that gives exact answers
Solve |x³ − 4x| ≤ 3.
|x³ − 4x| ≤ 3 means −3 ≤ x³ − 4x ≤ 3. Find where the cubic meets y = 3 and y = −3.
- x³ − 4x = 3. Try small integers: x = −1 gives −1 + 4 = 3. So (x + 1) is a factor: x³ − 4x − 3 = (x + 1)(x² − x − 3), with other roots x = (1 ± √13)/2, about 2.30 and −1.30.
- x³ − 4x = −3. x = 1 gives 1 − 4 = −3. So x³ − 4x + 3 = (x − 1)(x² + x − 3), with other roots x = (−1 ± √13)/2, about 1.30 and −2.30.
Now sketch y = x³ − 4x (zeros at −2, 0 and 2, odd symmetry) with the band −3 ≤ y ≤ 3. The cubic stays inside the band on three separate intervals:
−(1 + √13)/2 ≤ x ≤ (1 − √13)/2, or −1 ≤ x ≤ 1, or (√13 − 1)/2 ≤ x ≤ (1 + √13)/2
In decimals: −2.30 ≤ x ≤ −1.30, −1 ≤ x ≤ 1, 1.30 ≤ x ≤ 2.30.
Without the sketch it is easy to report only the middle interval. The factor theorem step is covered in more depth in our sibling guide to polynomial roots and the factor theorem.
A Paper 2 illustration: when only the GDC will do
Solve |x − 1| < ln(x + 3).
There is no algebraic method here. Graph y = |x − 1| and y = ln(x + 3), find the two intersections, and read off where the log curve is above the V:
x ≈ −0.0737 and x ≈ 2.75, so −0.0737 < x < 2.75 (3 s.f.).
Write the two functions you graphed and the intersection values in your answer. A bare interval with no working can lose method marks.
Exam technique
- Paper 1: expect rational and modulus questions designed for exact answers. Use a sign table and show it; a table earns marks even if one sign is wrong. Our guide to scoring on the no-calculator paper has more on setting out.
- Paper 2: graph both sides as written, rather than rearranging first. Rearranging can introduce errors that the GDC will then faithfully reproduce.
- Strict or not: decide at the end whether each endpoint is included. Denominator zeros never are.
- Sketch first, always. Even a rough sketch tells you how many intervals to expect.
Mistakes our tutors see most
- Multiplying by an expression that could be negative, as in the opening example.
- Cross-multiplying fractions in an inequality for the same reason.
- Not rejecting a root that makes the modulus equal a negative number.
- Squaring when one side could be negative. It is only safe when both sides are non-negative.
- Including a value that makes the denominator zero.
- Mixing up |f(x)| and f(|x|). The first reflects the parts below the x-axis; the second copies the right half of the graph onto the left.
Self-check
- Solve x² − 5|x| + 6 = 0.
- Solve |3x + 1| ≤ 5.
- Solve (2x − 1)/(x + 2) > 1.
- Solve x³ ≥ 4x.
- Solve |x + 1| = |x − 3|.
Answers. 1: treat it as a quadratic in |x|: |x| = 2 or 3, so x = ±2 or ±3. 2: −5 ≤ 3x + 1 ≤ 5 gives −2 ≤ x ≤ 4/3. 3: (x − 3)/(x + 2) > 0, so x < −2 or x > 3. 4: x(x − 2)(x + 2) ≥ 0, so −2 ≤ x ≤ 0 or x ≥ 2. 5: square both sides: x = 1.
Where this leads next
Inequalities return in proof questions, in domains of composite and inverse functions, and in calculus whenever you need where a function is increasing. The full AA HL topic list shows how functions link to the rest of the course. Students weighing AA HL against other routes into a maths degree may find our comparison of AA HL and A level Maths helpful.
How Maths Bodhi helps
In a free demo our tutor sets one rational inequality and one modulus equation and asks the student to explain each step aloud, which shows at once whether solutions are being lost. Tutors are matched to AA HL, and each week's written work is checked for sign tables, endpoints and rejected roots. Read more about our IB maths tuition for all four DP courses.
Home tuition is available in Gurgaon (Gurugram). Students elsewhere in India and abroad learn with us online. You can book a free demo class.
Written and checked by the Maths Bodhi team. Facts checked against official IB sources, November 2026.
Frequently asked questions
- Are modulus functions and inequalities in IB maths AA HL?
- Yes. The HL functions content includes solving g(x) ≥ f(x) analytically and graphically and the graphs of |f(x)| and f(|x|), and modulus equations and inequalities appear through these.
- Why can't I multiply both sides of an inequality by x − 1?
- Because x − 1 is negative for some values of x, and multiplying by a negative reverses the inequality; use a sign table or multiply by (x − 1)² instead.
- How do you solve modulus equations in IB maths?
- Split into the two cases where the inside is positive or negative, solve each, then check every answer in the original equation and reject any that fail.
- When can I square both sides of a modulus inequality?
- When both sides are non-negative for every x, for example |x − 2| ≥ |2x + 1|; squaring then keeps the inequality the same way round.
- What is the difference between |f(x)| and f(|x|)?
- |f(x)| reflects any part of the graph below the x-axis upwards, while f(|x|) keeps the graph for x ≥ 0 and reflects it in the y-axis.
- How do I solve inequalities on the GDC in IB maths?
- Graph both sides as separate functions, find their intersections, and read off where one graph is above the other, writing the functions and intersection values in your answer.
