Statement

Let ff be meromorphic on a domain containing a positively oriented simple closed contour γ\gamma and its interior, with no zeros or poles on γ\gamma. If NN and PP are the numbers of zeros and poles inside γ\gamma, counted with multiplicity, then

12πiγf(z)f(z)dz=NP.\frac{1}{2\pi i}\int_\gamma\frac{f'(z)}{f(z)}\,dz=N-P.
Winding interpretation

The integral equals the of the image contour fγf\circ\gamma about 00. As γ\gamma is traversed, the net change in a continuous choice of argf\arg f is 2π(NP)2\pi(N-P).

Residue proof

At a zero or pole aa, the and local factorization give

Res ⁣(ff,a)=orda(f).\operatorname{Res}\!\left(\frac{f'}f,a\right) =\operatorname{ord}_a(f).

The result follows directly from the . and many root-counting methods are refinements of this mechanism.

References
  1. Lars V. Ahlfors, Complex Analysis, 3rd ed., McGraw–Hill, 1979. Relevant: Chapter 5, §2.