Discriminant Calculator

Reviewed by CalcMulti Editorial Team·Last updated: ·Algebra Hub

The discriminant D = b² − 4ac is the part under the square root in the quadratic formula. It instantly tells you how many real solutions ax² + bx + c = 0 has — without fully solving the equation.

Enter your a, b, c values below to compute the discriminant and get a clear explanation of the root type.

The three cases of the discriminant: When D > 0, the equation has two distinct real roots — the parabola crosses the x-axis at two different points. When D = 0, the equation has exactly one real root (a repeated root) — the parabola is tangent to the x-axis at its vertex. When D < 0, the equation has no real roots — the parabola does not cross the x-axis, and the roots are complex conjugate pairs of the form h ± ki.

The discriminant also determines whether a trinomial factors over the integers: if D is a perfect square (0, 1, 4, 9, 16, 25…), the trinomial factors with rational coefficients. If D is positive but not a perfect square, the roots are irrational (involving √D). If D < 0, the polynomial is irreducible over the reals.

Real-world examples: (1) Projectile motion — h(t) = −16t² + 48t + 5; discriminant = 48² − 4(−16)(5) = 2304 + 320 = 2624 > 0, so the projectile hits the ground at two times. (2) Break-even — profit = −x² + 10x − 25; discriminant = 100 − 100 = 0, meaning the business exactly breaks even at one production level. (3) Circuit analysis — when designing filters, discriminant < 0 indicates no resonant frequency in that range.

Formula

D = b² − 4ac

D
discriminant
a
coefficient of x²
b
coefficient of x
c
constant term

Compute D = b² − 4ac

Discriminant Interpretation Table

ConditionRoot CountRoot TypeGraph BehaviourFactoring
D > 0 (perfect square)2Rational realCrosses x-axis twiceFactors over ℤ
D > 0 (not perfect square)2Irrational realCrosses x-axis twiceDoes not factor over ℤ
D = 01 (repeated)Real, rational if a,b,c areTouches x-axis at vertexPerfect square trinomial
D < 00 real (2 complex)Complex conjugates a±biNever touches x-axisNot factorable over ℝ

Common Quadratic Examples

EquationabcD = b²−4acRoot Type
x² − 5x + 6 = 01−5612 rational real
x² − 4 = 010−4162 rational real
x² − 2x + 1 = 01−2101 repeated
x² + 4x + 5 = 0145−42 complex
2x² − 7x + 3 = 02−73252 rational real
3x² + 2x + 1 = 0321−82 complex

Disclaimer

This calculator is for educational purposes only and does not constitute professional advice. Results are based on standard mathematical formulas. Always verify critical calculations with a qualified professional before making important decisions.

Frequently Asked Questions