QuadraticCalc

Quadratic Inequality Calculator

Solve ax² + bx + c < 0, ≤ 0, > 0 or ≥ 0, with the solution shaded on the graph and on a number line.

Your Values

Try an example

Visualization

Results

Step-by-Step Solution

    How Quadratic Inequality Calculator Works?

    The quadratic inequality calculator solves ax² + bx + c = 0, uses the sign of a to decide where the parabola is above or below the x-axis, and returns the matching intervals.

    1. Enter a, b, c and the inequality sign
    2. Find the roots of the matching equation
    3. Check the sign of a
    4. Pick the intervals above or below the x-axis
    5. Include the roots for ≤ and ≥
    6. Shade the graph and the number line

    The number line uses 2 symbols: a filled dot for an included root (≤ or ≥) and an open dot for an excluded root (< or >). Arrows show intervals that continue to infinity.

    Quadratic Inequality Formula

    For a > 0 with roots r₁ < r₂, ax² + bx + c < 0 holds for r₁ < x < r₂, and ax² + bx + c > 0 holds for x < r₁ or x > r₂.

    a(x − r₁)(x − r₂) < 0 ⇔ r₁ < x < r₂
    r₁, r₂
    roots of the matching equation, r₁ < r₂
    a
    a > 0: opens upward
    < , >
    roots excluded
    ≤ , ≥
    roots included
    Swap the inside and outside solutions when a < 0.
    Case (a > 0)Solution
    ax² + bx + c < 0r₁ < x < r₂
    ax² + bx + c ≤ 0r₁ ≤ x ≤ r₂
    ax² + bx + c > 0x < r₁ or x > r₂
    ax² + bx + c ≥ 0x ≤ r₁ or x ≥ r₂

    Worked Example: x² − x − 6 > 0

    The roots are −2 and 3, and a = 1 > 0. The solution is x < −2 or x > 3, written (−∞, −2) ∪ (3, ∞).

    Quadratic Inequality Calculator FAQ

    What Is the Difference Between < and ≤ in a Quadratic Inequality?

    ≤ includes the roots in the solution and < excludes them. x² − 4 ≤ 0 gives −2 ≤ x ≤ 2, and x² − 4 < 0 gives −2 < x < 2.

    What Happens When the Quadratic Has No Real Roots?

    The quadratic keeps 1 sign for every x, so the solution is all real numbers or no real numbers. x² + 2x + 5 > 0 is true for every x.

    How Do I Write the Answer in Interval Notation?

    Use round brackets for excluded endpoints and square brackets for included endpoints, and join 2 intervals with ∪: (−∞, −2) ∪ (3, ∞).

    Can the Solution of a Quadratic Inequality Be a Single Number?

    Yes, the solution is a single number when the parabola touches the x-axis and the sign includes equality. x² − 4x + 4 ≤ 0 has the solution x = 2.

    How Do I Check My Answer to a Quadratic Inequality?

    Pick 1 test value in each interval and substitute it. For x² − x − 6 > 0, x = 0 gives −6, so the interval between the roots is not part of the solution.