Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Quadratic Inequality Solver

x²

Solve quadratic inequalities step by step

Enter inequality...
Var
Num
Op
Ineq

Select an inequality type or enter your own, then click Solve to see the step-by-step solution.






Getting Started

The solver shows an inequality display at the top with a blinking yellow caret marking the cursor position. Click anywhere in the display to place the cursor, or use arrow keys, Home, and End for keyboard navigation. Type directly or use the button panel below.

Three quick experiments:

&bull; Type x25x+6<0x^2 - 5x + 6 < 0 and press Enter &mdash; the right panel finds roots x=2x = 2 and x=3x = 3, sketches the upward parabola, and reports the between-the-roots solution 2<x<32 < x < 3 in the interval (2,3)(2, 3).
&bull; Click the &quot;No Real Roots&quot; example template &mdash; an inequality like x2+5>0x^2 + 5 > 0 loads. The discriminant is negative, the parabola sits above the x-axis, and the answer is all real numbers.
&bull; Try the &quot;Negative Leading&quot; template &mdash; an inequality with x2-x^2. The solver multiplies both sides by 1-1, flips the direction, then proceeds as a standard upward-parabola problem.

The Solve button is disabled until you enter something. The dedicated &quot;Ineq&quot; row inserts the four inequality symbols; the x2x^2 shortcut button inserts a squared variable directly.

Building Inequalities with Buttons and Keyboard

The button panel groups inputs by type. All inputs can be made either by clicking or typing on the keyboard.

&bull; Variable row &mdash; xx, yy, nn.
&bull; Number row &mdash; digits 0 through 9 and the decimal point.
&bull; Operator row &mdash; multiplication, division, plus, minus.
&bull; Ineq row &mdash; the four inequality symbols, highlighted in amber.
&bull; Special row &mdash; the caret operator for arbitrary exponents, the x2x^2 shortcut button, and parentheses for grouping.

The x2x^2 button inserts a caret followed by a 2 (which the display renders as a superscript). For higher powers you can type the caret followed by any number, but the solver only handles quadratic expressions; cubic or higher will produce an error.

Keyboard shortcuts: type letters and digits directly, use star or slash for multiplication and division, type << and >> directly, type <=<= or >=>= to insert the combined symbols \leq and \geq, and press Enter to solve. Ctrl+Z undoes up to fifty edits back. The Unicode characters x2x^2 and x3x^3 are recognized directly if pasted.

Try an Example — Eight Form Templates

Click the &quot;Try an Example&quot; header to expand the template panel. Each card generates a random inequality of that form. Clicking again produces a new random version.

&bull; Standard (less than 0) &mdash; x2+bx+c<0x^2 + bx + c < 0. Two real roots with the solution sitting between them.
&bull; Standard (greater than 0) &mdash; x2+bx+c>0x^2 + bx + c > 0. Two real roots with the solution sitting outside as a union of two rays.
&bull; Non-strict ($\leq 0$) &mdash; like the strict less-than version but with closed endpoints (brackets in the interval).
&bull; Non-strict ($\geq 0$) &mdash; like the strict greater-than version but with closed endpoints in the union.
&bull; Leading coefficient not 1 &mdash; ax2+bx+c<0ax^2 + bx + c < 0 with a1a \neq 1. Tests the divide-by-aa structural path.
&bull; Negative leading &mdash; x2+bx+c>0-x^2 + bx + c > 0. Exercises the multiply-by-1-1 step that flips the inequality direction.
&bull; No real roots &mdash; x2+c>0x^2 + c > 0 with positive cc. The discriminant is negative and the answer collapses to all reals or no solution depending on the direction.
&bull; Non-zero RHS &mdash; x2+bx<cx^2 + bx < c with c0c \neq 0. Tests the move-everything-to-the-left step before standard analysis.

Roughly 80 percent of generated inequalities produce clean integer roots.

Reading the Step-by-Step Solution

The solution panel shows each algebraic move as a labeled step. The sequence depends on the discriminant.

