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.
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
- Intermediate Algebra 2e, §9.8 Solve Quadratic Inequalities — OpenStax
- College Algebra 2e, §2.7 Linear Inequalities and Absolute Value Inequalities (interval notation) — OpenStax
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