Complex integration
We now introduce contour integrals (also called path integrals), a concept that is built on one-dimensional Riemann integrals but on the complex plane.
Definition 1 (Parameterized Curves). A curve on parameterized by , , is the set of points . A curve/arc is said to be simple it it does not intersect itself, that is except possibly . The curve is said to be closed if . A simple closed curve is called a Jordan curve.
Definition 2 (Contour). A parameterized curve on , with parameter , is said to be continuous if (and therefore and ) is continuous functions of . The curve is said to be smooth if is continuous. A contour is an arc that consists of a finite number of connected smooth arcs.
Example 3. The unit circle centered at the origin, , can be written as a parameterized curve as
Remark 4. It is a convention that when a closed contour is considered, the parameterization is taken in the way such that we are traveling in the anit-clock direction when the parameter value increases.
Definition 5 (Continuity on a Contour). Let be a parameterized curve with parameter . A function is said to be (piecewise) continuous on if is (piecewise) continuous with respect to .
Remark 6. Note that being continuous on a curve is weaker than being continuous (i.e. being continuous as a function of ).
Definition 7. A domain is said to be simply connected if every simple closed contour in it encloses only points of .
Example 8. It is easy to see that disks, rectangles and general polygons are all simply connected. However, the annulus is not simply connected. For instance, the simple closed contour enclose all points inside the unit disk which are all outside of .
Definition 9 (Complex Integration). (i) Let be a smooth contour parameterized by and a piecewise smooth function on . We define the integral of on , often called contour integral of on , as provided that both the real part and the imaginary part of the integral with respect to exist.
(ii) Let be the arc C traversed the opposite direction, i.e. from to . We define
(iii) If is a piecewise smooth contour that consists of smooth arcs , then we define
Example 10. Take contour and , , , . Then on , we have that , and . Therefore
Example 11. Take contour with , , and . Take again , , .
The natural parameterizations for the contour segments are: for (on which , ) and (on which , ), and for (on which , ) and (on which , ) and remember the ANTI-CLOCK rule. We have and
We now prove one of the most important result about contour integration.
Theorem 12 (Fundamental Theorem of (Complex) Calculus). Let be analytic such that and assume that is continuous on domain . Let be a contour in parameterized by , . Then
Proof. Let’s first assume that the contour is smooth (that is, is continuous on ). Then we have If is only piecewise continuous, we can do the same calculation on each piece of and add the results together. This completes the proof. ◻
This theorem says that if is analytic, then the value of the complex integral of on contours that connect two points in the domain is independent of the contour taken. Moreover, the integral over any closed contour is for a well-defined function .
Remark 13. Here are a few quick remarks regarding the Fundamental Theorem of (Complex) Calculus.
We are NOT asking to be analytic but that it is the derivative of an analytic function (although later on we will see that the two actually mean the same thing).
The continuity of is NOT enough to guarantee the existence of such a as we will see later in the semester.
for any closed contour only if is well-defined, that is, single-valued. If is multivalued, is not necessarily even if . We will see an example in the next section.
Example 14. Take contour and . Then . This is because with analytic everywhere and continuous everywhere.
The method of contour deformation
Many times, we need to evaluate contour integrals for a function for whom we can find a such that exist everywhere but on a point (or a finite number of points) inside the domain. If the contour is open or is closed but does not enclose any point where does not exist, then we can use Theorem Theorem 12 to calculate the integral. Otherwise, if the contour is closed and enclose one or more points of non-analyticity of , then the method of contour deformation is very effective in evaluate the integral. We illustrate the idea in the following two examples.
Example 15. Let . Then has the property that besides at . Therefore is not analytic at . Let be a closed contour that enclose . If has a nice parameterization (such as the unit circle as we did before), we could perform some explicit calculations to find the integral. It turns out that even when we don’t know explicitly the parameterization for we could still figure out the integral. We deformed the contour as follows: (i) we introduce a circle around the origin that is totally enclosed in ; (ii) we then introduce a crosscut that connect the circle and in the manner as shown in Figure 2. Let be the distance between line segments and , and . It is then clear that and It is clear that as , since . We therefore have that

