Polynomial and Rational Inequalities
You already know how to crack a
quadratic inequality:
factor it, find where it crosses zero, and decide which side you want. But what about a
cubic like (x-1)(x+2)(x-4) > 0, with three factors instead
of two? Or a fraction like \dfrac{x-1}{x+3} \ge 0, where the
bottom can blow up to infinity?
Here is the beautiful part: one method handles them all. It doesn't care whether
the degree is 2, 3, or 17, and it copes with fractions too. You draw one number line,
mark a handful of key points on it, work out a sign in each gap, and the answer simply
falls out. It's called a sign chart (or sign table), and once you've seen it
move you'll never dread a high-degree inequality again.
The idea: critical values chop the line into sign-stable pieces
Think about a product of factors like (x-1)(x+2)(x-4). Each factor is
a straight line that is zero at exactly one place and changes sign as
x sweeps past that place: x-1 is negative
for x < 1 and positive for x > 1. So the
only places where the whole product can switch between positive and negative are
those root points — the critical values.
Between two neighbouring critical values, nothing flips, so the sign is constant. That
is the whole trick. The recipe:
- Get one side equal to zero (never leave stuff on both sides).
- Factor fully. For a fraction, factor the top and the bottom separately.
- Mark every critical value on a number line — the zeros of the numerator
and the zeros of the denominator.
- Test one point inside each interval to find the sign there (a factor flips
sign each time you cross its own root).
- Read off the intervals whose sign matches what you want
(>0, \le 0, …).
Worked example 1 — a cubic
Solve (x-1)(x+2)(x-4) > 0.
It's already one side = 0 and fully factored, so straight to the
critical values — the roots of each factor:
x = 1, x = -2,
x = 4. Put them in order on the line:
-2 < 1 < 4. They split the number line into four
intervals. Now pick an easy test point in each:
- x = -3: (-)(-)(-) = negative.
- x = 0: (-)(+)(-) = positive.
- x = 2: (+)(+)(-) = negative.
- x = 5: (+)(+)(+) = positive.
Notice the signs just alternate -,+,-,+ — because at each critical
value exactly one factor flips. We asked for > 0, so we keep the
positive intervals (and, being strict >, the
endpoints are excluded):
-2 < x < 1 \quad\text{or}\quad x > 4.
Step through the chart being built below:
Worked example 2 — a rational inequality
Solve \frac{x-1}{x+3} \ge 0.
A fraction is zero when its top is zero and undefined when its bottom is
zero. Both kinds of place are critical values, because the whole expression can only
change sign at one of them:
- Numerator zero: x - 1 = 0 \Rightarrow x = 1. Here the fraction
equals 0, which does satisfy \ge 0
— so x = 1 is included (a filled dot).
- Denominator zero: x + 3 = 0 \Rightarrow x = -3. Here the fraction
is undefined — you can never divide by zero — so
x = -3 is excluded, an open circle,
even though the sign is \ge.
Now test a point in each of the three intervals:
- x = -4: \dfrac{-5}{-1} = 5 > 0 — positive.
- x = 0: \dfrac{-1}{3} < 0 — negative.
- x = 2: \dfrac{1}{5} > 0 — positive.
We want \ge 0, so keep the positive intervals:
x < -3 \quad\text{or}\quad x \ge 1.
Look carefully at the two endpoints: -3 is open (kicked
out, undefined) while 1 is filled (the fraction is
genuinely 0 there). Same inequality sign, opposite treatment — the
reason is why the point is critical, not the \ge itself.
Solving = for a high-degree polynomial can be brutal, but an
inequality only asks a much softer question: where is this thing positive, and
where negative? And a product changes sign only where a factor is zero — nowhere else.
So no matter how many factors you stack up, the number line breaks into a finite string of
pieces, each with a single fixed sign. You never have to compute the actual value anywhere; a
cheap test point per interval tells you everything.
The signs even alternate for simple roots (each crossing flips exactly one factor), so
once you know the sign of the far-right interval — usually
+ if the leading coefficient is positive — you can often fill in the
rest by just flipping +,-,+,- down the line. (The one wrinkle: a
repeated factor like (x-2)^2 touches zero without crossing,
so the sign does not flip there — always double-check with a test point.)
The single biggest mistake with fractions is to clear the denominator by multiplying both sides
by it. With \dfrac{x-1}{x+3} \ge 0 it is very tempting to
multiply both sides by (x+3) and write
x - 1 \ge 0. This is wrong.
Why? Because (x+3) is sometimes negative (whenever
x < -3), and multiplying an inequality by a negative number
flips the sign. Since you don't know the sign of
x+3 in advance, you don't know whether to flip — so the move is simply
not allowed. It silently throws away the entire x < -3 branch of the
answer.
Two things to hold onto:
- Move everything to one side, get a single fraction, and use a sign chart.
Never multiply out by an unknown-sign denominator.
- A denominator zero is always excluded (open circle), even for
\le or \ge — the expression is undefined
there, so it can't be a solution.
To solve a polynomial or rational inequality:
- Rearrange to one side = 0, then factor fully
(top and bottom separately for a fraction).
- The critical values are the zeros of the numerator and the zeros of
the denominator; mark them on a number line.
- The expression has a constant sign on each interval between consecutive
critical values — find it with one test point.
- Numerator zeros are included for \le / \ge (excluded for
< / >); denominator zeros are always excluded.