The correct option is A 2, -1
f(x)=ax3+x2−2x+b
(x+1) is factor of f(x).
a+1−2+b⇒a+b=1
⇒a=1−b .........(1)
∴ (x-1) is a factor of f(x)
a-2 = 1 +b
⇒a=3+b .........(2)
from (1) and (2), we get:
1 - b = 3 + b
⇒−2b=2⇒b=2−2
∴b=−1
Substituting b=-1 in (1), we get
a = 1- b = 1- (-1)
∴a=2
So, the correct answer is option (a).