Let $f$ be a function with a simple pole at $z_0$. Let $C_{\epsilon}$ be an arc from the point $z_0$ in the angle $\alpha$. It means, that if we take a circle of radius $\epsilon$ around $z_0$, then $C_{\epsilon}$ is an arc on this circle with the angle of $\alpha$.
I want to prove that $$\lim_{\epsilon \to 0} \int_{C_{\epsilon}} f(z)\,dz = i\alpha \operatorname{res}_{z_0} f$$
It seems obvious to use the residue theorem. However I can't think of an appropriate contour. I can the the "pizza slice" around $z_0$ because then I won't be able to use the theorem. All other contour I could think of seem really complicated.
Help would be appreciated.
Moreover, it is asked to answer what happens when $z_0$ is not a simple pole. I don't really see how anything will differ in this case.
Let $r=\operatorname{res}_{z=z_0}f(z)$. Since $z_0$ is a simple pole,then, near $z_0$, $f(z)$ can be written as$$\frac r{z-z_0}+\sum_{n=0}^\infty a_n(z-z_0)^n.$$Let $\varphi(z)=\sum_{n=0}^\infty a_n(z-z_0)^n$ and let $\eta$ be a primitive of $\varphi$. Then, if $C_\varepsilon(t)=z_0+\varepsilon e^{it}$ ($t\in[a,b]$, with $b-a=\alpha$), we have\begin{align}\int_{C_\varepsilon}\frac r{z-z_0}\,\mathrm dz&=r\int_a^b\frac{\varepsilon ie^{it}}{z_0+\varepsilon e^{it}-z_0}\,\mathrm dt\\&=ir\int_a^b1\,\mathrm dt\\&=ir(b-a)\\&=i\alpha r.\end{align}So,\begin{align}\int_{C_\varepsilon}f(z)\,\mathrm dz&=\int_{C_\varepsilon}\frac r{z-z_0}\,\mathrm dz+\int_{C_\varepsilon}\varphi(z)\,\mathrm dz\\&=i\alpha r+\eta(b_\varepsilon)-\eta(a_\varepsilon),\end{align}where $a_\varepsilon$ and $b_\varepsilon$ are the extreme points of the arc $C_\varepsilon$. And, clearly, $\lim_{\varepsilon\to0}\eta(b_\varepsilon)-\eta(a_\varepsilon)=0$.