If both x + 1 and x - 1 are factors of ax3+x2 - 2x + b, find the values of a and b.
x + 1 and x -1 are the factors of
f(x) = ax3+x2 - 2x + b
Let x + 1 = 0, then = - 1
Now, f(-1) = a(−1)3+(−1)2 - 2(-1) + b
= - a + 1 + 2 + b
= 3 - a + b
∴ x + 1 is the factor of f(x)
∴ Remainder = 0
∴ 3 - a + b = 0 ⇒ a - b = 3
Again if x - 1 = 0, then x = 1
∴f(x)=a(1)3+(1)2−2× 1 + b
= a + 1 -2 + b = a + b -1
∴ x - 1 is the factor of f(x)
∴ Remainder = 0
∴ a + b - 1 = 0 ⇒ a + b = 1
Adding we get 2a = 4 ⇒a=42=2
and subtracting, 2b = - 2
⇒b=−22=−1
∴ a = 2, b = - 1