Remark 16. We can use the Fundamental Theorem of Calculus (Theorem Theorem 12) to find the integral as follows. Let be a small disk that is enclosed in the closed contour . Then is analytic in (complement of ). By the Fundamental Theorem of Calculus (Theorem Theorem 12), the integral of over the contour is simply with and the starting and ending points of the contour respectively: since the contour is closed. When we travel anti-clockwise along , the argument of increases by when we return to the starting point. Therefore using the fact that (taking any branch would work).
Example 17. We can use the same trick to evaluate the integral of over a closed contour that enclose the origin. In exactly the same way, we can verify that
Cauchy’s Theorem
From the application point of view, the Fundamental Theorem of Calculus is extremely useful since it provides easy ways to evaluate many contour integrals when the anti-derivatives of the integrands are known (and analytic). In the same spirit, the Cauchy’s Theorem is another important theorem that provides (sometimes even more) convenient ways to evaluate contour integrals.
Theorem 18 (Cauchy’s Theorem). Let be analytic in a simply connected domain . Then for any simple closed contour in , we have
Proof. (Based on the assumption that is continuous on so that we can use Green’s theorem.) Let , and . Then Let be the region enclosed in the contour . By the Green’s Theorem, which states , we have The last step follows from the Cauchy-Riemann equations since is analytic. ◻
Remark 19. Cauchy’s Theorem requires that be analytic. This automatically ensures that is continuous as we will see later. Therefore, our assumption on the continuity of in the proof is legimate.
Remark 20. For a non-simple closed contour with finite number of, say , self-intersections, we can decompose the contour into simple closed contours; see Figure 3 for an example with self-intersections. Cauchy’s Theorem can then be applied to each simple closed contour in the decomposition. This shows that Cauchy’s Theorem can be applied to non-simple closed contour of finite number of self-intersections.

Cauchy’s Theorem can be used to check whether or not an anti-derivative exists for a continuous function, as is illustrated in the following theorem
Theorem 21 (Morera’s Theorem). Let be continuous in a simply connected domain . If for every simple closed contour in , then there exists analytic function in such that .
Proof. We construct explicitly as we did in the case of real variable. Let , and be three points in . We integrate along a simple closed contour that is formed by there arcs: , and . This gives by the assumption of the theorem. We now define Then the previous equation implies that Therefore Taking and utilizing the fact that is continuous, we find that This concludes the proof. ◻
It is clear that since exists and is continuous, is analytic. As we will see very soon, if is analytic, then its derivatives are also analytic. This means that is analytic. Therefore, Morera’s Theorem says that if is continuous in a simply connected domain and for every simple closed contour in , then is analytic.
Applications of Cauchy’s Theorem.
Cauchy’s Theorem can be used to find contour integrals of analytic functions. As a comparison between the Fundamental Theorem of Calculus and Cauchy’s Theorem, we emphasize the following.
Fundamental Theorem of Calculus: being continuous + anti-derivative being analytic.
Cauchy’s Theorem: being analytic + being simply connected.
We now give some examples to see how to utilize Cauchy’s Theorem.
Example 22. The integral of (), , , and etc along any closed contour on is since these functions are all analytic on .
Example 23. Let (). Then is analytic everywhere but at .
(i) For any simple closed contour that does not enclose the origin, by Cauchy’s Theorem.
(ii) When is a closed contour around the origin, we use the Method of Contour Deformation to find that
Example 24. Let (). Then is analytic everywhere but at .
(i) For any simple closed contour that does not enclose , by Cauchy’s Theorem.
(ii) When is a closed contour around , we use the Method of Contour Deformation to find that
Example 25. Let (). Then is analytic everywhere but at and .
(i) For any simple closed contour that does not enclose and , by Cauchy’s Theorem.
(ii) When is a closed contour enclosing , but not , we use the Method of Contour Deformation to find that since is analytic in the region enclosed in the contour.
(iii) When is a closed contour enclosing both and , we use the Method of Contour Deformation to find that
Guided review and additional examples
Learning goals
- Parameterize piecewise smooth contours with the correct orientation.
- Evaluate contour integrals from the definition.
- Use antiderivatives when they are available.
- Estimate integrals with the ML inequality.
Concept connection: the path contributes through
For a parameterization , the contour integral becomes . Both the values of on the path and the direction encoded in matter. Reversing orientation multiplies the integral by .
Worked example 1: integrate along a line segment
Let be the line from to , parameterized by for . Then
The same answer follows from the antiderivative .
Worked example 2: a path-dependent integrand
On the positively oriented unit circle, and . Since on this circle,
The integrand has no complex antiderivative on the plane, so endpoint evaluation is not available.
Check your understanding
If on a contour of length , what does the ML inequality say?
Show the answer
It gives . The estimate is often more useful than an exact parameterization when one only needs to show that an integral tends to zero.