How to solve a quadratic equation
Arrange the equation as ax² + bx + c = 0, with a nonzero coefficient for x². Use zero for a missing x term or constant. Enter the three coefficients and select Solve equation.
The discriminant D = b² − 4ac determines the type of roots. A positive value gives two real roots, zero gives one repeated root, and a negative value gives two complex roots.