document.write( "Question 171656: Divide\r
\n" ); document.write( "\n" ); document.write( "x^3-8/x+2
\n" ); document.write( "

Algebra.Com's Answer #126812 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!
Apply the special case of sum/difference of cubes:
\n" ); document.write( "X^3+ Y^3 = (x + y)(X^2 - XY + Y^2 )
\n" ); document.write( "X^3 -^Y3 = (X - Y)(X^2 + XY + Y^2 )
\n" ); document.write( ".
\n" ); document.write( "In your case, it's the second one:
\n" ); document.write( "So
\n" ); document.write( "x^3-8/x+2
\n" ); document.write( "after factoring the numerator becomes:
\n" ); document.write( "(x+2)(x^2 -2x + 4)/(x+2)
\n" ); document.write( "canceling like-terms we get:
\n" ); document.write( "x^2 -2x + 4
\n" ); document.write( "
\n" ); document.write( "
\n" );