The Discriminant and Nature of Roots
Problem
For ax²+bx+c=0, adjust a, b, c and watch the parabola show 2 roots, 1 root, or 0 real roots based on Δ = b²−4ac.
Explanation
The discriminant: a preview of the answer
Before solving a quadratic equation, the discriminant tells you how many real solutions to expect — without actually solving.
The three cases
Case 1: — Two distinct real roots. The parabola crosses the x-axis at two different points. Example: has , roots and .
Case 2: — One repeated root. The parabola just touches the x-axis at its vertex. Example: has , root (double root).
Case 3: — No real roots. The parabola doesn't reach the x-axis at all. Example: has , no real solutions (the roots are complex: ).
How to compute the discriminant
For :
Example: For : → two real roots.
Why it works
The discriminant lives under the square root in the quadratic formula: . If , is real and the gives two values. If , the doesn't matter (). If , isn't real.
Exam tip
Many exam questions ask "how many real solutions?" or "for what values of does the equation have equal roots?" These are discriminant questions — set or and solve for .
Try it in the visualization
Drag , , sliders. The discriminant value updates live, the classification appears, and the parabola visually shows the corresponding case. Try to make exactly zero — watch the parabola become tangent to the x-axis.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.