TL;DR / Summary: Before you trust a quadratic formula result, read the discriminant. Its sign tells you whether to expect two real roots, one repeated root, or a complex pair—and it catches coefficient typos before you waste time on the square root step.
Write the equation in standard form first
The quadratic formula applies to ax² + bx + c = 0 with a ≠ 0. Word problems and “solve for x” lines often arrive with terms on both sides or with the squared term buried in a parenthesis.
Expand, move everything to one side, and combine like terms. Only then identify a, b, and c. Skipping this step is how a minus sign attaches to the wrong coefficient.
If a leading coefficient is negative, you may multiply the entire equation by −1 to simplify arithmetic. Do that before labelling a, b, and c, and remember that multiplying by −1 does not change the roots.
The discriminant is the fork in the road
Compute D = b² − 4ac as its own line. Do not bury it inside the full formula on the first pass.
- D > 0: two distinct real roots
- D = 0: one real root (repeated)
- D < 0: two complex conjugate roots (in the reals: no real solution)
If the homework is restricted to real numbers and D is negative, you can stop after stating that—unless the course wants complex answers written explicitly.
Why compute D alone
A wrong D means a wrong square root later. Isolating D lets you verify the arithmetic of b² and 4ac without juggling the rest of the formula.
It also tells you whether a perfect-square discriminant is available, which often means nicer exact forms.
Watch the sign of b inside −b ± √D
The term −b flips the sign of b. If b is already negative, −b is positive. Students frequently drop that flip when b carries a minus in the original equation.
Write −b as a concrete number before you add or subtract the square root. For example, if b = −6, then −b = 6. Put 6 on the paper.
Then compute (−b + √D)/(2a) and (−b − √D)/(2a) as two separate fractions. Combining them in one calculator line without parentheses is a common source of scrambled results.
For a careful numeric check of each fraction after you have D, Mathematical Calculator helps confirm the division and square root without retyping the whole formula in one fragile expression.
Perfect squares and exact answers
When D is a perfect square, simplify √D to an integer and reduce the fraction if 2a shares factors with the numerator. Leaving an unsimplified fraction is often marked incomplete even when the decimal is right.
When D is not a perfect square, simplify radical form: factor out squares from √D when possible. Calculators that return decimals are fine for checks, not always for the final written answer.
Match the form the assignment asks for—exact or decimal—before you stop.
If two roots are opposites or negatives of each other, that pattern should match what Vieta’s formulas predict from a, b, and c. Use that as a quick sanity check.
Vieta checks after you have roots
For ax² + bx + c = 0, the sum of roots is −b/a and the product is c/a. After finding x₁ and x₂, compute sum and product and compare.
Disagreement means either an arithmetic error in the formula or a mislabelled coefficient. It is faster than re-deriving everything from scratch.
Special cases worth recognising
- c = 0 means one root is zero; factor x out before using the formula
- b = 0 means roots are symmetric about zero
- a = 1 simplifies 2a and often simplifies reduction
Recognising these cases reduces formula work and reduces opportunities for sign errors.
Complex roots without panic
When D < 0, write √D as i√|D| if complex numbers are required. Keep the same −b ± structure; only the square root part becomes imaginary.
Write answers as α ± βi with a shared real part. That form makes the conjugate pair obvious and matches most answer keys.
If the course forbids complex numbers, state “no real roots” and show D. Do not invent real roots by dropping the minus under the square root.
Graphing as a second opinion
A quick sketch or graphing view should show two x-intercepts when D > 0, one when D = 0, and none when D < 0 (for a real graph). If your roots disagree with the graph, trust the contradiction and recheck coefficients.
Vertex location x = −b/(2a) should sit halfway between distinct real roots. That midpoint check catches many asymmetric arithmetic mistakes.
Discriminant, formula, Vieta, graph—four cheap verifications.
You do not need all four every time. Use discriminant always; add Vieta when the numbers look messy; add a graph when the problem is geometric or multiple choice.
A short workflow you can reuse
Standard form → label a, b, c → compute D → interpret the sign → evaluate both branches with parentheses → simplify → Vieta check. That order prevents the most expensive mistakes from happening at the end.
Keep coefficient labels on the page until the problem is finished. Erasing a, b, and c early invites substituting the wrong number into 2a.
The quadratic formula is reliable when the inputs are. The discriminant is how you interrogate those inputs before the square root ever appears.


