Active experiment

Solutions & Discriminant Calculator

Classify the roots of a quadratic.

Step 01 · Set up

Fill in the mathematics

Replace the highlighted values below. Tab moves naturally through the equation.

Step 03 · Answer

Ready when you are

Substitution & process

Enter the known values, then select Calculate. Your working steps will appear here.

Understand the method

What does the solutions & discriminant calculation mean?

The discriminant b² − 4ac is the part of the quadratic formula under the square root, so it decides how many real solutions a quadratic has without solving it. Its sign separates two real roots, one repeated real root, and a complex-conjugate pair.

When to use it

Use it to classify roots quickly, check an answer you already computed, or decide whether a parabola crosses the x-axis.

Formula

D=b2−4ac

In plain text: D = b² − 4ac

Variables and units

SymbolMeaning
D = b² − 4acthe discriminant
a, b, ccoefficients of ax² + bx + c, with a nonzero

How to use the calculator

  1. Enter each known value in its labeled field.
  2. Select the answer precision you want.
  3. Choose Calculate answer to see the result and working.

Worked example

For 2x² − 4x + 5, D = (−4)² − 4(2)(5) = 16 − 40 = −24. A negative discriminant means the two roots are complex conjugates and the parabola never touches the x-axis.

Common mistakes

  • Square b before subtracting; (−4)² is positive 16.
  • The discriminant assumes the equation is already in standard form equal to zero.
  • A zero discriminant gives one distinct root with multiplicity two, not zero roots.

Interpret the result

A positive discriminant means two x-intercepts, zero means one tangent x-intercept, and a negative value means no real x-intercepts.