Quadratic Formula Examples: Roots and Discriminant
The formula works only after the equation becomes a standard sentence and each signed coefficient is read without losing its place.
Three coefficients, two branches
Standard form, the discriminant, both formula branches, and substitution create one connected proof rather than a button sequence.
x = (−b ± √(b² − 4ac)) / (2a), a ≠ 0Set the equation equal to zero, preserve signed coefficients, and divide the entire plus-or-minus numerator by 2a.
The discriminant previews the answer before the roots appear.
Test the numbers while keeping the written reasoning beside them.Open the quadratic equation solver
A Quadratic Must First Become a Standard Sentence
Before using the formula, where exactly are a, b, and c hiding?
Write a quadratic as ax² + bx + c = 0 with a ≠ 0 before reading coefficients.
The minus sign belongs to b after every term is placed on one side.
In 2x² − 3x − 2 = 0, the signed values are a = 2, b = −3, c = −2.
The formula divides the whole numerator −b ± √(b² − 4ac) by 2a. Parentheses around negative coefficients prevent a sign from disappearing.
The opening comparison diagram distinguishes the original equation from standard form and its signed coefficient list.
If a = 0, the equation is linear. Feeding a zero leading coefficient into a quadratic formula would divide by zero.
For 2x² - 3x - 2 = 0, a = 2, b = -3 and c = -2. D = (-3)² - 4 × 2 × (-2) = 25.
Thus x = (3 ± 5)/4, giving x = 2 or x = -0.5. Substitution gives zero for either root.
The Discriminant Predicts the Kind of Answer
Why can one calculation predict two, one, or no real roots?
The discriminant D = b² − 4ac predicts real-root count. For 2x² − 3x − 2, D = 9 + 16 = 25, so two distinct real roots are possible.
Compute D before the square root so the expected answer pattern is known.
For x² − 6x + 9, D = 0 and the branches coincide at x = 3. For x² + 1, D = −4 and there is no real root.
The three-case diagram maps positive, zero, and negative discriminants to those distinct outcomes.
A negative D does not mean the equation is malformed. Complex-number methods give ±i for x² + 1 = 0; a real-only solver may report no real solution.
For x² - 6x + 9 = 0, D = 36 - 36 = 0. Both formula branches give 6/2 = 3. This agrees with (x - 3)² = 0.
One Numerator Opens into Two Branches
Where must parentheses go so both branches share the whole denominator 2a?
With a = 2, b = −3, c = −2, the formula gives x = (3 ± 5)/4. The plus branch is 2 and the minus branch is −1/2.
- 01 · Standardize2x² − 3x − 2 = 0Place zero on one side.
- 02 · DiscriminantD = 9 + 16 = 25Expect two real roots.
- 03 · Branchesx = (3 ± 5) / 4Divide the whole numerator.
- 04 · Resultsx = 2 or x = −1/2Keep both answers.
- 05 · Check2x² − 3x − 2 = 0Substitute each root.
Each stage supplies evidence for the next instead of hiding all work in one line.
The denominator 4 belongs to both complete numerators. Calculating 3 + 5/4 would silently discard the formula grouping.
The branch flow follows the same discriminant through two numerator choices and one shared denominator.
The linked solver uses coefficient fields. Enter −3 for b rather than entering a prose version of the whole equation.
For x² + 4x + 8 = 0, D = 4² − 4 × 1 × 8 = −16. There are no real roots; over the complex numbers, the roots are −2 ± 2i.
A Root Must Make the Polynomial Vanish
What evidence shows that a polished decimal is actually a root?
Substitute each candidate into the original polynomial. At x = 2, 2(4) − 3(2) − 2 = 0; at x = −1/2, 2(1/4) + 3/2 − 2 = 0.
A repeated root needs one distinct value even though both formula branches return it. For x² − 6x + 9, (x − 3)² confirms the repetition.
A discriminant check predicts root type but does not replace substitution, especially when a sign was copied incorrectly.
If coefficients were rounded measurements, the computed root inherits that uncertainty. Avoid presenting extra decimal digits as measured accuracy.
For 3x² + 5x − 2 = 0, D = 49 and x = (−5 ± 7)/6, giving 1/3 and −2. Substituting either value makes the polynomial equal zero.
Make the Formula an Evidence Chain
Move all terms to zero, record signed coefficients, and calculate the discriminant before taking either formula branch.
Substitute every real candidate into the original polynomial. A zero discriminant repeats one root, while a negative discriminant has no real roots.
References
The numerical cases are CalcSolver explanations. Read our calculation and correction method, or report an error with the input and expected result.