Let p(x) = x3 + x2 + 4x + 12
p(–2) = 0
Thus, x = –2 is the root of p(x).
Now, is a factor of p(x).
p(x) = x3 + x2 + 4x + 12
= (x + 2)(x2 – x + 6)
Let q(x) = x3 – 3x + 2
q = 8 + 6 + 2
= 0
Thus, x = 2 is the root of q(x).
Now, is a factor of q(x).
q(x) = (x + 2)(x2 – 2x + 1)