Monday, January 21, 2019

Completing the Square


Completing the square is a technique used to take a quadratic equation and put it in a form called the vertex form.  This is an important technique that does not stop just in algebra.  We will revisit this in the calculus post for integration techniques.

The technique is very easy.

Lets look at a quadratic equation in the standard form.

Y=X²+BX+C  

To write this equation in vertex form, we take 1/2 of the B value and write our equation like this:

Y=(X+1/2B)²+k
Both of these equations are equivalent so
We expand (X+1/2B)², we have (X+1/2B)²=X²+BX+1/4B²
We know that (X+1/2B)²-k will expand to: X²+BX+1/4B²+k=X²+BX+C 
So C=1/4B² + k or if we want to find k we do the following:
k=C-1/4B²

Not too bad right?  We are going to now do an example.
Y=X²+6X+8
B=6
1/2B=3
C=8
(X+1/2B)²=(X+3)²
k=8-3²=-1
So our equation becomes:
Y=(X+3)²-1
Vertex form is (X-h)
²+k
The vertex is at x=-3 and y=-1 or (-3,-1)

Lets look at:
Y=X²-4X-3
B=-4
1/2B=-2
C=-3
(X+1/2B)²=(X-4)²
k=-3-(-2)²=-3-4=-7
So our Vertex form becomes:
Y=(X-2)²-7
Our vertex is at: (-2,-7)
Note that:   Even though our 1/2B term was negative we still ended up subtracting it from the C term.

Homework:

Factor the following into the vertex form by completing the square:
Y=X²+12X-7
Y=X²-6X+6
Y=X²+11X-1
Y=X²-14X-31
Y=X²-9x+4

The solutions are posted here.

In future posts, we will be looking at completing the square on equations with multipliers on the leading coefficient, a synthetic way of completing the square, and an explanation of why completing the square works. 





No comments:

Post a Comment