Algorithm8.4.11Solving Quadratic Equations
First, check whether there is a linear term, or whether there is only a squared expression and a constant. If there is only a squared expression and a constant, isolate the squared quantity and use the square root method.

If there is a linear term, put the equation in standard form with all of the terms on one side and zero on the other side.
If the polynomial factors, solve the equation by factoring.
If the polynomial does not factor, use the quadratic formula.