Discriminant, both roots, vertex and factored form in one pass.
📐 The discriminant b² − 4ac decides everything: positive → two real roots, zero → one double root, negative → a complex conjugate pair. The vertex always sits at x = −b/2a, halfway between the roots when they exist (Vieta: x₁ + x₂ = −b/a, x₁·x₂ = c/a).
The Quadratic Equation Solver is based on the following formula:
Δ = b² − 4ac x = (−b ± √Δ) / (2a) Vertex: h = −b/(2a), k = c − b²/(4a) Factored form: a(x − x₁)(x − x₂)
Variables: a, b, c = Coefficients of ax² + bx + c = 0 Δ = Discriminant x₁, x₂ = The two roots (real, or p ± qi as a complex pair) h, k = Vertex coordinates of the parabola y = ax² + bx + c
The discriminant decides the root type before any square root is taken: Δ > 0 gives two real roots, Δ = 0 one double root, Δ < 0 a complex conjugate pair. The vertex always sits at x = −b/(2a), exactly halfway between the roots (Vieta: x₁ + x₂ = −b/a, x₁·x₂ = c/a).
Worked example: Step 1: solve x² − 3x + 2 = 0, so a = 1, b = −3, c = 2. Step 2: Δ = (−3)² − 4·1·2 = 9 − 8 = 1 > 0 → two real roots. Step 3: x = (3 ± √1)/2 = (3 ± 1)/2 → x₁ = 2, x₂ = 1. Step 4: vertex h = 3/2 = 1.5, k = 2 − 9/4 = −0.25; axis x = 1.5. Step 5: factored form a(x − x₁)(x − x₂) = (x − 2)(x − 1). Result: roots 2 and 1, vertex (1.5, −0.25), which matches the calculator output.
For ax² + bx + c = 0, calculate b² − 4ac first. Positive means two distinct real roots, zero means a double root where the parabola just kisses the x-axis, and negative means the roots only exist as a complex conjugate pair. Checking this one value first saves you from taking the square root of a negative number on an exam.
The quadratic formula x = (−b ± √Δ)/2a and the vertex x = −b/2a are the same machinery: the vertex sits exactly halfway between the two roots. Vieta's shortcuts — x₁ + x₂ = −b/a and x₁·x₂ = c/a — let you verify an answer in seconds; if the product of your roots is not c/a, you factored wrong.
A negative discriminant does not mean "no solution" — it means no real intersection with the x-axis. The two roots become p ± qi, where p = −b/2a is the vertex x-coordinate. That is why the calculator switches to completed-square form a(x − h)² + k: it stays true over the real numbers and still tells you how far above or below zero the whole parabola sits.
If the roots are nice integers, the factored form a(x − x₁)(x − x₂) falls straight out of the formula results. Teachers usually want the factored form when roots are rational and the formula otherwise — this tool gives you both, plus the parabola plotted around the vertex so you can see the geometry you just computed.
More tools you might find useful
Solve proportions and find missing ratio values.
Find rectangle area, perimeter, and diagonal.
Two-way Roman numeral conversion with a quick reference chart.
Required survey n for any confidence level and margin of error.