2.2.3: Solving Quadratic Equations by Completing the Square
 Page ID
 94019
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{\!\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\ #1 \}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\ #1 \}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{\!\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{\!\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left#1\right}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)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 \(x^{2}+bx+c=0\) by completing the square
 Solve quadratic equations of the form \(ax^{2}+bx+c=0\) by completing the square
Be Prepared
Before you get started, take this readiness quiz.
 Expand \((x+9)^{2}\).
 Factor \(y^{2}14 y+49\).
 Factor \(5 n^{2}+40 n+80\).
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.
Add exercises text here.
 Answer

Add texts here. Do not delete this text first.
Add example text here.
Solution
Add example text here.
Add exercises text here.
 Answer

Add texts here. Do not delete this text first.
)
Complete the Square of a Binomial Expression
In the last section, we were able to use the Square Root Property to solve the equation \((y7)^{2}=12\) because the left side was a perfect square.
\(\begin{aligned}(y7)^2 &=12 \\ y7&= \pm \sqrt{12} \\ y7 &=\pm 2 \sqrt{3} \\ y &=7 \pm 2 \sqrt{3} \end{aligned}\)
We also solved an equation in which the left side was a perfect square trinomial, but we had to rewrite it the form \((x−k)^{2}\) in order to use the Square Root Property.
\(\begin{aligned}x^210x+25&=18 \\ (x5)^2&= 18 \\ x5 &=\pm 3 \sqrt{2} \\ x &=5 \pm 3 \sqrt{2} \end{aligned}\)
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.
\(\begin{aligned} & \; (x+9)^2 \\ =& \;(x+9)(x+9) \\=& \; x^2+9x+9x+81 \\=&\; x^2+18x+81 \end{aligned}\qquad\qquad\begin{aligned} & \; (y7)^2 \\ =& \; (y7)(y7) \\=&\; y^27y7y+49 \\=&\; y^214y+49 \end{aligned}\)
We restate the patterns here for reference.
Binomial Squares Pattern
If \(a\) and \(b\) are real numbers,
\((a+b)^2=a^2+2ab+b^2,\)
and
\((ab)^2=a^22ab+b^2.\)
We can use this pattern to “make” a perfect square.
We will start with the expression \(x^{2}+6 x\). Since there is a plus sign between the two terms, we will use the \((a+b)^{2}\) pattern, \(a^{2}+2 a b+b^{2}=(a+b)^{2}\).
\(\underbrace{x^2+6x+\dots}_{\color{red}{a^2+2ab+b^2}}\)
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 \(b\). But first we start with determining \(a\). Notice that the first term of \(x^{2}+6x\) is a square, \(x^{2}\). This tells us that \(a=x\).
\(\underbrace{x^2+2xb+b^2}_{\color{red}{a^2+2ab+b^2}}\)
What number, \(b\), when multiplied with \(2x\) gives \(6x\)? It would have to be \(3\), which is \(\dfrac{1}{2}(6)\). So \(b=3\).
\(\underbrace{x^2+2\cdot 3x+\dots}_{\color{red}{a^2+2ab+b^2}}\)
Now to complete the perfect square trinomial, we will find the last term by squaring \(b\), which is \(3^{2}=9\).
\(\underbrace{x^2+6x+9}_{\color{red}{a^2+2ab+b^2}}\)
We can now factor.
\(\underbrace{(x+3)^2}_{\color{red}{(a+b)^2}}\)
So we found that adding \(9\) to \(x^{2}+6 x\) ‘completes the square’, and we write it as \((x+3)^{2}\).
Complete a Square of \(x^{2}+bx\)
 Identify \(b\), the coefficient of \(x\).
 Find \(\left(\dfrac{1}{2} b\right)^{2}\), the number to complete the square.
 Add the\(\left(\dfrac{1}{2} b\right)^{2}\) to \(x^{2}+bx\).
 Factor the perfect square trinomial, writing it as a binomial squared.
