Independent practice tool · free · runs in your browser

Quadratic Equation Solver

Enter the three coefficients of a·x² + b·x + c = 0. The solver reports the discriminant, every root (real or complex), the vertex, a factorization when the roots are integers and a substitution check for each real root. It also handles the special cases a textbook formula skips: a = 0 (a linear equation), 0 = 0 and equations with no solution.

Solve a·x² + b·x + c = 0

Decimals, negatives and E notation are accepted (for example -2.5 or 3E-4). Fractions such as 1/2 must be typed as decimals.

Try:

How to use it

  1. Enter a, b and c. Use the negative sign for negative coefficients, for example −5.
  2. Press Solve. The equation is restated so you can confirm it was read correctly.
  3. Read the discriminant first: positive means two real roots, zero means one repeated root, negative means complex roots.
  4. Use the graph to see where the parabola meets the x-axis.

Worked example

Coefficients 1, −5 and 6 give discriminant 1, roots 2 and 3, and the factorization (x − 2)(x − 3).
Every value in this figure was produced by the same code that runs the tool above and is checked by automated tests.

How it calculates

Real roots use the cancellation-safe form q = −½(b + sign(b)√D), x₁ = q/a, x₂ = c/q, which stays accurate when b² is much larger than 4ac. A discriminant within 10⁻¹² of zero (relative to b² and 4ac) is treated as a repeated root, and the result says so. Complex roots are reported as a conjugate pair. Each real root is substituted back and the residual a·x² + b·x + c is shown.

Limits

  • Coefficients must be finite decimals between −10¹⁵⁰ and 10¹⁵⁰; fractions must be typed as decimals.
  • Results are floating-point approximations (about 15 significant digits internally).
  • Factorization is shown only when all coefficients and both roots are integers.
  • This is an independent tool, not the TI PlySmlt2 app.

Doing this on a TI-84

On a TI-84 you can graph and use CALC zero, run the numeric Solver, or use a polynomial app if it is installed. This page does not imitate those menus; the guides below give the verified key sequences.

Questions

What does a negative discriminant mean?

There are no real roots: the parabola does not cross the x-axis. The two roots are complex conjugates, such as −1 ± 2i for x² + 2x + 5 = 0.

What happens if a = 0?

The equation is linear (b·x + c = 0) and the solver returns x = −c/b, or explains that there are no solutions or infinitely many.

Why check by substitution?

Substituting a root back into the equation should give 0 (or a tiny rounding residual). It catches typing mistakes in the coefficients.

TI84 Calculator Guide is independently operated and is not affiliated with, sponsored by or endorsed by Texas Instruments. TI-84 Plus, TI-84 Plus CE and related names are used only to describe the calculators our guides cover.

TI-84 lessons for the same task

The parabola y = x² − 5x + 6 crossing the x-axis at 2 and 3, with the coefficients 1, −5, 6 and the factorization (x − 2)(x − 3).
Algebra

Solve Quadratic Equations with a TI-84

Solve x² − 5x + 6 = 0 by graphing, by the Solver and by the quadratic formula on the home screen, then check with the factorization (x − 2)(x − 3).

3 min readTI-84 Plus (TI guidebook)
The parabola y = x² − 4 with left and right bound markers around the root at −2 and the result Zero X = −2, Y = 0.
Graphing

Find Zeros and X-Intercepts on a TI-84

Bracket each root with Left Bound and Right Bound, then Guess. Find the zeros of x² − 4, and learn why a touching root like (x − 1)² needs a different method.

3 min readTI-84 Plus (TI guidebook)
Two screens: REAL mode shows ERR:NONREAL ANS for √(−4), while a+bi mode shows 2i, beside the product (1 + 2i)(1 − 2i) = 5.
Algebra

Complex Numbers on a TI-84: Real and a+bi Modes

Why √(−4) gives ERR:NONREAL ANS in REAL mode but 2i in a+bi mode, how to type i, and how the CMPLX menu finds conjugates, real and imaginary parts and modulus.

2 min readTI-84 Plus (TI guidebook)