I have to calculate the winding number of the curve |z|=3 around the point $\alpha=i$. After
parameterizing, the integral is as follows $\frac{1}{2\pi i}\int_0^{2\pi}\frac{3ie^{it}}{3e^{it}-i}dt$
After calculating the integral I get $\left[ ln(3e^{it}-i) \right]_0^{2\pi}$, but I get that it's equal to zero. I know the result of the integral should be $2\pi i$, but I don't know how to get there. I'm missing something but i don't know what. Could you help me with this? Thank you in advance.
Hint : Note that if $\gamma : [0,2\pi] \longmapsto \mathbb{C}$ where $\gamma(t) = Re^{it}, R > 0$ we have that :
If $|z| < R \Rightarrow I(\gamma,z) = 1$,
If $|z| > R \Rightarrow I(\gamma,z) = 0$
Where $I(\gamma,z)$ denotes the winding number of the curve around $z$.
Can you take it from here ?