\r\n" );
document.write( "f(x) = -2x^2 +4x + 3\r\n" );
document.write( "\r\n" );
document.write( "Factor out the coefficient of x² out of the first two terms\r\n" );
document.write( "on the right:\r\n" );
document.write( "\r\n" );
document.write( "f(x) = -2(x² - 4x) + 3\r\n" );
document.write( "\r\n" );
document.write( "1. To the side, multiply the coefficient of x inside the\r\n" );
document.write( "parentheses by 1/2.\r\n" );
document.write( "\r\n" );
document.write( " That's
or -1\r\n" );
document.write( "\r\n" );
document.write( "2. Square the result of 1:\r\n" );
document.write( "\r\n" );
document.write( " That's
or +1\r\n" );
document.write( "\r\n" );
document.write( "3. Add, then subtract, that inside the parentheses\r\n" );
document.write( "\r\n" );
document.write( " \r\n" );
document.write( "f(x) = -2(x² - 2x + 1 - 1) + 3\r\n" );
document.write( "\r\n" );
document.write( "Factor the trinomial consisting of the first three terms\r\n" );
document.write( "inside the parentheses:\r\n" );
document.write( "\r\n" );
document.write( "f(x) = -2((x-1)(x-1) - 1) + 3\r\n" );
document.write( "\r\n" );
document.write( "Write (x-1)(x-1) as (x-1)²\r\n" );
document.write( "\r\n" );
document.write( "f(x) = -2((x-1)² - 1) + 3\r\n" );
document.write( "\r\n" );
document.write( "Remove the outer parentheses by distributing the -2 into \r\n" );
document.write( "the outer parentheses, leaving the (x-1)² intact:\r\n" );
document.write( "\r\n" );
document.write( "f(x) = -2(x-1)² + 2 + 3\r\n" );
document.write( "\r\n" );
document.write( "f(x) = -2(x-1)² + 5\r\n" );
document.write( "\r\n" );
document.write( "So the vertex is (h,k) = (1,5)\r\n" );
document.write( "\r\n" );
document.write( "Some points besides the vertex are found by substituting\r\n" );
document.write( "-2, -1, 0, 2, 3, 4 for x, getting: \r\n" );
document.write( "\r\n" );
document.write( "(-2,-13), (-1,3, (0,3), (2,3), (3,-3), (4,-13) \r\n" );
document.write( "\r\n" );
document.write( "Axis of symmetry (in green), it is x = h or, in this case,\r\n" );
document.write( "\r\n" );
document.write( "x = 1\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\r
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( " \r
\n" );
document.write( "\n" );
document.write( " \n" );
document.write( "