Let p(x)=ax3+bx2+x−6 be the given polynomial.
It is given that p(x) leaves the remainder 0 when it is divided by (x + 2). Therefore,
p(-2) = 0 [x+2=0⇒x=−2]
⇒a(−2)3+b(−2)2+(−2)−6=0
⇒−8a+4b−2−6=0⇒−8a+4b=8
⇒ - 2a + b = 2 ..... (i)
It is given that p(x) leaves the remainder 4 when it is divided by (x - 2). Therefore, p(2) = 4 [x−2=0⇒x=2]
⇒ a(2)3+b(2)2+2−6=4
⇒ 8a + 4b - 4 = 4 ⇒ 8a + 4b = 8
⇒ 2a + b = 2 .... (ii)
Adding (i) and (ii), we get
2b = 4 ⇒ b = 2
Putting b = 2 in (i), we get
-2a + 2 = 2 ⇒ -2a = 0 ⇒ a = 0
Hence, a = 0 and b = 2.