Sitonce
Country: US
Show exams for United States Hong Kong
Sign in

Using the Discriminant to Count Real Quadratic Roots

Updated 7 min read
Key takeaway

For ax² + bx + c = 0, the discriminant is D = b² − 4ac.

More key points
  • If D > 0, there are two distinct real roots; if D = 0, one repeated real root; if D < 0, no real roots.
  • The discriminant classifies roots but does not give their values by itself.
On this page10 sections
  1. Three possible cases
  2. Identify a, b, and c carefully
  3. Connect the discriminant to the graph
  4. What the discriminant cannot tell you
  5. A careful calculation routine
  6. Common mistakes
  7. Exam takeaway
  8. Use the discriminant to find a coefficient range
  9. Keep the discriminant calculation organized
  10. Worked classification with non-unit coefficients

A quadratic equation in standard form is ax² + bx + c = 0, where a is not zero. The expression b² − 4ac is called the discriminant. It appears under the square root in the quadratic formula, x = [−b ± √(b² − 4ac)]/(2a), so its sign tells you what kind of real roots the equation has before you calculate them.

Three possible cases

If D = b² − 4ac is positive, its square root is a positive real number. The plus and minus cases in the quadratic formula produce two different real solutions. For x² − 5x + 6 = 0, a = 1, b = −5, c = 6, so D = 25 − 24 = 1. There are two distinct real roots, which are 2 and 3.

If D = 0, the square-root term is zero, so the plus and minus cases collapse to the same value. The equation has one repeated real root. For x² − 6x + 9 = 0, D = 36 − 36 = 0, and the equation factors as (x − 3)² = 0. The single root is x = 3, with multiplicity two.

If D is negative, the square root of D is not real. The quadratic has no real roots. For x² + 2x + 5 = 0, D = 4 − 20 = −16. Its graph does not cross the x-axis. If a course includes complex numbers, the equation has complex solutions, but 'no real roots' is the precise classification for a real-number question.

Identify a, b, and c carefully

Before substituting, write the equation as ax² + bx + c = 0 and include signs. For 2x² + 3x − 2 = 0, a = 2, b = 3, c = −2. Then D = 3² − 4(2)(−2) = 9 + 16 = 25, so there are two distinct real roots. The negative value of c makes −4ac positive in this example.

If an equation is written as x² + 4 = 4x, rearrange first: x² − 4x + 4 = 0. Here a = 1, b = −4, and c = 4. The discriminant is 16 − 16 = 0, indicating one repeated real root. Reading coefficients before setting the equation equal to zero is a common source of sign errors.

Connect the discriminant to the graph

The graph of y = ax² + bx + c is a parabola. Real solutions of ax² + bx + c = 0 are its x-intercepts. A positive discriminant means the parabola crosses the x-axis twice. A zero discriminant means it touches the axis at one point, the vertex. A negative discriminant means the parabola stays entirely above or below the axis and has no x-intercepts.

This graph interpretation gives a visual check on the algebra. If factoring shows two different linear factors, expect a positive discriminant. A perfect-square trinomial produces a repeated root and discriminant zero. A quadratic that is always positive or always negative over the real numbers has a negative discriminant, assuming it never touches zero.

The sign of a also tells which way the parabola opens: a > 0 opens upward and a < 0 opens downward. Combine that direction with the discriminant to reason about its position. If a > 0 and D < 0, the graph opens upward and never reaches the x-axis, so it remains above it. If a < 0 and D < 0, it opens downward and remains below. These conclusions follow because a continuous parabola with no x-intercepts cannot cross from one side of the axis to the other.

What the discriminant cannot tell you

The discriminant classifies the number of real roots; it does not normally tell you their exact values. When D > 0, use factoring or the quadratic formula to find both roots. When D = 0, the repeated root is −b/(2a). When D < 0, report no real solutions if the problem asks for real roots. The value of D can also indicate whether the roots are rational: if D is a nonnegative perfect square and a, b, c are integers, the quadratic formula produces rational roots; an imperfect-square discriminant produces irrational real roots.

The discriminant can also be used when a coefficient contains a parameter. For example, in x² + kx + 9 = 0, the discriminant is k² − 36. The equation has two distinct real roots when k² > 36, one repeated real root when k² = 36, and no real roots when k² < 36. Solving the inequality gives the parameter ranges directly. In a question that asks only how many roots exist, do not spend time calculating the roots unless a follow-up requests them.

A careful calculation routine

  1. Write the equation in standard form ax² + bx + c = 0.
  2. Record a, b, and c with their signs, including an invisible coefficient of 1.
  3. Calculate b² first, then calculate 4ac, and subtract: D = b² − 4ac.
  4. Check the sign of D to classify two, one, or zero real roots.
  5. If the question asks for the roots themselves, continue with an appropriate solving method.

Common mistakes

  • Forgetting to move every term to one side before identifying coefficients.
  • Squaring b incorrectly when b is negative; (−5)² is 25.
  • Losing parentheses in −4ac when a or c is negative.
  • Saying D = 0 means no solution; it means one repeated real root.
  • Calling a negative discriminant one real root; it means no real roots.
  • Treating the discriminant itself as a root rather than as a classifier.

Exam takeaway

Put the quadratic in standard form, preserve coefficient signs, and calculate D = b² − 4ac. A positive value means two distinct real roots; zero means one repeated real root; a negative value means no real roots. Then solve only if the question asks for the root values.

Use the discriminant to find a coefficient range

A parameter question often asks for the value of a coefficient that makes a quadratic have a specified number of real roots. Set the discriminant equal to zero for the boundary between two and no real roots, then use its sign on either side. For x² + 6x + k = 0, D = 36 − 4k. Two distinct real roots require 36 − 4k > 0, so k < 9. At k = 9 there is one repeated root; above 9 there are no real roots. Check the inequality direction by testing a value such as k = 0, which gives x² + 6x = 0 and two real roots.

Keep the discriminant calculation organized

A reliable way to avoid sign slips is to substitute with parentheses: D = (−7)² − 4(3)(−2) = 49 + 24 = 73. Do not read −4ac as a single negative number regardless of c; the signs of a and c determine whether the product 4ac is positive or negative before it is subtracted. A calculator can check arithmetic, but it cannot correct coefficients copied from an equation that was not first written equal to zero.

There is also a useful parity between the algebra and the graph. The vertex lies on the x-axis exactly when the discriminant is zero. If the graph crosses the axis at two points, D is positive; if it misses the axis, D is negative. This is a check on the classification, not a replacement for writing the value of D.

Worked classification with non-unit coefficients

Classify 3x² − 2x + 4 = 0. Here a = 3, b = −2, and c = 4, so D = (−2)² − 4(3)(4) = 4 − 48 = −44. The equation has no real roots. Notice that a positive leading coefficient does not guarantee real roots; it only tells you that the parabola opens upward. The discriminant tells whether that parabola reaches the x-axis.

Common questions

What does a discriminant of zero mean?

The quadratic has one repeated real root because the plus and minus values in the quadratic formula are identical.

Does a negative discriminant mean there are no solutions at all?

It means there are no real solutions. Complex solutions exist if the number system includes imaginary values.

Do I have to solve the quadratic to use the discriminant?

No. The discriminant tells you how many real roots there are without finding their values.

What must be done before calculating b² − 4ac?

Write the equation in standard form ax² + bx + c = 0 and identify coefficients with their signs.

How can a discriminant question include an unknown coefficient?

Write D in terms of that coefficient and solve D > 0, D = 0, or D < 0 according to the requested root type.