Example

Complete the square:

Solution

In this example, , , and . It follows that

Therefore, the completed square is

For practice, you should expand the right-hand side just to check your work.