document.write( "Question 750022: consider the integral expression in x!
\n" ); document.write( "\"P=x%5E3%2Bx%5E2%2Bax%2B1\"
\n" ); document.write( "where a is rational number\r
\n" ); document.write( "\n" ); document.write( "at a=[A], the value of P is a rational number for any x which satisfies the equation \"x%5E2%2B2x-2=0\",and this case the value of P is [B}\r
\n" ); document.write( "\n" ); document.write( "solve for A and B
\n" ); document.write( "please, im stuck here
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #456450 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
\"P=x%5E3%2Bx%5E2%2Bax%2B1\"
\n" ); document.write( "Dividing by \"x%5E2%2B2x-2\" we get \"x-1\" for quotient with \"-1\" for a remainder.
\n" ); document.write( "\"P%28x%29=x%5E3%2Bx%5E2%2Bax%2B1=%28x-1%29%28x%5E2%2B2x-2%29-1=x%5E3%2Bx%5E2-4x%2B1\"
\n" ); document.write( "So \"A=-4\"
\n" ); document.write( "
\n" ); document.write( "For any x which satisfies the equation \"x%5E2%2B2x-2=0\",
\n" ); document.write( "\"P%28x%29=%28x-1%29%2A0-1=0-1=-1\"
\n" ); document.write( "so \"B=-1\"
\n" ); document.write( "
\n" );