Quadratic Solver
Roots of ax² + bx + c = 0.
Roots of ax² + bx + c = 0.
Choose percentages, GCF and LCM, quadratic equations or the Pythagorean theorem.
Percent of, percent change and more.
Open calculatorGreatest common factor, least common multiple.
Open calculatorRoots of ax² + bx + c = 0.
Hypotenuse from two sides.
Open calculatorThe quadratic equation ax² + bx + c = 0 shows up everywhere a curve meets a line — projectile motion, profit maximization, geometry. This solver returns both roots instantly, including complex roots when the parabola never touches the x-axis.
Enter the coefficients a, b, and c. The calculator computes the discriminant b² − 4ac: if it's positive there are two real roots, zero gives one repeated root, and negative yields a complex conjugate pair, which the solver writes out in full.
a, b, c are the coefficients of x², x, and the constant term; a must be nonzero (otherwise the equation is linear). The discriminant D = b² − 4ac decides the nature of the roots.
x² − 3x + 2 = 0: D = 9 − 8 = 1, so x = (3 ± 1) ÷ 2, giving roots 2 and 1. Check: (x − 2)(x − 1) = x² − 3x + 2. ✓
The parabola never crosses the x-axis, so there are no real solutions — instead you get two complex roots of the form p ± qi. They're perfectly valid answers in engineering and physics contexts.
Factor when the roots are obvious integers; use the formula for everything else. The formula always works — factoring is just faster when it happens to be easy.
By Vieta's formulas, the roots sum to −b/a and multiply to c/a. It's a fast sanity check: for x² − 3x + 2, the roots 2 and 1 indeed sum to 3 and multiply to 2.
These sources are used to verify terminology, formulas, and information related to this calculator.