Example \(\PageIndex{1}\)
Complete the square to make a perfect square trinomial. Then write the result as a binomial squared.
a. \(x^{2}26 x\)
b. \(y^{2}9 y\)
c. \(n^{2}+\dfrac{1}{2} n\)
 Solution

a.
\(\underbrace{x^{2}26 x}_{\color{red}{x^2+bx}}\) The coefficient of \(x\) is \(26\). \(b=26\) Find \(\left(\dfrac{1}{2} b\right)^{2}\).
\(\quad\left(\dfrac{1}{2} \cdot(26)\right)^{2}\)
\(=(13)^{2}\)
\(=169\)Add \(169\) to the binomial to complete the square. \(\quad x^{2}26 x+169\)
Factor the perfect square trinomial, writing it as a binomial squared. \(=(x13)^{2}\) b.
\(\quad\underbrace{y^{2}9 y}_{\color{red}{x^2+bx}}\) The coefficient of \(y\) is \(9\). \(b=9\) Find \(\left(\dfrac{1}{2} b\right)^{2}\).
\(\quad\left(\dfrac{1}{2} \cdot(9)\right)^{2}\)
\(=\left(\dfrac{9}{2}\right)^{2}\)
\(=\dfrac{81}{4}\)Add \(\dfrac{81}{4}\) to the binomial to complete the square. \(\quad y^{2}9 y+\dfrac{81}{4}\)
Factor the perfect square trinomial, writing it as a binomial squared. \(=\left(y\dfrac{9}{2}\right)^{2}\)
c.
\(\quad\underbrace{n^{2}+\dfrac{1}{2}n }_{\color{red}{x^2+bx}}\) The coefficient of \(n\) is \(\dfrac{1}{2}\). \(b=\dfrac{1}{2}\) Find \(\left(\dfrac{1}{2} b\right)^{2}\).
\(\quad\left(\dfrac{1}{2} \cdot \dfrac{1}{2}\right)^{2}\)
\(=\left(\dfrac{1}{4}\right)^{2}\)
\(=\dfrac{1}{16}\)Add \(\dfrac{1}{16}\) to the binomial to complete the square. \(\quad n^{2}+\dfrac{1}{2} n+\dfrac{1}{16}\) Rewrite as a binomial square. \(=\left(n+\dfrac{1}{4}\right)^{2}\)
Try It \(\PageIndex{2}\)
Complete the square to make a perfect square trinomial. Then write the result as a binomial squared.
a. \(a^{2}20 a\)
b. \(m^{2}5 m\)
c. \(p^{2}+\dfrac{1}{4} p\)
 Answer

a. \((a10)^{2}\)
b. \(\left(m\dfrac{5}{2}\right)^{2}\)
c. \(\left(p+\dfrac{1}{8}\right)^{2}\)
Try It \(\PageIndex{3}\)
Complete the square to make a perfect square trinomial. Then write the result as a binomial squared.
a. \(b^{2}4 b\)
b. \(n^{2}+13 n\)
c. \(q^{2}\dfrac{2}{3} q\)
 Answer

a. \((b2)^{2}\)
b. \(\left(n+\dfrac{13}{2}\right)^{2}\)
c. \(\left(q\dfrac{1}{3}\right)^{2}\)
Solve Quadratic Equations of the Form \(x^{2}+bx+c=0\) 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 \(x^{2}+6x=40\), and we want to complete the square on the left, we will add 9 to both sides of the equation.
\(x^2+6x =40 \)  

\(x^2+6x+\cdots =40 +\cdots \)  
Add \(9\) to both sides to complete the square.  \(x^2+6x{\color{red}{\;+\;9}}=40 {\color{red}{\;+\;9}}\) 
Rewrite it as a binomial square.  \((x+3)^2=49\) 
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 \(\PageIndex{4}\)
Solve by completing the square: \(x^{2}+8x=48\).
 Solution

