Skip to main content

Complex Analysis: an Open Source Textbook

Section 6.4 The Fundamental Theorems of Integration

Let \(f\) be analytic in the simply connected domain \(D\text{.}\) The theorems in this section show that an antiderivative \(F\) can be constructed by contour integration. A consequence will be the fact that in a simply connected domain, the integral of an analytic function \(f\) along any contour joining \(z_1\) to \(z_2\) is the same, and its value is given by \(F(z_2) -F(z_1)\text{.}\) As a result, we can use the antiderivative formulas from calculus to compute the value of definite integrals.

Proof.

We first establish that the integral is independent of the path of integration. This will show that the function \(F\) is well-defi.e., which in turn will justify the notation \(F(z)=\int_{z_0}^zf(\xi)\,d\xi\text{.}\)
We let \(C_1\) and \(C_2\) be two contours in \(D\text{,}\) both with initial point \(z_0\) and terminal point \(z\text{,}\) as shown in Figure 6.4.2.
Figure 6.4.2. The contours \(C_1\) and \(C_2\) joining \(z_0\) to \(z\)
Then \(C_1-C_2\) is a simple closed contour, and the Cauchy-Goursat theorem implies that
\begin{equation*} \int_{C_1}f(\xi)\,d\xi -\int_{C_2}f(\xi)\,d\xi = \int_{C_1-C_2}f(\xi)\,d\xi = 0\text{.} \end{equation*}
Therefore, the contour integral in Equation (6.4.1) is independent of path. Here we have taken the liberty of drawing contours that intersect only at the endpoints. A slight modification of the proof shows that a finite number of other points of intersection are permitted.
We now show that \(F\,'(z)=f(z)\text{.}\) Let \(z\) be held fixed, and let \(\left\vert \Delta z\right\vert\) be chosen small enough so that the point \(z+\Delta z\) also lies in the domain \(D\text{.}\) Since \(z\) is held fixed, \(f(z)=K\text{,}\) where \(K\) is a constant, and Equation (6.1.9) implies that
\begin{equation} \int_z^{z+\Delta z}f(z)\,d\xi = \int_z^{z+\Delta z}K\,d\xi = K \Delta z = f(z) \Delta z\text{.}\tag{6.4.2} \end{equation}
Using the additive property of contours and the definition of \(F\) given in Equation (6.4.1), we have
\begin{align} F(z+\Delta z) -F(z) \amp = \int_{z_0}^{z+\Delta z}f(\xi)\,d\xi -\int_{z_0}^{z}f(\xi)\,d\xi\notag\\ \amp = \int_{\Gamma _2}f(\xi)\,d\xi -\int_{\Gamma _1}f(\xi)\,d\xi =\int_{\Gamma}f(\xi)\,d\xi\text{.}\tag{6.4.3} \end{align}
where the contour \(\Gamma\) is the straight-line segment joining \(z\) to \(z+\Delta z\text{,}\) and \(\Gamma_1\) and \(\Gamma_2\) join \(z_0\) to \(z\text{,}\) and \(z_0\) to \(z+\Delta z\text{,}\) respectively, as shown in Figure 6.4.3.
Figure 6.4.3. The contours \(\Gamma _1\) and \(\Gamma _2\) and the line segment \(\Gamma\)
Since \(f\) is continuous at \(z\text{,}\) for any \(\varepsilon >0\) there is a \(\delta>0\) so that
\begin{equation*} |f(\xi )-f(z)| \lt \varepsilon \text{ when } |\xi -z| \lt \delta\text{.} \end{equation*}
If we require that \(\left\vert \Delta z\right\vert \lt \delta\) and combine this last inequality with Equations (6.4.2) and (6.4.3), and Theorem (6.2.14), we get
\begin{align*} \left|\frac{F(z+\Delta z) -F(z)}{\Delta z} -f(z)\right| \amp = \frac{1}{|\Delta z|} \left\vert \int_{\Gamma }f(\xi)\,d\xi - \int_{\Gamma }f(z)\,d\xi \right\vert\\ \amp \le \frac{1}{|\Delta z|}\int_{\Gamma}\big|f(\xi ) -f(z)\big| \big|d\xi\big|\\ \amp \lt \frac{1}{|\Delta z|}\varepsilon |\Delta z|\\ \amp = \varepsilon \text{.} \end{align*}
Thus \(\left|\frac{F(z+\Delta z) -F(z)}{\Delta z}-f(z)\right|\) tends to 0 as \(\Delta z \to 0\text{,}\) so \(F\,'(z)=f(z)\text{.}\)

Remark 6.4.4.

It is important to stress that the line integral of an analytic function is independent of path. In Example 6.2.14 we showed that \(\int_{C_1}z\ dz=\int_{C_2}z\ dz=4+2i\text{,}\) where \(C_1\) and \(C_2\) were different contours joining \(-1-i\) to \(3+i\text{.}\) Because the integrand \(f(z)=z\) is an analytic function, Theorem 6.4.1 lets us know ahead of time that the value of the two integrals is the same; hence one calculation would have sufficed. If you ever have to compute a line integral of an analytic function over a difficult contour, change the contour to something easier. You are guaranteed to get the same answer. Of course, you must be sure that the function you’re dealing with is analytic in a simply connected domain containing your original and new contours.
If we set \(z=z_1\) in Theorem 6.4.1, then we obtain the following familiar result for evaluating a definite integral of an analytic function.

Proof.

If we choose \(F\) to be the function defined by Formula (6.4.1), then Equation (6.4.4) holds. If \(G\) is any other antiderivative of \(f\) in \(D\text{,}\) then \(G\,'(z)=F\,'(z)\) for all \(z\in D\text{.}\) Thus the function \(H(z)=G(z) -F(z)\) is analytic in \(D\text{,}\) and \(H\,'(z) = G\,'(z)-F\,'(z) = 0\text{,}\) for all \(z\in D\text{.}\) Thus, by Theorem 3.2.13, this means \(H(z)=K\text{,}\) for all \(z\in D\text{,}\) where \(K\) is some complex constant. Therefore \(G(z)=F(z) +K\text{,}\) so \(G(z_1)-G(z_0) = F(z_1)-F(z_0)\text{,}\) which establishes our theorem.
Theorem 6.4.5 gives an important method for evaluating definite integrals when the integrand is an analytic function in a simply connected domain. In essence, it permits you to use all the rules of integration that you learned in calculus. When the conditions of Theorem 6.4.5 are met, applying it is generally much easier than parametrizing a contour.

Example 6.4.6.

Show that \(\displaystyle \int_C\frac{1}{2z^{\frac{1}{2}}}\,dz = 1+i\text{,}\) where \(z^{\frac{1}{2}}\) is the principal branch of the square root function and \(C\) is the line segment joining 4 to \(8+6i\text{.}\)
Solution.
We showed in Chapter 3 that if \(F(z)=z^{\frac{1}{2}}\text{,}\) then \(F\,'(z)=\frac{1}{2z^{\frac{1}{2}}}\text{,}\) where the principal branch of the square root function is used in both the formulas for \(F\) and \(F\,'\text{.}\) We note that \(C\) is contained in the simply connected domain \(D_4(6+3i)\text{,}\) which is the open disk of radius 4 centered at the midpoint of the segment \(C\text{.}\) Since \(f(z)=\frac{1}{2z^{\frac{1}{2}}}\) is analytic in \(D_4(6+3i)\text{,}\) Theorem 6.4.5 implies
\begin{equation*} \int_4^{8+6i}\frac{1}{2z^{\frac{1}{2}}}\,dz = (8+6i)^{ \frac{1}{2}}-4^{\frac{1}{2}}=3+i-2=1+i \end{equation*}

Example 6.4.7.

Show that \(\int_C\cos z\ dz=-\sin 1+i\sinh 1\text{,}\) where \(C\) is the line segment between 1 and \(i\text{.}\)
Solution.
An antiderivative of \(f(z)=\cos z\) is \(F(z)=\sin z\text{.}\) Since \(F\) is entire, Theorem 6.4.5 yields
\begin{equation*} \int_C\cos z\ dz=\int_1^{i}\cos z\ dz=\sin i-\sin 1=-\sin 1+i\sinh i \end{equation*}

Example 6.4.8.

We let \(D=\{z=re^{i\theta}:r>0 \text{ and } -\pi \lt \theta \lt \pi \}\) be the simply connected domain shown in Figure 6.4.9.
Figure 6.4.9. The simply connected domain \(D\) from Examples 6.4.8 and Example 6.4.10
We know that \(f(z)=\frac{{1}}{z}\) is analytic in \(D\) and has an antiderivative \(F(z)=\mathrm{Log}(z)\text{,}\) for all \(z\in D\text{.}\) If \(C\) is a contour in \(D\) that joins the point \(z_1\) to the point \(z_2\text{,}\) then Theorem 6.4.5 implies that
\begin{equation*} \int_C\frac{1}{z}\,dz = \int_{z_1}^{z_2}\frac{1}{z}\,dz = \mathrm{Log}(z_2)-\mathrm{Log}(z_1) \end{equation*}

Example 6.4.10.

Show that \(\int_{C_1^+(0)}\frac{dz}{z} = 2\pi i\text{.}\)
Solution.
Recall that \(C_1^+(0)\) is the unit circle with positive orientation. We let \(C\) be that circle with the point \(-1\) omitted, as shown in Figure 6.4.9(b). The contour \(C\) is contained in the simply connected domain \(D\) of Example 6.4.8. We know that \(f(z)=\frac{1 }{z}\) is analytic in \(D\text{,}\) and has an antiderivative \(F(z)= \mathrm{Log}(z)\text{,}\) for all \(z\in D\text{.}\) Therefore, if we let \(z_2\) approach \(-1\) on \(C\) through the upper half-plane and \(z_1\) approach \(-1\) on \(C\) through the lower half-plane,
\begin{align*} \int_{C_1^+(0)}\frac{1}{z}\,dz \amp = \lim_{\substack{ { z_2 \to -1\,(z_2\in C,\,\mathrm{Im}z_2>0)} \\ {z_1 \to -1\,(z_1\in C,\,\mathrm{Im}z_1\lt 0)}} }\int_{z_1}^{z_2}\frac{1}{z}\,dz\\ \amp = \lim_{z_2 \to -1\,(z_2\in C,\,\mathrm{Im}z_2>0)}\mathrm{Log}(z_2)-\lim_{z_1 \to -1\,(z_1\in C,\,\mathrm{Im}z_1\lt 0)}\mathrm{Log}(z_1)\\ \amp = i\pi -(-i\pi )\\ \amp =2\pi i\text{.} \end{align*}

Exercises Exercises

For Exercises 1–14, find the value of the definite integral using Theorem 6.4.1 and explain why you are justified in using it.

1.

\(\int_Cz^2\ dz\text{,}\) where \(C\) is the line segment from \(1+i\) to \(2+i\text{.}\)
Solution.
\(\frac{4}{3}+3i\text{.}\)

2.

\(\int_C \cos z\ dz\text{,}\) where \(C\) is the line segment from \(-i\) to \(1+i\text{.}\)

3.

\(\int_C \exp z\ dz\text{,}\) where \(C\) is the line segment from \(2\) to \(i\frac{\pi}{2}\text{.}\)
Solution.
\(-e^2+i\text{.}\)

4.

\(\int_C z\exp z\ dz\text{,}\) where \(C\) is the line segment from \(-1-i\frac{\pi}{2}\) to \(2+i\pi\text{.}\)

5.

\(\int_C \frac{1+z}{z}\ dz\text{,}\) where \(C\) is the line segment from \(1\) to \(i\text{.}\)
Solution.
\(-1+i\frac{\pi +2}{2}\text{.}\)

6.

\(\int_C \sin \frac{z}{2}\ dz\text{,}\) where \(C\) is the line segment from \(0\) to \(\pi -2i\text{.}\)

7.

\(\int_C (z^2+z^{-2}) dz\text{,}\) where \(C\) is the line segment from \(i\) to \(1+i\text{.}\)
Solution.
\(-\frac{7}{6}+i\frac{1}{2}\text{.}\)

8.

\(\int_C z\exp (z^2) dz\text{,}\) where \(C\) is the line segment from \(1-2i\) to \(1+2i\text{.}\)

9.

\(\int_Cz\cos z\ dz\text{,}\) where \(C\) is the line segment from \(0\) to \(i\text{.}\)
Solution.
\(-1-\sinh 1+\cosh 1\text{.}\)

10.

\(\int_C\sin ^2z\ dz\text{,}\) where \(C\) is the line segment from \(0\) to \(i\text{.}\)

11.

\(\int_C\)Log \(z\ dz\text{,}\) where \(C\) is the line segment from \(1\) to \(1+i\text{.}\)
Solution.
\(\ln \sqrt{2}-\frac{\pi}{4}+i(\ln \sqrt{2}+\frac{\pi}{4}-1)\text{.}\)

12.

\(\int_C\frac{dz}{z^2-z}\text{,}\) where \(C\) is the line segment from \(2\) to \(2+i\text{.}\)

13.

\(\int_C\frac{2z-1}{z^2-z}\ dz\text{,}\) where \(C\) is the line segment from \(2\) to \(2+i\text{.}\)
Solution.
\(\mathrm{Log}(1+i) - \mathrm{Log}(2) + \mathrm{Log}(2+i) = -\ln\sqrt{2} + \ln\sqrt{5} + i\Big(\frac{\pi}{4}+\mathrm{Arctan}(\frac{1}{2})\Big)\text{.}\)

14.

\(\int_C\frac{z-2}{z^2-z}\ dz\text{,}\) where \(C\) is the line segment from \(2\) to \(2+i\text{.}\)

15.

Show that \(\int_C1\ dz=z_2-z_1\text{,}\) where \(C\) is the line segment from \(z_1\) to \(z_2\text{,}\) by parametrizing \(C\text{.}\)
Solution.
Parametrize \(C\) with \(z(t) = z_1 + ( z_2-z_1)t, \, 0 \le t \le 1\text{.}\) Then we see that \(\int_{C}1\,dz = \int_0^{1}z\,'(t)\,dt = \int_0^{1}(z_2-z_1)\,dt = (z_2-z_1)t\Big|_{t=0}^{t=1} = z_2-z_1\text{.}\)

16.

Let \(z_1\) and \(z_2\) be points in the right half-plane and let \(C\) be the line segment joining them. Show that \(\int_C \frac{1}{z^2}\,dz = \frac{1}{z_1}-\frac{1}{z_2}\text{.}\)

17.

Let \(z^{\frac{1}{2}}\) be the principal branch of the square root function.
(a)
Evaluate \(\int_C\frac{1}{2z^{\frac{1}{2}}}\,dz\text{,}\) where \(C\) is the line segment joining \(9\) to \(3+4i\text{.}\)
Solution.
\(-1+i\text{.}\)
(b)
Evaluate \(\int_Cz^{\frac{1}{2}}\ dz\text{,}\) where \(C\) is the right half of the circle \(C_2^+(0)\) joining \(-2i\) to \(2i\text{.}\)

18.

Using partial fraction decomposition, show that if \(z\) lies in the right half-plane and \(C\) is the line segment joining \(0\) to \(z\text{,}\) then \label {6.4.18}
\begin{equation*} \int_C\frac{1}{\xi ^2+1}\,d\xi = \mathrm{Arctan}(z) = \frac{i}{2}\mathrm{Log}(z+i)-\frac{i}{2}\mathrm{Log}(z-i)+\frac{\pi}{2} \end{equation*}

19.

Let \(f\,'\) and \(g\,'\) be analytic for all \(z\text{,}\) and let \(C\) be any contour joining the points \(z_1\) and \(z_2\text{.}\) Show that \label {6.4.19}
\begin{equation*} \int_C f(z)g\,'(z)\,dz = f(z_2)g(z_2) - f(z_1)g(z_1) - \int_C f\,'(z)g(z)\,dz \end{equation*}
Solution.
We know that an antiderivative of the function \(fg\,' + gf\,'\) is \(fg\) by the product rule. Since \(fg\,'\) and \(gf\,'\) are analytic (explain why!), Theorem 6.4.5 gives us \(\int_{C}\left[ f(z) g\,'( z) +g(z) f\,'(z) \right]dz = f(z)g(z)\Big|_{z=z_1}^{z=z_2}\text{.}\) Explain why the conclusion now follows.

20.

Compare the various methods for evaluating contour integrals. What are the limitations of each method?

21.

Explain how the fundamental theorem of calculus studied in complex analysis and the fundamental theorem of calculus studied in calculus are different. How are they similar?

22.

Show that \(\int_Cz^{i}dz=(i-1) \frac{1+e^{-\pi}}{2}\text{,}\) where \(C\) is the upper half of \(C_1^+(0)\text{.}\)