&bull; Multiply by $-1$ (when applicable) &mdash; if the leading coefficient is negative, the solver multiplies both sides by 1-1 and flips the inequality direction. From this point the analysis uses a positive leading coefficient.
&bull; Standard Form &mdash; restates the inequality with everything on the left and zero on the right.
&bull; Calculate Discriminant &mdash; shows the value of Δ=b24ac\Delta = b^2 - 4ac.
&bull; No Real Roots (when Δ<0\Delta < 0) &mdash; reports that the parabola never crosses the x-axis and gives the answer (all reals or no solution).
&bull; Repeated Root (when Δ=0\Delta = 0) &mdash; reports the single root and analyzes whether the inequality holds at that point only, everywhere except that point, everywhere, or nowhere.
&bull; Find Roots (when Δ>0\Delta > 0) &mdash; reports the two distinct roots from the quadratic formula.
&bull; Sign Chart &mdash; states which intervals are positive and which are negative based on the upward-opening parabola.
&bull; Solution Interval &mdash; selects the matching interval(s) for the inequality direction.

The final-answer card shows the answer in three forms: the inequality form (such as r1<x<r2r_1 < x < r_2), a plain-language note (between or outside the roots), and the interval notation.

The Parabola Method — Why It Works

Every quadratic inequality reduces to a sign question about a parabola.

Setup. Move all terms to one side so the inequality becomes ax2+bx+cax^2 + bx + c compared to 0. The left side is a quadratic function whose graph is a parabola. The inequality asks: for which xx is the parabola above zero, below zero, equal to zero, or non-negative or non-positive?

Two facts determine everything.

&bull; Direction of opening. If a>0a > 0 the parabola opens upward; if a<0a < 0 it opens downward. The solver always normalizes to a>0a > 0 by multiplying by 1-1 and flipping direction if needed.
&bull; Roots. The roots (x-intercepts) are where the parabola crosses zero. The discriminant determines how many: two distinct, one repeated, or none.

Sign pattern for an upward-opening parabola.

&bull; Two distinct roots $r_1 < r_2$: negative on (r1,r2)(r_1, r_2), positive on (,r1)(r2,)(-\infty, r_1) \cup (r_2, \infty), zero at r1r_1 and r2r_2.
&bull; One repeated root $r$: zero at rr, positive everywhere else. Never negative.
&bull; No real roots: always positive. Never zero or negative.

Reading the answer. Match the inequality direction to the matching sign region. Strict inequalities exclude the roots; non-strict include them.

&bull; f(x)<0f(x) < 0 with two roots: open interval between roots, (r1,r2)(r_1, r_2).
&bull; f(x)0f(x) \leq 0 with two roots: closed interval, [r1,r2][r_1, r_2].
&bull; f(x)>0f(x) > 0 with two roots: open union, (,r1)(r2,)(-\infty, r_1) \cup (r_2, \infty).
&bull; f(x)0f(x) \geq 0 with two roots: closed union, (,r1][r2,)(-\infty, r_1] \cup [r_2, \infty).

For deeper coverage see quadratic function and parabola.

What is a Quadratic Inequality?

A quadratic inequality is a comparison between a quadratic expression and zero (or any other value, after rearrangement) using one of the four symbols <<, >>, \leq, \geq. The standard form is

ax2+bx+c    0ax^2 + bx + c \;\square\; 0


where \square is one of the four symbols and aa, bb, cc are real numbers with a0a \neq 0. The variable xx appears squared but to no higher power.

Solution shapes. Unlike linear inequalities whose solutions are always rays, quadratic inequalities produce six possible shapes depending on the discriminant and direction:

&bull; A single interval between the roots &mdash; f(x)<0f(x) < 0 or 0\leq 0 with a>0a > 0 and two real roots.
&bull; A union of two rays outside the roots &mdash; f(x)>0f(x) > 0 or 0\geq 0 with a>0a > 0 and two real roots.
&bull; A single point &mdash; non-strict inequality at a repeated root.
&bull; All reals except one point &mdash; strict inequality at a repeated root in the always-positive direction.
&bull; All real numbers &mdash; the parabola sits entirely on the correct side of zero.
&bull; No solution &mdash; the parabola sits entirely on the wrong side of zero.

