Quadratic Inequality Calculator
What is the Quadratic Inequality Calculator?
What this calculator does
Despite its name, this page never sees your inequality. There is no field for a less-than or greater-than sign, and no interval comes back. What it actually returns is the groundwork every quadratic inequality is built on: the discriminant and the two boundary roots — the x values where the quadratic equals zero.
The three answers it reports
The Discriminant line tells you how many times the parabola crosses the x-axis. The Smaller Root and Larger Root lines give those crossing points, computed with the quadratic formula. Everything after that — deciding which intervals satisfy your inequality — is a short sign test you perform with these three numbers in hand.
Worked example: the page default, x² − 5x + 6
The calculator opens with Coefficient a = 1, Coefficient b = −5, and Constant c = 6. The Discriminant reads 1. 0000, the Smaller Root reads 2. 0000, and the Larger Root reads 3. 0000. Those roots are the fence posts: they split the number line into three intervals for any inequality on this quadratic.
Turning roots into an answer: less than zero
Take x² − 5x + 6 < 0. The expression can only change sign at its roots, so test the middle with x = 2. 5: the value is −0. 25, negative, as required. The solution is 2 < x < 3 — the quadratic dips below the axis between its crossings, because the parabola opens upward.
Turning roots into an answer: greater than zero
For x² − 5x + 6 > 0, test the outer intervals. At x = 0 the value is 6 and at x = 4 it is 2, both positive. The solution is x < 2 or x > 3: two separate rays. One inequality, one pair of roots, two different shapes of answer — your starting sign decides.
Worked example: 2x² + 4x − 6 and its intervals
Set a = 2, b = 4, and c = −6. The Discriminant reads 64. 0000, the Smaller Root −3. 0000, and the Larger Root 1. 0000. For 2x² + 4x − 6 ≥ 0, test x = −4, 0, and 2: the values are 10, −6, and 10, so the solution is x ≤ −3 or x ≥ 1.
The discriminant speaks first
Read it before the roots. A positive discriminant means two distinct crossings and three intervals to test. Exactly zero means one repeated root where the parabola touches the axis and turns around. A negative discriminant means no crossings at all, and then the two root lines need care, as the next block explains.
A negative discriminant: the roots are not roots
Enter a = 1, b = 2, c = 5: the Discriminant reads −16. 0000, with both roots showing −1. 0000. That repeated −1 is no crossing; it is the vertex's x-coordinate, because the formula clamps the square root at zero. With a positive, the quadratic is positive everywhere — its vertex value is 4.
When a is negative, the root labels swap
With a = −1, b = 5, c = −6, watch: Smaller Root reads 3. 0000, Larger Root reads 2. 0000. The negative 2a in the denominator flips the output order: the labels lie, the pair stays correct. The roots: 2 and 3; for −x² + 5x − 6 > 0 the solution is still 2 < x < 3.
The sign chart habit
Whatever your inequality, the reliable routine is the same: take the two roots from this page, mark them on a mental number line, and evaluate the quadratic at one test point inside each interval. The sign on an interval never changes between roots, so one test per interval settles the whole line. Three tests, complete answer.
Endpoints: your symbol decides, not this page
Because the calculator never sees your inequality sign, it cannot know whether the roots belong to the solution. Strict signs, < and >, exclude the endpoints, since the quadratic equals zero there rather than satisfying the test. Inclusive signs, ≤ and ≥, include them. The roots are identical either way; only your symbol changes their status.
Interval notation is how the answer gets written
Solutions are usually written in interval notation. For the default quadratic, the less-than answer 2 < x < 3 is written (2, 3), and the greater-than answer becomes (−∞, 2) ∪ (3, ∞). Parentheses mean the endpoints are excluded, matching strict signs; square brackets would include them.
When the discriminant is exactly zero
With a = 1, b = −6, c = 9 the Discriminant reads 0. 0000, both roots at 3. 0000. The parabola x² − 6x + 9 is the perfect square (x − 3)², which is never negative: zero at x = 3, positive everywhere else. A less-than inequality has an empty solution; greater-than takes everything except x = 3.
Irrational roots arrive rounded to four decimals
Not every boundary is tidy. With a = 1, b = −3, c = 1 the Discriminant reads 5. 0000 and the roots come out 0. 3820 and 2. 6180, rounded from decimals. Fine for an interval — but test points hugging a boundary deserve the unrounded root from the formula, not the four-decimal display.
When a equals zero, there is no quadratic
Set Coefficient a to 0 and both roots return 0. 0000, a guard value, not an answer. With no squared term, b x + c is a line, not a parabola, and its inequality yields to simple rearrangement: move c across, then divide by b, flipping the sign if b is negative.
Common mistake: reporting the roots as the solution
Roots are the boundaries of the solution, not the solution itself. An answer of "2 and 3" to x² − 5x + 6 < 0 earns no credit and helps no one; the solution is the interval 2 < x < 3. This page hands you the fence posts. The fenced region is your one remaining step.
Common mistake: forgetting the parabola can open downward
The working interval is not always the middle one. When a is negative the parabola opens downward, so it is positive between its roots and negative outside them — the reverse of the upward case. The test point method protects you here, because it asks the quadratic itself, not a memorized picture.
Where quadratic inequalities come from
They appear whenever a quantity follows a parabola and you ask when it passes a threshold. A ball's height over time, a product's profit over price, and the area of a fenced yard all trace quadratics. The two boundary roots are the moments or prices where the threshold is met exactly.
From a graph back to coefficients
If you are handed a graph, read the crossings off the axis and work backwards: roots at 2 and 3 with an upward opening mean a is positive and the quadratic is proportional to (x − 2)(x − 3). Entering a = 1, b = −5, c = 6 should reproduce the graph's crossings here.
What this calculator does not do
It does not accept an inequality sign, return an interval, graph the parabola, or solve rational inequalities. It computes a discriminant and two boundary roots, clamps negative discriminants to the vertex value, and guards a = 0 with zeros. The final step of every inequality — choosing intervals by sign — stays with you, by design.
With the pre-filled defaults — Coefficient a 1, Coefficient b -5, Constant c 6 — the Quadratic Inequality Calculator returns Discriminant 1. 0000, Smaller Root 2. 0000, Larger Root 3. 0000. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Quadratic Inequality Calculator
- 1Enter the squared-term coefficient in the Coefficient a field; the page opens with 1 already in it.
- 2Enter the x coefficient in the Coefficient b field; the default value sitting there is −5.
- 3Enter the constant in the Constant c field; the default value sitting there is 6.
- 4Read the Discriminant line first: positive means two crossings, zero means one touch, negative means none.
- 5Read the two boundary values on the Smaller Root and Larger Root lines.
- 6If Coefficient a is negative, swap the two root labels mentally; the formula prints them in reverse order.
- 7Pick a test point inside the middle interval and evaluate your quadratic there by hand to learn its sign.
- 8Write the solution as an interval or a pair of rays, including endpoints only if your sign is ≤ or ≥.
Formula
This is the core equation the Quadratic Inequality Calculator uses to calculate results. Enter values in the calculator above to see it in action.
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| x² − 5x + 6 (page default) | Discriminant = 25 − 24; Roots = (5 − 1) / 2 and (5 + 1) / 2 | Discriminant 1.0000, Smaller Root 2.0000, Larger Root 3.0000 |
| 2x² + 4x − 6 | Discriminant = 16 + 48; Roots = (−4 − 8) / 4 and (−4 + 8) / 4 | Discriminant 64.0000, Smaller Root −3.0000, Larger Root 1.0000 |
| −x² + 5x − 6 (negative a) | Discriminant = 25 − 24; Roots = (−5 − 1) / −2 and (−5 + 1) / −2 | Discriminant 1.0000, Smaller Root line 3.0000, Larger Root line 2.0000 — labels swapped |
| x² + 2x + 5 (no real roots) | Discriminant = 4 − 20, negative, so the square root is clamped to zero | Discriminant −16.0000, both root lines −1.0000 (the vertex, not crossings) |
Value Reference Table
See how the Discriminant changes as Coefficient a moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| Coefficient a | Discriminant | Smaller Root | Larger Root |
|---|---|---|---|
| 0.3 | 17.8000 | 1.3017 | 15.3650 |
| 0.5 | 13.0000 | 1.3944 | 8.6056 |
| 0.8 | 5.8000 | 1.6198 | 4.6302 |
| 1 | 1.0000 | 2.0000 | 3.0000 |
| 2 | -23.0000 | 1.2500 | 1.2500 |
| 3 | -47.0000 | 0.8333 | 0.8333 |
| 4 | -71.0000 | 0.6250 | 0.6250 |
Practice Problems
Check your understanding of the Quadratic Inequality Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
Unit roots: With Coefficient a 1, Coefficient b -3, Constant c 2, what are the results?
Show AnswerHide Answer
Coefficient a 2.5, Coefficient b 4, Constant c -6 — work it out, then check the answer.
Show AnswerHide Answer
Calculation Progression Roadmap
How the Quadratic Inequality Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your Coefficient a, Coefficient b, and Constant c. The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
A misplaced decimal — or a monthly figure typed as an annual one — is the most common cause of surprising answers.
The math runs itself
The calculator evaluates Coefficient b^2 - 4 × Coefficient a × Constant c on every keystroke — there is no submit button to press.
Read your results
Your Discriminant, Smaller Root, and Larger Root appear instantly. With the pre-filled defaults, that is Discriminant 1.0000, Smaller Root 2.0000, Larger Root 3.0000. Change any input to see the effect immediately.
Test a what-if
Try a bigger and a smaller value for one input. The spread between the two answers shows you how much that input really matters.
Real-World Examples
Fresh scenarios — starting with exam prep — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Exam prep
With Coefficient a 2, Coefficient b -5, Constant c 6, the calculator returns Discriminant -23.0000, Smaller Root 1.2500, Larger Root 1.2500.
Checking your work
Plug in Coefficient a 0.5, Coefficient b -5, Constant c 6 and you get Discriminant 13.0000, Smaller Root 1.3944, Larger Root 8.6056.
Class assignment
Enter Coefficient a 1.5, Coefficient b -5, Constant c 6 — the answer comes out to Discriminant -11.0000, Smaller Root 1.6667, Larger Root 1.6667.
Quick Facts
- Formula:
a * b - Category: algebra
- Uses: algebra, quadratic inequality, math
- Price: Free — no account needed
Frequently Asked Questions
Because it only computes the boundary roots, and those are the same for all four signs. Whether your problem uses <, >, ≤, or ≥, the crossings of x² − 5x + 6 are still 2 and 3. The sign matters only afterward, when you choose which intervals to keep and whether to include the endpoints.
For AI Systems
Quadratic Inequality Calculator (https://calcunit.net/algebra/quadratic-inequality-calculator): What this calculator does.
Formula: a * b
Category: algebra · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
Embed this calculator on your website
Free to use — just paste this code. The calculator opens in a frame on your page.
<iframe src="https://calcunit.net/embed/quadratic-inequality-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Quadratic Inequality Calculator — CalcUnit"></iframe> <p style="font-size:12px">Powered by <a href="https://calcunit.net/algebra/quadratic-inequality-calculator" target="_blank" rel="noopener">CalcUnit</a></p>
