document.write( "Question 651459: I have worked this problem multiple times and keep getting the same answer, but my friend gets a different answer than me every time and I don't know who's right.\r
\n" ); document.write( "\n" ); document.write( "the problem is: (x+3)/(x^2-x-2) + (x-1)/(x^2+2x+1)\r
\n" ); document.write( "\n" ); document.write( "the answer i get is 2x^2+x+5/(x-2)(x+1)(x+1)
\n" ); document.write( "

Algebra.Com's Answer #407665 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
(x+3)/(x^2-x-2) + (x-1)/(x^2+2x+1)
\n" ); document.write( "Factor the DENs
\n" ); document.write( "= \"%28x%2B3%29%2F%28%28x-2%29%2A%28x%2B1%29%29+%2B+%28x-1%29%2F%28x%2B1%29%5E2\"
\n" ); document.write( "Common DEN = (x-2)*(x+1)^2
\n" ); document.write( "=
\n" ); document.write( "=
\n" ); document.write( "= \"%282x%5E2+%2B+x+%2B+5%29%2F%28%28x-2%29%2A%28x%2B1%29%5E2%29%29\"
\n" ); document.write( "
\n" ); document.write( "
\n" );