Discriminant in Quadratic Equations - Formula & Examples

#Algebra
TL;DR
The discriminant Δ=b2−4ac\Delta = b^2 - 4ac is the piece under the square root in the quadratic formula. Its sign tells you the nature of a quadratic's roots before you finish solving — two distinct real roots (Δ>0\Delta > 0), one repeated real root (Δ=0\Delta = 0), or two complex roots (Δ<0\Delta < 0).
BT
Bhanzu TeamLast updated on May 19, 20267 min read

What Is the Discriminant in Math?

For a quadratic equation ax2+bx+c=0ax^2 + bx + c = 0 (with a≠0a \neq 0), the discriminant is the expression:

Δ=b2−4ac\Delta = b^2 - 4ac

It appears as the piece under the radical in the quadratic formula:

x=−b±b2−4ac2a=−b±Δ2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} = \frac{-b \pm \sqrt{\Delta}}{2a}

The discriminant's sign determines how many real solutions the equation has — without you doing any actual solving.

The Discriminant Formula

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

Δ=b2−4ac\Delta = b^2 - 4ac

It's a single number you compute from the three coefficients. Always check that the equation is in standard form (ax2+bx+c=0ax^2 + bx + c = 0) before reading off a,b,ca, b, c.

Worked example. Find the discriminant of 2x2−5x+1=02x^2 - 5x + 1 = 0.

Here a=2,b=−5,c=1a = 2, b = -5, c = 1:

Δ=(−5)2−4(2)(1)=25−8=17\Delta = (-5)^2 - 4(2)(1) = 25 - 8 = 17

Since Δ>0\Delta > 0, the equation has two distinct real roots — no need to solve to know this.

What Are the Three Cases?

The sign of Δ\Delta determines the nature of the roots:

Discriminant

Number of real roots

Geometric picture

Δ>0\Delta > 0

Two distinct real roots

Parabola crosses x-axis at two points

Δ=0\Delta = 0

One repeated real root

Parabola just touches x-axis at vertex

Δ<0\Delta < 0

No real roots (two complex)

Parabola doesn't touch x-axis

Case 1: Δ>0\Delta > 0 — Two Distinct Real Roots

The quadratic formula gives x=−b±Δ2ax = \dfrac{-b \pm \sqrt{\Delta}}{2a} — two different real numbers because Δ\sqrt{\Delta} is a positive real.

Case 2: Δ=0\Delta = 0 — One Repeated Root

The ±Δ=0\pm \sqrt{\Delta} = 0, so the formula collapses to x=−b2ax = -\dfrac{b}{2a} — a single value, counted twice. The parabola's vertex sits on the x-axis.

Case 3: Δ<0\Delta < 0 — No Real Roots

The square root of a negative number isn't a real number — it's an imaginary number. The two roots are complex conjugates: x=−b±i∣Δ∣2ax = \dfrac{-b \pm i\sqrt{|\Delta|}}{2a}. Geometrically, the parabola doesn't intersect the x-axis at all.

Three Worked Examples — Quick, Standard, Stretch

Quick — Identify the Case

For x2+4x+4=0x^2 + 4x + 4 = 0, find the discriminant and describe the roots.

a=1,b=4,c=4a = 1, b = 4, c = 4: Δ=16−16=0\Delta = 16 - 16 = 0. One repeated real root at x=−2x = -2. (Check: (x+2)2=0(x+2)^2 = 0.)

Standard — Use the Discriminant to Find a Parameter

For what value of kk does x2+kx+9=0x^2 + kx + 9 = 0 have one repeated root?

One repeated root means Δ=0\Delta = 0. So k2−4(1)(9)=0k^2 - 4(1)(9) = 0, giving k2=36k^2 = 36 and k=±6k = \pm 6.

Check. For k=6k = 6: x2+6x+9=(x+3)2=0x^2 + 6x + 9 = (x+3)^2 = 0 ✓ — repeated root at x=−3x = -3. For k=−6k = -6: x2−6x+9=(x−3)2=0x^2 - 6x + 9 = (x-3)^2 = 0 ✓.

Stretch — Discriminant and the Range of Values

For what values of kk does kx2+3x+2=0kx^2 + 3x + 2 = 0 have two distinct real roots?

Two distinct real roots means Δ>0\Delta > 0:

9−8k>0  ⟹  k<989 - 8k > 0 \implies k < \tfrac{9}{8}

Also need a≠0a \neq 0, so k≠0k \neq 0.

Answer: k<98k < \tfrac{9}{8} and k≠0k \neq 0, i.e., k∈(−∞,0)∪(0,98)k \in (-\infty, 0) \cup (0, \tfrac{9}{8}).

Why Does the Discriminant Matter? (The Real-World GROUND)

"To find when something happens, find where it equals zero." — physicist's heuristic.

The discriminant isn't just an algebraic curiosity. It tells you whether a real-world equation has solutions in the real world.

  • Physics — projectile motion. A ball thrown up reaches height h(t)=−12gt2+v0t+h0h(t) = -\tfrac{1}{2}gt^2 + v_0 t + h_0. Setting h(t)=0h(t) = 0 asks "when does the ball land?" The discriminant tells you whether it lands at all (and if so, when).

  • Engineering — stability analysis. Many engineering problems reduce to "does this quadratic have real roots?" — vibration frequencies, control system stability, structural analysis. The discriminant gives the answer in one expression.

  • Economics — equilibrium. Quadratic supply-demand equations have an equilibrium price only when the discriminant is non-negative.

  • Computer graphics — ray tracing. Determining whether a ray hits a sphere reduces to a quadratic in distance; the discriminant decides hit vs miss.

