document.write( "Question 1199266: Solve for x.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x^2 + 3x + sqrt{x^2 + 3x} = 6\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Moving x^2 + 3x to the right, I got this:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "sqrt{x^2 + 3x} = -x^2 - 3x + 6\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Squaring both sides leads to the following:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x^2 + 3x = x^4 + 6x^3 - 3x^2 - 36x + 36\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I then moved every term on the left to the right side.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x^4 + 6x^3 - 4x^2 -39x + 36 = 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Stuck here. . . .\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "According to the textbook, the answers for x are as follows: x = -4, x = 1.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #833058 by ikleyn(52786)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Solve for x this equation x^2 + 3x + sqrt{x^2 + 3x} = 6.
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "            The method to solve is introducing new variable.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "(1)  Notice that the expression under the square root must be non-negative\r\n" );
document.write( "\r\n" );
document.write( "        x^2 + 3x >= 0,  or, equivalently,  x*(x+3) >=0,\r\n" );
document.write( "\r\n" );
document.write( "    which means that either x >= 0  or x <= -3.\r\n" );
document.write( "\r\n" );
document.write( "    Thus the domain is  (-oo,-3] U [0,oo).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    Also, notice that we consider positive values of  \"sqrt%28x%5E2%2B3x%29\", only, so y >= 0.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "(2)  Introduce new variable  y = \"sqrt%28x%5E2+%2B+3x%29\".  \r\n" );
document.write( "\r\n" );
document.write( "     Then  y^2 = x^2 + 3x,  and the given equation takes the form\r\n" );
document.write( "\r\n" );
document.write( "         y^2 + y = 6,   or, equivalently,\r\n" );
document.write( "\r\n" );
document.write( "         y^2 + y - 6 = 0\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "     Factor left sides\r\n" );
document.write( "\r\n" );
document.write( "         (y+3)*(y-2) = 0\r\n" );
document.write( "\r\n" );
document.write( "     The roots are  y= -3  ans  y= 2.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "     Since we consider only positive values of y in this problem, \r\n" );
document.write( "     we analyse below the case y= 2 ONLY.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "(3)  If y= 2, then\r\n" );
document.write( "\r\n" );
document.write( "         \"sqrt%28x%5E2+%2B+3x%29\" = 2.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "     Square both sides, simplify and find x\r\n" );
document.write( "\r\n" );
document.write( "         x^2 + 3x = 4\r\n" );
document.write( "\r\n" );
document.write( "         x^2 + 3x - 4 = 0\r\n" );
document.write( "\r\n" );
document.write( "         (x+4)*(x-1) = 0\r\n" );
document.write( "\r\n" );
document.write( "     Two roots are  x= -4,  x= 1.         \r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved, and the obtained answer coincides with that in your textbook.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "----------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Memorize the method of the solution: it is introducing new variable
\n" ); document.write( "and accurate analysis of the domains of the variables x and y.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );