document.write( "Question 164879: Please help with the following problem. Consider the function f(x)=x^2+6x-2. Find h, the x-coordinate of the vertex of this parabola. \n" ); document.write( "
Algebra.Com's Answer #121510 by KnightOwlTutor(293)\"\" \"About 
You can put this solution on YOUR website!
You first have to complete the square. \r
\n" ); document.write( "\n" ); document.write( "0=x^2+6x-2
\n" ); document.write( "Add 2 to both sides\r
\n" ); document.write( "\n" ); document.write( "2=x^2+6x\r
\n" ); document.write( "\n" ); document.write( "Take the 6 and half it. Then take the value in this case it is 3 and square it.add 9 to both sides.\r
\n" ); document.write( "\n" ); document.write( "2+9=(x+3)^2
\n" ); document.write( "0=(x+3)^2-11\r
\n" ); document.write( "\n" ); document.write( "The vertex is at (3,-11)\r
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation with variable
Quadratic equation \"ax%5E2%2Bbx%2Bc=0\" (in our case \"1x%5E2%2B6x%2B-2+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"x%5B12%5D+=+%28b%2B-sqrt%28+b%5E2-4ac+%29%29%2F2%5Ca\"
\n" ); document.write( "
\n" ); document.write( " For these solutions to exist, the discriminant \"b%5E2-4ac\" should not be a negative number.
\n" ); document.write( "
\n" ); document.write( " First, we need to compute the discriminant \"b%5E2-4ac\": \"b%5E2-4ac=%286%29%5E2-4%2A1%2A-2=44\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=44 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-6%2B-sqrt%28+44+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%286%29%2Bsqrt%28+44+%29%29%2F2%5C1+=+0.3166247903554\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%286%29-sqrt%28+44+%29%29%2F2%5C1+=+-6.3166247903554\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1x%5E2%2B6x%2B-2\" can be factored:
\n" ); document.write( " \"1x%5E2%2B6x%2B-2+=+1%28x-0.3166247903554%29%2A%28x--6.3166247903554%29\"
\n" ); document.write( " Again, the answer is: 0.3166247903554, -6.3166247903554.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+1%2Ax%5E2%2B6%2Ax%2B-2+%29\"

\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );