- Root 1
- 3
- Root 2
- 2
- Discriminant
- 1
How it works

Move every term before copying coefficients
For x² = 5x − 6, rewrite the equation as x² − 5x + 6 = 0, then enter 1, −5 and 6. Copying the right-hand signs directly would solve a different equation.
Check both roots in the original equation

| Candidate root | Calculation | Residual |
|---|---|---|
| A 2 | 2^2 − 5 × 2 + 6 | 0 |
| B 3 | 3^2 − 5 × 3 + 6 | 0 |
Reading the roots of a quadratic equation
Write the equation in the standard quadratic form before entering its coefficients, including any negative signs and a zero coefficient for a missing linear term. The roots are the input values where the expression equals zero. The discriminant helps explain whether the roots are distinct, repeated, or non-real under the supported output. A zero leading coefficient describes a different type of equation.
Put the equation into ax² + bx + c = 0 first
Enter the coefficients with their signs after moving every term to the same side. For 2x² + 3x = 2, enter a=2, b=3 and c=−2. A missing linear or constant term is entered as zero.
The quadratic formula is x = [−b ± √(b² − 4ac)] ÷ (2a). Its discriminant, b² − 4ac, determines whether there are two distinct real roots, one repeated real root or a complex-conjugate pair.
Verify both roots by substitution
For 2x² + 3x − 2 = 0, the discriminant is 9 + 16 = 25. The formula gives (−3 ± 5)/4, so the roots are 0.5 and −2. Substituting either value back makes the polynomial zero.
| Candidate x | Substitution | Polynomial value |
|---|---|---|
| 0.5 | 2(0.5²) + 3(0.5) − 2 | 0 |
| −2 | 2(−2)² + 3(−2) − 2 | 0 |
| 0 | 2(0²) + 3(0) − 2 | −2; not a root |
Use the discriminant to interpret the number of solutions
A positive discriminant gives two distinct real roots. A zero discriminant gives the same real root twice, as in x² − 6x + 9 = 0 with x=3. A negative discriminant gives no real roots, but this calculator shows complex roots; x² + 4 = 0 gives ±2i.
Root 1 and Root 2 are output labels, not a promise that the first root is numerically smaller. Compare their values or substitute them instead of relying on display order.
Handle zero leading coefficients and rounded input
When a=0, the equation is linear rather than quadratic. With b nonzero, its solution is −c/b. If a and b are both zero, c=0 makes every real number a solution, while nonzero c gives no solution.
Very small changes in coefficients can alter roots near a repeated-root boundary. Treat a result based on rounded measurements as an approximation, and verify the original equation rather than assuming every printed digit is meaningful.
Quadratic roots: formula and assumptions
x = (−b ± √(b² − 4ac)) / (2a).
The discriminant identifies two real roots, a repeated root, or two complex roots. If a is zero, the equation is linear.
Worked example
Using the Quadratic roots example:
- Coefficient a (x²)
- 1
- Coefficient b (x)
- -5
- Constant c
- 6
x = (−b ± √(b² − 4ac)) / (2a).
Example result
Root 1: 3
Root 2: 2
Discriminant: 1
These are illustrative inputs. Change the values to explore a different scenario.
Formula references
References explain the underlying methods; they do not imply endorsement or individual professional review of Finflo.
Common questions
What does the discriminant tell me?
A positive discriminant gives two real roots, zero gives a repeated real root, and a negative value gives complex roots.
What happens if the coefficient of x squared is zero?
The equation is no longer quadratic. The calculator treats the remaining expression as a linear or degenerate equation.
What should I enter when the equation has no x term?
Enter b=0. Keep the coefficients of x² and the constant term, including their signs.
What does a negative discriminant mean?
There are no real roots, but there is a pair of complex-conjugate roots. This calculator displays that pair using i.
Does the order of Root 1 and Root 2 matter?
No. Both solve the equation; their order is an output convention, not an ascending numerical sort.
See our methodology and editorial policy.
