SOLUTION: Complete the square to write each function in the form {{{f(x)=a(x-h)^2+k}}} {{{f(x)=-x^2-4x-7}}}

Algebra ->  Quadratic Equations and Parabolas -> SOLUTION: Complete the square to write each function in the form {{{f(x)=a(x-h)^2+k}}} {{{f(x)=-x^2-4x-7}}}       Log On


   



Question 747982: Complete the square to write each function in the form f%28x%29=a%28x-h%29%5E2%2Bk
f%28x%29=-x%5E2-4x-7

Answer by Edwin McCravy(20055) About Me  (Show Source):
You can put this solution on YOUR website!
f(x) = -x²-4x-7

Factor -1 out of the first two terms on the right.

f(x) = -1(x²+4x)-7

Complete the square inside the parentheses:

1. Multiply the coefficient of x by 1%2F2.  4·1%2F2 = 2
2. Then square that, get 4
3. Add then subtract 4 inside the parentheses. That
is, add +4-4 which does not affect anything since 
4-4 is just 0.  Also change the parentheses to 
brackets so they can hold parentheses:

f(x) = -1[x²+4x+4-4]-7

Group the first three terms inside the bracket in a 
parentheses:

f(x) = -1[(x²+4x+4)-4]-7

Factor that trinomial (x²+4x+4) as 
(x+2)(x+2) or (x+2)²

f(x) = -1[(x+2)²-4]-7

Next we remove the bracket by distributing the -1 
into the bracket.  The -1 first multiplies by the
(x+2)² leaving it intact as -1(x+2)².  Then the -1 
also multiplies by the -4 in the bracket and gives 
+4.  So we have this:

f(x) = -1(x+2)²+4-7

and finally:

f(x) = -1(x+2)²-3

Edwin