document.write( "Question 747982: Complete the square to write each function in the form \"f%28x%29=a%28x-h%29%5E2%2Bk\"
\n" ); document.write( "\"f%28x%29=-x%5E2-4x-7\"
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #455266 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "f(x) = -x²-4x-7\r\n" );
document.write( "\r\n" );
document.write( "Factor -1 out of the first two terms on the right.\r\n" );
document.write( "\r\n" );
document.write( "f(x) = -1(x²+4x)-7\r\n" );
document.write( "\r\n" );
document.write( "Complete the square inside the parentheses:\r\n" );
document.write( "\r\n" );
document.write( "1. Multiply the coefficient of x by \"1%2F2\".  4·\"1%2F2\" = 2\r\n" );
document.write( "2. Then square that, get 4\r\n" );
document.write( "3. Add then subtract 4 inside the parentheses. That\r\n" );
document.write( "is, add +4-4 which does not affect anything since \r\n" );
document.write( "4-4 is just 0.  Also change the parentheses to \r\n" );
document.write( "brackets so they can hold parentheses:\r\n" );
document.write( "\r\n" );
document.write( "f(x) = -1[x²+4x+4-4]-7\r\n" );
document.write( "\r\n" );
document.write( "Group the first three terms inside the bracket in a \r\n" );
document.write( "parentheses:\r\n" );
document.write( "\r\n" );
document.write( "f(x) = -1[(x²+4x+4)-4]-7\r\n" );
document.write( "\r\n" );
document.write( "Factor that trinomial (x²+4x+4) as \r\n" );
document.write( "(x+2)(x+2) or (x+2)²\r\n" );
document.write( "\r\n" );
document.write( "f(x) = -1[(x+2)²-4]-7\r\n" );
document.write( "\r\n" );
document.write( "Next we remove the bracket by distributing the -1 \r\n" );
document.write( "into the bracket.  The -1 first multiplies by the\r\n" );
document.write( "(x+2)² leaving it intact as -1(x+2)².  Then the -1 \r\n" );
document.write( "also multiplies by the -4 in the bracket and gives \r\n" );
document.write( "+4.  So we have this:\r\n" );
document.write( "\r\n" );
document.write( "f(x) = -1(x+2)²+4-7\r\n" );
document.write( "\r\n" );
document.write( "and finally:\r\n" );
document.write( "\r\n" );
document.write( "f(x) = -1(x+2)²-3\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );