Evaluate $\int_C \frac{e^{1/z}}{(z-i)^3}dz$ in the circle $|z|=5$
I want to check that if my solution is correct.
Since $1/z$ is not analytic at $z=0$ and $1/(z-i)^3$ is not analytic at $z=i$, hence the function $f(z) =\frac{e^{1/z}}{(z-i)^3}$ has singularities at $z=0$ and $z=3$.
Notice that both of them are inside the circle $|z|=5$.
So we can use residue at infinity to evaluate this integral.
We have:
$f(1/z)= \frac{e^z}{(1/z-i)^3} = \frac{z^3e^z}{(1-iz)^3} \implies \frac{1}{z^2}f(1/z) = \frac{ze^z}{(1-iz)^3}.$
We must find the residue of $\frac{1}{z^2}f(1/z)$ at $z=0$. But notice that this function is analytic at this point. Hence its Laurent expansion is equal to its Taylor expansion. Its principal part is then zero, so we have
$\mbox{Res}_{z = 0}\frac{1}{z^2}f(1/z) = 0$.
So, finally: $\int_C \frac{e^{1/z}}{(z-i)^3}dz = 2\pi i*0 = 0.$
Is this solution correct? I am asking because I did not need to find any series expansion!
Inasmuch as the singularities of the integrand lie inside the unit circle, Cauchy's Integral Theorem guarantees that for $R>5$
$$\oint_{|z|=5}\frac{e^{1/z}}{(z-i)^3}\,dz=\oint_{|z|=R}\frac{e^{1/z}}{(z-i)^3}\,dz$$
Now, we have the simple estimate
$$\begin{align} \left|\oint_{|z|=R}\frac{e^{1/z}}{(z-i)^3}\,dz\right|&=\left|\int_0^{2\pi} \frac{e^{\frac1Re^{-i\phi}}}{(Re^{i\phi}-i)^3}\,iRe^{i\phi}\,d\phi\right|\\\\ &\le \frac{2\pi R^2}{(R-1)^4} \end{align}$$
Finally, letting $R\to \infty$, we find
$$\oint_{|z|=5}\frac{e^{1/z}}{(z-i)^3}\,dz=0$$
And we are done!