10.3 Completing the Square
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 [latex]x^2[/latex] as a square whose sides are both [latex]x[/latex] units in length and make an area of [latex]x^2[/latex].
Next, add [latex]2x[/latex] to the block defined as [latex]x^2[/latex]. This is done by taking the [latex]2x[/latex] block and cutting it in half, then add to both sides of your original square [latex]x[/latex]. This acts to continue the sides of [latex]x[/latex] in two directions by [latex]1x[/latex].
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 [latex](x+1)^2[/latex].
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 [latex](x+1)^2[/latex] with 11 leftover. The extra 11 can simply be added to the end of our binomial squared: [latex]y = (x + 1)^2 + 11[/latex].
In the problems most likely be required to solve, [latex]y = 0[/latex], so the original equation will not be written as [latex]y = x^2 + 2x + 12[/latex]; rather, it will be [latex]0 = x^2 + 2x + 12[/latex].
Example 10.3.1
Solve for [latex]x[/latex] in the equation [latex]0 = x^2 + 8x + 12[/latex].
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 [latex]x^2 + 8x[/latex] as [latex](x + 4)^2[/latex].
When squared out [latex](x + 4)^2[/latex], it is [latex]x^2 + 8x + 16[/latex].
Note that this is 4 larger than the original [latex]0 = x^2 + 8x + 12[/latex]. This means that [latex](x + 4)^2 - 4[/latex] is the same as [latex]0 = x^2 + 8x + 12[/latex].
The equation needed to be solved has now become [latex]0 = (x + 4)^2 - 4[/latex]. 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 [latex]x = -4 \pm 2[/latex], which gives the solutions [latex]x=-6[/latex] and [latex]x=-2[/latex].
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 [latex]x^2[/latex]. For example:
Example 10.3.2
Solve for [latex]x[/latex] in the equation [latex]0 = 2x^2 + 12x - 7[/latex].
The first step is to factor 2 from both terms in [latex]2x^2 + 12x[/latex], which then leaves [latex]0=2(x^2+6x) - 7[/latex].
Isolating [latex]x^2 + 6x[/latex] yields [latex]x^2 + 6x = \dfrac{7}{2}[/latex].
As before, complete the square for [latex]x^2 + 6x[/latex], which yields [latex](x + 3)^2[/latex]. When squared out [latex](x + 3)^2[/latex], you get [latex]x^2 + 6x + 9[/latex].
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.
- [latex]x^2-30x+\underline{\phantom{00}}[/latex]
- [latex]a^2-24a+\underline{\phantom{00}}[/latex]
- [latex]m^2-36m+\underline{\phantom{00}}[/latex]
- [latex]x^2-34x+\underline{\phantom{00}}[/latex]
- [latex]x^2-15x+\underline{\phantom{00}}[/latex]
- [latex]r^2-19r+\underline{\phantom{00}}[/latex]
- [latex]y^2-y+\underline{\phantom{00}}[/latex]
- [latex]p^2-17p+\underline{\phantom{00}}[/latex]
Solve each equation by completing the square.
- [latex]x^2-16x+55=0[/latex]
- [latex]n^2-4n-12=0[/latex]
- [latex]v^2-4v-21=0[/latex]
- [latex]b^2+8b+7=0[/latex]
- [latex]x^2-8x=-6[/latex]
- [latex]x^2-13=4x[/latex]
- [latex]3k^2+24k=-1[/latex]
- [latex]4a^2+36a=-2[/latex]
- Adapted from Brett Berry ↵