\(x^{2}+8x=48\) Isolate the variable terms on one side and the constant terms on the other. This equation has all the variables on the left. \(\begin{array}{l}{\color{red}{x^{2}+b x\quad\:\:\: c }} \\ {x^{2}+8 x=48}\end{array}\) Find \(\left(\dfrac{1}{2} \cdot b\right)^{2}\), the number to complete the square. Add it to both sides of the equation. \(b=8\)
Take half of \(8\) and square it.
\(4^{2}=16\)
Add \(16\) to BOTH sides of the equation.
\(x^{2}+8 x+\dfrac{}{\color{red}{\left(\dfrac{1}{2} \cdot 8\right)^{2}}}\color{black}{=}48 \)
\(x^{2}+8 x\color{red}{\;+\;16\;}\color{black}{=}\;48\color{red}{\;+\;16}\)
Factor the perfect square trinomial as a binomial square. \(x^{2}+8 x+16=(x+4)^{2}\)
Add the terms on the right.
\((x+4)^{2}=64\) Use the Square Root Property. \(x+4=\pm \sqrt{64}\) Simplify the radical. \(x+4=\pm 8\)
Solve the two resulting equations. \(\begin{array}{r} x+4&= \;8 \\x&=\;4\end{array} \qquad\qquad \begin{array}{rcl} x+4&=& 8 \\x &=& 12\end{array}\) Check the solutions. Put each answer in the original equation to check. Substitute \(x=4\) and \(x=12\). \(\begin{array}{rcl}x^{2}+8 x &= & 48 \\ x={\color{red}{4}}:\quad ({\color{red}{4}})^{2}+8(\color{red}{4}\color{black}{)} &\stackrel{?}{=}& 48 \\ 16+32&\stackrel{?}{=}& 48 \\ 48 & \stackrel{?}{=}& 48\quad\text{True}\end{array}\)
\(\begin{array}{rcl}x^{2}+8 x &= & 48 \\ x={\color{red}{12}}:\quad ({\color{red}{12}})^{2}+8(\color{red}{12}\color{black}{)} &\stackrel{?}{=}& 48 \\ 14496&\stackrel{?}{=}& 48 \\ 48 & \stackrel{?}{=}& 48\quad\text{True}\end{array}\)
The solutions are \(x=4\quad \) or \(\quad x=12\).
Try It \(\PageIndex{5}\)
Solve by completing the square: \(x^{2}+4 x=5\).
 Answer

\(x=5\quad \) or \(\quad x=1\)
Try It \(\PageIndex{6}\)
Solve by completing the square: \(y^{2}−10y=−9\).
 Answer

\(y=1\quad \) or \(\quad y=9\)
The steps to solve a quadratic equation by completing the square are listed here.
Solve a Quadratic Equation of the Form \(x^2+bx+c=0\) by Completing the Square
 Isolate the variable terms on one side and the constant terms on the other.
 Find \(\left(\dfrac{1}{2} \cdot b\right)^{2}\), 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 \(\PageIndex{7}\)
Solve by completing the square: \(x^{2}+4 x=21\).
 Solution

\(x^{2}+4 x=21\) The variable terms are on the left side. \(\begin{array}{l}{\color{red}{x^{2}+b x\quad\:\:\: c }} \\ {x^{2}+4 x=21}\end{array}\) Take half of \(4\) and square it.
\(\left(\dfrac{1}{2}(4)\right)^{2}=4\)
\(\ x^{2}+4 x +\underbrace{\dots}_{\color{red}{\left(\dfrac{1}{2}\cdot 4\right)^2}}=21\)
Add \(4\) to both sides. \(x^{2}+4 x\color{red}{\;+\;4\;}\color{black}{=}\;21\color{red}{\;+\;4}\)
Factor the perfect square trinomial, writing it as a binomial squared. \((x+2)^2=17\) Use the Square Root Property. \(x+2=\pm\sqrt{17}\) Simplifying using complex numbers. \(x+2=\pm\sqrt{17}i\) Subtract \(2\) from each side. \(x=2\pm\sqrt{17}i\)
Rewrite to show two solutions. \(x=2+\sqrt{17}i\quad\text{ or }\quad x=2\sqrt{17}i\)
Check. We leave the check to you. The solutions are \(x=2+\sqrt{17}i\quad \) or \(\quad x=2\sqrt{17}i\).
Try It \(\PageIndex{8}\)
Solve by completing the square: \(y^{2}10 y=35\).
 Answer

