discriminant calculator

Quadratic Discriminant Calculator

Use this tool for equations in the form ax² + bx + c = 0. Enter your coefficients, click calculate, and instantly see the discriminant value, root type, and solutions.

What Is the Discriminant?

The discriminant is a compact expression that tells you the nature of the roots of a quadratic equation before you fully solve it. For a quadratic equation:

ax² + bx + c = 0

the discriminant is:

D = b² - 4ac

That single value, D, reveals whether the equation has two distinct real roots, one repeated real root, or two complex conjugate roots.

Why This Number Matters

In algebra, pre-calculus, and applied math, the discriminant is a quick diagnostic tool. Instead of diving straight into the quadratic formula, you can evaluate b² - 4ac and immediately understand what kind of answer to expect.

  • D > 0: two distinct real solutions
  • D = 0: one real repeated solution
  • D < 0: two non-real complex conjugate solutions

How to Use the Calculator

Step-by-step

  • Enter coefficient a (must be nonzero for a true quadratic).
  • Enter coefficient b.
  • Enter coefficient c.
  • Click Calculate Discriminant.

You’ll get the computed discriminant, equation form, interpretation, and roots where applicable.

Interpreting Results Like a Pro

Case 1: D is positive

You get two different x-intercepts on the graph of the parabola, and two distinct real roots from the quadratic formula.

Case 2: D is zero

The parabola touches the x-axis at exactly one point (a tangent point at the vertex), giving one repeated root.

Case 3: D is negative

No real x-intercepts exist. The roots are complex and come as conjugate pairs, such as p + qi and p - qi.

Worked Examples

Example A: x² - 3x + 2 = 0

Here, a = 1, b = -3, c = 2.

D = (-3)² - 4(1)(2) = 9 - 8 = 1, which is positive. So there are two real roots: x = 1 and x = 2.

Example B: x² - 6x + 9 = 0

Here, a = 1, b = -6, c = 9.

D = 36 - 36 = 0. One repeated real root appears: x = 3.

Example C: 2x² + 4x + 7 = 0

Here, a = 2, b = 4, c = 7.

D = 16 - 56 = -40. The roots are complex, so no real x-intercepts exist.

Common Mistakes to Avoid

  • Forgetting that b is squared in .
  • Dropping parentheses when b is negative.
  • Using the discriminant on non-quadratic equations where a = 0.
  • Mixing up root type and number of roots.

Where the Discriminant Appears in Real Problems

Beyond homework, discriminants show up in optimization, projectile motion models, and systems that reduce to quadratic constraints. Engineers and scientists use this value to determine feasibility, stability behavior, and expected intersection counts.

Quick Reference

  • Formula: D = b² - 4ac
  • Two real roots: D > 0
  • One repeated root: D = 0
  • Two complex roots: D < 0

Final Note

The discriminant is one of the fastest “sanity checks” in algebra. Use it before solving fully, and you’ll understand the shape and solution behavior of a quadratic equation in seconds.

🔗 Related Calculators