The Discriminant and Nature of Roots

April 12, 2026

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 Δ=b24ac\Delta = b^2 - 4ac tells you how many real solutions to expect — without actually solving.

The three cases

Case 1: Δ>0\Delta > 0 — Two distinct real roots. The parabola crosses the x-axis at two different points. 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 just touches the x-axis at its vertex. Example: x24x+4=0x^2 - 4x + 4 = 0 has Δ=1616=0\Delta = 16 - 16 = 0, root x=2x = 2 (double root).

Case 3: Δ<0\Delta < 0 — No real roots. The parabola doesn't reach the x-axis at all. Example: x2+1=0x^2 + 1 = 0 has Δ=04=4<0\Delta = 0 - 4 = -4 < 0, no real solutions (the roots are complex: x=±ix = \pm i).

How to compute the discriminant

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

Δ=b24ac\Delta = b^2 - 4ac

Example: For 3x2+2x5=03x^2 + 2x - 5 = 0: Δ=(2)24(3)(5)=4+60=64>0\Delta = (2)^2 - 4(3)(-5) = 4 + 60 = 64 > 0 → two real roots.

Why it works

The discriminant lives under the square root in the quadratic formula: x=b±Δ2ax = \frac{-b \pm \sqrt{\Delta}}{2a}. If Δ>0\Delta > 0, Δ\sqrt{\Delta} is real and the ±\pm gives two values. If Δ=0\Delta = 0, the ±\pm doesn't matter (±0=0\pm 0 = 0). If Δ<0\Delta < 0, Δ\sqrt{\Delta} isn't real.

Exam tip

Many exam questions ask "how many real solutions?" or "for what values of kk does the equation have equal roots?" These are discriminant questions — set Δ=0\Delta = 0 or Δ>0\Delta > 0 and solve for kk.

Try it in the visualization

Drag aa, bb, cc sliders. The discriminant value updates live, the classification appears, and the parabola visually shows the corresponding case. Try to make Δ\Delta exactly zero — watch the parabola become tangent to the x-axis.

Interactive Visualization

Parameters

1.00
0.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 and Nature of Roots | MathSpin