Discriminant decides the case. The number Δ=b24ac\Delta = b^2 - 4ac classifies which solution shape applies. Positive discriminant means two distinct roots and gives between or union solutions. Zero discriminant means one repeated root and gives point or all-except-point solutions. Negative discriminant means no real roots and gives all-reals or no-solution.

For deeper coverage see quadratic inequality, discriminant, and interval notation.

The Solving Process Explained

Five stages handle any quadratic inequality. The solver follows this exact sequence.

&bull; Stage 1: Reduce to standard form. Move all terms to the left so the right side is zero. Collect x2x^2, xx, and constant coefficients into aa, bb, cc.

&bull; Stage 2: Normalize sign of $a$. If a<0a < 0, multiply both sides by 1-1 and flip the inequality direction. From here the parabola opens upward and the sign pattern is the standard one.

&bull; Stage 3: Compute the discriminant. Δ=b24ac\Delta = b^2 - 4ac. Branch on the sign of Δ\Delta.

&bull; Stage 4: Find the roots if any.

&bull; $\Delta > 0$: two distinct real roots r1<r2r_1 < r_2 from the quadratic formula.
&bull; $\Delta = 0$: one repeated root r=b/(2a)r = -b/(2a).
&bull; $\Delta < 0$: no real roots.

&bull; Stage 5: Match sign pattern to inequality direction. The solver picks the interval(s) on the number line where the quadratic has the required sign, applying open or closed endpoints based on whether the inequality is strict.

The implementation. Internally, after collecting coefficients, the solver hands the problem to a sign-analysis routine that constructs the answer as one of six branch outputs: all reals, no solution, single point, all reals except a point, compound between-the-roots, or union outside-the-roots. The final-answer card adapts its rendering to the matched branch.

For comprehensive treatment see solving quadratic inequalities and sign analysis.

Related Concepts

Quadratic Equation &mdash; the equality counterpart ax2+bx+c=0ax^2 + bx + c = 0. The roots of the equation are the boundary points of the inequality solution set; the quadratic formula gives both.

Discriminant &mdash; the quantity Δ=b24ac\Delta = b^2 - 4ac. Positive means two real roots, zero means one repeated root, negative means no real roots. Drives every classification in quadratic inequality solving.

Parabola &mdash; the graph of a quadratic function y=ax2+bx+cy = ax^2 + bx + c. The inequality ax2+bx+c0ax^2 + bx + c \square 0 asks where the parabola is above, below, or touching the x-axis.

Sign Chart &mdash; the tabular method of tracking signs across critical points. For quadratics there are at most two critical points (the roots), so the chart has at most three intervals.

Interval Notation &mdash; the standard way to express the solution. Parentheses for strict, brackets for non-strict, infinity always with parentheses, union symbol \cup joining disconnected pieces.

Linear Inequality &mdash; the lower-degree counterpart. The solution is always a single ray. Linear inequalities are a degenerate case of quadratic where a=0a = 0.

Polynomial Inequality &mdash; the generalization to higher degrees. The sign-chart method extends directly, with one critical point per real root.

Vieta&apos;s Formulas &mdash; the relations between the roots and coefficients. For ax2+bx+cax^2 + bx + c with roots r1r_1 and r2r_2: r1+r2=b/ar_1 + r_2 = -b/a and r1r2=c/ar_1 r_2 = c/a. Useful for verifying root computations.

Completing the Square &mdash; an alternative way to find the vertex and roots of the parabola, sometimes more illuminating than the quadratic formula for inequality analysis.

Vertex &mdash; the turning point of the parabola at x=b/(2a)x = -b/(2a). For a non-strict inequality with discriminant zero, the vertex is exactly the root and the inequality may hold at this single point.