A textbook I've been reading contains the question:
What is $$\oint_C\frac{z}{z-1}dz$$ where $C$ is a circle with radius $4$ centered at the origin?
Apparently, the correct answer is $2\pi i$, but I think the answer is $0$.
Here is my working:
$C$ is parametrized as $\gamma(t)=4e^{it}, t\in [0,2\pi]$. Therefore, $$\begin{align}\oint_C\frac{z}{z-1}dz &= \oint_C1+\frac{1}{z-1}dz \tag1\\[0.5em] &= \int_0^{2\pi}4ie^{it}+\frac{4ie^{it}}{4e^{it}-1}dt \tag2\\[0.5em] &= [4e^{it}]_0^{2\pi}+[\ln|4e^{it}-1|]_0^{2\pi} \tag3\\[0.5em] &=0 \tag4 \end{align}$$
Where did I mess up?