Algebra

Understanding the Discriminant

The discriminant D = b^2 - 4ac is the part of the quadratic formula inside the square root. Its sign tells you the number and type of roots before you solve the equation.

Reviewed

Three root cases

If D is positive, sqrt(D) is a nonzero real number and the plus-or-minus branches give two distinct real roots. If D is zero, both branches collapse to -b/(2a). If D is negative, the roots are a complex-conjugate pair.

When coefficients are real, nonreal roots occur in conjugate pairs because changing i to -i leaves the real coefficients unchanged.

  • D > 0: two distinct real roots
  • D = 0: one repeated real root
  • D < 0: two nonreal complex roots

Read the answer before solving

For real coefficients, the sign of D = b^2 - 4ac gives a complete classification of the roots and the x-axis intersections.

DiscriminantRootsGraphFactoring over the reals
D > 0Two distinct real rootsTwo x-interceptsTwo distinct linear factors
D = 0One repeated real rootTouches the x-axis onceOne repeated linear factor
D < 0A complex-conjugate pairNo x-interceptsNo real linear factors

The sign classifies the roots. The magnitude of D does not tell you whether the parabola opens upward or downward.

Classify 3x^2 + 2x + 5 = 0

Compute the discriminant without solving for x.

  1. D = 2^2 - 4(3)(5)
  2. D = 4 - 60 = -56

Result: Two nonreal complex roots

What the sign means on a graph

For y = ax^2 + bx + c, a positive discriminant means the parabola crosses the x-axis twice. A zero discriminant means its vertex touches the axis. A negative discriminant means the graph stays entirely above or below the axis.

The discriminant classifies intersections but does not by itself tell you whether a parabola opens upward or downward; that comes from the sign of a.

Classify 4x^2 - 12x + 9 = 0

The coefficients form a perfect-square trinomial.

  1. D = (-12)^2 - 4(4)(9)
  2. D = 144 - 144 = 0

Result: One repeated real root at x = 3/2

Perfect-square discriminants

With integer coefficients, a nonnegative perfect-square discriminant produces rational roots. A positive discriminant that is not a perfect square produces irrational real roots.

This is useful when deciding whether to expect a clean factorization over the integers.

Questions about the discriminant

Is the discriminant only used for quadratics?

The term appears in broader algebraic settings, but b^2 - 4ac is specifically the discriminant of a quadratic polynomial.

Can the discriminant tell me the exact roots?

It classifies them and supplies the square-root term, but b and a are still needed to compute the values.

Sources and further reading