Given : f(x) is a polynomial when divided by (x−2) and (x+2) leaves remainder 5 and 1.
⇒f(2)=5,f(−2)=1 and when divided by (x2−4) leaves g(x)
⇒f(x)=(x2−4)Q(x)+ax+b⇒f(2)=2a+b=5 ⋯(1)⇒f(−2)=−2a+b=1 ⋯(2)
Solving equations (1) and (2), we get
⇒a=1,b=3⇒g(x)=x+3∴g(5)=8