\(y=5+\sqrt{10} i\quad \) or \(\quad y=5\sqrt{15 i}\)
Try It \(\PageIndex{9}\)
Solve by completing the square: \(z^{2}+8 z=19\).
 Answer

\(z=4+\sqrt{3} i\quad \) or \(\quad z=4\sqrt{3} i\)
In the previous example, our solutions were complex numbers. In the next example, the solutions will be irrational numbers.
Example \(\PageIndex{10}\)
Solve by completing the square: \(y^{2}18 y=6\).
 Solution

\(y^{2}18 y=6\) The variable terms are on the left side. \(\begin{array}{l}{\color{red}{x^{2}+b x\quad\:\:\: c }} \\ {y^{2}18y=6}\end{array}\)
Take half of \(18\) and square it.
\(\left(\dfrac{1}{2}(18)\right)^{2}=81\)
\(\ y^{2}18y +\underbrace{\dots}_{\color{red}{\left(\dfrac{1}{2}\cdot (18)\right)^2}}=6\)
Add \(81\) to both sides. \(y^{2}18y\color{red}{\;+\;81\;}\color{black}{=}\;6\color{red}{\;+\;81}\)
Factor the perfect square trinomial, writing it as a binomial squared. \((y9)^2=75\)
Use the Square Root Property. \(y9=\pm \sqrt{75}\)
Simplify the radical. \(y9=\pm 5\sqrt{3}\)
Solve for \(y\). \(y=9\pm 5\sqrt{3}\)
Rewrite to show two solutions. \(y = 9+5\sqrt{3}\quad\) or \(\quad y = 95\sqrt{3}\) Check.
Another way to check this would be to use a calculator. Evaluate \(y^218y\) for both solutions. The answer should be \(6\).
Try It \(\PageIndex{11}\)
Solve by completing the square: \(x^{2}16 x=16\).
 Answer

\(x=8+4 \sqrt{3}\quad \) or \(\quad x=84 \sqrt{3}\)
Try It \(\PageIndex{12}\)
Solve by completing the square: \(y^{2}+8 y=11\).
 Answer

\(y=4+3 \sqrt{3}\quad \) or \(\quad y=43 \sqrt{3}\)
We will start the next example by isolating the variable terms on the left side of the equation.
Example \(\PageIndex{13}\)
Solve by completing the square: \(x^{2}+10 x+4=15\).
 Solution

\(x^{2}+10 x+4=15\) Isolate the variable terms on the left side. Subtract \(4\) to get the constant terms on the right side. \(x^{2}+10 x=11\) Take half of \(10\) and square it.
\(\left(\dfrac{1}{2}(10)\right)^{2}=25\)
\(\ x^{2}10x +\underbrace{\dots}_{\color{red}{\left(\dfrac{1}{2}\cdot (10)\right)^2}}=11\)
Add \(25\) to both sides. \(x^{2}+10x\color{red}{\;+\;25\;}\color{black}{=}\;11\color{red}{\;+\;25}\) Factor the perfect square trinomial, writing it as a binomial squared. \((x+5)^2=36\) Use the Square Root Property. \(x+5=\pm \sqrt{36}\) Simplify the radical. \(x+5=\pm 6\) Solve for \(x\). \(x=5\pm 6\) Rewrite to show two solutions. \(x=5+6\quad\) or \(\quad x = 56\) Solve the equations. \(x=1\quad\) or \(\quad x=11\) Check.
The solutions are \(x=1\quad\) or \(\quad x=11\).
Try It \(\PageIndex{14}\)
Solve by completing the square: \(a^{2}+4 a+9=30\).
 Answer

\(a=7\quad \) or \(\quad a=3\)
Try It \(\PageIndex{15}\)
Solve by completing the square: \(b^{2}+8 b4=16\).
 Answer

\(b=10\quad \) or \(\quad b=2\)
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 \(\PageIndex{16}\)
Solve by completing the square: \(n^{2}=3 n+11\).
 Answer

\(n^{2}=3 n+11\) Subtract \(3n\) to get the variable terms on the left side. \(n^{2}3 n=11\) Take half of \(3\) and square it. \(\left(\dfrac{1}{2}(3)\right)^{2}=\dfrac{9}{4}\) \(\ n^{2}18y +\underbrace{\dots}_{\color{red}{\left(\dfrac{1}{2}\cdot (18)\right)^2}}=6\)
Add \(\dfrac{9}{4}\) to both sides. \(n^23n{\color{red}{\;+\;\dfrac{9}{4}}}=11 {\color{red}{\;+\;\dfrac{9}{4}}} \) Factor the perfect square trinomial, writing it as a binomial squared. \(\left(n\dfrac{3}{2}\right)^2=\dfrac{44}{4}+\dfrac{9}{4}\)
Add the fractions on the right side. \(\left(n\dfrac{3}{2}\right)^2=\dfrac{53}{4}\) Use the Square Root Property. \(n\dfrac{3}{2}=\pm\sqrt{\dfrac{53}{4}}\) Simplify the radical. \(n\dfrac{3}{2}=\pm\dfrac{\sqrt{53}}{2}\) Solve for \(n\). \(n= \dfrac{3}{2}\pm\dfrac{\sqrt{53}}{2}\)
Rewrite to show two solutions. \(n= \dfrac{3}{2}+\dfrac{\sqrt{53}}{2}\quad\text{ or }\quad n= \dfrac{3}{2}\dfrac{\sqrt{53}}{2}\) Check.
We leave the check for you!
Try It \(\PageIndex{17}\)
Solve by completing the square: \(p^{2}=5 p+9\).
 Answer

\(p=\dfrac{5}{2}+\dfrac{\sqrt{61}}{2}\quad \) or \(\quad p=\dfrac{5}{2}\dfrac{\sqrt{61}}{2}\)
Try It \(\PageIndex{18}\)
Solve by completing the square: \(q^{2}=7 q3\).
 Answer

\(q=\dfrac{7}{2}+\dfrac{\sqrt{37}}{2}\quad \) or \(\quad q=\dfrac{7}{2}\dfrac{\sqrt{37}}{2}\)
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 \(a⋅b=0\), then \(a=0\) or \(b=0\).” Instead, we multiply the factors and then put the equation into standard form to solve by completing the square.
Example \(\PageIndex{19}\)
Solve by completing the square: \((x3)(x+5)=9\).
 Solution

\((x3)(x+5)=9\) We multiple the binomials on the left. \(x^2+2x15=9\) Add \(15\) to isolate the constant terms on the right. \(x^2+2x=24\) \(\ x^{2}+2x +\underbrace{\dots}_{\color{red}{\left(\dfrac{1}{2}\cdot (2)\right)^2}}=24\) Take half of \(2\) and square it. \(\left(\dfrac{1}{2} \cdot(2)\right)^{2}=1\) Add \(1\) to both sides. \(x^2+2x {\color{red}{\;+\; 1}}= 24 {\color{red}{\;+\; 1}}\) Factor the perfect square trinomial, writing it as a binomial squared. \((x+1)^2=25\) Use the Square Root Property. \(x+1=\pm\sqrt{25}\) Solve for \(x\). \(x=1\pm 5\) Rewrite to show two solutions. \(x=1+5\quad\text{ or }\quad x=16\) Simplify. \(x=4\quad\text{ or } \quad x=6\) Check.
We leave the check for you!
Try It \(\PageIndex{20}\)
Solve by completing the square: \((c2)(c+8)=11\).
 Answer

\(c=9\quad \) or \(\quad c=3\)
Try It \(\PageIndex{21}\)
Solve by completing the square: \((d7)(d+3)=56\).
 Answer

