4.2 Solve Quadratic Equations by Completing the Square
Learning Objectives
By the end of this section, you will be able to:
- Complete the square of a binomial expression
- Solve quadratic equations of the form [latex]{x}^{2}+bx+c=0[/latex] by completing the square
- Solve quadratic equations of the form [latex]{ax}^{2}+bx+c=0[/latex] by completing the square
Try It
Before you get started, take this readiness quiz:
1) Expand: [latex]{(x+9)}^{2}[/latex].
2) Factor [latex]{y}^{2}-14y+49[/latex].
3) Factor [latex]5{n}^{2}+40n+80[/latex].
So far we have solved quadratic equations by factoring and using the Square Root Property. In this section, we will solve quadratic equations by a process called completing the square, which is important for our work on conics later.
Complete the Square of a Binomial Expression
In the last section, we were able to use the Square Root Property to solve the equation [latex](y-7)^2=12[/latex] because the left side was a perfect square.
We also solved an equation in which the left side was a perfect square trinomial, but we had to rewrite it the form [latex]{(x-k)}^{2}[/latex] in order to use the Square Root Property.
What happens if the variable is not part of a perfect square? Can we use algebra to make a perfect square?
Let’s look at two examples to help us recognize the patterns.
[latex](x+9)^2[/latex] | [latex](y-7)^2[/latex] |
[latex](x+9)(x+9)[/latex] | [latex](y-7)(y-7)[/latex] |
[latex]x^2+9x+9x+81[/latex] | [latex]y^2-7y-7y+49[/latex] |
[latex]x^2+18x+81[/latex] | [latex]y^2-14y+49[/latex] |
We restate the patterns here for reference.
Binomial Squares Pattern
If [latex]a[/latex] and [latex]b[/latex] are real numbers,
[latex]\begin{array}{cccccccc}\left(a+b\right)^2=a^2+2b+b^2&\underbrace{\left(a+b\right)^2}_{\left(binomial\right)^2}&=&\underbrace{a^2}_{\left(first\;term\right)^2}&+&\underbrace{2ab}_{2\times\left(product\;of\;terms\right)}&+&\underbrace{b^2}_{\left(second\;term\right)^2}\\\left(a-b\right)^2=a^2-ab+b^2&\underbrace{\left(a-b\right)^2}_{\left(binomial\right)^2}&=&\underbrace{a^2}_{\left(first\;term\right)^2}&-&\underbrace{2ab}_{2\times\left(product\;of\;terms\right)}&+&\underbrace{b^2}_{\left(second\;term\right)^2}\end{array}[/latex]
We can use this pattern to “make” a perfect square.
We will start with the expression [latex]x^2+6x[/latex]. Since there is a plus sign between the two terms, we will use the [latex](a+b)^2[/latex] pattern, [latex]a^2+2ab+b^2=(a+b)^2[/latex].
[latex]\overset{\color{Red}{a^2\;+\;2ab\;\;+\;b^2}}{x^2+6x+\underline{\;\;\;}}[/latex]
We ultimately need to find the last term of this trinomial that will make it a perfect square trinomial. To do that we will need to find [latex]b[/latex]. But first we start with determining [latex]a[/latex]. Notice that the first term of [latex]x^2+6x[/latex] is a square, [latex]x^2[/latex]. This tells us that [latex]a=x[/latex].
[latex]\overset{\color{Red}{a^2\;+\;\;\;\;2ab\;\;\;\;\;\;+\;b^2}}{x^2+2\cdot x\cdot b+b^2}[/latex]
What number, [latex]b[/latex], when multiplied with [latex]2x[/latex] gives [latex]6x[/latex]? It would have to be [latex]3[/latex], which is [latex]\frac{1}{2}(6)[/latex]. So [latex]b=3[/latex].
[latex]\overset{\color{Red}{a^2\;+\;\;\;\;2ab\;\;\;\;\;\;+\;b^2}}{x^2+2\cdot3\cdot x+\underline{\;\;\;}}[/latex]
Now to complete the perfect square trinomial, we will find the last term by squaring [latex]b[/latex], which is [latex]3^2=9[/latex].
[latex]\overset{\color{Red}{a^2\;\;+\;2ab\;\;+\;b^2}}{x^2+6x+9}[/latex]
We can now factor.
[latex]\overset{\color{Red}{(a+b)^2}}{(x+3)^2}[/latex]
So we found that adding [latex]9[/latex] to [latex]x^2+6x[/latex] ‘completes the square’, and we write it as [latex](x+3)^2[/latex].
HOW TO
Complete a square of [latex]{x}^{2}+bx[/latex].
- Identify [latex]b[/latex], the coefficient of [latex]x[/latex].
- Find [latex]{\left(\frac{1}{2}b\right)}^{2}[/latex], the number to complete the square.
- Add the [latex]{\left(\frac{1}{2}b\right)}^{2}[/latex] to [latex]x^2+bx[/latex].
- Factor the perfect square trinomial, writing it as a binomial squared.
Example 4.2.1
Complete the square to make a perfect square trinomial. Then write the result as a binomial squared.
a. [latex]{x}^{2}-26x[/latex]
b. [latex]{y}^{2}-9y[/latex]
c. [latex]{n}^{2}+\frac{1}{2}n[/latex]
Solution
a.
Step 1: The coefficient of [latex]x[/latex] is [latex]−26[/latex].
[latex]\overset{\color{Red}{x^2\;-\;\;bx}}{\;x^2-26x}[/latex]
Step 2: Find [latex]\left(\frac12 b\right)^2[/latex].
[latex]\begin{eqnarray*}&=&\left(\frac12\times (-26)\right)^2\\&=&(13)^2\\&=&169\end{eqnarray*}[/latex]
Step 3: Add [latex]169[/latex] to the binomial to complete the square.
[latex]x^2-26x+169[/latex]
Step 4: Factor the perfect square trinomial, writing it as a binomial squared.
[latex](x-13)^2[/latex]
b.
Step 1: The coefficient of [latex]y[/latex] is [latex]-9[/latex].
[latex]\overset{\color{Red}{x^2\;\;-\;\;bx}}{\;y^2-9y}[/latex]
Step 2: Find [latex]\left(\frac12 b\right)^2[/latex].
[latex]\begin{eqnarray*}&=&\left(\frac12\times (-9)\right)^2\\&=&\left(-\frac92\right)^2\\&=&\frac{81}{4}\end{eqnarray*}[/latex]
Step 3: Add [latex]\frac{81}{4}[/latex] to the binomial to complete the square.
[latex]y^2-9y+\frac{81}{4}[/latex]
Step 4: Factor the perfect square trinomial, writing it as a binomial squared.
[latex]\left(y-\frac92\right)^2[/latex]
c.
Step 1: The coefficient of [latex]n[/latex] is [latex]\frac{1}{2}[/latex].
[latex]\overset{\color{Red}{x^2\;+\;\;bx}}{n^2+\frac12n}[/latex]
Step 2: Find [latex]\left(\frac12 b\right)^2[/latex].
[latex]\begin{eqnarray*}&=&\left(\frac12\times \frac12\right)^2\\&=&\left(\frac14\right)^2\\&=&\frac1{16}\end{eqnarray*}[/latex]
Step 3: Add [latex]\frac{1}{16}[/latex] to the binomial to complete the square.
[latex]n^2+\frac12n+\frac1{16}[/latex]
Step 4: Rewrite as a binomial square.
[latex]\left(n+\frac14\right)^2[/latex]
Try It
4) Complete the square to make a perfect square trinomial. Then write the result as a binomial squared.
a. [latex]{a}^{2}-20a[/latex]
b. [latex]{m}^{2}-5m[/latex]
c. [latex]{p}^{2}+\frac{1}{4}p[/latex]
Solution
a. [latex]{(a-10)}^{2}[/latex]
b. [latex]{\left(b-\frac{5}{2}\right)}^{2}[/latex]
c. [latex]{\left(p+\frac{1}{8}\right)}^{2}[/latex]
Try It
5) Complete the square to make a perfect square trinomial. Then write the result as a binomial squared.
a. [latex]{b}^{2}-4b[/latex]
b. [latex]{n}^{2}+13n[/latex]
c. [latex]{q}^{2}-\frac{2}{3}q[/latex]
Solution
a. [latex]{(b-2)}^{2}[/latex]
b. [latex]{\left(n+\frac{13}{2}\right)}^{2}[/latex]
c. [latex]{\left(q-\frac{1}{3}\right)}^{2}[/latex]
Solve Quadratic Equations of the Form [latex]x^2+bx+c=0[/latex] by Completing the Square
In solving equations, we must always do the same thing to both sides of the equation. This is true, of course, when we solve a quadratic equation by completing the square too. When we add a term to one side of the equation to make a perfect square trinomial, we must also add the same term to the other side of the equation.
For example, if we start with the equation [latex]x^2+6x=40[/latex], and we want to complete the square on the left, we will add [latex]9[/latex] to both sides of the equation.
[latex]\begin{align*}x^2+6x&=40\\x^2+6x+\underline{\;\;\;}&=40+\underline{\;\;\;}\end{align*}[/latex]
Add [latex]9[/latex] to both sides to complete the square.
[latex]\begin{align*}x^2+6x{\color{Red}{+9}}&=40{\color{Red}{\;+\;9}}\\(x+3)^2&=49\end{align*}[/latex]
Now the equation is in the form to solve using the Square Root Property! Completing the square is a way to transform an equation into the form we need to be able to use the Square Root Property.
Example 4.2.2
How to Solve a Quadratic Equation of the Form [latex]{x}^{2}+bx+c=0[/latex] by Completing the Square.
Solve by completing the square: [latex]{x}^{2}+8x=48[/latex].
Solution
Step 1: Isolate the variable terms on one side and the constant terms on the other.
This equation has all the variables on the left.
[latex]\overset{\color{red}{x^2\;+\;\;bx\;\;=\;\;c}}{x^2+8x=48}[/latex]
Step 2: Find [latex]\left(\frac12\cdot b\right)^2[/latex], the number to complete the square. Add it to both sides of the equation.
Take half of [latex]8[/latex] and square it. [latex]4^2=16[/latex]
Add [latex]16[/latex] to BOTH sides of the equation.
[latex]\begin{eqnarray*}x^2+8x+\underset{\color{Red}{\left(\frac12\cdot8\right)^2}}{\underline{\;\;\;\;\;\;}}&=&48\\\;\;\;\;x^2+8x{\color{Red}{\;+16}}&=&48{\color{Red}{\;+16}}\end{eqnarray*}[/latex]
Step 3: Factor the perfect square trinomial as a binomial square.
[latex]x^2+8x+16=(x+4)^2[/latex], Add the terms on the right.
[latex](x+4)^2=64[/latex]
Step 4: Use the Square Root Property.
[latex]x+4=\pm\sqrt{64}[/latex]
Step 5: Simplify the radical and then solve the two resulting equations.
[latex]\begin{eqnarray*}x+4&=&\pm8\\x+4&=&8\;\;\;\;x+4&=&-8\\x&=&4\;\;\;\;\;\;x&=&-12\end{eqnarray*}[/latex]
Step 6: Check the solutions.
Put each answer in the original equation to check.
[latex]\begin{eqnarray*}\begin{array}{rcl}{\color{red}{x}}^2+8{\color{red}{x}}&=&48\\\text{Substitute x=4. }{({\color{red}{4}})}^2+8({\color{red}{4}})&\overset{?}=&48\\16+32&\overset{?}=&48\\48&=&48\checkmark\end{array}\\\\\begin{array}{rcl}x^2+8x&=&48\\\text{Substitute x=-12.}\;{({\color{red}{-}}{\color{red}{12}})}^2+8({\color{red}{-}}{\color{red}{12}})&\overset{?}=&48\\144-96&\overset{?}=&48\\48&=&48\checkmark\end{array}\end{eqnarray*}[/latex]
Try It
6) Solve by completing the square: [latex]{x}^{2}+4x=5[/latex].
Solution
[latex]x=-5,\;x=-1[/latex]
Try It
7) Solve by completing the square: [latex]{y}^{2}-10y=-9[/latex].
Solution
[latex]y=1,\;y=9[/latex]
The steps to solve a quadratic equation by completing the square are listed here.
HOW TO
Solve a quadratic equation of the form [latex]{x}^{2}+bx+c=0[/latex] by completing the square.
-
- Isolate the variable terms on one side and the constant terms on the other.
- Find [latex]\left(\frac{1}{2}\cdot b\right)^{2}[/latex], the number needed to complete the square. Add it to both sides of the equation.
- Factor the perfect square trinomial, writing it as a binomial squared on the left and simplify by adding the terms on the right
- Use the Square Root Property.
- Simplify the radical and then solve the two resulting equations.
- Check the solutions.
When we solve an equation by completing the square, the answers will not always be integers.
Example 4.2.3
Solve by completing the square: [latex]{x}^{2}+4x=-21[/latex].
Solution
Step 1: The variable terms are on the left side.
Take half of [latex]4[/latex] and square it.
[latex]\begin{eqnarray*}\left(\frac12\left(4\right)\right)^2&=&4\\x^2+4x+\underset{\color{red}{\left(\frac12\cdot4\right)^2}}{\underline{\;\;\;\;\;\;\;}}&=&-21\end{eqnarray*}[/latex]
Step 2: Add [latex]4[/latex] to both sides.
[latex]x^2+4x{\color{Red}{\;+4}}=-21{\color{Red}{\;+4}}[/latex]
Step 3: Factor the perfect square trinomial, writing it as a binomial squared.
[latex](x+2)^2=-17[/latex]
Step 4: Use the Square Root Property.
[latex]x+2=\pm\sqrt{-17}[/latex]
Step 5: Simplify using complex numbers.
[latex]x+2=\pm\sqrt{17}i[/latex]
Step 6: Subtract [latex]2[/latex] from each side.
[latex]x=-2\pm\sqrt{17}i[/latex]
Step 7: Rewrite to show two solutions.
[latex]x=-2+\sqrt{17}i,\;x=-2-\sqrt{17}i[/latex]
Step 8: We leave the check to you.
Try It
8) Solve by completing the square: [latex]{y}^{2}-10y=-35[/latex].
Solution
[latex]y=5+\sqrt{15}i,\;y=5-\sqrt{15}i[/latex]
Try It
9) Solve by completing the square: [latex]{z}^{2}+8z=-19[/latex].
Solution
[latex]z=-4+\sqrt{3}i,\;z=-4-\sqrt{3}i[/latex]
In the previous example, our solutions were complex numbers. In the next example, the solutions will be irrational numbers.
Example 4.2.4
Solve by completing the square: [latex]{y}^{2}-18y=-6[/latex].
Solution
Step 1: The variable terms are on the left side.
Take half of [latex]-18[/latex] and square it.
[latex]\begin{eqnarray*}{\left(\frac{1}{2}(-18)\right)}^{2}&=&81\\y^2-18y+\underset{\color{Red}{\left(\frac12\cdot(-18)\right)^2}}{\underline{\;\;\;\;\;\;\;\;\;\;\;\;}}&=&-6\end{eqnarray*}[/latex]
Step 2: Add [latex]81[/latex] to both sides.
[latex]y^2-18y{\color{Red}{\;+\;81}}=-6\;{\color{Red}{+\;81}}[/latex]
Step 3: Factor the perfect square trinomial, writing it as a binomial squared.
[latex](y-9)^2=75[/latex]
Step 4: Use the Square Root Property.
[latex]y-9=\pm\sqrt{75}[/latex]
Step 5: Simplify the radical.
[latex]y-9=\pm5\sqrt3[/latex]
Step 6: Solve for [latex]y[/latex].
[latex]y=9\pm5\sqrt3[/latex]
Step 7: Check.
[latex]\begin{eqnarray*}y^2-18y&=&-6\\\left({\color{red}{9+5\sqrt3}}\right)^2-18\left({\color{red}{9+5\sqrt3}}\right)&\overset?=&-6\\81+90\sqrt3+75-162+90\sqrt3&\overset?=&-6\\-6&=&-6\;\checkmark\\\\y^2-18y&=&-6\\\left({\color{red}{9-5\sqrt3}}\right)^2-18\left({\color{red}{9-5\sqrt3}}\right)&\overset?=&-6\\81+90\sqrt3+75-162+90\sqrt3&\overset?=&-6\\-6&=&-6\;\checkmark\end{eqnarray*}[/latex]
Another way to check this would be to use a calculator. Evaluate [latex]{y}^{2}-18y[/latex] for both of the solutions. The answer should be [latex]-6[/latex].
Try It
10) Solve by completing the square: [latex]{x}^{2}-16x=-16[/latex].
Solution
[latex]x=8+4\sqrt{3},\;x=8-4\sqrt{3}[/latex]
Try It
11) Solve by completing the square: [latex]{y}^{2}+8y=11[/latex].
Solution
[latex]y=-4+3\sqrt{3},\;y=-4-3\sqrt{3}[/latex]
We will start the next example by isolating the variable terms on the left side of the equation.
Example 4.2.5
Solve by completing the square: [latex]{x}^{2}+10x+4=15[/latex].
Solution
Step 1: Isolate the variable terms on the left side.
Subtract [latex]4[/latex] to get the constant terms on the right side.
[latex]x^2+10x=11[/latex]
Step 2: Take half of [latex]10[/latex] and square it.
[latex]\begin{eqnarray*}{\left(\frac{1}{2}(10)\right)}^{2}&=&25\\x^2-10x+\underset{\color{Red}{ \left(\frac12\cdot(10)\right)^2}}{\underline{\;\;\;\;\;\;\;\;\;\;}}&=&11\end{eqnarray*}[/latex]
Step 3: Add [latex]25[/latex] to both sides.
[latex]x^2+10x{\color{Red}{\;+\;25}}=11{\color{Red}{\;+\;25}}[/latex]
Step 4: Factor the perfect square trinomial, writing it as a binomial squared.
[latex](x+5)^2=36[/latex]
Step 5: Use the Square Root Property.
[latex]x+5=\pm\sqrt{36}[/latex]
Step 6: Simplify the radical.
[latex]x+5=\pm6[/latex]
Step 7: Solve for [latex]x[/latex].
[latex]x=-5\pm6[/latex]
Step 8: Rewrite to show two solutions.
[latex]x=-5+6,\;\;x=-6-6[/latex]
Step 9: Solve the equations.
[latex]x=1,\;\;\;\;x=-11[/latex]
Step 10: Check.
[latex]\begin{eqnarray*}x^2+10x+4&=&15\\{\color{red}{{(1)}}}^2+10{\color{red}{{(1)}}}+4&\overset?=&15\\1+10+4&\overset?=&15\\15&=&15\;\checkmark\\\\x^2+10x+4&=&15\\{\color{red}{{(-11)}}}^2+10{\color{red}{{(-11)}}}+4&\overset?=&15\\121+110+4&\overset?=&15\\15&=&15\;\checkmark\end{eqnarray*}[/latex]
Try It
12) Solve by completing the square: [latex]{a}^{2}+4a+9=30[/latex].
Solution
[latex]a=-7,\;a=3[/latex]
Try It
13) Solve by completing the square: [latex]{b}^{2}+8b-4=16[/latex].
Solution
[latex]b=-10,\;b=2[/latex]
To solve the next equation, we must first collect all the variable terms on the left side of the equation. Then we proceed as we did in the previous examples.
Example 4.2.6
Solve by completing the square: [latex]{n}^{2}=3n+11[/latex].
Solution
Step 1: Subtract [latex]3n[/latex] to get the variable terms on the left side.
[latex]n^2-3n=11[/latex]
Step 2: Take half of [latex]-3[/latex] and square it.
[latex]\begin{eqnarray*}{\left(\frac{1}{2}(-3)\right)}^{2}&=&\frac{9}{4}\\n^2-3n+\underset{\color{Red}{\left(\frac12\cdot(-3)\right)^2}}{\underline{\;\;\;\;\;\;\;\;\;\;}}&=&11\end{eqnarray*}[/latex]
Step 3: Add [latex]\frac{9}{4}[/latex] to both sides.
[latex]n^2-3n{\color{Red}{\;+\;\frac94}}=11{\color{Red}{\;+\;\frac94}}[/latex]
Step 4: Factor the perfect square trinomial, writing it as a binomial squared.
[latex]\left(n-\frac32\right)^2=\frac{44}4+\frac94[/latex]
Step 5: Add the fractions on the right side.
[latex]\left(n-\frac32\right)^2=\frac{53}4[/latex]
Step 6: Use the Square Root Property.
[latex]n-\frac32=\pm\sqrt{\frac{53}4}[/latex]
Step 7: Simplify the radical.
[latex]n-\frac32=\pm\frac{\sqrt{53}}2[/latex]
Step 8: Solve for [latex]n[/latex].
[latex]n=32\pm\frac{\sqrt{53}}2[/latex]
Step 9: Rewrite to show two solutions.
[latex]n=\frac32+\frac{\sqrt{53}}2,\;\;n=\frac32-\frac{\sqrt{53}}2[/latex]
Step 10: Check.
We leave the check for you!
Try It
14) Solve by completing the square: [latex]{p}^{2}=5p+9[/latex].
Solution
[latex]p=\frac{5}{2}+\frac{\sqrt{61}}{2},\;p=\frac{5}{2}-\frac{\sqrt{61}}{2}[/latex]
Try It
15) Solve by completing the square: [latex]{q}^{2}=7q-3[/latex].
Solution
[latex]q=\frac{7}{2}+\frac{\sqrt{37}}{2},\;q=\frac{7}{2}-\frac{\sqrt{37}}{2}[/latex]
Notice that the left side of the next equation is in factored form. But the right side is not zero. So, we cannot use the Zero Product Property since it says “If [latex]a\cdot b=0[/latex], then [latex]a=0[/latex] or [latex]b=0[/latex].” Instead, we multiply the factors and then put the equation into standard form to solve by completing the square.
Example 4.2.7
Solve by completing the square: [latex](x-3)(x+5)=9[/latex].
Solution
Step 1: We multiply the binomials on the left.
[latex]x^2+2x-15=9[/latex]
Step 2: Add [latex]15[/latex] to isolate the constant terms on the right.
[latex]{x^2+2x\;\;\;\;\;\;\;\;=9}{\color{red}{+}}{}{\color{red}{15}}[/latex]
Step 3: Take half of [latex]2[/latex] and square it.
[latex]\begin{eqnarray*}{\left(\frac{1}{2}\cdot(2)\right)}^{2}&=&1\\x^2+2x+\underset{\color{Red}{\left(\frac12\cdot(2)\right)^2}}{\underline{\;\;\;\;\;\;\;\;\;\;}}&=&24\end{eqnarray*}[/latex]
Step 4: Add [latex]1[/latex] to both sides.
[latex]x^2+2x{\color{Red}{\;+\;1}}=24{\color{Red}{\;+\;1}}[/latex]
Step 5: Factor the perfect square trinomial, writing it as a binomial squared.
[latex](x+1)^2=25[/latex]
Step 6: Use the Square Root Property.
[latex]x+1=\pm\sqrt{25}[/latex]
Step 7: Solve for [latex]x[/latex].
[latex]x=-1\pm5[/latex]
Step 8: Rewrite to show two solutions.
[latex]x=-1+5,\;x=-1-5[/latex]
Step 9: Simplify.
[latex]x=4,\;\;\;\;\;\;\;\;x=-6[/latex]
Step 10: Check.
We leave the check for you!
Try It
16) Solve by completing the square: [latex](c-2)(c+8)=11[/latex].
Solution
[latex]c=-9,\;c=3[/latex]
Try It
17) Solve by completing the square: [latex](d-7)(d+3)=56[/latex].
Solution
[latex]d=11,\;d=-7[/latex]
Solve Quadratic Equations of the Form [latex]ax^2+bx+c=0[/latex] by Completing the Square
The process of completing the square works best when the coefficient of [latex]x^2[/latex] is [latex]1[/latex], so the left side of the equation is of the form [latex]x^2+bx+c[/latex]. If the [latex]x^2[/latex] term has a coefficient other than [latex]1[/latex], we take some preliminary steps to make the coefficient equal to [latex]1[/latex].
Sometimes the coefficient can be factored from all three terms of the trinomial. This will be our strategy in the next example.
Example 4.2.8
Solve by completing the square: [latex]3{x}^{2}-12x-15=0[/latex].
Solution
To complete the square, we need the coefficient of [latex]{x}^{2}[/latex] to be one. If we factor out the coefficient of [latex]{x}^{2}[/latex] as a common factor, we can continue with solving the equation by completing the square.
Step 1: Factor out the greatest common factor.
[latex]3(x^2-4x-5)=0[/latex]
Step 2: Divide both sides by [latex]3[/latex] to isolate the trinomial with coefficient [latex]1[/latex].
[latex]\frac{3(x^2-4x-5)}3=\frac03[/latex]
Step 3: Simplify.
[latex]x^2-4x-5=0[/latex]
Step 4: Add [latex]5[/latex] to get the constant terms on the right side.
[latex]x^2-4x\;\;\;\;\;\;=5[/latex]
Step 5: Take half of [latex]4[/latex] and square it.
[latex]\begin{eqnarray*}\left(\frac12(-4)\right)^2&=&4\\x^2-4x+\underset{\color{Red}{\left(\frac12\cdot(4)\right)^2}}{\underline{}}&=&5\end{eqnarray*}[/latex]
Step 6: Add [latex]4[/latex] to both sides.
[latex]x^2-4x{\color{Red}{\;+\;4}}=5{\color{Red}{\;+\;4}}[/latex]
Step 7: Factor the perfect square trinomial, writing it as a binomial squared.
[latex](x-2)^2=9[/latex]
Step 8: Use the Square Root Property.
[latex]x-2=\pm\sqrt9[/latex]
Step 9: Solve for [latex]x[/latex].
[latex]x-2=\pm3[/latex]
Step 10: Rewrite to show two solutions.
[latex]x=2+3,\;x=2-3[/latex]
Step 11: Simplify.
[latex]x=5,\;\;\;\;\;\;\;x=-1[/latex]
Step 12: Check:
[latex]\begin{align*}x&={\color{Red}{5}}\\3x^2-12x-15&=0\\3({\color{Red}{5}})^2-12({\color{Red}{5}})-15&\overset{?}{=}0\\75-60-15&\overset{?}{=}0\\0&=0\checkmark\end{align*}[/latex]
[latex]\begin{align*}x&={\color{Red}{1}}\\3x^2-12x-15&=0\\3({\color{Red}{-1}})^2-12({\color{Red}{-1}})-15&\overset{?}{=}0\\3+12-15&\overset{?}{=}0\\0&=0\checkmark\end{align*}[/latex]
Try It
18) Solve by completing the square: [latex]2{m}^{2}+16m+14=0[/latex].
Solution
[latex]m=-7,\;m=-1[/latex]
Try It
19) Solve by completing the square: [latex]4{n}^{2}-24n-56=8[/latex].
Solution
[latex]n=-2,\;n=8[/latex]
To complete the square, the coefficient of the [latex]x^2[/latex] must be [latex]1[/latex]. When the leading coefficient is not a factor of all the terms, we will divide both sides of the equation by the leading coefficient! This will give us a fraction for the second coefficient. We have already seen how to complete the square with fractions in this section.
Example 4.2.9
Solve by completing the square: [latex]2{x}^{2}-3x=20[/latex].
Solution
To complete the square we need the coefficient of [latex]{x}^{2}[/latex] to be one. We will divide both sides of the equation by the coefficient of [latex]x^2[/latex]. Then we can continue with solving the equation by completing the square.
Step 1: Divide both sides by [latex]2[/latex] to get the coefficient of [latex]{x}^{2}[/latex] to be [latex]1[/latex].
[latex]\frac{2x^2-3x}2=\frac{20}2[/latex]
Step 2: Simplify.
[latex]x^2-\frac32x=10[/latex]
Step 3: Take half of [latex]-\frac{3}{2}[/latex] and square it.
[latex]\begin{eqnarray*}{\left(\frac{1}{2}\left(-\frac{3}{2}\right)\right)}^{2}&=&\frac{9}{16}\\x^2-\frac32x+\underset{\color{Red}{\left(\frac12\cdot\left(-\frac32\right)\right)^2}}{\underline{}}&=&10\end{eqnarray*}[/latex]
Step 4: Add [latex]\frac{9}{16}[/latex] to both sides.
[latex]x^2-\frac32x{\color{Red}{\;+\;\frac9{16}}}=10{\color{Red}{\;+\;\frac9{16}}}[/latex]
Step 5: Factor the perfect square trinomial, writing it as a binomial squared.
[latex]\left(x-\frac34\right)^2=\frac{160}{16}+\frac9{16}[/latex]
Step 6: Add the fractions on the right side.
[latex]\left(x-\frac34\right)^2=\frac{169}{16}[/latex]
Step 7: Use the Square Root Property.
[latex]x-\frac34=\pm\sqrt{\frac{169}{16}}[/latex]
Step 8: Simplify the radical.
[latex]x-\frac34=\pm\frac{13}4[/latex]
Step 9: Solve for [latex]x[/latex].
[latex]x=\frac34\pm\frac{13}4[/latex]
Step 10: Rewrite to show two solutions.
[latex]x=\frac34+\frac{13}4,\;x=\frac34-\frac{13}4[/latex]
Step 11: Simplify.
[latex]x=4,\;\;\;\;\;\;\;\;\;x=-\frac52[/latex]
Step 12: Check.
We leave the check for you!
Try It
20) Solve by completing the square: [latex]3{r}^{2}-2r=21[/latex].
Solution
[latex]r=-\frac{7}{3},\;r=3[/latex]
Try It
21) Solve by completing the square: [latex]4{t}^{2}+2t=20[/latex].
Solution
[latex]t=-\frac{5}{2},\;t=2[/latex]
Now that we have seen that the coefficient of [latex]x^2[/latex] must be [latex]1[/latex] for us to complete the square, we update our procedure for solving a quadratic equation by completing the square to include equations of the form [latex]a{x}^{2}+bx+c=0[/latex].
HOW TO
Solve a quadratic equation of the form [latex]a{x}^{2}+bx+c=0[/latex] by completing the square.
-
- Divide by [latex]a[/latex] to make the coefficient of [latex]x^2[/latex] term [latex]1[/latex].
- Isolate the variable terms on one side and the constant terms on the other.
- Find [latex]{\left(\frac{1}{2}\cdot b\right)}^{2}[/latex], the number needed to complete the square. Add it to both sides of the equation.
- Factor the perfect square trinomial, writing it as a binomial squared on the left and simplify by adding the terms on the right
- Use the Square Root Property.
- Simplify the radical and then solve the two resulting equations.
- Check the solutions.
Example 4.2.10
Solve by completing the square: [latex]3{x}^{2}+2x=4[/latex].
Solution
Again, our first step will be to make the coefficient of [latex]x^2[/latex] one. By dividing both sides of the equation by the coefficient of [latex]x^2[/latex], we can then continue with solving the equation by completing the square.
Step 1: Divide both sides by [latex]3[/latex] to make the coefficient of [latex]{x}^{2}[/latex] equal [latex]1[/latex].
[latex]\frac{3x^2+2x}3=\frac43[/latex]
Step 2: Simplify.
[latex]x^2+\frac23x=\frac43[/latex]
Step 3: Take half of [latex]\frac{2}{3}[/latex] and square it.
[latex]\begin{eqnarray*}{\left(\frac{1}{2}\cdot \frac{2}{3}\right)}^{2}&=&\frac{1}{9}\\x^2+\frac23x+\underset{\color{Red}{\left(\frac12\cdot\frac23\right)^2}}{\underline{}}&=&\frac43\end{eqnarray*}[/latex]
Step 4: Add [latex]\frac{1}{9}[/latex] to both sides.
[latex]x^2+\frac23x{\color{Red}{\;+\;\frac19}}=\frac43{\color{Red}{\;+\;\frac19}}[/latex]
Step 5: Factor the perfect square trinomial, writing it as a binomial squared.
[latex]\left(x+\frac13\right)^2=\frac{12}9+\frac19[/latex]
Step 6: Use the Square Root Property.
[latex]x+\frac13=\pm\sqrt{\frac{13}9}[/latex]
Step 7: Simplify the radical.
[latex]x+\frac13=\pm\frac{\sqrt{13}}3[/latex]
Step 8: Solve for [latex]x[/latex].
[latex]x=-\frac13\pm\frac{\sqrt{13}}3[/latex]
Step 9: Rewrite to show two solutions.
[latex]x=-\frac13+\frac{\sqrt{13}}3,\;\;x=-\frac13-\frac{\sqrt{13}}3[/latex]
Step 10: Check.
We leave the check for you!
Try It
22) Solve by completing the square: [latex]4{x}^{2}+3x=2[/latex].
Solution
[latex]x=-\frac{3}{8}+\frac{\sqrt{41}}{8},\;x=-\frac{3}{8}-\frac{\sqrt{41}}{8}[/latex]
Try It
23) Solve by completing the square: [latex]3{y}^{2}-10y=-5[/latex].
Solution
[latex]y=\frac{5}{3}+\frac{\sqrt{10}}{3},\;y=\frac{5}{3}-\frac{\sqrt{10}}{3}[/latex]
Access these online resources for additional instruction and practice with completing the square.
Key Concepts
-
- Binomial Squares Pattern
If [latex]a[/latex] and [latex]b[/latex] are real numbers,
[latex]\begin{array}{cccccccc}\left(a+b\right)^2=a^2+2b+b^2&\underbrace{\left(a+b\right)^2}_{\left(binomial\right)^2}&=&\underbrace{a^2}_{\left(first\;term\right)^2}&+&\underbrace{2ab}_{2\times\left(product\;of\;terms\right)}&+&\underbrace{b^2}_{\left(second\;term\right)^2}\\\left(a-b\right)^2=a^2-ab+b^2&\underbrace{\left(a-b\right)^2}_{\left(binomial\right)^2}&=&\underbrace{a^2}_{\left(first\;term\right)^2}&-&\underbrace{2ab}_{2\times\left(product\;of\;terms\right)}&+&\underbrace{b^2}_{\left(second\;term\right)^2}\end{array}[/latex]
-
- How to Complete a Square
- Identify [latex]b[/latex], the coefficient of [latex]x[/latex].
- Find [latex]{\left(\frac{1}{2}b\right)}^{2}[/latex], the number to complete the square.
- Add the [latex]{\left(\frac{1}{2}b\right)}^{2}[/latex] to [latex]x^2+bx[/latex]
- Rewrite the trinomial as a binomial square
- How to solve a quadratic equation of the form [latex]ax^2+bx+c=0[/latex] by completing the square.
- Divide by [latex]a[/latex] to make the coefficient of [latex]x^2[/latex] term [latex]1[/latex].
- Isolate the variable terms on one side and the constant terms on the other.
- Find [latex]{\left(\frac{1}{2}\cdot b\right)}^{2}[/latex], the number needed to complete the square. Add it to both sides of the equation.
- Factor the perfect square trinomial, writing it as a binomial squared on the left and simplify by adding the terms on the right.
- Use the Square Root Property.
- Simplify the radical and then solve the two resulting equations.
- Check the solutions.
- How to Complete a Square
Self Check
a) After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
b) After reviewing this checklist, what will you do to become confident for all objectives?