The quadratic formula is used to find roots of second-degree ("quadratic") polynomials, i.e. expressions of the form a * x^2 + b * x + c .

For the above polynomials, the roots are: x = (-b +/- sqrt(b^2 - 4ac)) / (2a)