CalculatorForEver
MATH / GUIDE

How does the discriminant tell me what roots a quadratic has?

Calculator ForEver 3 min read

For ax² + bx + c = 0 with real coefficients and nonzero a, the discriminant b² − 4ac determines the root type: positive gives two distinct real roots, zero gives one repeated real root, and negative gives a complex-conjugate pair.

Calculate the discriminant before the square root

The expression under the quadratic formula’s square root is the discriminant. A negative value needs an imaginary component, while zero makes the plus and minus branches coincide. The sign describes the equation’s roots, not whether the input is a valid quadratic.

Compare equations differing only in the constant

For x² − 4x + 3 = 0, the discriminant is 16 − 12 = 4 and the roots are 1 and 3. Replacing 3 with 4 makes it zero and gives repeated root 2. Replacing 3 with 5 makes it −4 and gives roots 2 ± i.

Retain signs and precision

Use b’s signed value before squaring and include the sign of c in 4ac. A near-zero discriminant from measured coefficients can be sensitive to rounding, so preserve the available input precision and interpret a displayed zero with that limitation.

Compare equations with one changing coefficient

Consider x² − 6x + c = 0, where the discriminant is 36 − 4c. With c = five, the discriminant is sixteen and the roots are one and five. With c = nine, it is zero and the repeated root is three. With c = thirteen, it is minus sixteen and the roots are 3 ± 2i. Holding a and b fixed isolates how the constant term changes the root type. All three are valid quadratics with real coefficients. The negative discriminant does not mean the coefficient inputs failed validation; it means no real number satisfies the equation, while a complex conjugate pair does.

Connect the sign with the real-coordinate graph

For real roots, the graph y = ax² + bx + c meets the real x-axis at the root values. A positive discriminant gives two distinct crossings; a zero discriminant gives a touching point at the repeated root. A negative discriminant gives no real x-axis crossing. Complex roots should not be drawn as real x-axis intercepts. The axis of symmetry remains x = −b/(2a) for all three cases. For x² − 6x + thirteen, that axis is x = three, and the value at the vertex is four, so the upward-opening graph stays above the real x-axis. This supplies a separate geometric check on the negative-discriminant conclusion.

Check signs and precision near the boundary

Use the signed coefficient b inside parentheses before squaring, and keep the signed product 4ac intact. If c is negative, subtracting 4ac adds a positive quantity. The leading coefficient a must be nonzero; otherwise the equation is not quadratic and its formula would divide by zero. Near a zero discriminant, small input changes can switch the exact root classification, so preserve available coefficient precision and distinguish a theoretical equation from rounded measurements. Calculator ForEver can report real or complex root types for its supported inputs, but its display rounding does not establish whether a near-repeated physical model should count as exactly repeated. Verify returned roots in the original equation when a classification seems unexpected.

Questions about this calculation

Is a negative discriminant an input error?

No. It describes a valid quadratic with non-real complex roots when the coefficients are real.

Try these values in the calculator

Solve ax² + bx + c = 0, including complex roots.

Use the quadratic formula calculator

References

More quadratic formula questions

Related tools