WhatsApp us
IB DP Maths17 Nov 2026

IB Maths AA HL Inequalities and Modulus Functions: Rational Inequalities, |f(x)| Equations and Graphical Solutions

How to solve AA HL inequalities and modulus equations without losing solutions: sign tables for rational inequalities, cases and squaring for modulus, and graphs for anything else, by hand or on the GDC. Four worked examples, a Paper 2 illustration and a self-check.

IB Maths AA HL Inequalities and Modulus Functions: Rational Inequalities, |f(x)| Equations and Graphical Solutions

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

MethodUse it forWhy it is safe
Sign tablePolynomial and rational inequalitiesYou never multiply by an expression whose sign is unknown
Cases, or squaringModulus equations and inequalitiesEach case is a plain equation; squaring works when both sides are non-negative
GraphsMixed functions, or a check on any answerYou see every region where one curve is above the other

The sign-table routine:

  1. Move everything to one side, so the other side is 0.
  2. Combine into a single fraction and factorise top and bottom.
  3. Mark the critical values: zeros of the numerator and of the denominator.
  4. Test the sign in each interval.
  5. 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).

Interval5 − xx − 1Fraction
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

  1. Multiplying by an expression that could be negative, as in the opening example.
  2. Cross-multiplying fractions in an inequality for the same reason.
  3. Not rejecting a root that makes the modulus equal a negative number.
  4. Squaring when one side could be negative. It is only safe when both sides are non-negative.
  5. Including a value that makes the denominator zero.
  6. 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

  1. Solve x² − 5|x| + 6 = 0.
  2. Solve |3x + 1| ≤ 5.
  3. Solve (2x − 1)/(x + 2) > 1.
  4. Solve x³ ≥ 4x.
  5. 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.
IB maths AA HL functionsmodulus equations IBrational inequalities IBsolving inequalities graphicallyIB maths tutor Gurgaon

Related guides

Keep exploring this maths topic

IB DP Maths17 Nov 2026

IB Maths AA HL Polynomials: Complex Roots, Polynomial Division, Graphs and Symmetric Functions of Roots

Beyond the factor and remainder theorems: how AA HL polynomial questions use conjugate complex roots, division by a quadratic factor, graph shape and multiplicity, and sums of squares or reciprocals of roots. Four original worked examples, a self-check and exam technique.

IB maths AA HL polynomialscomplex conjugate rootssum and product of rootspolynomial division

By Maths Bodhi Team

Read guide

IB DP Maths17 Nov 2026

IB Maths AA HL Trigonometry: Compound Angle Identities and Inverse Trig Functions, Worked Step by Step

The HL trigonometry that SL students never see: compound angle identities, the double angle formula for tan, reciprocal functions and the inverse functions arcsin, arccos and arctan with their domains and ranges. Four worked examples, including one where a correct-looking root must be rejected.

IB maths AA HL trigonometrycompound angle identitiesinverse trig functionsarcsin arccos arctan

By Maths Bodhi Team

Read guide

IB DP Maths17 Nov 2026

IB Maths AA HL Topics and Syllabus: What HL Adds to Each of the Five Topics, the Three Papers and a Checklist

The IB Maths Analysis and Approaches HL syllabus organised by what HL adds beyond SL: the 240 teaching hours by topic, every HL extension with a tick-off checklist, Paper 3 and the exploration, and the changes for students who start DP in August 2027.

IB maths AA HL topicsIB maths AA HL syllabusAA HL vs SL contentIB maths Paper 3

By Maths Bodhi Team

Read guide

IB DP Maths10 Nov 2026

IB Maths AA HL Algebra: Partial Fractions, Systems of Linear Equations and Polynomials, with Worked Examples

Three AA HL algebra skills that turn up inside bigger questions: partial fractions, systems of up to three linear equations (including no solution and infinitely many solutions), and polynomials with the factor and remainder theorems and the sum and product of roots. Methods, four worked examples and exam tips.

IB maths AA HL algebrapartial fractions IBsystems of linear equations IBfactor and remainder theorem

By Maths Bodhi Team

Read guide

IB DP Maths17 Nov 2026

IB Maths AA HL Differentiation: Implicit Differentiation and Related Rates, with Worked Examples

Implicit differentiation and related rates are the two HL differentiation skills that most often decide a calculus question. How to differentiate when y is tangled up with x, how to find second derivatives implicitly, and a reliable four-step method for related rates, with four worked examples and a self-check.

IB maths AA HL differentiationimplicit differentiation IBrelated rates of change IBIB maths HL calculus

By Maths Bodhi Team

Read guide

IB DP Maths10 Nov 2026

IB Maths AA HL Bayes' Theorem and Continuous Random Variables: Worked Examples, Mistakes and Exam Technique

Bayes' theorem and continuous random variables are the HL-only probability content in IB Maths Analysis and Approaches. How to reverse a conditional probability, work with a probability density function, find the mode, median, mean and variance, and use E(aX + b) and Var(aX + b), with fully worked examples.

IB maths AA HL probabilityBayes' theorem IBcontinuous random variables IBprobability density function

By Maths Bodhi Team

Read guide