Quadratic Inequality Calculator

Solve ax² + bx + c < 0, ≤, > or ≥ 0 step by step: roots, sign chart with test points, and the answer in interval notation.

Must not be 0. Move every term to the left first so the right side is 0.

Results

Solution
x ≤ −3 or x ≥ 4
Interval notation
(−∞, −3] ∪ [4, ∞)
Roots (boundary points)
−3 and 4
Discriminant (b² − 4ac)
49
Steps
x² − x − 12 ≥ 0 Solve x² − x − 12 = 0. Discriminant D = b² − 4ac = 49. Two roots: x = −3 and x = 4. They split the number line into three intervals. x < −3: test x = −4 gives 8 (positive) −3 < x < 4: test x = 0 gives −12 (negative) x > 4: test x = 5 gives 8 (positive) We want x² − x − 12 ≥ 0, so the solution is (−∞, −3] ∪ [4, ∞).

How it’s calculated

To solve a quadratic inequality, get 0 on one side, find where the quadratic equals 0, then check the sign of the expression on each interval between those roots.

1. Write it as ax² + bx + c (sign) 0. If a < 0, multiply by −1 and reverse the sign. 2. Solve ax² + bx + c = 0: x = (−b ± √(b² − 4ac)) ÷ 2a 3. Test one x in each interval and keep the intervals with the right sign.

With a > 0 the parabola opens upward, so it is negative between the roots and positive outside them. Use square brackets when the sign includes “or equal to” (≤, ≥), because the roots themselves then count.

Example: x² − x − 12 ≥ 0. The roots of x² − x − 12 = (x + 3)(x − 4) are −3 and 4. Testing x = −4 gives 8 (positive), x = 0 gives −12 (negative) and x = 5 gives 8 (positive). We want ≥ 0, so the solution is x ≤ −3 or x ≥ 4, which is (−∞, −3] ∪ [4, ∞).

If the discriminant is negative there are no roots, so the expression has one sign everywhere: the inequality is true for all x or for none.

Frequently asked questions

How do I know whether the answer is between or outside the roots?

With a positive leading coefficient the parabola opens upward: it is below zero between the roots and above zero outside them. So < 0 and ≤ 0 give the interval between, and > 0 and ≥ 0 give the two outer pieces.

What if the quadratic has no real roots?

Then it never crosses zero, so it is positive everywhere (if a > 0) or negative everywhere (if a < 0). The answer is all real numbers or no solution. For example x² − 3x + 4 > 0 holds for every x.

What do I do with an inequality like x² > 5x − 6?

Move everything to one side first: x² − 5x + 6 > 0. Then enter a = 1, b = −5, c = 6 and choose > 0. The answer is x < 2 or x > 3.

Why are the roots sometimes shown with a square root?

When a, b and c are whole numbers, the roots are given exactly, such as 3 ± √2, with their decimal values alongside.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator