Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Solve a Quadratic Inequality

Compare the quadratic with zero, find where it equals zero, and use the shape of the parabola: one that opens upward is negative between its roots and positive outside them.

Recognize the task

An x2x^2 term with an inequality sign: x2−x−6<0x^2 - x - 6 < 0, x2≥4xx^2 \ge 4x, −x2+4>0-x^2 + 4 > 0, x2+2x+5>0x^2 + 2x + 5 > 0. Test: highest power 22, one inequality sign.
The lesson splits the cases by the discriminant and reads the answer from the parabola or a sign chart.

Two ways to do it

Read it off the parabolausual choice
a>0:ax2+bx+c<0  ⟺  r1<x<r2a > 0:\quad ax^2 + bx + c < 0 \iff r_1 < x < r_2
Upward parabola: negative between the roots, positive outside. For a<0a < 0, multiply by −1-1 first (and flip the sign).
Sign chartworks for any factored form
(x−r1)(x−r2): test one point per interval(x - r_1)(x - r_2):\ \text{test one point per interval}
The same method as for polynomial inequalities.

Steps

StepOn x2−x−6<0x^2 - x - 6 < 0
1Move everything to one side. Zero on the right; make the leading coefficient positive (multiply by −1-1 and flip if needed).already <0< 0 with a=1>0a = 1 > 0
2Find the roots. Factor or use the formula. No real roots: the quadratic never changes sign.(x−3)(x+2)=0(x - 3)(x + 2) = 0: x=−2,3x = -2, 3
3Decide where the quadratic has the required sign. Upward parabola: below the axis between the roots.negative on −2<x<3-2 < x < 3
4Write the intervals; include roots only for ≤ or ≥. Test one point to be sure.Interval notation ↗(−2,3)(-2, 3); test x=0x = 0: −6<0-6 < 0 ✓

Worked examples

Example 1 · outside the roots

≥ 0
x2≥4x  ⇒  x(x−4)≥0x^2 \ge 4x \;\Rightarrow\; x(x - 4) \ge 0
do not divide by xx
(−∞,0]∪[4,∞)(-\infty, 0] \cup [4, \infty)
upward parabola is ≥0\ge 0 outside

Example 2 · negative leading coefficient

flip first
−x2+4>0  ⇒  x2−4<0-x^2 + 4 > 0 \;\Rightarrow\; x^2 - 4 < 0
multiply by −1-1, flip
(−2,2)(-2, 2)

Example 3 · no real roots

Δ < 0
x2+2x+5x^2 + 2x + 5: Δ=−16<0\Delta = -16 < 0, always positive
parabola above the axis
>0> 0: all real numbers;   <0\;< 0: no solution
Check any answer in the quadratic inequality calculator.

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 of y=x2−x−6y = x^2 - x - 6 dips below the xx-axis exactly between its roots −2-2 and 33. "<0< 0" asks where the graph is below the axis, ">0> 0" where it is above; the roots are the borders.

Common mistakes

Treating it like an equation

✗ x2−x−6<0⇒x<3x^2 - x - 6 < 0 \Rightarrow x < 3 or x<−2x < -2
✓ the sign changes at each root; read the intervals off the parabola

Dividing by x

✗ x2≥4x⇒x≥4x^2 \ge 4x \Rightarrow x \ge 4
✓ xx can be negative or zero; factor instead

Square root of both sides

✗ x2<4⇒x<2x^2 < 4 \Rightarrow x < 2
✓ x2<4  ⟺  −2<x<2x^2 < 4 \iff -2 < x < 2