Winding number
Let $γ: [a,b]\to \C\setminus \set{w}$ be a continuous curve.
Then there exists a continuous function $θ: [a,b]\to \R$ such that $γ(t) = w + r(t) e^{iθ(t)}$ where $r(t) = |γ(t) - w|$.
Moreover $θ$ is unique up to a shift by any multiple of $2π$.
Let $γ: [a,b]\to \C$ be a closed curve and $w\in \C\setminus γ$.
The winding number (or winding index) of $γ$ about $w$ is $$ \begin{align*} I(γ; w) = \frac{θ(b) - θ(a)}{2π}\in \Z \end{align*} $$ where $θ: [a,b]\to \R$ is a continuous polar angle defined here.
Let $γ: [a,b]\to γ$ be a closed curve and $w\not\in γ$. Then the winding number is $$ \begin{align*} I(γ; w) = \frac{1}{2πi} \oint_{γ} \frac{\d z}{z - w}. \end{align*} $$
We say a closed curve $γ$ bounds a domain $U$ if the winding number is $$ \begin{align*} I(γ; w) = \begin{cases} 1, & w\in U, \\ 0, & w\not\in U. \end{cases} \end{align*} $$
Let $U\subseteq \C$ be a domain.
We say a closed curve $γ$ in $U$ is homologous to zero in $U$ if $γ$ does not wind around any point outside $U$, i.e. $I(γ; w)$ $=0$ for all $w\not\in U$.
We say $U$ is simply connected if every closed curve in $U$ is homologous to zero in $U$.
-
This definition is different to the topological one, but is equivalent due to the Riemann mapping theorem.
A disk $B(a,R)\subseteq \C$ is simply connected.
Let $f: U\to \C$ be holomorphic on a domain $U$, and let $γ$ be a closed curve in $U$.
If $γ$ is homologous to zero in $U$, then $$ \begin{align*} \oint_γ f(z) \d z = 0 \end{align*} $$ and for all $w\in U\setminus γ$, $$ \begin{align*} I(γ; w) \, f(w) = \frac{1}{2πi} \oint_{γ} \frac{f(z)}{z-w}\d z. \end{align*} $$