The formula is ancient
Babylonian tablets (circa 2000 BCE) already had quadratic recipes—long before symbolic algebra or the letter “x.”
Tips: Ctrl/Cmd + K focuses a. Ctrl/Cmd + Enter solves again.
A quadratic equation is any equation that can be written in the form
ax² + bx + c = 0 where a, b, and c are real numbers and
a ≠ 0. Quadratics appear everywhere: projectile motion, optimization
problems, area/geometry questions, and many modeling tasks in science and engineering.
Every quadratic can be solved using the quadratic formula:
x = [-b ± √(b2 - 4ac)] / (2a)
The expression under the square root, b² − 4ac, is called the
discriminant (Δ). It determines the nature of the roots:
a, b, and c for ax² + bx + c = 0.Everything runs client-side in your browser, so your inputs never leave your device.
Suppose a = 1, b = −3, c = 2. Then
Δ = (−3)² − 4·1·2 = 9 − 8 = 1. Since Δ > 0, there are two real roots:
x1 = [−(−3) + √1] / (2·1) = (3 + 1) / 2 = 2
x2 = [−(−3) − √1] / (2·1) = (3 − 1) / 2 = 1
a must not be zero; if a = 0, the equation is linear.± sign and only computing one root.(−b)² = b², not −b²).2a).Babylonian tablets (circa 2000 BCE) already had quadratic recipes—long before symbolic algebra or the letter “x.”
The parabola’s peak/trough sits at x = −b/(2a). One quick division reveals symmetry and the axis of the curve.
For roots r₁, r₂: r₁ + r₂ = −b/a and r₁·r₂ = c/a. Vieta’s formulas let you sanity-check without re-solving.
The quadratic formula is derived by completing the square—same move that converts ax²+bx+c to vertex form.
When Δ < 0, roots arrive as conjugate pairs \(p \pm qi\). Their real parts still add to −b/a and multiply to c/a.
x = [-b ± √(b² − 4ac)] / (2a). It solves ax² + bx + c = 0 for x when a ≠ 0.
Δ = b² − 4ac. If Δ > 0: two real roots; Δ = 0: one repeated real root; Δ < 0: two complex roots.
Yes. When Δ < 0, roots are shown in a ± bi form (real and imaginary parts).
Yes. All calculations are done locally in your browser; no data is uploaded.