document.write( "Question 153536: Please help me solve the following problem:
\n" ); document.write( "Solve: x^2 + 3x - 4 = 0
\n" ); document.write( "

Algebra.Com's Answer #113020 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
\"x%5E2+%2B+3x+-+4\"
\n" ); document.write( "Solving this means finding the roots, or finding
\n" ); document.write( "the values of \"x\" that make \"x%5E2+%2B+3x+-+4+=+0\"
\n" ); document.write( "true.
\n" ); document.write( "If I just say, off the top of my head, \"x+=+2\" for
\n" ); document.write( "a solution, then I'm saying \"2%5E2+%2B+3%2A2+-+4+=+0\" and
\n" ); document.write( "\"4+%2B+6+-+4+=+0\"
\n" ); document.write( "\"10+-+4+=+0\"
\n" ); document.write( "\"6+=+0\"
\n" ); document.write( "That's not true, so \"x+=+2\" is not a solution
\n" ); document.write( "One way to solve this is by completing the square.
\n" ); document.write( "First add \"4\" to both sides
\n" ); document.write( "\"x%5E2+%2B+3x+=+4\"
\n" ); document.write( "Now take one-half of the coefficient of the \"x\" term,
\n" ); document.write( "square it, and add it to both sides, like this:
\n" ); document.write( "\"x%5E2+%2B+3x+%2B+%283%2F2%29%5E2+=+4+%2B+%283%2F2%29%5E2\"
\n" ); document.write( "\"x%5E2+%2B+3x+%2B+%289%2F4%29+=+%2816%2F4%29+%2B+%289%2F4%29\"
\n" ); document.write( "\"x%5E2+%2B+3x+%2B+%289%2F4%29+=+25%2F4\"
\n" ); document.write( "This is the same as
\n" ); document.write( "\"%28x+%2B+%283%2F2%29%29%5E2+=+25%2F4\"
\n" ); document.write( "Now take the square root of both sides
\n" ); document.write( "\"x+%2B+%283%2F2%29+=+5%2F2\"
\n" ); document.write( "and also
\n" ); document.write( "\"x+%2B+%283%2F2%29+=+-%285%2F2%29\" (since \"25%2F4\" has a + and a - square root)
\n" ); document.write( "Subtract \"3%2F2\" from both sides
\n" ); document.write( "\"x+=+%285%2F2%29+-+%283%2F2%29\"
\n" ); document.write( "\"x+=+1\"
\n" ); document.write( "And also
\n" ); document.write( "\"x+=+-%285%2F2%29+-+%283%2F2%29\"
\n" ); document.write( "\"x+=+-4\"
\n" ); document.write( "So, the solutions are \"x+=+1\" and \"x+=+-4\"
\n" ); document.write( "Plug these values into the equation to see if they
\n" ); document.write( "are roots, for instance:
\n" ); document.write( "\"%28-4%29%5E2+%2B+3%2A%28-4%29+-+4+=+0\"
\n" ); document.write( "\"16+-+12+-+4+=+0\"
\n" ); document.write( "\"16+-+16+=+0\"
\n" ); document.write( "\"0+=+0\"
\n" ); document.write( "So, \"x+=+-4\" is a solution
\n" ); document.write( "
\n" );