Sub topic 6
Rational Inequalities: Denominators, Excluded Points and Repeated Roots
This chapter assumes you can factorise polynomials and use the wavy curve (sign chart) method on polynomial inequalities, as covered in the previous chapter. A rational inequality is one where the variable appears in a denominator, such as (x - 1)/(x - 3) ≥ 0. The sign chart still does the work. Three things make these problems different: you cannot freely cross-multiply, the zeros of the denominator can never be part of the answer, and repeated factors change how signs alternate.
Why Cross-Multiplying Fails
Multiplying both sides of an inequality by an expression keeps the direction only if that expression is positive. A denominator such as x can be positive or negative depending on x, so multiplying by it silently assumes a sign you have not checked.
Take 1/x < 1. Multiplying by x gives 1 < x, so the "answer" would be x > 1. But x = -5 also works, because 1/(-5) = -0.2 < 1. The cross-multiplication lost every negative solution.
The correct route is to bring everything to one side:
1/x - 1 < 0, which becomes (1 - x)/x < 0, which becomes (x - 1)/x > 0.
The critical points are 0 and 1. The expression is positive for x > 1 and for x < 0, so the solution is (-∞, 0) ∪ (1, ∞).
The Standard Procedure
The rules for endpoints are the part most often marked wrong in practice:
| Critical point comes from | Strict inequality (< or >) | Non-strict inequality (≤ or ≥) |
|---|---|---|
| Zero of numerator only | Excluded | Included |
| Zero of denominator | Excluded | Excluded |
| Zero of both (a cancelled factor) | Excluded | Excluded |
Worked Example 1: A Basic Rational Inequality
Solve (x - 1)(x + 2)/(x - 3) ≥ 0.
The critical points are -2, 1 and 3, and every factor has power 1. For large x every factor is positive, so the rightmost interval is positive. Moving left, the sign flips at each point:
| Interval | Sign |
|---|---|
| x > 3 | + |
| 1 < x < 3 | − |
| -2 < x < 1 | + |
| x < -2 | − |
We need positive or zero. The numerator zeros -2 and 1 are included because the inequality is non-strict. The point x = 3 is a denominator zero, so it is excluded.
Solution: [-2, 1] ∪ (3, ∞).
The script below tests one sample point from each interval, plus the two numerator zeros:
def f(x):
return (x - 1) * (x + 2) / (x - 3)
for x in [-3, -2, 0, 1, 2, 4]:
print(x, f(x) >= 0)
# Solution: [-2, 1] union (3, infinity); x = 3 is excludedThe output is False, True, True, True, False, True, which matches the sign chart.
Worked Example 2: Fractions on Both Sides
Solve (2x - 1)/(x + 1) ≥ 1.
Subtract 1 and combine the terms:
(2x - 1 - (x + 1))/(x + 1) ≥ 0, which becomes (x - 2)/(x + 1) ≥ 0.
The critical points are -1 (denominator) and 2 (numerator). The expression is positive for x > 2 and for x < -1. The numerator zero x = 2 is included and x = -1 is excluded.
Solution: (-∞, -1) ∪ [2, ∞).
Repeated Roots: Even and Odd Powers
A factor (x - a)^k changes sign at x = a only when k is odd. When k is even the factor is never negative, so the overall sign stays the same across that point. This rule applies in the denominator as well as the numerator.
Solve (x + 1)(x - 2)^2/(x - 4)^3 ≤ 0.
- The critical points are -1 (power 1), 2 (power 2) and 4 (power 3, denominator).
- The rightmost interval, x > 4, is positive.
- Crossing 4 (odd power): the sign flips, so (2, 4) is negative.
- Crossing 2 (even power): the sign stays, so (-1, 2) is negative.
- Crossing -1 (odd power): the sign flips, so x < -1 is positive.
We need negative or zero. The interval (-1, 4) is negative apart from x = 2, where the expression equals 0, which is allowed. The point -1 gives zero, so it is included. The point 4 is excluded.
Solution: [-1, 4).
Now change the inequality to strict, < 0. The zeros -1 and 2 must both go, and the answer becomes (-1, 2) ∪ (2, 4). Students often miss the hole at x = 2, because 2 does not sit on the boundary of any sign region.
def g(x):
return (x + 1) * (x - 2) ** 2 / (x - 4) ** 3
for x in [-2, -1, 0, 2, 3, 5]:
print(x, g(x), g(x) <= 0, g(x) < 0)
# <= 0 holds on [-1, 4); < 0 holds on (-1, 2) union (2, 4)Cancelled Factors and Always-Positive Factors
Cancellation leaves a hole. Solve (x^2 - 1)/(x - 1) > 0. The expression simplifies to x + 1, but the original expression is undefined at x = 1. So x + 1 > 0 with x ≠ 1 gives (-1, 1) ∪ (1, ∞). The CAT likes this trap because an option of (-1, ∞) looks correct after simplification.
Always-positive factors can be dropped. If a quadratic factor has a negative discriminant and a positive leading coefficient, it is positive for every x and does not affect the sign. In (x^2 + x + 1)/(x - 5) < 0, the discriminant of x^2 + x + 1 is 1 - 4 = -3. Drop that factor and solve 1/(x - 5) < 0, which gives x < 5. If the leading coefficient is negative (for example, -x^2 - 1), drop the factor but reverse the inequality.
Normalise leading coefficients. Write factors such as (3 - x) as -(x - 3) before you build the chart, and reverse the inequality for each minus sign you pull out. The rule "rightmost interval is positive" holds only when every factor has the form (x - a).
Common Errors at a Glance
| Error | Consequence | Fix |
|---|---|---|
| Cross-multiplying by an expression whose sign is unknown | Loses or adds whole intervals | Move terms to one side and combine |
| Including a denominator zero for ≤ or ≥ | Includes a point where the expression is undefined | Denominator zeros are always open |
| Flipping the sign at an even-power root | Every interval to the left gets the wrong sign | Flip only at odd powers |
| Ignoring a cancelled factor | Misses a hole in the solution | Record exclusions before simplifying |
| Leaving factors like (2 - x) as they are | Rightmost interval gets the wrong sign | Rewrite as -(x - 2) and adjust the inequality |
Exercises
Exercise
Solve (x + 3)/(x - 2) ≤ 2 and write the answer in interval notation.
Show answer
Subtract 2: (x + 3 - 2x + 4)/(x - 2) ≤ 0, so (7 - x)/(x - 2) ≤ 0, which becomes (x - 7)/(x - 2) ≥ 0. The critical points are 2 and 7. The expression is positive for x < 2 and x > 7. Including 7 and excluding 2 gives (-∞, 2) ∪ [7, ∞).
Exercise
Solve (x - 1)^2 (x + 4)/(x - 3) < 0.
Show answer
The critical points are -4, 1 (even power) and 3 (denominator). The signs are + for x > 3, − on (1, 3), − on (-4, 1) because there is no flip at the even-power root 1, and + for x < -4. The expression is negative on (-4, 3), except that x = 1 gives 0, which fails the strict inequality. Answer: (-4, 1) ∪ (1, 3).
Exercise
How many integers satisfy (x - 5)/(x + 2) ≤ 0?
Show answer
The solution set is (-2, 5]. The value -2 is excluded as a denominator zero and 5 is included. The integers are -1, 0, 1, 2, 3, 4, 5, so there are 7.
Exercise
Solve (x^2 - 9)/(x + 3) ≥ 0.
Show answer
The expression simplifies to x - 3 with x ≠ -3. The condition x - 3 ≥ 0 gives x ≥ 3, and -3 is not in that range anyway. Answer: [3, ∞).