Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Solve a Polynomial Inequality

A polynomial can only change sign at its roots. Factor it, mark the roots on a number line, find the sign on each interval, and keep the intervals with the sign you need.

Recognize the task

A polynomial of degree 33 or more compared with zero (or with another polynomial): (x+2)(x−1)(x−4)≥0(x + 2)(x - 1)(x - 4) \ge 0, x3−4x>0x^3 - 4x > 0, (x−1)2(x+3)<0(x - 1)^2(x + 3) < 0.
The lesson develops the sign chart method and the role of root multiplicity.

Steps

StepOn (x+2)(x−1)(x−4)≥0(x + 2)(x - 1)(x - 4) \ge 0
1Get zero on one side and factor completely. See how to find all roots for hard cases.already factored
2Mark the roots on a number line. They split the line into intervals on which the sign is constant.roots −2, 1, 4-2,\ 1,\ 4
3Fill in the sign on each interval. Start at the far right: the sign of the leading coefficient. Moving left, the sign flips at a root of odd multiplicity and stays at a root of even multiplicity.− ∣−2 + ∣1 − ∣4 +-\ \big|_{-2}\ +\ \big|_{1}\ -\ \big|_{4}\ +
4Keep the intervals with the right sign. Include the roots for ≤\le or ≥\ge.Interval notation ↗[−2,1]∪[4,∞)[-2, 1] \cup [4, \infty)

Worked examples

Example 1 · factor first

three roots
x3−4x>0  ⇒  x(x−2)(x+2)>0x^3 - 4x > 0 \;\Rightarrow\; x(x - 2)(x + 2) > 0
roots −2,0,2-2, 0, 2
(−2,0)∪(2,∞)(-2, 0) \cup (2, \infty)
signs −,+,−,+-, +, -, + from the left

Example 2 · a double root

even multiplicity
(x−1)2(x+3)<0(x - 1)^2(x + 3) < 0
root 11 is double: no sign change there
signs: −- left of −3-3, ++ between, ++ right of 11
(−∞,−3)(-\infty, -3)
x=1x = 1 gives 00, not <0< 0

Example 3 · the original trace

≥ 0
(x+2)(x−1)(x−4)≥0(x + 2)(x - 1)(x - 4) \ge 0
leading coefficient ++, degree 33
[−2,1]∪[4,∞)[-2, 1] \cup [4, \infty)

See it happen

Curve, sign chart, and explanation all sync to the marble's position. Click any factor, column, or row to navigate.
← → nudge · shift+drag snap · [ ] step · space play · r reset
(x + 2)(x − 1)(x − 5) < 0
f(x)-1e+201e+2x-4-3-2-101234567zero — drag to change-2zero — drag to change1zero — drag to change5
excludedincluded / zeropoledomain edgesolution/trail
f(-4) = -90 → satisfies
speed0.6×
interval(−∞, -2) ∪ (1, 5)
set-builder{ x ∈ ℝ : f(x) < 0 }
Templates & parameters
f(x) = (x − r₁)(x − r₂)(x − r₃)
root r₁
−2
-8-208
root r₂
+1
-8018
root r₃
+5
-8058
Sign chart
x < -2-2-2 – 111 – 55x > 5
(x + 2)−+++
(x − 1)−−++
(x − 5)−−−+
f(x)−+−+
Explanation
at x = -4
(x + 2)= ((-4) + 2)= -2−
(x − 1)= ((-4) − 1)= -5−
(x − 5)= ((-4) − 5)= -9−
product of signs: − · − · −  =  −
f(-4) = -90 < 0 → satisfies f(x) < 0
Each factor's sign at x = -4: (x + 2) is negative; (x − 1) is negative; (x − 5) is negative. Combining them gives f(-4) = -90, which is indeed negative. Since the inequality asks for f(x) < 0, this x is in the solution set.
The graph crosses the axis at a single root and bounces off it at a double root. Reading a sign chart is reading the graph from right to left: above, below, above, flipping only where it actually crosses.

Common mistakes

Flipping at every root

✗ sign change at the double root x=1x = 1
✓ even multiplicity: the sign stays the same

Dividing by a factor

✗ x3>4x⇒x2>4x^3 > 4x \Rightarrow x^2 > 4
✓ xx may be negative; bring everything to one side and factor

Wrong starting sign

✗ assuming ++ on the far left
✓ the far right has the sign of the leading coefficient; work leftward from there