\(d=11\quad \) or \(\quad=7\)
Solve Quadratic Equations of the Form \(ax^{2}+bx+c=0\) by Completing the Square
The process of completing the square works best when the coefficient of \(x^{2}\) is \(1\), so the left side of the equation is of the form \(x^{2}+bx+c\). If the \(x^{2}\) term has a coefficient other than \(1\), we take some preliminary steps to make the coefficient equal to \(1\).
Sometimes the coefficient can be factored from all three terms of the trinomial. This will be our strategy in the next example.
Example \(\PageIndex{22}\)
Solve by completing the square: \(3 x^{2}12 x15=0\).
 Solution

To complete the square, we need the coefficient of \(x^{2}\) to be one. If we factor out the coefficient of \(x^{2}\) as a common factor, we can continue with solving the equation by completing the square.
\(3 x^{2}12 x15=0\) Factor out the greatest common factor. \(3 (x^{2}4 x5)=0\) Divide both sides by \(3\) to isolate the trinomial with coefficient \(1\). \(\dfrac{3 (x^{2}4 x5)}{3}=\dfrac{0}{3}\) Simplify. \(x^24x5=0\) Add \(5\) to get the constant terms on the right side. \(x^24x=5\) Take half of \(4\) and square it. \(\left(\dfrac{1}{2}(4)\right)^2=4\) \(\ x^{2}4x +\underbrace{\dots}_{\color{red}{\left(\dfrac{1}{2}\cdot (4)\right)^2}}=5\) Add \(4\) to both sides. \(x^24x {\color{red}{\;+\; 4}} = 5 {\color{red}{\;+\; 4}}\) Factor the perfect square trinomial, writing it as a binomial squared. \((x2)^2=9\) Use the Square Root Property. \(x2=\pm\sqrt 9\)\ Solve for \(x\). \(x2=\pm 3\) Rewrite to show two solutions. \(x=2+3\quad\text{ or } \quad x =23\)
Simplify. \(x=5\quad\text{ or }\quad x=1\) Check.
Try It \(\PageIndex{23}\)
Solve by completing the square: \(2 m^{2}+16 m+14=0\).
 Answer

\(m=7\quad\text{ or }\quad m=1\)
Try It \(\PageIndex{24}\)
Solve by completing the square: \(4 n^{2}24 n56=8\).
 Answer

\(n=2\quad\text{ or }\quad n=8\)
To complete the square, the coefficient of the \(x^{2}\) must be \(1\). 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 \(\PageIndex{25}\)
Solve by completing the square: \(2 x^{2}3 x=20\).
Solution

