Smart Unit ConvertersSmart Unit Converters

Quadratic Equation Solver

Solve ax² + bx + c = 0 with detailed root analysis.

Solves ax² + bx + c = 0

a

b

c

?What is the Quadratic Equation Solver?

A quadratic equation solver finds the roots of any equation in the form ax² + bx + c = 0 using the quadratic formula. It automatically identifies whether the roots are two distinct real numbers, a single repeated real root, or a complex conjugate pair — based on the sign of the discriminant. Quadratic equations appear all over mathematics, physics, engineering, and finance: projectile motion, parabolic curves, break-even analysis, optimization problems, and many real-world models reduce to quadratic form once the unknowns are set up.

The Formula

x = [−b ± √(b² − 4ac)] ÷ (2a). Discriminant D = b² − 4ac.

The quadratic formula is derived by 'completing the square' on ax² + bx + c = 0 — a standard algebraic manipulation that isolates x. The discriminant D = b² − 4ac determines the root type before you even evaluate the square root: D > 0 gives two distinct real roots, D = 0 gives one repeated real root (a double root where the parabola just touches the x-axis), and D < 0 gives two complex conjugate roots (the parabola never crosses the x-axis in the real plane).

Practical Examples

1

x² − 5x + 6 = 0 gives x = 2 and x = 3 (D = 1 > 0, two real roots) — factorable as (x − 2)(x − 3) = 0.

2

x² − 4x + 4 = 0 gives x = 2 (D = 0, one double root) — the parabola just touches y = 0 and rises.

3

x² + 2x + 5 = 0 gives x = −1 ± 2i (D = −16 < 0, complex roots) — no real solutions, but complex roots come in conjugate pairs.

4

Physics projectile motion: the time for a projectile to return to launch height is found by solving a quadratic in t derived from y = v₀t − ½gt².

5

Business: break-even analysis where revenue and cost are quadratic in production volume often ends up requiring the quadratic formula.

6

Architecture: parabolic arches and suspension-bridge cable shapes are quadratic — setting cable sag at specific horizontal distances involves solving quadratics.

Frequently Asked Questions

Then the equation is linear (bx + c = 0), not quadratic. The calculator rejects a = 0 to prevent division by zero in the formula. For a linear equation, solve directly: x = −c / b.