document.write( "Question 122042: Solve algebraically?
\n" ); document.write( "Solve algebraically and check your potential solutions:
\n" ); document.write( "squareroot(x+2) -x=0
\n" ); document.write( "I know that the answers are x=2, x=How do I know for sure they are correct after checking them. X=2 works out but x=-1 is funny. Thanks
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #89593 by solver91311(24713)\"\" \"About 
You can put this solution on YOUR website!
I presume you solved this in the following fashion:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"sqrt%28x%2B2%29-x=0\"
\n" ); document.write( "\"sqrt%28x%2B2%29=x\"
\n" ); document.write( "Square both sides:
\n" ); document.write( "\"x%2B2=x%5E2\"
\n" ); document.write( "\"x%5E2-x-2=0\"
\n" ); document.write( "\"%28x-2%29%28x%2B1%29=0\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x=2\" or \"x=-1\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The reason that \"x=-1\" doesn't check (\"sqrt%28-1%2B2%29-%28-1%29=2%3C%3E0\") is that you introduced an extraneous root when you squared both sides of the equation in the process of solving it. \"2\" is the only element of the solution set of the original equation.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The following is a trivial example of what happens when you square both sides of an equation:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let \"x=1\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Square both sides:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%5E2=1%5E2=1\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%5E2-1=0\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"%28x-1%29%28x%2B1%29=0\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x=1\" or \"x=-1\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x=1\" is fine, but \"x=-1\", by substitution in the original equation, leads us to the absurdity that \"-1=1\". Therefore \"x=-1\" is an extraneous root introduced in the process of squaring both sides of the equation and it must be excluded from the solution set.
\n" ); document.write( "
\n" );