document.write( "Question 263727: I need to figure out how to solve for x in this problem:\r
\n" ); document.write( "\n" ); document.write( "(x+1)/(x+1) + (5)/(x+2) = (3)/(x+1)\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #194333 by JBarnum(2146)\"\" \"About 
You can put this solution on YOUR website!
(x+1)/(x+1) + (5)/(x+2) = (3)/(x+1) times every thing by ((x+1)(X+2))
\n" ); document.write( "((x+1)(x+2))+((5(x+1))= ((3(X+2)) multiply together
\n" ); document.write( "(x^2+3x+2)+(5x+5)=(3x+6) add like terms
\n" ); document.write( "x^2 + 8x + 7= 3x + 6 Subtract 3x and 6 from both sides
\n" ); document.write( ". -3x - 6 -3x - 6
\n" ); document.write( "x^2 +5x+1=0 now u have a quadratic equation
\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%2B5x%2B1+=+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=%285%29%5E2-4%2A1%2A1=21\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=21 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-5%2B-sqrt%28+21+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%285%29%2Bsqrt%28+21+%29%29%2F2%5C1+=+-0.20871215252208\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%285%29-sqrt%28+21+%29%29%2F2%5C1+=+-4.79128784747792\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1x%5E2%2B5x%2B1\" can be factored:
\n" ); document.write( " \"1x%5E2%2B5x%2B1+=+1%28x--0.20871215252208%29%2A%28x--4.79128784747792%29\"
\n" ); document.write( " Again, the answer is: -0.20871215252208, -4.79128784747792.\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%2B5%2Ax%2B1+%29\"

\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );