HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Modulus Equations, Inequalities and Cubic Graphs
  1. 1Equations with a modulus
  2. 2Inequalities with a modulus
  3. 3Substitution, cubic graphs and cubic inequalities
  1. Mathematics
  2. /Modulus Equations, Inequalities and Cubic Graphs
  3. /Inequalities with a modulus

Course 21.2·Lesson 2 of 3

Inequalities with a modulus

A modulus inequality asks how far a value may stray from a target. You solve the standard types, with one or two moduli and with a quadratic inside, and write each solution in the proper form.

about 25 min1 simulation1 practice question
Lesson 2 of 3Show all lessonsHide
Modulus Equations, Inequalities and Cubic Graphs
  1. 1Equations with a modulus
  2. 2Inequalities with a modulus
  3. 3Substitution, cubic graphs and cubic inequalities

Try the code and the simulations beside the lesson.

Writing a solution set

Cambridge asks for a solution to be written in a standard form. For example:

  • −3<x<4-3 < x < 4−3<x<4 when xxx lies between two values.
  • x<1x < 1x<1 or x>6x > 6x>6 when xxx lies outside an interval.

Use the word "or", never "and", for two separate pieces. We also use ≤\le≤ and ≥\ge≥ when the end value is allowed.

The types k∣ax+b∣>ck|ax + b| > ck∣ax+b∣>c and k∣ax+b∣≤ck|ax + b| \le ck∣ax+b∣≤c

First divide by kkk, which is positive. Then use the two rules.

  • ∣u∣≤w|u| \le w∣u∣≤w means −w≤u≤w-w \le u \le w−w≤u≤w. The distance is small, so uuu is between −w-w−w and www.
  • ∣u∣>w|u| > w∣u∣>w means u<−wu < -wu<−w or u>wu > wu>w. The distance is large, so uuu is outside.

For 3∣2x−1∣≤123|2x - 1| \le 123∣2x−1∣≤12: divide by 333 to get ∣2x−1∣≤4|2x - 1| \le 4∣2x−1∣≤4. Then −4≤2x−1≤4-4 \le 2x - 1 \le 4−4≤2x−1≤4, so −3≤2x≤5-3 \le 2x \le 5−3≤2x≤5 and −1.5≤x≤2.5-1.5 \le x \le 2.5−1.5≤x≤2.5.

For 2∣x−3∣>102|x - 3| > 102∣x−3∣>10: divide by 222 to get ∣x−3∣>5|x - 3| > 5∣x−3∣>5. Then x−3<−5x - 3 < -5x−3<−5 or x−3>5x - 3 > 5x−3>5, so x<−2x < -2x<−2 or x>8x > 8x>8.

The type k∣ax+b∣≤∣cx+d∣k|ax + b| \le |cx + d|k∣ax+b∣≤∣cx+d∣

Both sides are never negative, so we may square both sides and keep the inequality. Then use the difference of two squares: A2−B2=(A−B)(A+B)A^2 - B^2 = (A - B)(A + B)A2−B2=(A−B)(A+B).

For ∣x−1∣≤∣x+3∣|x - 1| \le |x + 3|∣x−1∣≤∣x+3∣:

  1. Square: (x−1)2≤(x+3)2(x - 1)^2 \le (x + 3)^2(x−1)2≤(x+3)2.
  2. Expand: x2−2x+1≤x2+6x+9x^2 - 2x + 1 \le x^2 + 6x + 9x2−2x+1≤x2+6x+9, so −8x≤8-8x \le 8−8x≤8.
  3. Divide by −8-8−8 and turn the sign round: x≥−1x \ge -1x≥−1.

For the form k∣ax+b∣≤∣cx+d∣k|ax + b| \le |cx + d|k∣ax+b∣≤∣cx+d∣, square both sides in the same way. Then move everything to one side, factorise, and use a sketch of the quadratic.

The type ∣ax+b∣≤cx+d|ax + b| \le cx + d∣ax+b∣≤cx+d

The right side must be zero or more. Then ∣ax+b∣≤cx+d|ax + b| \le cx + d∣ax+b∣≤cx+d means −(cx+d)≤ax+b≤cx+d-(cx + d) \le ax + b \le cx + d−(cx+d)≤ax+b≤cx+d. Solve the two inequalities, and keep only the xxx that satisfy both and make cx+d≥0cx + d \ge 0cx+d≥0.

For ∣2x−3∣≤x+4|2x - 3| \le x + 4∣2x−3∣≤x+4:

  1. The right side: x+4≥0x + 4 \ge 0x+4≥0, so x≥−4x \ge -4x≥−4.
  2. The right half: 2x−3≤x+42x - 3 \le x + 42x−3≤x+4, so x≤7x \le 7x≤7.
  3. The left half: −(x+4)≤2x−3-(x + 4) \le 2x - 3−(x+4)≤2x−3, so −1≤3x-1 \le 3x−1≤3x and x≥−13x \ge -\dfrac{1}{3}x≥−31​.

All three together give −13≤x≤7-\dfrac{1}{3} \le x \le 7−31​≤x≤7.

The types with a quadratic modulus

For ∣ax2+bx+c∣≤d|ax^2 + bx + c| \le d∣ax2+bx+c∣≤d we need −d≤ax2+bx+c≤d-d \le ax^2 + bx + c \le d−d≤ax2+bx+c≤d. For ∣ax2+bx+c∣>d|ax^2 + bx + c| > d∣ax2+bx+c∣>d we need ax2+bx+c>dax^2 + bx + c > dax2+bx+c>d or ax2+bx+c<−dax^2 + bx + c < -dax2+bx+c<−d. Each piece is a quadratic inequality. Solve it with a sketch of the parabola: (x−p)(x−q)<0(x - p)(x - q) < 0(x−p)(x−q)<0 is between the roots, and (x−p)(x−q)>0(x - p)(x - q) > 0(x−p)(x−q)>0 is outside them.

