Factorise: x3−3x2+3x+7
Let P(x)=x3–3x2+3x+7
On applying integral root theorem
Constant term=7
Possible roots=+1,+7
P(-1)=-1–3–3+7=7–7=0
so x+1 is a factor of P(x)
X3+X2–4X2–4X+7X+7
=x2(x+1)−4x(x+1)+7(x+1)
=(x+1)(x2–4x+7)