Dividing f(z) by z−i, we obtain the remainder i and dividing it by z+i, we get the remainder 1+i. The remainder upon the division of
f(z) by z2+1 is
f(z)=g(z)(z−i)(z+i)+az+b;a,b ϵ C
f(i)=i⇒ ai+b=i ...(i)
f(−i)=1+i⇒ a(−i)+b=1+i ...(ii)
from(i) and (ii),we get a=i2,b=12+i.
Hence required remainder=az+b=12iz+12+i.