Sub topic 10
Solving |f(x)| < k and |f(x)| > k
This chapter assumes you can solve linear inequalities, write answers in interval notation, and read |x − a| as the distance between x and a on the number line. It covers inequalities with one modulus term on one side and a constant k on the other.
The Two Core Rules
The distance view gives both rules. |f(x)| < k says f(x) lies within k of zero. |f(x)| > k says f(x) lies more than k away from zero.
| Condition (k > 0) | Equivalent form | Shape of solution | Column | Column |
|---|---|---|---|---|
| \ | f(x)\ | < k | −k < f(x) < k | one interval ("and") |
| \ | f(x)\ | ≤ k | −k ≤ f(x) ≤ k | one closed interval |
| \ | f(x)\ | > k | f(x) < −k or f(x) > k | two rays ("or") |
| \ | f(x)\ | ≥ k | f(x) ≤ −k or f(x) ≥ k | two closed rays |
Special Cases When k Is Not Positive
A modulus is never negative, so:
- |f(x)| < k with k ≤ 0 has no solution.
- |f(x)| ≤ 0 holds only where f(x) = 0.
- |f(x)| > k with k < 0 holds for every x in the domain.
- |f(x)| ≥ 0 always holds.
CAT options often include "no solution" or "all real x" to catch students who apply the standard rule without checking k.
Worked Examples
Example 1. Solve |2x − 5| < 7.
Write −7 < 2x − 5 < 7. Add 5 to get −2 < 2x < 12, so −1 < x < 6. The answer is (−1, 6).
Example 2. Solve |3 − 2x| ≥ 5.
Split it into two cases. If 3 − 2x ≤ −5, then −2x ≤ −8, so x ≥ 4. If 3 − 2x ≥ 5, then −2x ≥ 2, so x ≤ −1. Dividing by −2 flips the sign in both cases. The answer is (−∞, −1] ∪ [4, ∞).
A brute-force check confirms the integer count for Example 1:
count = sum(1 for x in range(-100, 101) if abs(2 * x - 5) < 7)
print(count) # 6, the integers 0 through 5Common Errors
- Joining the "or" case into one chain. Writing −k > f(x) > k describes no number at all. A ">" condition always produces two separate pieces.
- Forgetting to flip the sign. When the coefficient of x is negative, as in Example 2, dividing by it reverses the inequality.
- Treating a variable right side like a constant. If the right side is g(x), then |f(x)| < g(x) needs g(x) > 0 for any solution to exist. Check that condition, or use the case-splitting method from the next chapter.
- Ignoring the endpoints. A strict sign excludes −k and k, while ≤ or ≥ includes them. This decides integer counts.
Exercise
Solve |5 − x| > 2 and write the answer in interval notation.
Show answer
Split into 5 − x < −2, which gives x > 7, or 5 − x > 2, which gives x < 3. The answer is (−∞, 3) ∪ (7, ∞).
Exercise
How many integers satisfy 2 < |x − 1| ≤ 5?
Show answer
The condition means x − 1 lies in [−5, −2) or (2, 5], so x lies in [−4, −1) or (3, 6]. The integers are −4, −3, −2 and 4, 5, 6, which makes 6.