Theorem (argument principle)

Suppose $γ$ is a closed curve bounding a domain $U$, and $f$ is meromorphic on $U\cup γ$ with no poles or zeros on $γ$. Then $$ \begin{align*} I(f\circ γ; 0) = \frac{1}{2πi}\oint_γ \frac{f'}{f}\d z = (\#\text{ zeros of $f$ in $U$}) - (\#\text{ poles of $f$ in $U$}). \end{align*} $$ counted with multiplicity (i.e. a zero/pole of order $k$ is counted $k$ times).

Proof