Modulus Equations and Inequalities
The modulus measures distance from zero, so it turns up whenever size matters but direction doesn’t: tolerances in manufacturing, errors in measurement, “within 5 of”. This page shows you how to solve equations and inequalities that contain a modulus, by splitting into cases, by squaring, and by reading a graph. It finishes with the general skill of solving , both on a graph and with algebra.
Key ideas
Section titled “Key ideas”The modulus as a distance
Section titled “The modulus as a distance”is the distance from to , and is the distance from to . Some useful facts:
Basic equations and inequalities
Section titled “Basic equations and inequalities”For a number :
| Statement | Means | Solution |
|---|---|---|
| distance from is | or | |
| closer than to | ||
| further than from | or |
The same works with any expression inside: means or . If , the equation has no solutions, because a modulus can’t be negative.
Method 1: cases
Section titled “Method 1: cases”Split according to the sign of what’s inside the modulus.
- : solve and . Both sides are moduli, so every solution works.
- : solve and , then check each answer in the original equation. The right side must be , and any solution that makes it negative is extraneous.
Method 2: squaring
Section titled “Method 2: squaring”If both sides are non-negative, squaring keeps an equation or inequality true and removes the modulus signs:
This turns the problem into a polynomial one. It’s safe when both sides are moduli (or are otherwise known to be non-negative). If one side could be negative, use cases instead.
Method 3: graphs
Section titled “Method 3: graphs”To solve or , sketch and (see modulus graphs). The intersection points give the equation’s solutions, and the inequality holds wherever the first graph is above the second. A graph also tells you how many solutions to expect, which is a great check on the algebra.
Solving g(x) ≥ f(x)
Section titled “Solving g(x) ≥ f(x)”Any inequality between two functions can be handled the same way.
- Graphically: draw and , find their intersection points (by hand or with the GDC’s “intersect” tool), and read off the -values where the graph of is on or above the graph of .
- Analytically: rearrange to , factor, and use a sign chart, as on polynomial inequalities. For fractions, see rational inequalities.
The IB guide expects the algebraic method for simple polynomials up to degree , and technology for other functions.
On the SAT
Section titled “On the SAT”Desmos understands absolute value: type abs(2x - 1) (or use the | key). On the SAT, graph y = abs(2x - 1) and y = 5 and click the intersections: and . For an inequality, read where the V-shaped graph is above or below the line. For simple equations like , the two cases in your head ( or ) are faster. See using Desmos on the SAT.
Worked examples
Section titled “Worked examples”Example 1: A basic equation and inequality
Section titled “Example 1: A basic equation and inequality”Solve
- (a)
- (b)
Solution.
(a) or . So or , giving or .
Check: ✓ and ✓.
(b) means . Add to all three parts, then divide by :
Notice how (a) gives the endpoints of (b). Test a value inside: gives ✓.
Example 2: Rejecting an extraneous solution
Section titled “Example 2: Rejecting an extraneous solution”Solve .
Solution. The right side isn’t a modulus, so use cases and check.
Case 1: , so . Check: and ✓.
Case 2: , so , , . Check: but . ✗ A modulus can’t equal , so reject .
The only solution is .
Why the extra answer? On a graph, meets the V shape only once, on its right arm. The second case found where the line meets the extension of the left arm, , below the -axis, which isn’t part of the modulus graph.
Example 3: Squaring both sides
Section titled “Example 3: Squaring both sides”Solve .
Solution. Both sides are non-negative, so square:
The parabola opens up with zeros and , so it’s between them:
Check the endpoints: ✓ and ✓. Check a point inside: gives ✓.
Example 4: Solving g(x) ≥ f(x) for a cubic
Section titled “Example 4: Solving g(x) ≥ f(x) for a cubic”Let and . Solve analytically, and confirm with a graph.
Solution. Rearrange so that one side is :
Let . Try : , so is a factor (factor theorem). Dividing gives
Sign chart with critical values , and :
| Interval | ||||
|---|---|---|---|---|
We need , including the zeros:
Graphically: the line and cubic meet at , and , and the line is above the cubic exactly on those intervals.
Common mistakes
Section titled “Common mistakes”Splitting into two pieces. is one interval, . It’s that splits into two pieces.
Not checking solutions of . When the right side isn’t a modulus, one of the cases can give an answer that makes negative. Substitute every answer back into the original equation.
Squaring when one side might be negative. squared gives , which has solutions and , and is wrong. Squaring is only safe when both sides are known to be non-negative.
Dividing an inequality by an expression that could be negative. In , dividing by loses solutions and can flip the sign wrongly. Move everything to one side and factor instead.
Reading the wrong side of the graph. For , you want the -values where the graph of is above the graph of . Write the answer as -intervals, not -values, and include the intersection points when the inequality is or .
Missing intersection points on the GDC. Two curves can meet at points very close together. If the graph looks like it nearly touches somewhere, zoom in before you decide there’s no intersection.
Practice
Section titled “Practice”1. (Warm-up) Solve .
Solution
or , so or .
Check: ✓ and ✓.
2. (Warm-up) Solve
- (a)
- (b)
Solution
(a) , so and
(b) No solutions: a modulus is never negative.
3. (Core) Solve .
Solution
Both sides are moduli, so either the insides are equal or they are opposites.
gives , so .
gives , so .
Check: ✓ and ✓.
4. (Core) Solve .
Solution
or . So or :
On a graph, the horizontal line crosses the W shape four times, which confirms there are four solutions.
5. (Core) Solve .
Solution
Split at , where changes sign.
Case : gives . All of these satisfy , so this case gives .
Case : gives , so (dividing by flips the sign). All of these satisfy .
Check: gives , false ✓ (it’s not in the solution); gives ✓; gives ✓.
6. (Core) Let and . Solve analytically.
Solution
Factor by grouping: .
Critical values , , . The cubic has a positive leading coefficient, so its signs from left to right are , , , . We need :
Check: gives and , and ✓. gives and , and is false ✓.
7. (Core) A machine fills bags of flour with a target mass of g. A bag passes inspection if its mass grams satisfies .
- (a) Find the range of masses that pass.
- (b) Does a bag of g pass?
Solution
(a) , so grams. In words: the mass must be within g of g.
(b) , so no, it fails.
8. (Challenge) Solve .
Solution
The insides change sign at and , so use three cases.
: both insides are non-negative: , so and . This satisfies ✓.
: gives , which is impossible. No solutions here.
: gives , so . This satisfies ✓.
Solutions: and .
This makes sense as distances: is the distance from to plus the distance from to . Any point between and gives a total of exactly , so the total is only at points unit beyond either end.
9. (Challenge) Use technology to solve . Give the endpoints to 3 s.f.
Solution
Graph and (on most GDCs, “abs”). The modulus graph is a W shape touching the axis at , with a bump of height at .
Use “intersect” for every crossing. Near , zoom in: the two graphs cross twice very close together, because is small and the W shape dips to there.
For , is always above (at it’s against , and it grows faster), so there are no more crossings.
The modulus graph is on or above the exponential:
Check a point in each part: gives ✓; gives , false ✓ (excluded); gives ✓; gives , false ✓.