Sub topic 17
Solving absolute value inequalities
This chapter assumes you can solve linear equations and inequalities, including reversing an inequality sign when you multiply or divide by a negative number. You should also know that |x| is the distance from x to 0 on the number line, and you should be able to solve an absolute value equation such as |x − 3| = 5.
The distance model
The expression |x − a| is the distance between x and a on the number line. An absolute value inequality asks which x values lie within, or beyond, a given distance of a point.
- |x − 3| < 5 means "x is less than 5 units from 3."
- |x − 3| > 5 means "x is more than 5 units from 3."
Both statements are easy to read off a number line. The center is 3 and the radius is 5. The points exactly 5 units away are −2 and 8, and these are the boundaries.
The two core patterns
Assume k is a positive number. Two patterns cover most GRE questions.
| Form | Meaning | Solution | Shape | Column | Column |
|---|---|---|---|---|---|
| \ | u\ | < k | u is within k of 0 | −k < u < k | One interval (an "and" statement) |
| \ | u\ | > k | u is farther than k from 0 | u < −k or u > k | Two rays (an "or" statement) |
The same patterns hold for ≤ and ≥. The boundary values are included only when the inequality sign includes equality.
Here u can be any expression, such as x − 3 or 2x + 1. You solve for u first, then solve for x.
Worked example: the "less than" pattern
Solve |x − 3| < 5.
- Rewrite as a compound inequality: −5 < x − 3 < 5.
- Add 3 to all three parts: −2 < x < 8.
The solution is every number strictly between −2 and 8. The following code confirms this over a range of integers.
# |x - 3| < 5 is the same as -2 < x < 8
assert all((abs(x - 3) < 5) == (-2 < x < 8) for x in range(-20, 21))Worked example: the "greater than" pattern
Solve |2x + 1| ≥ 7.
- Split into two inequalities: 2x + 1 ≤ −7 or 2x + 1 ≥ 7.
- Solve each one: 2x ≤ −8 gives x ≤ −4, and 2x ≥ 6 gives x ≥ 3.
The solution is x ≤ −4 or x ≥ 3. The endpoints are included because the sign is ≥.
# |2x + 1| >= 7 is the same as x <= -4 or x >= 3
assert all((abs(2*x + 1) >= 7) == (x <= -4 or x >= 3) for x in range(-30, 31))Why "and" versus "or" matters
The "less than" case is a single interval, so both conditions must hold at once. The "greater than" case describes two separate regions, so only one condition needs to hold. A common error is to write the "greater than" answer as a chained inequality such as −4 ≥ x ≥ 3. No number satisfies that, because it demands x ≤ −4 and x ≥ 3 at the same time.
Handling coefficients and constants outside the bars
The patterns require the absolute value to be isolated on one side. Move everything else away first.
Worked example: isolating the absolute value
Solve 3|x + 2| − 4 ≤ 11.
- Add 4: 3|x + 2| ≤ 15.
- Divide by 3: |x + 2| ≤ 5.
- Rewrite: −5 ≤ x + 2 ≤ 5.
- Subtract 2: −7 ≤ x ≤ 3.
If you divide by a negative number, reverse the inequality sign before applying a pattern. For example, −2|x| < −6 becomes |x| > 3, which gives x < −3 or x > 3.
# -2|x| < -6 is the same as |x| > 3
assert all((-2*abs(x) < -6) == (abs(x) > 3) for x in range(-20, 21))Edge cases
Some inequalities have no solutions or are true for every number. You can detect these without solving.
| Inequality | Result | Reason | Column | Column |
|---|---|---|---|---|
| \ | x\ | < −2 | No solution | An absolute value is never negative |
| \ | x\ | ≤ 0 | x = 0 only | The only number at distance 0 from 0 is 0 |
| \ | x\ | > −2 | All real numbers | An absolute value is always at least 0 |
| \ | x − 4\ | ≥ 0 | All real numbers | Distance is never negative |
| \ | x − 4\ | > 0 | All real numbers except 4 | Only x = 4 has distance 0 |
Check the sign of the right-hand side before you do any algebra. If k is negative, the answer is immediate.
Absolute values on both sides
When both sides contain an absolute value, such as |x − 1| < |x + 3|, you can think in terms of distance. The inequality says x is closer to 1 than to −3. The midpoint of 1 and −3 is −1, so every x greater than −1 is closer to 1. The solution is x > −1.
You can also square both sides. Squaring is valid here because both sides are nonnegative. Since |u|² = u², the inequality becomes (x − 1)² < (x + 3)². Expanding gives x² − 2x + 1 < x² + 6x + 9, so −8x < 8 and x > −1.
# |x - 1| < |x + 3| is the same as x > -1
assert all((abs(x - 1) < abs(x + 3)) == (x > -1) for x in range(-30, 31))Describing the answer in the form |x − a| < k
Some GRE questions go in the opposite direction. Given the interval −2 < x < 8, you may need the equivalent absolute value inequality.
- Find the midpoint: (−2 + 8) / 2 = 3.
- Find the half-width: (8 − (−2)) / 2 = 5.
- Write |x − 3| < 5.
The same method works for two rays. The set x < −2 or x > 8 is |x − 3| > 5.
Using this in Quantitative Comparison
Quantitative Comparison questions often give a condition like |x − 3| < 5 and then compare expressions in x. The condition tells you the range of x, not its value. Use the range as follows.
- Find the full interval or set from the condition.
- Test the endpoints and a point inside, or a point on each side for the "or" case.
- If different test values give different answers, the relationship cannot be determined.
For example, suppose |x − 3| < 5, Quantity A is x, and Quantity B is 4. Then x can be 0 (A is less) or 7 (A is greater), so the answer is that the relationship cannot be determined. Because the endpoints are excluded, remember that x = −2 and x = 8 are not allowed when you test.
Common errors
- Forgetting to isolate the absolute value before splitting the inequality.
- Using "and" when the answer needs "or," or the reverse.
- Not reversing the sign when you divide by a negative number.
- Splitting |u| > k into u > k and u > −k. The second part should be u < −k.
- Including endpoints when the original sign is strict, or leaving them out when it is not.
- Treating |x| < −3 as if it had a solution.
Exercise
Solve |3 − 2x| ≤ 9 and write the solution as an interval. Then say which integers x satisfy the inequality and also satisfy x > 0.
Show answer
Rewrite as −9 ≤ 3 − 2x ≤ 9. Subtract 3: −12 ≤ −2x ≤ 6. Divide by −2 and reverse both signs: 6 ≥ x ≥ −3, which is −3 ≤ x ≤ 6. The solution is the interval [−3, 6]. The integers that also satisfy x > 0 are 1, 2, 3, 4, 5, and 6.
Exercise
Solve 2|x + 1| − 3 > 5. Then write the solution set in the form |x − a| > k.
Show answer
Add 3: 2|x + 1| > 8. Divide by 2: |x + 1| > 4. Split: x + 1 < −4 or x + 1 > 4, so x < −5 or x > 3. The midpoint of −5 and 3 is −1 and the half-width is 4, so the form is |x + 1| > 4.
Exercise
Quantity A is |x|. Quantity B is 2. You are told |x − 1| < 2. Which quantity is greater, or can this not be determined?
Show answer
The condition gives −1 < x < 3. At x = 0, |x| = 0, which is less than 2. At x = 2.5, |x| = 2.5, which is greater than 2. Different values give different results, so the relationship cannot be determined.