The Discriminant: How Many Solutions?

April 12, 2026

Problem

Show how b²−4ac determines whether ax²+bx+c=0 has 2, 1, or 0 real roots. Drag a, b, c sliders and watch the parabola cross, touch, or miss the x-axis.

Explanation

The discriminant: a preview of the answer

Before solving a quadratic ax2+bx+c=0ax^2 + bx + c = 0, the discriminant Δ=b24ac\Delta = b^2 - 4ac tells you how many real solutions to expect.

The three cases

Case 1: Δ>0\Delta > 0 — Two distinct real roots. The parabola crosses the x-axis twice. Example: x25x+6=0x^2 - 5x + 6 = 0 has Δ=2524=1>0\Delta = 25 - 24 = 1 > 0, roots x=2x = 2 and x=3x = 3.

Case 2: Δ=0\Delta = 0 — One repeated root. The parabola touches the x-axis at its vertex. Example: x24x+4=0x^2 - 4x + 4 = 0 has Δ=0\Delta = 0, root x=2x = 2 (double root).

Case 3: Δ<0\Delta < 0 — No real roots. The parabola doesn't reach the x-axis. Example: x2+1=0x^2 + 1 = 0 has Δ=4\Delta = -4, no real solutions.

How to compute it

For ax2+bx+c=0ax^2 + bx + c = 0: Δ=b24ac\Delta = b^2 - 4ac. Example: 3x2+2x5=03x^2 + 2x - 5 = 0: Δ=4+60=64>0\Delta = 4 + 60 = 64 > 0 → two real roots.

Why it works

Δ\Delta lives under the square root in the quadratic formula: x=b±Δ2ax = \frac{-b \pm \sqrt{\Delta}}{2a}. Positive Δ\Delta → real square root → two solutions. Zero → one. Negative → no real square root.

Exam tip

Questions like "for what values of kk does x2+kx+9=0x^2 + kx + 9 = 0 have equal roots?" → set Δ=0\Delta = 0: k236=0k^2 - 36 = 0, so k=±6k = \pm 6.

Try it in the visualization

Drag aa, bb, cc. The discriminant value, classification, and parabola update live. Try making Δ\Delta exactly zero — watch the parabola become tangent to the x-axis.

Interactive Visualization

Parameters

1.00
-4.00
4.00
Your turn

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.

Sign Up Free to Try It30 free visualizations every day
The Discriminant: How Many Solutions? | MathSpin