The goal of this web page is to explain how to complete the square, how the formula works and provide lots of practice problems.

On a different page, we have a completing the square calculator which does all the work for this topic. You just enter the quadratic.

#### What does "completing the square" do for us?

It gives us a way to find the last term of a perfect square trinomial

#### Okay, what is a "perfect square trinomial"??

A perfect square trinomial is a polynomial that you get by squaring a binomial.(binomials are things like 'x + 3' or 'x − 5')

**Examples of perfect square trinomials**

- $$ x^2 + 2x + 1$$ This is a perfect square trinomial because it equals $$(x+ 1)^2$$
- $$x^2 + 4x + 4$$ This is a perfect square trinomial because it equals $$(x+ 2)^2$$
- $$x ^2 + 6x + 9 $$ This is a perfect square trinomial because it equals $$(x+ 3)^2$$

**Non Examples**

These are NOT perfect square trinomials

- $$x ^2 + 3x + 2 $$ This is not a perfect square trinomial because it equals $$ (x+ 1)(x + 2) $$
- $$x ^2 + 7x + 10 $$ This is not a perfect square trinomial because it equals $$ (x+ 2)(x + 5) $$
- $$ x ^2 - 9$$ This is not a perfect square trinomial because it equals $$ (x \red{+} 3) (x \red{-} 3 ) $$

#### So, what does it __really__ do for us?

Before we look answer that, let's first examine the three equations below. How would you solve each one?

Equation 1

$$ x^2 = 25 $$

$$\sqrt{x^2} = \sqrt{25} \\ x = \pm 5 $$

$$ (x + 1 ) ^2 = 36 $$

$$\sqrt{(x + 1)^2} = \sqrt{36} \\ x + 1= \pm 6 \\ x = 5 \text{ or }-7 $$

$$ x^2 +10x = 24 $$

The rest of this web page will try to show you how to complete the square.

Now, you might be saying to yourself that $$ x^2 + 10x = 24 $$ could easily be solved without any fancy new methods (You could easily factor it, for instance.)

And, this of course is true. However, it turns out there are times when completing the square comes in very handy and will help you do a variety of things including convert the equations of circles, hyperbolas, ellipses into forms that make it much easier to work with these shapes.

If you haven't heard of these conic sections yet,don't worry about it. But, trust us, completing the square can come in very handy and can make your life much easier when you have to deal with certain types of equations.

**Formula** for Completing the Square

To best understand the formula and logic behind completing the square, look at each example below and you should see the pattern that occurs whenever you square a binomial to produce a perfect square trinomial.

**Practice** Problems

**Directions** Find the missing value to complete the square

Divide the middle term by 2

$$ \\ \frac{ \red{16} }{ \color{green}{2} }= \blue{8} $$

Then square the result

$$ \blue{8}^2 = 64 $$

**Final Answer!**: $$ x^2 + \red{16}x + 64 $$

You can always check your work by seeing by foiling the answer to step 2 and seeing if you get the correct result

$$ (x+ \blue{8}) = x^2 + \red{16}x + 64 $$