The given polynomial is P(x)=2x3+3x2+ax+b
It is also given that if P(x) is divided by (x−2) then it will leave the remainder 2 and if divided by (x+2) then the remainder will be −2 which means that P(2)=2 and P(−2)=−2 (Using Remainder theorem).
Let us first substitute x=2 in P(x)=2x3+3x2+ax+b as shown below:
⇒P(2)=2(2)3+3(2)2+(a×2)+b⇒2=(2×8)+(3×4)+2a+b⇒2=16+12+2a+b
⇒2=28+2a+b⇒2a+b=2−28⇒2a+b=−26.........(1)
Now, substitute x=−2 in P(x)=2x3+3x2+ax+b as shown below: