Quadratic Inequality Calculator (Free, Step-by-Step)

AlgebraFreeNo sign-up

A quadratic inequality calculator finds every x that makes ax² + bx + c greater or less than 0. For x² − x − 6 > 0, solve x² − x − 6 = 0 to get the critical points −2 and 3, then test each interval. The expression is positive outside the roots, so x < −2 or x > 3: (−∞, −2) ∪ (3, ∞).

Quadratic inequality calculator, every step free
x²
x
Your inequality: x2 − x − 6 > 0
Whole numbers, negatives, fractions (1/2) or decimals (0.75). Leave b or c empty for 0.
Try:
SolutionTwo rational roots
x2 − x − 6 > 0
(−∞, −2) ∪ (3, ∞)
The solution of x2 − x − 6 > 0 is x < −2 or x > 3. In interval notation that is (−∞, −2) ∪ (3, ∞).
Solutionx < −2 or x > 3
Interval notation(−∞, −2) ∪ (3, ∞)
Set-builder notation{x | x < −2 or x > 3}
Critical pointsx = −2, x = 3
Discriminant b2 − 4ac25 (positive)
Vertex(1/2, −25/4)
ParabolaOpens upward
Sign chart
x < −2 x = −2 −2 < x < 3 x = 3 x > 3
Test value x = −3 critical point x = 0 critical point x = 4
(x + 2) − 0 + + +
(x − 3) − − − 0 +
x2 − x − 6 + 0 − 0 +
Part of the solution? Yes No No No Yes
Graph of y = x2 − x − 6, shaded where y > 0

−2−1123−6−4−2246

Solution: x-values where y > 0Open circle: not includedVertex (1/2, −25/4)
−23
Show steps (9)
  1. The inequality is in standard form, with 0 on the right: x2 − x − 6 > 0.
  2. Find the critical points: solve the related equation x2 − x − 6 = 0. These are the only places where the expression can change sign.
  3. Find two numbers that multiply to c = −6 and add to b = −1. They are 2 and −3: 2 · (−3) = −6 and 2 + (−3) = −1.
  4. Write the factored form: (x + 2)(x − 3) = 0.
  5. Zero product property: set each factor equal to 0. x + 2 = 0 gives x = −2, and x − 3 = 0 gives x = 3.
  6. The critical points split the number line into 3 intervals. Test one value in each interval using f(x) = x2 − x − 6 (see the sign chart): x = −3: f(−3) = 6 > 0 (positive); x = 0: f(0) = −6 < 0 (negative); x = 4: f(4) = 6 > 0 (positive).
  7. We need x2 − x − 6 > 0, so keep the intervals where the expression is positive. The inequality is strict (>), so the critical points themselves are not solutions: use parentheses and open circles.
  8. Picture the parabola y = x2 − x − 6: it opens upward (a > 0) and crosses the x-axis at the two critical points, so it is below the axis between them and above it outside them.
  9. Solution: x < −2 or x > 3. Interval notation: (−∞, −2) ∪ (3, ∞). Set-builder notation: {x | x < −2 or x > 3}.

Quadratic Inequality Calculator (Free, Step-by-Step)
Embed this calculator on your site

Free to use on class pages, blogs and course pages. Copy the code below and paste it into your page:

How to use the quadratic inequality calculator

  1. Enter a, b and c and pick the sign (<, ≤, > or ≥), or switch to Type the inequality and enter any form, such as x(x − 3) < 10 or 3x² ≤ 2x + 5.
  2. Read the answer in interval notation at the top, with the inequality form, set-builder notation, critical points, discriminant and vertex below it.
  3. Check the sign chart, the parabola graph with the solution shaded, and the number line with open or closed circles.
  4. Open Show steps for the full working: moving terms, factoring or the quadratic formula, test values and the final answer.

How to solve a quadratic inequality

  1. Get 0 on one side. Move every term to the left so the inequality reads ax² + bx + c compared with 0.
  2. Find the critical points. Solve ax² + bx + c = 0 by factoring or with the quadratic formula. These are the only places where the expression can change sign.
  3. Make a sign chart. The critical points split the number line into intervals. Pick one test value in each interval and find the sign of the expression there.
  4. Choose the intervals. For > or ≥ keep the positive intervals; for < or ≤ keep the negative ones.
  5. Decide about the endpoints. With < or > the critical points are not included (parentheses, open circles). With ≤ or ≥ they are included (square brackets, closed circles).

The parabola shortcut

The graph of y = ax² + bx + c is a parabola, and the inequality asks where the graph is above the x-axis (y > 0) or below it (y < 0). If a > 0 the parabola opens upward, so with two roots r₁ < r₂ it is below the axis between the roots and above the axis outside them:

a > 0, roots r₁ < r₂ Solution Interval notation
ax² + bx + c < 0 r₁ < x < r₂ (r₁, r₂)
ax² + bx + c ≤ 0 r₁ ≤ x ≤ r₂ [r₁, r₂]
ax² + bx + c > 0 x < r₁ or x > r₂ (−∞, r₁) ∪ (r₂, ∞)
ax² + bx + c ≥ 0 x ≤ r₁ or x ≥ r₂ (−∞, r₁] ∪ [r₂, ∞)

If a is negative, multiply both sides by −1 first. That makes a positive and reverses the inequality sign: −x² + 2x + 8 < 0 becomes x² − 2x − 8 > 0.

Special cases: no real roots and a double root

The discriminant b² − 4ac tells you which case you are in.

  • No real roots (b² − 4ac < 0). The parabola never touches the x-axis, so the expression has one sign everywhere. x² + 2x + 5 has discriminant 4 − 20 = −16 and is always positive: x² + 2x + 5 > 0 is true for all real numbers, and x² + 2x + 5 < 0 has no solution (∅).
  • A double root (b² − 4ac = 0). The parabola touches the axis at one point. x² − 6x + 9 = (x − 3)² is never negative, so (x − 3)² > 0 means x ≠ 3, (x − 3)² ≥ 0 is all real numbers, (x − 3)² < 0 has no solution, and (x − 3)² ≤ 0 holds only at x = 3.

Worked examples

Example 1: 2x² + 5x − 3 ≤ 0

Factor: 2x² + 5x − 3 = (2x − 1)(x + 3), so the critical points are x = −3 and x = 1/2. Test x = −4: 2(16) − 20 − 3 = 9, positive. Test x = 0: −3, negative. Test x = 1: 2 + 5 − 3 = 4, positive. We need negative or zero, so the answer is −3 ≤ x ≤ 1/2, or [−3, 1/2].

Example 2: x(x − 4) < 5

Expand and move the 5: x² − 4x − 5 < 0, which factors as (x + 1)(x − 5) < 0. The parabola opens upward, so it is negative between its roots: −1 < x < 5, or (−1, 5). The endpoints are excluded because the inequality is strict.

Example 3: x² − 2x − 1 ≥ 0 (irrational roots)

This does not factor over the integers. The quadratic formula gives x = (2 ± √8)/2 = 1 ± √2, about −0.4142 and 2.4142. The parabola is above the axis outside the roots, and ≥ includes them: x ≤ 1 − √2 or x ≥ 1 + √2, or (−∞, 1 − √2] ∪ [1 + √2, ∞).

Interval and set-builder notation

Interval notation lists the endpoints with brackets: ( or ) when an endpoint is excluded, [ or ] when it is included, and always ( ) next to ∞ or −∞. Two separate pieces are joined with ∪ (union). Set-builder notation describes the same set in words of x: {x | x < −2 or x > 3}. “All real numbers” is (−∞, ∞), and “no solution” is the empty set ∅.

Common mistakes to avoid

  • Taking square roots of both sides. x² > 9 does not mean only x > 3. The answer is x < −3 or x > 3, because (−4)² = 16 > 9 as well.
  • Forgetting to flip the sign when multiplying or dividing both sides by a negative number.
  • Solving before getting 0 on one side. For x(x − 3) < 10, setting x < 10 and x − 3 < 10 is wrong; first rewrite it as x² − 3x − 10 < 0.
  • Writing “−2 > x > 3” for a two-piece answer. No number is both less than −2 and greater than 3; use “or” or the union symbol.
  • Using brackets next to infinity. Infinity is not a number you can reach, so write (−∞, 1] and never [−∞, 1].

Quadratic inequalities practice quiz: 10 questions

Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.

Question 1 of 10
1. Solve x² − 16 < 0.

Found a mistake? Let us know!

2. Solve x² − 5x + 6 > 0.

Found a mistake? Let us know!

3. Which interval is the solution of x² + 2x − 8 ≤ 0?

Found a mistake? Let us know!

4. To solve −x² + 3x + 10 > 0, you multiply both sides by −1. What do you get?

Found a mistake? Let us know!

5. What is the solution of x² + 4 > 0?

Found a mistake? Let us know!

6. What is the solution of x² + x + 1 < 0?

Found a mistake? Let us know!

7. Solve (x − 5)² > 0.

Found a mistake? Let us know!

8. A student solves x² > 25 by writing x > 5. What is the full solution?

Found a mistake? Let us know!

9. Solve x(x − 6) ≥ −8.

Found a mistake? Let us know!

10. How is x < −1 or x ≥ 3 written in interval notation?

Found a mistake? Let us know!

Frequently asked questions

What is a quadratic inequality?

It is an inequality whose highest power of the variable is 2, such as x² − 4 > 0 or 3x² + x ≤ 2. Its solution is usually a range of values, not one or two numbers.

What is the difference between a quadratic equation and a quadratic inequality?

A quadratic equation such as x² − x − 6 = 0 has at most two solutions, here x = −2 and x = 3. The inequality x² − x − 6 > 0 uses those numbers as boundaries and has infinitely many solutions, every x below −2 or above 3.

How do you solve quadratic inequalities with a graphing calculator?

Graph y = ax² + bx + c, find the x-intercepts with the zero (root) feature, and read where the graph is above the x-axis (for > 0) or below it (for < 0). The graph above does the same and shades the solution for you.

How do you write a quadratic inequality solution in interval notation?

Write each piece as an interval from left to right and join pieces with ∪. Use parentheses for < and >, brackets for ≤ and ≥. For example x ≤ −5 or x ≥ 1 is (−∞, −5] ∪ [1, ∞).

What if the quadratic has no real roots?

Then the expression never changes sign. Test any value, such as x = 0. If the sign matches the inequality, every real number is a solution; if not, there is no solution.

Related calculators

More algebra calculators

Browse all 541 calculators

Related to This Article

What people say about "Quadratic Inequality Calculator Step by Step, With Graph"?

No one replied yet.

Leave a Reply