5. Contours and Complex Integration

Antiderivatives

Antiderivatives in Complex Analysis

Welcome, students. In this lesson, you will learn how antiderivatives work in complex analysis and why they matter for contour integrals 🌟. In real-variable calculus, an antiderivative helps us undo differentiation. In complex analysis, the same idea appears, but with complex-valued functions and paths in the complex plane. By the end of this lesson, you should be able to explain the key terms, recognize when an antiderivative exists, and understand how antiderivatives simplify contour integrals.

What is an antiderivative?

A function $F$ is an antiderivative of a complex function $f$ on a region if $F'(z)=f(z)$ for every point $z$ in that region. Here, $f$ and $F$ are functions of a complex variable $z$. This is the complex version of the familiar calculus idea: if $F$ is a “reverse derivative” of $f$, then differentiating $F$ gives $f$ again.

For example, the function $F(z)=z^2$ has derivative $F'(z)=2z$. So $F(z)=z^2$ is an antiderivative of $f(z)=2z$. Another example is $F(z)=e^z$, which satisfies $F'(z)=e^z$, so it is an antiderivative of itself.

In complex analysis, antiderivatives are especially important because they make contour integrals easier to compute. If a function has an antiderivative, then its integral along a path depends only on the endpoints, not on the exact route taken. That is a powerful result 📌.

Why antiderivatives matter for contour integrals

A contour is a path in the complex plane. A contour integral of a function $f$ along a contour $C$ is written as $\int_C f(z)\,dz.$ This is the complex analogue of a line integral.

Suppose $f$ has an antiderivative $F$ on a region containing the contour. Then a fundamental theorem of complex analysis says that for any contour from a point $a$ to a point $b$, $\int_C f(z)\,dz=F(b)-F(a).$ This is sometimes called the path independence property.

This is much simpler than calculating the integral directly from the definition. Instead of parameterizing the path and working through a potentially messy computation, you only need the endpoints. For instance, if $f(z)=2z$ and $F(z)=z^2$, then along any contour from $z=1$ to $z=3i$, we get

$$\int_C 2z\,dz=F(3i)-F(1)=(3i)^2-1=-9-1=-10.$$

The path does not matter, as long as $f$ has an antiderivative on the relevant region.

This idea connects antiderivatives directly to the broader topic of contours and complex integration. It also explains why knowing whether an antiderivative exists can save a lot of work.

How to recognize antiderivatives in complex analysis

In many cases, you can find an antiderivative by using rules similar to those from ordinary calculus. Common examples include:

  • $\frac{d}{dz}(z^n)=nz^{n-1}$ for any integer $n\ge 1$
  • $$\frac{d}{dz}(e^z)=e^z$$
  • $$\frac{d}{dz}(\sin z)=\cos z$$
  • $$\frac{d}{dz}(\cos z)=-\sin z$$

So if you see a function like $f(z)=3z^2$, an antiderivative is $F(z)=z^3$. If you see $f(z)=e^z$, then $F(z)=e^z$ works.

However, not every complex function has an antiderivative on every region. The existence of an antiderivative depends on the region as well as the function. A function may behave nicely on one domain but fail to have a global antiderivative on another. This is one reason complex analysis pays close attention to the shape of the region and whether it is simply connected.

A useful test is based on derivatives and path independence. If a function has an antiderivative on a region, then every contour integral over a closed contour in that region is zero:

$$\oint_C f(z)\,dz=0.$$

This gives a practical way to check whether an antiderivative might exist.

A classic example: the function $\frac{1}{z}$

One of the most important examples in complex analysis is $f(z)=\frac{1}{z}$. On a region that avoids the origin, this function is well defined. But does it always have an antiderivative? The answer depends on the region.

On the punctured plane, which is the complex plane with $0$ removed, $\frac{1}{z}$ does not have a single-valued antiderivative. A major reason is that the integral around the unit circle is not zero:

$$\oint_{|z|=1} \frac{1}{z}\,dz=2\pi i.$$

Since a function with an antiderivative must have zero integral over every closed contour, this shows that $\frac{1}{z}$ has no antiderivative on that region.

But if you restrict to a smaller region that does not loop around $0$, then an antiderivative may exist. For example, on a domain where a branch of the logarithm is defined, an antiderivative of $\frac{1}{z}$ is the complex logarithm $\log z$, because $$\frac{d}{dz}(\log z)=\frac{1}{z}.$$

