Problem: Let $\gamma $ be the positively oriented circle $\left\{ z\in \mathbb{C} :\vert z \vert =2 \right\} $. Evaluate \[ \frac{1}{2\pi \iota }\int_{\gamma }\frac{e^{\iota \pi z}}{(z-1)(z-3\iota )^2}\mathrm{d} z. \]
Solution: We will use the Cauchy integral formula to evaluate the given integral. Recall that
In the given problem, note that \[ f(z) = \frac{e^{\iota \pi z}}{(z-3\iota )^2} \] is analytic inside the circle $\vert z \vert =2$. Therefore, using the Cauchy integral formula we have \begin{align*} \frac{1}{2\pi \iota }\int_{\gamma }\frac{e^{\iota \pi z}}{(z-1)(z-3\iota )^2}\mathrm{d} z & = f(1) \\ & = \frac{e^{\iota \pi}}{(1-3\iota )^2} \\ & = \frac{-1}{1 - 9 - 6\iota } \\ & = \frac{1}{8+6\iota } . \end{align*} Therefore, \[ \textcolor{blue}{\boxed{ \frac{1}{2\pi \iota }\int_{\gamma }\frac{e^{\iota \pi z}}{(z-1)(z-3\iota )^2}\mathrm{d} z = \frac{1}{8+ 6\iota } }} \]