document.write( "Question 467157: Partial fraction decomposition:
\n" ); document.write( "(5x^2+20x+6)/x^3+2x^2+x\r
\n" ); document.write( "\n" ); document.write( "Here's what I got but I think it is wrong:
\n" ); document.write( "(5x^2+20x+6)/x(x^2+2x+1)
\n" ); document.write( "(5x^2+20x+6)/x(x+1)^2
\n" ); document.write( "(A/x)+(B/(x+1))+(C/(x+1)^2)
\n" ); document.write( "A(x+1)(x+1)^2 + B(x)(x+1)^2 + C(x)(x+1)\r
\n" ); document.write( "\n" ); document.write( "(5x^2+20x+6)=Ax^3+Bx^3+3Ax^2+2Bx^2+Cx^2+3Ax+Bx+Cx+A\r
\n" ); document.write( "\n" ); document.write( "(5x^2+20x+6)=x^3(A+B) + x^2(3A+2B+C) + x(3A+B+C) + A\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "A+B=0
\n" ); document.write( "3A+2B+C=5
\n" ); document.write( "3A+B+C=20
\n" ); document.write( "A=6\r
\n" ); document.write( "\n" ); document.write( "A=6
\n" ); document.write( "B=-6
\n" ); document.write( "C=-1\r
\n" ); document.write( "\n" ); document.write( "But this isn't right. Where did I go wrong?
\n" ); document.write( "

Algebra.Com's Answer #320435 by robertb(5830)\"\" \"About 
You can put this solution on YOUR website!
\"A%28x%2B1%29%28x%2B1%29%5E2+%2B+Bx%28x%2B1%29%5E2+%2B+Cx%28x%2B1%29+\" should have been written as \"A%28x%2B1%29%5E2+%2B+Bx%28x%2B1%29+%2B+Cx\", and then equated to \"5x%5E2%2B20x%2B6\". Compare term-by-term to get the system\r
\n" ); document.write( "\n" ); document.write( "A + B = 5,
\n" ); document.write( "2A + B + C = 20,
\n" ); document.write( "A = 6.\r
\n" ); document.write( "\n" ); document.write( "==> B = -1, and C = 9.
\n" ); document.write( "
\n" );