3 Contour integration
3.1 Complex-valued integrals
Let \(f \colon [a,b] \to \mathbb {C}\) be a complex-valued continuous function defined on a closed interval \([a,b] \subset \mathbb {R}\). We define the integral of \(f\) as
(Note that on the right hand side we have just Riemann integrals of the continuous real-valued functions \(t \mapsto \Re \mathfrak {e}\big( f(t) \big)\) and \(t \mapsto \Im \mathfrak {m}\big( f(t) \big)\).)
If \(f, g \colon [a,b] \to \mathbb {C}\) are complex-valued continuous functions defined on a closed interval \([a,b] \subset \mathbb {R}\), then the integral of their sum is
If \(f \colon [a,b] \to \mathbb {C}\) is a complex-valued continuous function defined on a closed interval \([a,b] \subset \mathbb {R}\), and \(\lambda \in \mathbb {C}\) is a complex number, then the integral of the scalar multiple of \(f\) is
…
Suppose that \(f \colon [a,b] \to \mathbb {C}\) is a continuously differentiable complex-valued function on a closed interval \([a,b] \subset \mathbb {R}\). Denote its derivative by \(\dot{f}(t) = \frac{\mathrm{d}}{\mathrm{d}t} f(t)\). Then for the integral of the derivative of \(f\) we have
…
3.2 Paths in the complex plane
A path in the complex plane is a continuous function \(\gamma \colon [a,b] \to \mathbb {C}\) from a closed interval \([a,b] \subset \mathbb {R}\) to \(\mathbb {C}\).
When \(A \subset \mathbb {C}\) is a subset of the complex plane, we say that \(\gamma \) is a path in \(A\) if \(\gamma (t) \in A\) for all \(t \in [a,b]\).
If the starting point and the end point of the path \(\gamma \) are the same, \(\gamma (a) = \gamma (b)\), then we say that \(\gamma \) is a closed path.
We sometimes want to disregard the parametrization, and view a path \(\gamma \colon [a,b] \to \mathbb {C}\) as a subset of the complex plane. This subset is the range \(\big\{ \gamma (t) \, \big| \, t \in [a,b] \big\} \subset \mathbb {C}\) of the parametrizing function, but with a slight abuse of notation we often just write \(\gamma \subset \mathbb {C}\) also for this subset.
(Note that the subset \(\gamma \subset \mathbb {C}\) is compact, by continuity of \(\gamma \colon [a,b] \to \mathbb {C}\) and compactness of \([a,b]\).)
A path \(\gamma \colon [a,b] \to \mathbb {C}\) is smooth if it is continuously differentiable, i.e., the derivative
with respect to the parameter \(t\) exists for all \(t \in [a,b]\) (one-sided derivatives at the interval end points \(a\) and \(b\)), and defines a continuous complex-valued function \(t \mapsto \dot{\gamma }(t)\) on \([a,b]\).
A contour (also called a piecewise smooth path) is a continuous function \(\gamma \colon [a,b] \to \mathbb {C}\) such that for some finite subdivision \(a = t_0 {\lt} t_1 {\lt} \ldots {\lt} t_n = b\), the restrictions \(\gamma |_{[t_{j-1},t_j]}\) to the subintervals \([t_{j-1},t_j] \subset [a,b]\) are smooth paths for each \(j = 1, \ldots , n\).
If the starting point and the end point of the contour \(\gamma \) are the same, \(\gamma (a) = \gamma (b)\), then we say that \(\gamma \) is a closed contour.
Given a path \(\gamma \colon [a,b] \to \mathbb {C}\), the reverse path \(\overleftarrow {\gamma } \colon [a,b] \to \mathbb {C}\) is the path defined by
Given path \(\gamma \colon [a,b] \to \mathbb {C}\) and \(\eta \colon [c,d] \to \mathbb {C}\) with \(\gamma (b) = \eta (c)\) (the starting point of \(\eta \) coincides with the end point of \(\gamma \)), the concatenation of \(\gamma \) and \(\eta \) is the path \(\gamma \oplus \eta \colon [a,b+d-c] \to \mathbb {C}\) defined by
(The slightly cumbersome formula in the second case is due to the fact that we need to attach the two parameter intervals of lengths \(b-a\) and \(d-c\) to each other, and we have, somewhat arbitrarily, chosen to glue them to form the interval \([a,b+d-c]\).)
Given a path \(\gamma \colon [a,b] \to \mathbb {C}\) and a continuous increasing bijection \(\phi \colon [c,d] \to [a,b]\), we define the reparametrization of \(\gamma \) by \(\phi \) as the path
Note that
\(\phi ^{-1} \colon [a,b] \to [c,d]\) is also a continuous increasing bijection (a continuous bijection from the compact \([a,b]\) is automatically a homeomorphism; see Lemma A.33) and reparametrization can be undone by rereparametrizing by \(\phi ^{-1}\);
If both \(\gamma \) and the reparametrization function \(\phi \) are smooth (continuously differentiable), then the reparametrized path \(\gamma \circ \phi \) is also smooth;
If both \(\gamma \) and the reparametrization function \(\phi \) are piecewise smooth, then the reparametrized path \(\gamma \circ \phi \) is also piecewise smooth, i.e., a contour.
3.3 Integrals along paths
Let \(f : A \to \mathbb {C}\) be a continuous function defined on a subset \(A \subset \mathbb {C}\). Let \(\gamma \colon [a,b] \to A\) be a smooth path in \(A\). We define the integral of \(f\) along \(\gamma \) as
(Here \(\dot{\gamma }(t) = \frac{\mathrm{d}}{\mathrm{d}t} \gamma (t)\) denotes the derivative of the smooth path \(\gamma \) with respect to its parameter \(t\).)
Sometimes it is appropriate to integrate functions with respect to the arc length in the following sense.
Let \(f : A \to \mathbb {C}\) be a continuous function defined on a subset \(A \subset \mathbb {C}\). Let \(\gamma \colon [a,b] \to A\) be a smooth path in \(A\). We define the integral of \(f\) with respect to the arc length of \(\gamma \) as
(Here \(\dot{\gamma }(t) = \frac{\mathrm{d}}{\mathrm{d}t} \gamma (t) \in \mathbb {C}\) denotes the derivative of the smooth path \(\gamma \) with respect to its parameter \(t\), and \(|\dot{\gamma }(t)| \ge 0\) denotes the absolute value of this derivative.)
In order to extend the definition of contour integrals to piecewise smooth paths, we note that the definition behaves additively under path concatenation.
If a smooth path \(\gamma \) in \(A\) is a concatenation of smooth paths \(\eta _1, \ldots , \eta _n\), and \(f : A \to \mathbb {C}\) is a continuous function defined on \(A \subset \mathbb {C}\), then we have
and
…
By virtue of the above, the following gives a well-defined meaning to integrals along piecewise smooth paths.
Let \(f : A \to \mathbb {C}\) be a continuous function defined on a subset \(A \subset \mathbb {C}\). Let \(\gamma \colon [a,b] \to A\) be a piecewise smooth path in \(A\), which is a concatenation of smooth paths \(\eta _1, \ldots , \eta _n\). We define the integral of \(f\) along \(\gamma \) as
Let \(f : A \to \mathbb {C}\) be a continuous function defined on a subset \(A \subset \mathbb {C}\). Let \(\gamma \colon [a,b] \to A\) be a piecewise smooth path (i.e., a contour) in \(A\), which is a concatenation of smooth paths \(\eta _1, \ldots , \eta _n\). We define the integral of \(f\) along \(\gamma \) as
Let \(\gamma \colon [a,b] \to \mathbb {C}\) be a piecewise smooth path (i.e., a contour) in \(\mathbb {C}\). The length \(\ell (\gamma )\) of \(\gamma \) is defined as
Let \(\gamma \) be a piecewise smooth path in \(A\), and let \(\widetilde{\gamma }\) be obtained from \(\gamma \) by an orientation-preserving reparametrization. Then for any continuous function \(f : A \to \mathbb {C}\) we have
and
If \(f : A \to \mathbb {C}\) is a continuous function defined on \(A \subset \mathbb {C}\), and \(\gamma \) is a piecewise path in \(A\), then for the contour integral and the arc length integral behave as follows under path reversal: then we have
and
…
Let \(A \subset \mathbb {C}\) be a subset of the complex plane let and \(\gamma \colon [a,b] \to A\) be a contour in \(A\).
If \(f, g \colon A \to \mathbb {C}\) are continuous functions defined on \(A\), then the contour integral and the arc length integral of their sum are
If \(f \colon A \to \mathbb {C}\) is a complex-valued continuous function defined on \(A\), and \(\lambda \in \mathbb {C}\) is a complex number, then the contour integral and the arc length integral of the scalar multiple of \(f\) are
…
Let \(f : A \to \mathbb {C}\) be a continuous function defined on \(A \subset \mathbb {C}\), and let \(\gamma \) be a contour in \(A\). Then we have
…
Let \(f : A \to \mathbb {C}\) be a continuous function defined on \(A \subset \mathbb {C}\), and let \(\gamma \) be a contour in \(A\). Assume that \(|f(z)| \le M\) for all points \(z\) on the contour \(\gamma \). Then we have
where \(\ell (\gamma ) = \int _\gamma |\mathrm{d}z|\) denotes the length of the contour \(\gamma \).
…
The following slightly technical auxiliary result will only be used later (for winding number properties and for Cauchy’s formula for the derivative). But since the result only requires contour integration, the natural logical place for it is here. Also, strictly speaking, we only need the cases \(k = 1\) and \(k = 2\) in this lemma; but including general \(k \in \mathbb {N}\) gives the quickest route to Cauchy’s formula for higher order derivatives.
Let \(\gamma \) be a contour in \(\mathbb {C}\), and let \(h \colon \gamma \to \mathbb {C}\) be a continuous function on the contour (we slightly abuse the notation here to identify the contour as a subset \(\gamma \subset \mathbb {C}\)). Let \(k \in \mathbb {N}\) be a positive integer. Define \(H \colon \mathbb {C}\setminus \gamma \to \mathbb {C}\) by
Then \(H\) is analytic on \(\mathbb {C}\setminus \gamma \), and its derivative at \(z \in \mathbb {C}\setminus \gamma \) is given by
…
3.4 Primitives
Let \(f : U \to \mathbb {C}\) be a function defined on an open subset \(U \subset \mathbb {C}\). A primitive of \(f\) is a function \(F : U \to \mathbb {C}\) such that \(F\) is analytic (i.e., complex differentiable) on \(U\),
Suppose that \(f \colon U \to \mathbb {C}\) is a continuous function on an open set \(U \subset \mathbb {C}\), and that \(f\) has a primitive \(F \colon U \to \mathbb {C}\). Then for any contour \(\gamma \colon [a,b] \to U\) we have
In particular for any closed contour \(\gamma \) in \(U\), we have
…
For \(n \in \left\{ 0,1,2,\ldots \right\} \), the monomial function \(f(z) = z^n\) has a primitive \(F(z) = \frac{1}{n+1} z^{n+1} + c\) (with \(c \in \mathbb {C}\) arbitrary) in the whole complex plane \(\mathbb {C}\).
For \(n \in \left\{ -2,-3,-4,\ldots \right\} \), the monomial function \(f(z) = z^n\) has a primitive \(F(z) = \frac{1}{n+1} z^{n+1} + c\) (with \(c \in \mathbb {C}\) arbitrary) in the punctured complex plane \(\mathbb {C}\setminus \left\{ 0 \right\} \).
The monomial function \(f(z) = z^{-1} = \frac{1}{z}\) does not have a primitive in the punctured complex plane \(\mathbb {C}\setminus \left\{ 0 \right\} \).
…
Let \(f \colon U \to \mathbb {C}\) be a continuous function on an open set \(U \subset \mathbb {C}\). Then the following conditions are equivalent:
\(f\) has a primitive on \(U\);
the contour integrals \(\int _\gamma f(z) \, \mathrm{d}z\) of \(f\) along contours \(\gamma \) in \(U\) only depend on the starting point and the end point of \(\gamma \);
for all closed contours \(\gamma \) in \(U\) we have \(\oint _\gamma f(z) \, \mathrm{d}z = 0\).
…