# How To “Complete the Square” Visually[1]

Let’s use an area model to visualize how to complete the square of the following equation:

$y = x^2 + 2x + 12$

The area model used by Brett Berry is fairly straightforward, having multiple variations and forms that can be found online. The standard explanation begins by representing $x^2$ as a square whose sides are both $x$ units in length and make an area of $x^2$.

Next, add $2x$ to the block defined as $x^2$. This is done by taking the $2x$ block and cutting it in half, then add to both sides of your original square $x$. This acts to continue the sides of $x$ in two directions by $1x$.

In this example, the square length on each side has increased by 1, but as you can see from the diagram, this larger square is missing the corner piece. To complete the square, add a small piece to complete the visual square. The question is, what is the area of this missing piece?

Since the blue blocks adjacent to our missing piece are both 1 unit wide, deduce that the missing block has an area of 1 × 1 = 1.

Also note that, by adding together the outermost units of the square, the area of the square becomes the desired binomial squared $(x+1)^2$.

Now, all that’s left to do is literally complete the square and adjust for the extra units. To do this, first, fill in the area of the purple square, which is known to be 1. Since the original equation had a constant of 12, subtract 1 from 12 to account for the 1 added to the square.

The square is now complete! The square is $(x+1)^2$ with 11 leftover. The extra 11 can simply be added to the end of our binomial squared: $y = (x + 1)^2 + 11$.

In the problems most likely be required to solve, $y = 0$, so the original equation will not be written as $y = x^2 + 2x + 12$; rather, it will be $0 = x^2 + 2x + 12$.

Example 10.3.1

Solve for $x$ in the equation $0 = x^2 + 8x + 12$.

The first step is to complete the square. Rather than drawing out a sketch to show the process of completing the square, simply take half the middle term and rewrite $x^2 + 8x$ as $(x + 4)^2$.

When squared out $(x + 4)^2$, it is $x^2 + 8x + 16$.

Note that this is 4 larger than the original $0 = x^2 + 8x + 12$. This means that $(x + 4)^2 - 4$ is the same as $0 = x^2 + 8x + 12$.

The equation needed to be solved has now become $0 = (x + 4)^2 - 4$. First, add 4 to each side:

$\begin{array}{rrrrrrr} 0&=&(x&+&4)^2&-&4 \\ +4&=&&&&+&4 \\ \hline 4&=&(x&+&4)^2&& \\ \end{array}$

Now take the square root from both sides:

$\begin{array}{rrlll} (4)^{\frac{1}{2}}&=&[(x&+&4)^2]^{\frac{1}{2}} \\ \pm 2&=&\phantom{([}x&+&4 \end{array}$

Subtracting 4 from both sides leaves $x = -4 \pm 2$, which gives the solutions $x=-6$ and $x=-2$.

It is always wise to check answers in the original equation, which for these two yield:

$\begin{array}{rrcllrl} x&=&-6:&&&& \\ \\ 0&=&x^2&+&8x&+&12 \\ 0&=&(-6)^2&+&8(-6)&+&12 \\ 0&=&36&-&48&+&12\checkmark \\ \\ \\ x&=&-2:&&&& \\ \\ 0&=&x^2&+&8x&+&12 \\ 0&=&(-2)^2&+&8(-2)&+&12 \\ 0&=&4&-&16&+&12\checkmark \end{array}$

Sometimes, it is required to complete the square where there is some value ≠ 1 in front of the $x^2$. For example:

Example 10.3.2

Solve for $x$ in the equation $0 = 2x^2 + 12x - 7$.

The first step is to factor 2 from both terms in $2x^2 + 12x$, which then leaves $0=2(x^2+6x) - 7$.

Isolating $x^2 + 6x$ yields $x^2 + 6x = \dfrac{7}{2}$.

As before, complete the square for $x^2 + 6x$, which yields $(x + 3)^2$. When squared out $(x + 3)^2$, you get $x^2 + 6x + 9$.

Now add 9 to the other side of the equation:

$x^2+6x+9=\dfrac{7}{2}+9$

Simplifying this yields:

$(x + 3)^2 = \dfrac{25}{2}$

Now take the square root from both sides:

$[(x + 3)^2]^{\frac{1}{2}} = \left(\dfrac{25}{2}\right)^{\frac{1}{2}}$

Which leaves:

$x + 3 = \pm \left(\dfrac{25}{2}\right)^{\frac{1}{2}}$

Subtract 3 from both sides:

$x = -3 \pm \left(\dfrac{25}{2}\right)^{\frac{1}{2}}$

Rationalizing the denominator yields:

$x = -3 + \dfrac{5\sqrt{2}}{2}\text{ or }x = -3 - \dfrac{5\sqrt{2}}{2}$

When checking these answers in the original equation, both solutions are valid.

# Questions

Find the value that completes the square and then rewrite as a perfect square.

1. $x^2-30x+\underline{\phantom{00}}$
2. $a^2-24a+\underline{\phantom{00}}$
3. $m^2-36m+\underline{\phantom{00}}$
4. $x^2-34x+\underline{\phantom{00}}$
5. $x^2-15x+\underline{\phantom{00}}$
6. $r^2-19r+\underline{\phantom{00}}$
7. $y^2-y+\underline{\phantom{00}}$
8. $p^2-17p+\underline{\phantom{00}}$

Solve each equation by completing the square.

1. $x^2-16x+55=0$
2. $n^2-4n-12=0$
3. $v^2-4v-21=0$
4. $b^2+8b+7=0$
5. $x^2-8x=-6$
6. $x^2-13=4x$
7. $3k^2+24k=-1$
8. $4a^2+36a=-2$