If the function f(fx) = x^{3} + 2x^{2} + qx – 6 is divisible by x + 1, find q

A.
5 
B.
2 
C.
2 
D.
5
Correct Answer: Option A
Explanation
x + 1 = 0, x = 1; f(x) = x^{3} + 2x^{2} + qx – 6
0 = 1 + 2 – q – 6
q = 5
x + 1 = 0, x = 1; f(x) = x^{3} + 2x^{2} + qx – 6
0 = 1 + 2 – q – 6
q = 5