document.write( "Question 329743: Solve by completing the square
\n" ); document.write( "x^2+2x-3=0
\n" ); document.write( "x=
\n" ); document.write( "

Algebra.Com's Answer #236333 by texttutoring(324)\"\" \"About 
You can put this solution on YOUR website!
Take half of the b term: (2/1) = 1 and then square it. Add this number after the 2x, but then subtract it after the -3 (so that you are adding zero to the equation overall)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x^2 + 2x + 1 - 3 - 1 = 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now you can factor the perfect square trinomial x^2+2x+1 = (x+1)^2\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "(x+1)^2 - 4 = 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You could then graph this parabola. It has vertex (-1,-4).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The easier way to solve for the roots is to simply factor the initial equation:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x^2 + 2x - 3 = 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Ask yourself, what numbers multiply to -3 and add up to 2? 3 and -1:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x^2 + 2x - 3 = 0
\n" ); document.write( "(x+3)(x-1) = 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "so x=-3 and x = 1. These are the roots (the two locations where graph crosses the x-axis) of the equation.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here is a link to the graph of it: http://www.wolframalpha.com/input/?i=x^2%2B2x-3%3D0
\n" ); document.write( "
\n" );