Discriminant Calculator Guide 2026

The discriminant b²−4ac tells you a quadratic's roots before you solve it: two real, one repeated, or a complex pair. Three fully worked examples, the geometry of each case, and how it connects to factoring and the quadratic formula.

What the discriminant is and why it saves time

For a quadratic ax² + bx + c = 0, the discriminant is Δ = b² − 4ac — the expression under the square root in the quadratic formula. Its sign alone reveals the nature of the roots before any solving: Δ > 0 means two distinct real roots, Δ = 0 means one repeated real root, Δ < 0 means a complex conjugate pair. No radical, no formula, just one subtraction after one multiplication set.

The time savings are real. Factoring attempts on a quadratic with Δ < 0 are guaranteed to fail — checking Δ first tells you in five seconds not to try. Competing explainer pages (pearson's calculator walkthrough, byjus, eMathHelp) all lead with this triage logic because it is the fastest genuine shortcut in elementary algebra.

The three cases, fully worked

Case 1 — two distinct real roots: x² − 5x + 6 = 0. Δ = (−5)² − 4(1)(6) = 25 − 24 = 1 > 0. Roots via formula: (5 ± 1)/2 → x = 3 or x = 2. The parabola crosses the x-axis twice, and the roots are rational because Δ is a perfect square — which also means it factors: (x−2)(x−3) = 0.

Case 2 — one repeated root: x² − 4x + 4 = 0. Δ = 16 − 16 = 0. The single root is x = 4/2 = 2, and the parabola sits tangent to the axis — the vertex touches at exactly (2, 0). Case 3 — complex pair: x² + 2x + 5 = 0. Δ = 4 − 20 = −16 < 0. Roots: (−2 ± 4i)/2 = −1 ± 2i. The parabola floats entirely above the axis; the roots live in the complex plane, symmetric about −1.

CaseDiscriminantRootsGraph
Δ > 0x²−5x+6: Δ = 1x = 2, x = 3crosses axis twice
Δ = 0x²−4x+4: Δ = 0x = 2 (double)vertex touches axis
Δ < 0x²+2x+5: Δ = −16−1 ± 2ino x-intercepts
Worked — all three verified: Δ₁ = 25−24 = 1 → roots 3, 2 (3²−5·3+6 = 0 ✓). Δ₂ = 16−16 = 0 → root 2 (double). Δ₃ = 4−20 = −16 → −1±2i (substitute −1+2i: (−1+2i)²+2(−1+2i)+5 = −3−4i−2+4i+5 = 0 ✓). All checked symbolically in build script.

Perfect squares, rational roots and the factoring shortcut

For quadratics with integer coefficients, Δ being a perfect square means the roots are rational — the quadratic factors over the integers. x² − 5x + 6 had Δ = 1 = 1², and indeed factors. A discriminant of 5 (not a perfect square) gives irrational roots — the parabola still crosses twice, but the crossings are at surds the factoring hunt will never find.

This is the exam skill: before spending minutes seeking factors, compute b² − 4ac. Perfect square → factor it. Positive non-square → use the formula and simplify the radical. Zero → write the double root immediately. Negative → report the complex pair and stop. The discriminant is a decision tree in one number.

Beyond quadratics: the cubic discriminant and what it means

Cubics have a discriminant too — for ax³ + bx² + cx + d it is Δ = 18abcd − 4b³d + b²c² − 4ac³ − 27a²d². Δ > 0: three distinct real roots. Δ = 0: a repeated root. Δ < 0: one real root and a complex conjugate pair. The same triage logic scales — one number predicts the shape of the entire solution set.

The cubic discriminant also powers the casus irreducibilis story: three real roots can still require complex arithmetic in Cardano's formula, which is why numerical solvers (and the cubic extension on pearson's calculator) exist. For the quadratic case that 95% of students meet, the b² − 4ac rule is the complete story.

Worked — cubic check: x³ − 6x² + 11x − 6 = (x−1)(x−2)(x−3): Δ = 18(1)(−6)(11)(−6) − 4(−6)³(−6) + (−6)²(11)² − 4(1)(11)³ − 27(1)²(−6)² = 7128 − 5184 + 4356 − 5324 − 972 = 4 > 0 → three distinct real roots (1, 2, 3) ✓. Computed in build script.

Using the discriminant with the full toolkit

The discriminant is the first read; the quadratic formula finishes the job. Our quadratic equation solver (linked below) computes roots for any a, b, c — pair it with this guide's triage: check Δ by hand, then verify with the solver. For practice sets at every difficulty, the worksheet generator (also linked) produces discriminant and factoring drills with answer keys.

One warning from the error logs of every math site: keep the signs. In x² + 2x + 5, b = +2 but the formula squares it anyway — the sign error that matters is in 4ac. Write b² and −4ac as separate terms before combining, especially with negative c values, and the discriminant becomes the most reliable 10 seconds in algebra.

🧮 Part of the Math Toolkit series — sibling guides: FOIL Method · Fourier Series · Gradient · Gaussian Elimination. All examples computed and re-checked in code before publishing.