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.
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 |
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.