Sub topic 10
Solving |f(x)| < k and |f(x)| > k
This chapter assumes you can solve linear and quadratic inequalities, read sign charts, and treat |x − a| as the distance from x to a on the number line. Multiple modulus terms such as |x − 3| + |x + 2| are covered in the next chapter. Here the focus is one modulus compared against a constant, against an expression, or against another modulus.
The Two Core Translations
Read |f(x)| as the distance of the number f(x) from 0. Then each inequality becomes a statement about distance:
- |f(x)| < k means f(x) is within k of zero, so f(x) lies between −k and k.
- |f(x)| > k means f(x) is more than k away from zero, so f(x) lies outside the band from −k to k.
For k > 0:
| Inequality | Equivalent condition | Connective | Column | Column |
|---|---|---|---|---|
| \ | f(x)\ | < k | −k < f(x) < k | and (one compound inequality) |
| \ | f(x)\ | ≤ k | −k ≤ f(x) ≤ k | and |
| \ | f(x)\ | > k | f(x) < −k or f(x) > k | or (two separate pieces) |
| \ | f(x)\ | ≥ k | f(x) ≤ −k or f(x) ≥ k | or |
The "less than" case gives one connected band, and the "greater than" case gives two rays. Mixing up "and" with "or" is the most common source of wrong answers.
Worked Examples with a Constant
Linear inside, "less than"
Solve |2x − 3| ≤ 5.
- Translate: −5 ≤ 2x − 3 ≤ 5.
- Add 3 throughout: −2 ≤ 2x ≤ 8.
- Divide by 2, which is positive, so the signs stay: −1 ≤ x ≤ 4.
The solution is [−1, 4]. It contains 6 integers. Check with distance: |2x − 3| ≤ 5 is the same as |x − 1.5| ≤ 2.5, an interval centred at 1.5 with radius 2.5, which matches.
Linear inside, "greater than"
Solve |3x + 1| > 7.
- 3x + 1 > 7 gives x > 2.
- 3x + 1 < −7 gives x < −8/3.
The solution is (−∞, −8/3) ∪ (2, ∞). Do not write this as −8/3 > x > 2, because no number satisfies that chain.
Quadratic inside
Solve |x² − 5x| < 6.
Translate to −6 < x² − 5x < 6 and split into two inequalities that must both hold:
- x² − 5x < 6 gives x² − 5x − 6 < 0, which is (x − 6)(x + 1) < 0, so −1 < x < 6.
- x² − 5x > −6 gives x² − 5x + 6 > 0, which is (x − 2)(x − 3) > 0, so x < 2 or x > 3.
Intersect them: (−1, 2) ∪ (3, 6). The band condition produced two intervals because the inner function is not monotonic. Between 2 and 3, x² − 5x dips below −6 (at x = 2.5 it equals −6.25), so those points fail.
Edge Cases for k
When k is not positive, the distance reading settles the answer immediately, because a distance is never negative.
| Inequality | Solution | Column | Column |
|---|---|---|---|
| \ | f(x)\ | < −2 | No solution |
| \ | f(x)\ | ≤ 0 | Only where f(x) = 0 |
| \ | f(x)\ | < 0 | No solution |
| \ | f(x)\ | > 0 | Every x in the domain with f(x) ≠ 0 |
| \ | f(x)\ | ≥ −5 | Every x in the domain |
CAT often hides this case by using a parameter, for example "for which a does |x − 2| < a − 3 have solutions?" The answer is a > 3, since the right side must be positive.
When the Right Side Is an Expression
The translations stay valid when k is replaced by an expression g(x):
- |f(x)| < g(x) is equivalent to −g(x) < f(x) < g(x).
- |f(x)| > g(x) is equivalent to f(x) < −g(x) or f(x) > g(x).
You do not need to assume g(x) > 0 first. If g(x) ≤ 0, the compound −g < f < g has no solution on its own, so negative values of g are excluded automatically.
Solve |x − 2| < 2x − 1.
- Right part: x − 2 < 2x − 1 gives x > −1.
- Left part: −(2x − 1) < x − 2 gives 3 < 3x, so x > 1.
The intersection is x > 1. Check: at x = 1 we get 1 < 1, which is false. At x = 2 we get 0 < 3, which is true.
Modulus on Both Sides: Square It
Both sides of |f(x)| < |g(x)| are non-negative, so squaring keeps the direction:
|f| < |g| ⇔ f² < g² ⇔ (f − g)(f + g) < 0.
Solve |x − 1| < |x + 3|. Squaring gives (x − 1)² < (x + 3)². Expanding, −2x + 1 < 6x + 9, so x > −1. The distance view agrees: x is closer to 1 than to −3, and the midpoint of 1 and −3 is −1.
Rational Expressions Inside the Modulus
Solve |(x + 1)/(x − 2)| ≤ 2, with x ≠ 2.
Rewrite the left side as |x + 1|/|x − 2|. Since |x − 2| > 0 on the domain, you can multiply through without flipping the sign: |x + 1| ≤ 2|x − 2|. Both sides are non-negative, so square:
(x + 1)² ≤ 4(x − 2)² x² + 2x + 1 ≤ 4x² − 16x + 16 0 ≤ 3x² − 18x + 15 = 3(x − 1)(x − 5)
This gives x ≤ 1 or x ≥ 5. The excluded point x = 2 is not in this set anyway, but always confirm it. Check: x = 3 gives 4/1 = 4, which is greater than 2, so it is correctly excluded. At x = 5, the value is 6/3 = 2, so the endpoint is included.
Verifying Numerically
A quick scan over sample points confirms an interval answer and catches sign slips.
def solves_quadratic(x):
return abs(x * x - 5 * x) < 6
def solves_rational(x):
return x != 2 and abs((x + 1) / (x - 2)) <= 2
samples = [-1.5, -1, 0, 1, 2, 2.5, 3, 3.5, 5, 5.9, 6, 7]
for x in samples:
print(x, solves_quadratic(x), solves_rational(x) if x != 2 else "excluded")
# Expected for |x^2 - 5x| < 6: true only on (-1, 2) and (3, 6)
# Expected for |(x+1)/(x-2)| <= 2: true for x <= 1 or x >= 5
count = sum(1 for x in range(-50, 51) if abs(2 * x - 3) <= 5)
print("integers in |2x - 3| <= 5:", count) # 6Common Errors
- Using "or" for a "less than" modulus, or "and" for a "greater than" modulus.
- Writing the two rays as one impossible chain such as −3 > x > 2.
- Dropping the boundary when the inequality is ≤ or ≥, or keeping it when it is strict.
- Squaring when one side might be negative.
- Forgetting the excluded points of a rational expression.
- Ignoring the k ≤ 0 case in a parameter question.
Exercise
How many integers x satisfy |2x − 7| < 9?
Show answer
−9 < 2x − 7 < 9 gives −2 < 2x < 16, so −1 < x < 8. The integers are 0 through 7, which is 8 integers.
Exercise
Solve |x − 3| ≥ |2x + 1|.
Show answer
Both sides are non-negative, so square: (x − 3)² ≥ (2x + 1)². Then (x − 3 − 2x − 1)(x − 3 + 2x + 1) ≥ 0, which is (−x − 4)(3x − 2) ≥ 0, or (x + 4)(3x − 2) ≤ 0. The solution is −4 ≤ x ≤ 2/3. Check x = 0: 3 ≥ 1 holds.
Exercise
State the solution sets of |x + 1| < −2 and |x + 1| > −2.
Show answer
A modulus is never negative, so |x + 1| < −2 has no solution and |x + 1| > −2 holds for every real x.
Exercise
Solve |x² − 4| < 3x.
Show answer
Translate to −3x < x² − 4 < 3x. Right part: x² − 3x − 4 < 0 gives (x − 4)(x + 1) < 0, so −1 < x < 4. Left part: x² + 3x − 4 > 0 gives (x + 4)(x − 1) > 0, so x < −4 or x > 1. The intersection is 1 < x < 4. Check x = 2: 0 < 6 holds.