To complete the square we need the coefficient of \(x^{2}\) to be one. We will divide both sides of the equation by the coefficient of \(x^{2}\). Then we can continue with solving the equation by completing the square.
\(2 x^{2}3 x=20\) Divide both sides by \(2\) to get the coefficient of \(x^{2}\) to be \(1\). \(\dfrac{2x^23x}{2}=\dfrac{20}{2}\) Simplify. \(x^2\dfrac{3}{2}x=10\) Take half of \(\dfrac{3}{2}\) and square it. \(\left(\dfrac{1}{2}\left(\dfrac{3}{2}\right)\right)^{2}=\dfrac{9}{16}\) \(x^2\dfrac{3}{2}x+\(\ x^{2}4x +\underbrace{\dots}_{\color{red}{\left(\dfrac{1}{2}\cdot (4)\right)^2}}=5\) Add \(\dfrac{9}{16}\) to both sides. \(x^2\dfrac{3}{2}x{\color{red}{\;+\;\dfrac{9}{16}}}=10{\color{red}{\;+\;\dfrac{9}{16}}}\) Factor the perfect square trinomial, writing it as a binomial squared. \(\left(x\dfrac{3}{4}\right)^2=\dfrac{169}{16}+\dfrac{9}{16}\) Add the fractions on the right side. \(\left(x\dfrac{3}{4}\right)^2=\dfrac{160}{16}+\dfrac{9}{16}\) Use the Square Root Property. \(x\dfrac{3}{4} = \pm\sqrt{\dfrac{169}{16}}\) Simplify the radical. \(x\dfrac{3}{4}=\pm\dfrac{13}{4}\) Solve for \(x\). \(x=\dfrac{3}{4}\pm\dfrac{13}{4}\) Rewrite to show two solutions. \(x=\dfrac{3}{4}+\dfrac{13}{4}\quad\text{ or } \quad x=\dfrac{3}{4}\pm\dfrac{13}{4}\) Simplify. \(x=4\quad\text{ or }\quad x=\dfrac{5}{2}\) Check. We leave the check for you!
Try It \(\PageIndex{26}\)
Solve by completing the square: \(3 r^{2}2 r=21\).
 Answer

\(r=\dfrac{7}{3}\quad\text{ or }\quad r=3\)
Try It \(\PageIndex{27}\)
Solve by completing the square: \(4 t^{2}+2 t=20\).
 Answer

\(t=\dfrac{5}{2}\quad\text{ or }\quad t=2\)
Now that we have seen that the coefficient of \(x^{2}\) must be \(1\) 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 \(a x^{2}+b x+c=0\).
Solve a Quadratic Equation of the Form \(a x^{2}+b x+c=0\) by Completing the Square
 Divide by aa to make the coefficient of \(x^{2}\) term \(1\).
 Isolate the variable terms on one side and the constant terms on the other.
 Find \(\left(\dfrac{1}{2} \cdot b\right)^{2}\), 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 \(\PageIndex{28}\)
Solve by completing the square: \(3 x^{2}+2 x=4\).
 Solution

Again, our first step will be to make the coefficient of \(x^{2}\) one. By dividing both sides of the equation by the coefficient of \(x^{2}\), we can then continue with solving the equation by completing the square.
\(3 x^{2}+2 x=4\) Divide both sides by \(3\) to make the coefficient of \(x^{2}\) equal \(1\). Simplify. Take half of \(\dfrac{2}{3}\) and square it. \(\left(\dfrac{1}{2} \cdot \dfrac{2}{3}\right)^{2}=\dfrac{1}{9}\) Add \(\dfrac{1}{9}\) to both sides. Factor the perfect square trinomial, writing it as a binomial squared. Use the Square Root Property. Simplify the radical. Solve for \(x\). Rewrite to show two solutions. Check. We leave the check for you!
Try It \(\PageIndex{29}\)
Solve by completing the square: \(4 x^{2}+3 x=2\).
 Answer

\(x=\dfrac{3}{8}+\dfrac{\sqrt{41}}{8}\quad\text{ or }\quad x=\dfrac{3}{8}\dfrac{\sqrt{41}}{8}\)
Try It \(\PageIndex{30}\)
Solve by completing the square: \(3 y^{2}10 y=5\).
 Answer

\(y=\dfrac{5}{3}+\dfrac{\sqrt{10}}{3}\quad\text{ or }\quad y=\dfrac{5}{3}\dfrac{\sqrt{10}}{3}\)
Solve \(x^2+x=5\) by completing the square and applying the Square Root Property.
Key Concepts
 Binomial Squares Pattern
If \(a\) and \(b\) are real numbers,
 How to Complete a Square
 Identify \(b\), the coefficient of \(x\).
 Find \(\left(\dfrac{1}{2} b\right)^{2}\), the number to complete the square.
 Add the \(\left(\dfrac{1}{2} b\right)^{2}\) to \(x^{2}+bx\)
 Rewrite the trinomial as a binomial square
 How to solve a quadratic equation of the form \(a x^{2}+b x+c=0\) by completing the square.
 Divide by \(a\) to make the coefficient of \(x^{2}\) term \(1\).
 Isolate the variable terms on one side and the constant terms on the other.
 Find \(\left(\dfrac{1}{2} \cdot b\right)^{2}\), 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.