Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Solve a Rational Inequality

Get zero on one side and a single fraction on the other. The fraction can only change sign where its numerator or its denominator is zero, so those critical points split the number line for a sign chart. Denominator zeros are never part of the answer.

Recognize the task

An inequality with xx in a denominator: x−3x+1≤0\frac{x - 3}{x + 1} \le 0, x+5x−1>2\frac{x + 5}{x - 1} > 2, x2−4x≥0\frac{x^2 - 4}{x} \ge 0.
The lesson defines the critical points, the endpoint rules and explains why cross-multiplication fails.

Steps

StepOn x+5x−1>2\frac{x + 5}{x - 1} > 2
1Move everything to one side. Zero on the right (standard form). Never multiply by the denominator: its sign is unknown.x+5x−1−2>0\frac{x + 5}{x - 1} - 2 > 0
2Combine into a single fraction and factor. Common denominator, then simplify the numerator.x+5−2(x−1)x−1=7−xx−1>0\frac{x + 5 - 2(x - 1)}{x - 1} = \frac{7 - x}{x - 1} > 0
3Mark the critical points. Zeros of the numerator and of the denominator.x=7x = 7 (numerator), x=1x = 1 (denominator)
4Sign chart. Test one point in each interval.x=0x = 0: 7−1<0\frac{7}{-1} < 0;   x=2\;x = 2: 51>0\frac{5}{1} > 0;   x=8\;x = 8: −17<0\frac{-1}{7} < 0
5Write the answer; exclude denominator zeros always. Numerator zeros are included for ≤\le and ≥\ge only.Interval notation ↗(1,7)(1, 7)

Worked examples

Example 1 · already in standard form

≤ 0
x−3x+1≤0\frac{x - 3}{x + 1} \le 0: critical points −1-1, 33
signs +,−,++, -, +
(−1,3](-1, 3]
−1-1 excluded (denominator), 33 included

Example 2 · compare with a number

subtract first
x+5x−1>2  ⇒  7−xx−1>0\frac{x + 5}{x - 1} > 2 \;\Rightarrow\; \frac{7 - x}{x - 1} > 0
(1,7)(1, 7)

Example 3 · three critical points

factor the top
x2−4x=(x−2)(x+2)x≥0\frac{x^2 - 4}{x} = \frac{(x - 2)(x + 2)}{x} \ge 0
critical −2,0,2-2, 0, 2
signs from the left: −,+,−,+-, +, -, +
[−2,0)∪[2,∞)[-2, 0) \cup [2, \infty)
00 excluded
Check your answer in the rational inequality calculator.

See it happen

At a denominator zero the graph of the fraction shoots off to infinity, and on the other side it may come back with the opposite sign. That vertical asymptote is a border just like a root, but the function never takes a value there, so it can never be included.

Common mistakes

Cross-multiplying

✗ x+5x−1>2⇒x+5>2(x−1)\frac{x + 5}{x - 1} > 2 \Rightarrow x + 5 > 2(x - 1)
✓ that assumes x−1>0x - 1 > 0; subtract and combine instead

Including a denominator zero

✗ [−1,3][-1, 3] for x−3x+1≤0\frac{x - 3}{x + 1} \le 0
✓ x=−1x = -1 makes the fraction undefined: (−1,3](-1, 3]

Forgetting the denominator as a critical point

✗ marking only x=7x = 7
✓ the sign can also change at x=1x = 1