For ∣x2−3x∣≤4|x^2 - 3x| \le 4∣x2−3x∣≤4:

  1. x2−3x≤4x^2 - 3x \le 4x2−3x≤4 gives (x−4)(x+1)≤0(x - 4)(x + 1) \le 0(x−4)(x+1)≤0, so −1≤x≤4-1 \le x \le 4−1≤x≤4.
  2. x2−3x≥−4x^2 - 3x \ge -4x2−3x≥−4 gives x2−3x+4≥0x^2 - 3x + 4 \ge 0x2−3x+4≥0. The discriminant is 9−16<09 - 16 < 09−16<0, so this is true for every xxx.
  3. Together: −1≤x≤4-1 \le x \le 4−1≤x≤4.

For ∣x2−2x−3∣>5|x^2 - 2x - 3| > 5∣x2−2x−3∣>5: x2−2x−8>0x^2 - 2x - 8 > 0x2−2x−8>0 gives x<−2x < -2x<−2 or x>4x > 4x>4, and x2−2x+2<0x^2 - 2x + 2 < 0x2−2x+2<0 is never true. The solution is x<−2x < -2x<−2 or x>4x > 4x>4.

Solving by graph

Draw the graph of the modulus expression and the graph of the other side. The solution is the set of xxx where the first graph is below, or above, the second.

A graph of y equals the modulus of x squared minus 5, in blue, with the dashed red line y equals 4. The curve meets the line at (minus 3, 4), (minus 1, 4), (1, 4) and (3, 4). The parts of the curve on or below the line, for x from minus 3 to minus 1 and from 1 to 3, are drawn in green, with green bars on the x-axis under them.

The picture shows ∣x2−5∣≤4|x^2 - 5| \le 4∣x2−5∣≤4. The curve is on or below the line y=4y = 4y=4 for −3≤x≤−1-3 \le x \le -1−3≤x≤−1 and for 1≤x≤31 \le x \le 31≤x≤3, so the solution is −3≤x≤−1-3 \le x \le -1−3≤x≤−1 or 1≤x≤31 \le x \le 31≤x≤3.

Practise with new numbers

Try it in Python

The program tests the inequality ∣x2−5∣≤4|x^2 - 5| \le 4∣x2−5∣≤4 on whole numbers, and compares the result with the written solution.

Read it first. Then run it. Do the two lists agree?

1. Change the test to abs(x * x - 5) < 4. Do any whole numbers drop out?

2. Change range(-6, 7) to range(-20, 21). Does the pattern stay the same?

Common mistakes

  • Using "and" for two pieces. x<−2x < -2x<−2 or x>8x > 8x>8 is correct. "x<−2x < -2x<−2 and x>8x > 8x>8" has no solution.
  • Writing a long double inequality for a modulus greater than a number. The solution is outside the interval.
  • Forgetting to turn the sign round when dividing by a negative number.
  • Ignoring cx+d≥0cx + d \ge 0cx+d≥0 in ∣ax+b∣≤cx+d|ax + b| \le cx + d∣ax+b∣≤cx+d.
  • Squaring when a side can be negative. Only square when both sides are moduli, or you know both sides are non-negative.

Remember these

  • ∣u∣≤w|u| \le w∣u∣≤w gives −w≤u≤w-w \le u \le w−w≤u≤w. ∣u∣>w|u| > w∣u∣>w gives u<−wu < -wu<−w or u>wu > wu>w.
  • Two moduli: square both sides, then factorise the difference of two squares.
  • ∣ax+b∣≤cx+d|ax + b| \le cx + d∣ax+b∣≤cx+d: use −(cx+d)≤ax+b≤cx+d-(cx + d) \le ax + b \le cx + d−(cx+d)≤ax+b≤cx+d and cx+d≥0cx + d \ge 0cx+d≥0.
  • Write the answer as p<x<qp < x < qp<x<q or as x<px < px<p or x>qx > qx>q.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. Write ∣x+1∣<4|x + 1| < 4∣x+1∣<4 without a modulus.
  1. Solve 3∣x−2∣>123|x - 2| > 123∣x−2∣>12.
  1. Solve ∣x−1∣≤∣2x−5∣|x - 1| \le |2x - 5|∣x−1∣≤∣2x−5∣.
  1. Solve ∣x−4∣≤3x−2|x - 4| \le 3x - 2∣x−4∣≤3x−2.
  1. Solve ∣x2−26∣≤10|x^2 - 26| \le 10∣x2−26∣≤10.

References

  • Cambridge International, IGCSE Additional Mathematics 0606 syllabus (2025, 2026 and 2027), unit 4 Equations, inequalities and graphs.
  • OpenStax, Algebra and Trigonometry 2e, chapter 2 Equations and Inequalities, the section on absolute value inequalities.

Enroll free in Modulus Equations, Inequalities and Cubic Graphs

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (3)

A quality inspector accepts a part when five times its distance from the target length is at most…Easy · High School (9–10) · by StemPy Lab
Two sensors are compared, and the first reading must be no farther from zero than the second…Medium · High School (9–10) · by StemPy Lab
A tolerance band for a squared quantity is written with a modulus, and the allowed values of x are…Hard · High School (9–10) · by StemPy Lab
Next: lesson 3Substitution, cubic graphs and cubic inequalities
← Modulus Equations, Inequalities and Cubic Graphs
← Equations with a modulusSubstitution, cubic graphs and cubic inequalities →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.