How this calculation works
The discriminant distinguishes two real roots, one repeated real root, or a complex-conjugate pair. The numeric real-root calculation uses a rearranged formula to reduce cancellation. If a is zero, the tool handles the remaining linear equation.
Discriminant D = b² − 4ac; roots = (−b ± √D)/(2a)A worked example
x² − 5x + 6 = 0 has real roots 2 and 3.
Good to know
An estimate under the stated inputs and model. Displayed decimals are rounded; verify assumptions before relying on the result.
The discriminant counts the real-root possibilities
For real coefficients with a nonzero quadratic term, a positive discriminant gives two distinct real roots, zero gives one repeated real root, and a negative discriminant gives a complex-conjugate pair. The sign organizes the problem before the roots are evaluated.
For x² − 5x + 6, the discriminant is 1 and the roots are 2 and 3. Substituting either back into the original expression gives zero, providing a useful independent check.
A square root is involved in the quadratic formula when the discriminant is nonnegative. The discriminant must be checked before interpreting real roots. The synthetic division calculator can divide a coefficient-defined polynomial by a supplied monic linear factor and report an exact remainder. It tests that supplied value rather than searching for every root. The parabola vertex and axis of symmetry calculator instead locates the turning point and draws the symmetry line. A vertex coordinate is different from a root where y equals zero.
A zero quadratic coefficient changes the type of equation
If a = 0, the equation is linear rather than quadratic. If b is also zero, it either becomes an identity (c = 0) or a contradiction (c ≠ 0). Those cases should not be pushed through a formula that divides by 2a.
Numerical sensitivity still matters. Very close roots or extreme relative coefficient sizes can amplify floating-point effects. The rearranged real-root formula reduces one common cancellation problem without promising arbitrary precision.
A few questions, answered
Does it show complex roots?
Yes. A negative discriminant is shown as a conjugate pair with real and imaginary parts.
Why is there only one repeated-root value?
The two algebraic roots coincide when the discriminant is zero.