This example shows that the region matters a lot in complex analysis. The same function can have an antiderivative in one domain and fail to have one in another 🌐.

Path independence and the Fundamental Theorem of Complex Integration

The link between antiderivatives and contour integrals is one of the most useful results in the subject. If $f$ has an antiderivative $F$ on a region containing a contour $C$ from $a$ to $b$, then $$\int_C f(z)\,dz=F(b)-F(a).$$

This means the integral depends only on the starting and ending points.

Path independence also means that if $C_1$ and $C_2$ are two different contours with the same endpoints, then $$\int_{C_1} f(z)\,dz=\int_{C_2} f(z)\,dz.$$

This is extremely useful in applications, because you can choose the easiest path for computation.

For example, suppose $f(z)=z^2+1$. An antiderivative is $F(z)=\frac{z^3}{3}+z.$ If a contour goes from $z=0$ to $z=2+i$, then

$$\int_C (z^2+1)\,dz=\frac{(2+i)^3}{3}+(2+i)-0.$$

You do not need the exact path of $C$.

This is a major difference from many real-world path integrals, where the path may matter unless the field is conservative. In complex analysis, antiderivatives give a clean criterion for when path independence holds.

How antiderivatives fit into the bigger picture

Antiderivatives are part of a larger structure in complex analysis that includes contours, contour integrals, estimation, and deeper theorems. They help explain why some integrals are simple and why some are not.

If a function has an antiderivative, then contour integrals can often be computed immediately. If it does not, more advanced tools are needed. This is where topics like estimation and Cauchy’s theorem become important later in the course. In that sense, antiderivatives are a foundation for the study of complex integration.

Another important idea is that antiderivatives help identify whether a function is conservative in the complex sense. When $f$ has an antiderivative, the integral around every closed contour is zero, and the function behaves in a very predictable way. This predictability is one reason antiderivatives are central to the theory.

You can think of antiderivatives as a shortcut and a test at the same time: they make integrals easier and also reveal structural information about the function and the region.

Common mistakes to avoid

A common mistake is assuming that every function with no singularities has an antiderivative everywhere. In complex analysis, the shape of the domain matters. A function may be analytic but still fail to have a global antiderivative if the region has a hole.

Another mistake is confusing a local antiderivative with a global one. Locally, many analytic functions look like they have antiderivatives, but globally the situation can change because of loops around excluded points.

It is also important not to forget the condition on the region. Saying $F'(z)=f(z)$ is not enough unless $F$ is defined on the whole region of interest. Always check that the antiderivative exists on the domain containing the contour.

Conclusion

Antiderivatives are a central idea in complex analysis because they connect differentiation, path independence, and contour integration. If a function $f$ has an antiderivative $F$, then contour integrals become easy to evaluate using $$\int_C f(z)\,dz=F(b)-F(a).$$

This means the integral depends only on the endpoints, not on the path. The idea is powerful, practical, and essential for understanding later results in complex integration.

By mastering antiderivatives, students, you gain a tool that simplifies calculations and deepens your understanding of how complex functions behave in different regions. This topic is a key step toward more advanced ideas in complex analysis 🚀.

Study Notes

  • An antiderivative of $f(z)$ is a function $F(z)$ such that $F'(z)=f(z)$.
  • If $f$ has an antiderivative on a region, then contour integrals are path independent.
  • The key formula is $$\int_C f(z)\,dz=F(b)-F(a).$$
  • For any closed contour $C$, if $f$ has an antiderivative then $$\oint_C f(z)\,dz=0.$$
  • The function $\frac{1}{z}$ does not have a global antiderivative on the punctured plane because $$\oint_{|z|=1} \frac{1}{z}\,dz=2\pi i.$$
  • A branch of $\log z$ can serve as an antiderivative of $\frac{1}{z}$ on suitable domains.
  • Antiderivatives help connect contour integrals to simpler endpoint calculations.
  • The region matters: some functions have antiderivatives on one domain but not on another.
  • Common antiderivatives include $z^n \mapsto \frac{z^{n+1}}{n+1}$ for $n\neq -1$ and $e^z \mapsto e^z$.
  • Antiderivatives are a foundation for later results in complex integration and contour analysis.

Practice Quiz

5 questions to test your understanding