Completing the square is a technique to convert a quadratic function from the form of into .

Completing the square is useful to solve quadratic equations. It can also be used to derive quadratic formula.