Discriminant calculator

Enter a, b and c to find b² − 4ac and what it says about the roots, before solving anything.

For ax2+bx+c=0ax^2 + bx + c = 0

DD
==
b2−4acb^2 - 4ac
==
(−3)2−4(2)(−5)(-3)^2 - 4(2)(-5)
==
9+409 + 40
DiscriminantD=49D = 49

Two distinct rational roots, so the quadratic factors over the integers.

Solve it with steps

Reading the discriminant

Value of DNumber and type of roots
D > 0, perfect square2 rational roots (factorable)
D > 0, not a perfect square2 irrational roots
D = 01 repeated rational root
D < 00 real roots, 2 complex roots

The discriminant is the part of the quadratic formula under the square root, so it controls whether that root is real, zero or imaginary.

Frequently asked questions

What is the discriminant?
For ax² + bx + c, the discriminant is D = b² − 4ac, the expression under the square root in the quadratic formula.
What does a discriminant of 0 mean?
The quadratic has exactly one real root (a double root), x = −b/2a, and its parabola touches the x-axis at the vertex.
How do I know if a quadratic factors?
With integer coefficients, it factors over the integers exactly when the discriminant is a perfect square (0, 1, 4, 9, 16, …).