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.
D = b² − 4ac
| Condition | Root Count | Root Type | Graph Behaviour | Factoring |
|---|---|---|---|---|
| D > 0 (perfect square) | 2 | Rational real | Crosses x-axis twice | Factors over ℤ |
| D > 0 (not perfect square) | 2 | Irrational real | Crosses x-axis twice | Does not factor over ℤ |
| D = 0 | 1 (repeated) | Real, rational if a,b,c are | Touches x-axis at vertex | Perfect square trinomial |
| D < 0 | 0 real (2 complex) | Complex conjugates a±bi | Never touches x-axis | Not factorable over ℝ |
| Equation | a | b | c | D = b²−4ac | Root Type |
|---|---|---|---|---|---|
| x² − 5x + 6 = 0 | 1 | −5 | 6 | 1 | 2 rational real |
| x² − 4 = 0 | 1 | 0 | −4 | 16 | 2 rational real |
| x² − 2x + 1 = 0 | 1 | −2 | 1 | 0 | 1 repeated |
| x² + 4x + 5 = 0 | 1 | 4 | 5 | −4 | 2 complex |
| 2x² − 7x + 3 = 0 | 2 | −7 | 3 | 25 | 2 rational real |
| 3x² + 2x + 1 = 0 | 3 | 2 | 1 | −8 | 2 complex |
Full solution with roots and vertex
Completing the Square CalculatorVertex form and roots
Factoring CalculatorFactor trinomials step by step
Quadratic Formula CalculatorFull roots + vertex solution
Real vs Complex RootsWhat the discriminant tells you about root types
Quadratic Formula ExplainedStep-by-step derivation and examples
Algebra HubAll algebra calculators
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.