Dividing f(z) by z−i, we get the remainder i and dividing it by z+i, we get the remainder 1+i. Find the remainder upon the division of f(z) by z2+1.