SOLVETUTORMATH SOLVER

Instrument MI-01-463 · Mathematics

Quadratic Formula Calculator

Three coefficients, two roots, one formula — enter a, b, and c from ax² + bx + c = 0 and read both solutions at once, larger root first.

Instrument MI-01-463
Sheet 1 OF 1
Rev A
Verified
Type 05 — Algebra SER. 2026-01463

x₁ (larger root)

3.00000000

x₁ = (−b + √(b²−4ac)) ⁄ 2a

2.00000000 x₂ (smaller root)
The working Every figure verified twice
  1. x1 = (−-5 + √(-5^2 − 4·1·6)) ⁄ (2·1) = 3.00000000
  2. x2 = (−-5 − √(-5^2 − 4·1·6)) ⁄ (2·1) = 2.00000000
Worksheet log
  1. No entries yet — change an input to log a scenario.

How this instrument works

The quadratic formula solves ax² + bx + c = 0 for x using only its three coefficients, with no factoring, no guessing at integer pairs, and no dependence on whether the equation happens to factor neatly. A textbook case like x² − 5x + 6 factors by inspection into (x − 2)(x − 3), but a coefficient set such as a = 1, b = 3, c = 1 factors into nothing tidy at all — and the same formula, x = (−b ± √(b² − 4ac)) ⁄ 2a, produces both roots regardless. That universality, not any particular equation, is the entire point of carrying the formula rather than reaching for trial factoring first.

The shape of the formula comes straight out of completing the square: dividing ax² + bx + c = 0 by a and folding the x-term into (x + b ⁄ 2a)² isolates a single squared term, and taking a square root of both sides splits the result into two mirror-image values. That mirror symmetry is why the two roots always average to exactly −b ⁄ 2a, the x-coordinate of the parabola's vertex, while the √(b² − 4ac) ⁄ 2a term measures how far each root sits from that midpoint, in opposite directions.

A consequence worth knowing on its own: the two roots always satisfy x₁ + x₂ = −b ⁄ a and x₁ · x₂ = c ⁄ a, a pair of identities called Vieta's formulas that let you check an answer by plain addition and multiplication instead of resolving the square root a second time. The one input the formula cannot survive is a = 0 — divide by 2a and the expression collapses, because without an x² term the equation is linear, not quadratic, and has only one root to begin with.

x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2-4ac}}{2a}x1=b+b24ac2ax_1 = \frac{-b+\sqrt{b^2-4ac}}{2a}x2=bb24ac2ax_2 = \frac{-b-\sqrt{b^2-4ac}}{2a}x1+x2=ba,x1x2=cax_1+x_2=-\frac{b}{a}, \quad x_1 x_2=\frac{c}{a}
a — coefficient of x²; b — coefficient of x; c — the constant term, all from ax² + bx + c = 0; x₁ — the larger root; x₂ — the smaller root; ± generates both from one expression.
  • Enter the coefficient of x² into the a, in ax² + bx + c = 0 field — for a plain x² term, leave it at 1.
  • Enter the coefficient of x into the b, in ax² + bx + c = 0 field, keeping whatever sign it carries.
  • Enter the constant term into the c, in ax² + bx + c = 0 field.
  • Read x₁ (larger root) and x₂ (smaller root) — the sheet always returns the bigger value first.
  • If b² − 4ac works out negative, expect the two fields to reflect a complex pair rather than two real numbers.

Worked example — solving x² − 5x + 6 = 0 in full

Take a = 1, b = −5, c = 6, the equation x² − 5x + 6 = 0. The term under the root works out to b² − 4ac = 25 − 24 = 1, so √1 = 1 exactly, and the two roots are x₁ = (5 + 1) ⁄ 2 = 3 and x₂ = (5 − 1) ⁄ 2 = 2. The calculator returns x₁ = 3.0 and x₂ = 2.0, matching what factoring x² − 5x + 6 into (x − 3)(x − 2) would have shown, but arrived at without ever guessing a pair of integers that multiply to 6 and add to 5.

Vieta's identities confirm the pair independently of the square root step: x₁ + x₂ should equal −b ⁄ a = 5, and indeed 3 + 2 = 5; x₁ · x₂ should equal c ⁄ a = 6, and indeed 3 × 2 = 6. Both checks pass, which is exactly the kind of cross-check worth running on any quadratic, including ones whose factors are not obvious integers, where this second calculation is the only independent check available.

Questions

How is the quadratic formula derived?

It comes from completing the square on ax² + bx + c = 0: divide by a, fold the x-term into (x + b ⁄ 2a)², then isolate that square and take a root of both sides. The ± appears because a square root has two values, and simplifying the result back down produces x = (−b ± √(b² − 4ac)) ⁄ 2a directly.

Why does the formula produce two answers from one expression?

Because ± stands for both a plus and a minus sign applied to the same square root, and a parabola generally crosses a horizontal line at two points, not one. The two roots sit symmetric around x = −b ⁄ 2a, the vertex's x-coordinate, at a distance of √(b² − 4ac) ⁄ 2a on either side.

What happens if b² − 4ac is negative?

The square root has no real value, so x₁ and x₂ come out as a complex-conjugate pair instead of two real numbers — the same two formulas still apply, just with an imaginary component attached. Both roots share the real part −b ⁄ 2a and differ only in the sign of their imaginary part.

What is the most common mistake when applying this formula by hand?

Dividing only the square root term by 2a instead of the entire numerator, −b ± √(b² − 4ac). Every term above the fraction line, including −b, has to be divided by 2a — dropping that on just half the expression is the single most frequent slip, and it silently shifts both roots by the same wrong amount.

Is there a fast way to check two roots without recomputing the square root?

Yes — Vieta's formulas: x₁ + x₂ should equal −b ⁄ a, and x₁ · x₂ should equal c ⁄ a. For x² − 5x + 6, that means 3 + 2 = 5 and 3 × 2 = 6, both matching instantly, without touching the discriminant a second time.

Can this formula solve an equation that does not factor into nice integers?

Yes — that is precisely where it earns its keep. Factoring by inspection only works when integer pairs happen to exist; the quadratic formula returns exact roots, rational, irrational, or complex, for every value of a, b, and c with a not equal to zero, whether or not those roots are pleasant numbers.

References