## Section 10.5 Completing the Square

¶It is possible to manipulate a parabolic equation presented into standard form into graphing form. The process used to make this transformation is called "completing the square." The steps used in the process when \(a=1\) are as follows

Write the squared and linear terms in a set of parentheses with space to add another number inside the parentheses.

Inside the parentheses, add \(\left(\frac{b}{2}\right)^2\text{.}\) Subtract that same number outside the parentheses.

The trinomial in the parentheses now factors as \(\left(x+\frac{b}{2}\right)^2\text{.}\) Note that if \(b\) is a negative number, then the operation between \(x\) and the the number in the factored expression is ultimately subtraction. Go ahead and factor the trinomial in the parentheses and at the same time combine the numbers outside of the parentheses.

###### Example 10.5.1.

State the vertex of the parabola with equation \(y=x^2-16x+15\) after first manipulating the equation into graphing form.

The number which completes the square is determined as follows.

Let's go ahead and complete the square.

The vertex of the parabola is the point \((8,-49)\text{.}\)

###### Example 10.5.2.

State the vertex of the parabola with equation \(y=x^2+9x+21\) after first manipulating the equation into graphing form.

The number which completes the square is determined as follows.

Let's go ahead and complete the square.

The vertex of the parabola is \(\left(-\frac{9}{2},\frac{3}{4}\right)\text{.}\)

You can practice determining the vertex of a parabola after completing the square using Figure 10.5.3.

When the value of \(a\) in the equation \(y=ax^2+bx+c\) is not one, the process of completing the square is quite a bit more complicated. The steps are as follows.

Factor \(a\) away from both the squared term and the linear term, leaving enough room in the parentheses to add another number. he form of the equation is now \(y=a\left(x^2+\frac{b}{a}\right)+c\text{.}\)

Add \(\left(\frac{b}{2a}\right)^2\) inside the parentheses. Add or subtract what is necessary to balance this action. Remember, since the number was added inside the parentheses, it is multiplied by \(a\text{,}\) so the amount you added was actual \(a \cdot \left(\frac{b}{2a}\right)^2\) which must be subtracted outside the parentheses. What's tricky is that if \(a\) is negative, you actually end up adding both inside and outside the parentheses. Just make sure that your net addition is zero.

The trinomial inside the parentheses now factors to \(\left(x+\frac{b}{2a}\right)^2\text{.}\) Note that if \(b\) is a negative number, then the operation between \(x\) and the the number in the factored expression is ultimately subtraction. Go ahead and factor the trinomial in the parentheses and at the same time combine the numbers outside of the parentheses.

###### Example 10.5.4.

State the vertex of the parabola with equation \(y=2x^2-12x+19\) after first manipulating the equation into graphing form.

We begin by factoring \(2\) away from both the squared and the linear term.

The number which completes the square is determined as follows.

Because everything inside the parentheses is multiplied by \(2\text{,}\) we need to compensate for the addition of \(9\) inside the parentheses by subtracting 18 outside the parentheses so that the net addition is zero.. The process in total is shown below.

The vertex of the parabola is the point \((3,1)\text{.}\)

###### Example 10.5.5.

State the vertex of the parabola with equation \(y=-3x^2-24x+7\) after first manipulating the equation into graphing form.

We begin by factoring \(-3\) away from both the squared and the linear term.

The number which completes the square is determined as follows.

Because everything inside the parentheses is multiplied by \(-3\text{,}\) we need to compensate for the addition of \(16\) inside the parentheses by adding \(48\) outside the parentheses so that the net addition is zero. The process in total is shown below.

The vertex of the parabola is the point \((-4,55)\text{.}\)

###### Example 10.5.6.

State the vertex of the parabola with equation \(y=-x^2+5x\) after first manipulating the equation into graphing form.

We begin by factoring \(-1\) away from both the squared and the linear term.

The number which completes the square is determined as follows.

Because everything inside the parentheses is multiplied by \(-1\text{,}\) we need to compensate for the addition of \(\frac{25}{4}\) inside the parentheses by adding \(\frac{25}{4}\) again outside the parentheses so that the net addition is zero. The process in total is shown below.

The vertex of the parabola is the point \(\left(\frac{5}{2},\frac{25}{4}\right)\text{.}\)

You can practice determining the vertex of a parabola after completing the square using Figure 10.5.7 and Figure 10.5.8.

### Exercises Exercises

Determine the vertex of each parabola after first completing the square to determine the graphing form of the equation.

###### 1.

\(y=x^2-12x+11\)

We begin by completing the square to determine the graphing form of the equation.

The vertex of the parabola is \((6,-25)\text{.}\)

###### 2.

\(y=x^2+9x+\frac{77}{4}\)

We begin by completing the square to determine the graphing form of the equation.

The vertex of the parabola is \(\left(-\frac{9}{2},-1\right)\)

###### 3.

\(y=4x^2-80x+410\)

We begin by completing the square to determine the graphing form of the equation.

The vertex of the parabola is \((10,10)\text{.}\)

###### 4.

\(y=-3x^2+6x\)

We begin by completing the square to determine the graphing form of the equation.

The vertex of the parabola is \((1,3)\text{.}\)

###### 5.

\(y=-1.5x^2-4.5x+2\)

We begin by completing the square to determine the graphing form of the equation.

The vertex of the parabola is \((-1.5,5.375)\text{.}\)

###### 6.

\(y=-x^2+20x-101\)

We begin by completing the square to determine the graphing form of the equation.

The vertex of the parabola is \((10,-1)\text{.}\)