document.write( "Question 305410: How do I factor each of these polynomials completely.
\n" ); document.write( "x^3+x^2-x-1 and 3a-3b-xa+ax\r
\n" ); document.write( "\n" ); document.write( "I know I have to group the factors. After that I get lost.
\n" ); document.write( "

Algebra.Com's Answer #218743 by edjones(8007)\"\" \"About 
You can put this solution on YOUR website!
x^3+x^2-x-1
\n" ); document.write( "=x^2(x+1)-(x+1)
\n" ); document.write( "=(x^2-1)(x+1)
\n" ); document.write( ".
\n" ); document.write( "3a-3b-xa+ax
\n" ); document.write( "=3(a-b) because -xa+ax=-ax+ax=0
\n" ); document.write( ".
\n" ); document.write( "Ed
\n" ); document.write( "
\n" );