The discriminant appears in Al-Khwarizmi's 820 CE Al-Jabr — though without modern notation. The modern symbol Δ\Delta comes from late-19th-century algebraic notation, building on François Viète's 16th-century symbolic algebra.

A Worked Example

For what value of kk does x2+(k−2)x+4=0x^2 + (k-2)x + 4 = 0 have real and equal roots?

The intuitive (wrong) approach. A student writes Δ=(k−2)2−4⋅4=0\Delta = (k-2)^2 - 4 \cdot 4 = 0 and immediately gets k=2±4=6k = 2 \pm 4 = 6 or −2-2.

Why it fails. The student forgot that (k−2)2=16(k-2)^2 = 16 has two solutions — k−2=±4k - 2 = \pm 4. Only checking one branch misses one of the answers.

The correct method. Real and equal roots means Δ=0\Delta = 0:

(k−2)2−16=0  ⟹  (k−2)2=16  ⟹  k−2=±4(k-2)^2 - 16 = 0 \implies (k-2)^2 = 16 \implies k - 2 = \pm 4

So k=6k = 6 or k=−2k = -2. Both work — both produce a quadratic with discriminant zero.

Check. For k=6k = 6: equation becomes x2+4x+4=(x+2)2=0x^2 + 4x + 4 = (x+2)^2 = 0, repeated root at −2-2 ✓. For k=−2k = -2: equation becomes x2−4x+4=(x−2)2=0x^2 - 4x + 4 = (x-2)^2 = 0, repeated root at 22 ✓.

What Are the Most Common Mistakes With the Discriminant?

Mistake 1: Sign errors when bb is negative

Where it slips in: Writing b2b^2 as a negative number.

Don't do this: For x2−5x+6=0x^2 - 5x + 6 = 0, computing b2=−25b^2 = -25.

The correct way: b2=(−5)2=25b^2 = (-5)^2 = 25. Squaring always produces a non-negative result, regardless of the sign of bb.

Mistake 2: Forgetting to put the equation in standard form first

Where it slips in: Reading a,b,ca, b, c from 3x2+2=5x3x^2 + 2 = 5x as if it were standard form.

Don't do this: Δ=02−4(3)(2)=−24\Delta = 0^2 - 4(3)(2) = -24 for 3x2+2=5x3x^2 + 2 = 5x.

The correct way: Rearrange first: 3x2−5x+2=03x^2 - 5x + 2 = 0, so a=3,b=−5,c=2a = 3, b = -5, c = 2, and Δ=25−24=1\Delta = 25 - 24 = 1.

Mistake 3: Confusing "no real roots" with "no roots"

Where it slips in: A negative discriminant means no real roots — but the equation does have two roots, which are complex.

Don't do this: Stating x2+1=0x^2 + 1 = 0 has "no solution."

The correct way: Over the real numbers, no solution; over the complex numbers, two solutions x=±ix = \pm i.

Key Takeaways

  • The discriminant Δ=b2−4ac\Delta = b^2 - 4ac is the piece under the square root in the quadratic formula.

  • Sign reveals nature of roots: Δ>0\Delta > 0 → two real, Δ=0\Delta = 0 → one repeated, Δ<0\Delta < 0 → two complex.

  • Geometric picture: the discriminant counts how many times the parabola crosses the x-axis.

  • Standard form first — rearrange to ax2+bx+c=0ax^2 + bx + c = 0 before reading off a,b,ca, b, c.

  • Generalises to higher degrees — every polynomial has a discriminant, though the formula grows with degree.

A Practical Next Step

Try these three before moving on to the quadratic formula and complex roots.

  1. Find the discriminant of 3x2+4x+2=03x^2 + 4x + 2 = 0. How many real roots?

  2. For what value of kk does x2+kx+25=0x^2 + kx + 25 = 0 have one repeated root?

  3. For what values of kk does x2+2x+k=0x^2 + 2x + k = 0 have no real roots?

If problem 3 felt tricky, Δ<0\Delta < 0 means 4−4k<04 - 4k < 0, so k>1k > 1. Want a Bhanzu trainer to walk through more discriminant problems? Book a free demo class — online globally.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What does the discriminant tell you?
The discriminant Δ=b2−4ac\Delta = b^2 - 4ac tells you the nature of a quadratic's roots without solving the equation. Δ>0\Delta > 0: two distinct real roots; Δ=0\Delta = 0: one repeated real root; Δ<0\Delta < 0: two complex (non-real) roots.
What is the discriminant formula?
For ax2+bx+c=0ax^2 + bx + c = 0: Δ=b2−4ac\Delta = b^2 - 4ac. It's the piece under the square root in the quadratic formula.
What does it mean if the discriminant is zero?
The quadratic has exactly one real root (a repeated root). Geometrically, the parabola's vertex sits on the x-axis — the parabola just touches the x-axis at one point rather than crossing it.
What does a negative discriminant mean?
The quadratic has no real roots — but it has two complex roots (a complex conjugate pair). Geometrically, the parabola doesn't intersect the x-axis at all.
Does the discriminant work for cubic equations?
Yes — every polynomial has a discriminant, though the formulas get more complex. The discriminant of a cubic ax3+bx2+cx+dax^3 + bx^2 + cx + d is Δ=18abcd−4b3d+b2c2−4ac3−27a2d2\Delta = 18abcd - 4b^3d + b^2c^2 - 4ac^3 - 27a^2d^2. Its sign still distinguishes cases (three real roots vs one real + two complex).
Why is the discriminant useful if I can just solve the equation?
Because in many problems you don't need the roots — you need to know whether real solutions exist. Stability analysis, equilibrium problems, ray-tracing intersections, and parameter-range questions all use the discriminant directly without solving.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →