document.write( "Question 845255: solve the equation for x. If neccesary, round your answer to two decimal places.
\n" ); document.write( "x+2=square root of 3x+16
\n" ); document.write( "

Algebra.Com's Answer #509200 by pmesler(52)\"\" \"About 
You can put this solution on YOUR website!
The equation says x+2 = sqrt(3x+16) \r
\n" ); document.write( "\n" ); document.write( "First, to solve for x we need to simplify the equation. To do that we need to eliminate the square root symbol. We do that by performing the opposite or inverse function. The inverse function of a square root is to square something. It's important to note that we need to do this for both sides of the equation.\r
\n" ); document.write( "\n" ); document.write( "Therefore our new equation is \r
\n" ); document.write( "\n" ); document.write( "(x+2)^2 = (sqrt(3x+16))^2\r
\n" ); document.write( "\n" ); document.write( "That gives us\r
\n" ); document.write( "\n" ); document.write( "(x+2)(x+2) = 3x+16\r
\n" ); document.write( "\n" ); document.write( "Use the FOIL method to simplify the left-hand side.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x^2+4x+4 = 3x+16\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Right away we see that our equation is becoming a quadratic equation. Let's simplify the whole equation so we have a quadratic expression on the left side and a zero on the right side.\r
\n" ); document.write( "\n" ); document.write( "Let's subtract 3x from both sides to get\r
\n" ); document.write( "\n" ); document.write( "x^2 + x + 4 = 16\r
\n" ); document.write( "\n" ); document.write( "Now, let's get rid of the 16 so we're left with a zero on the right-hand side.\r
\n" ); document.write( "\n" ); document.write( "Subtract 16 from both sides.\r
\n" ); document.write( "\n" ); document.write( "x^2+x-12 = 0.\r
\n" ); document.write( "\n" ); document.write( "Now, we use the quadratic formula to solve for x. \r
\n" ); document.write( "
\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%2B1x%2B-12+=+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=%281%29%5E2-4%2A1%2A-12=49\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=49 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-1%2B-sqrt%28+49+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%281%29%2Bsqrt%28+49+%29%29%2F2%5C1+=+3\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%281%29-sqrt%28+49+%29%29%2F2%5C1+=+-4\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1x%5E2%2B1x%2B-12\" can be factored:
\n" ); document.write( " \"1x%5E2%2B1x%2B-12+=+1%28x-3%29%2A%28x--4%29\"
\n" ); document.write( " Again, the answer is: 3, -4.\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%2B1%2Ax%2B-12+%29\"

\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The solutions are x = -4 and x = 3\r
\n" ); document.write( "\n" ); document.write( "Let's check our answers to see which of these roots is extraneous. \r
\n" ); document.write( "\n" ); document.write( "If we substitute x = -4 into the original equation we get this:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-4 + 2 = sqrt(3(-4) + 16) \r
\n" ); document.write( "\n" ); document.write( "-2 = sqrt(-12 + 16)\r
\n" ); document.write( "\n" ); document.write( "-2 = sqrt ( 4)\r
\n" ); document.write( "\n" ); document.write( "-2 = 2. This is obviously false, so x = -4 is an extraneous root. Let's check the other root, x = 3.\r
\n" ); document.write( "\n" ); document.write( "3+2 = sqrt(3(3) + 16).\r
\n" ); document.write( "\n" ); document.write( "5 = sqrt ( 9 + 15)\r
\n" ); document.write( "\n" ); document.write( "5 = sqrt ( 25 ) \r
\n" ); document.write( "\n" ); document.write( "5 = 5. That checks out so the solution is x = 3. \r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );