If 2x3+3x2+ax+b is divided by (x−2) leaves the remainder 2 and divided by (x+2) leaves the remainder −2, then the values of a,b are respectively
f(x)=2x3+3x2+ax+b
when divided by (x−2)
f(2)=2∗23+3∗22+a∗2+b
f(2)=16+12+2a+b=R1=2
2a+b=2−28=−26
2a+b=−26...........(equation 1)
when divided by (x+2)
f(−2)=2∗(−2)3+3∗(−2)2+a∗(−2)+b
f(−2)=−16+12−2a+b=R2=−2
−2a+b=−2+4
−2a+b=2...........(equation 2)
Now solve equation 1 and 2
2a+b=−26...........(equation 1)
−2a+b=2...........(equation 2)
By adding equation 1 and 2 we get b=−12 and by subtracting we get a=−7