Completing the square of a quadratic function is useful for solving the equation , for plotting the graph of the function, or for finding the center of the circle (or other conic section) that is the graph of .

Here is how completing the square works in words:

(1) Factor out from the first two terms, .

(2) Add the constant term in order to be able to factor as a square. Subtract from to keep equality.