Lecture 8: line integrals
Our goal today is to briefly review line integrals from multivariable calculus and some properties we can derive using them, in anticipation of building up the complex analogues next week. In theory, everything this week is real, but we will sometimes sneak in complex numbers, or hint what the analogues will look like.
A path, or curve, in a domain is a map , for fixed real numbers (previously always and ). We call this a path from to . We often want to assume that our path is smooth, i.e. infinitely differentiable; very often it will suffice to assume it is continuously differentiable. We’ll often refer to the image of as the same thing as .
We say a path is simple if it never intersects itself, or more formally if is injective, and as closed if ; we say it is a simple closed path if but for any other than , (or vice versa). So a simple closed path can be thought of as a loop in .
If is a strictly increasing continuous function, then is again a path in , with the same image. We call this a reparametrization of , and think of it as essentially equivalent, or a different way of tracing out the same path. Up to potentially reparametrizing, we can concatenate one path with another: if and with , choosing we get with starting point the same as the ending point of , so we can combine them to get a “piecewise smooth” path .
Suppose is a path in from to , and are complex-valued functions on . For points , , …, on , say with , we can consider the Riemann sum
As such that the distances between each point tend to zero (for example if and is continuous), if this has a limit we call it the integral of along , denoted
If we write and assume it is continuously differentiable, with , , by the mean value theorem we can find some such that and similarly for , so we can rewrite the sum above as
so the integral can be rewritten as
This is now something that can be explicitly evaluated using ordinary one-variable calculus.
For the first formula above, we only use the points on the image of the curve , so in particular it is independent of the parametrization, even though the one-variable formulation above appears to depend on this choice. If we reverse the orientation, i.e. go from to (or to ) instead of the other way around, we should multiply everything by .
Consider for example , , and the quarter circle in the first quadrant, , from to . Then we have
where . Indeed, as increases, decreases, so it makes sense that is negative while is positive so the integral is negative.
Another useful tool for evaluating path integrals is Green’s theorem. If is a domain with boundary consisting of a smooth simple closed curve, or possible a disjoint union of piecewise smooth closed curves, and , are continuously differentiable functions on , then
This is useful even for non-closed curves. For example, for the quarter-circle as above, write for the straight line segment connecting and , i.e. from to , and for the line segment connecting and , i.e. , again from to . Then concatenating , , and gives a simple closed curve, the boundary of the quarter-disk . Now, for and , note that and both vanish on and , so
By Green’s theorem, this is the same thing as
agreeing with the computation above.
An important question is when a path integral is independent of the path chosen, so long as the endpoints are the same. It’s not immediately obvious that this would ever be true, but is strongly suggested by the analogy with the fundamental theorem of calculus: recall that if is the derivative of some function on , then
What about the multivariable situation?
If is continuously differentiable, write
We say is exact if it is equal to for some function . In this case, a similar result holds:
Thus the path integral of an exact differential is independent of the path. In fact the converse is true as well, though we won’t prove this.
However, not every differential is exact. I claim that our example of already gives an example. To see this, it’s useful to give a criterion we can check. Suppose is exact, and so equal to some , so and . Then
More generally, we say that is closed if ; so the above shows that every exact differential is closed. But is not closed: while , so while , so therefore cannot be exact.
Note that the differential being closed is the same as the integrand in Green’s theorem being zero, so it follows that the integral of a closed differential along the boundary of some domain satisfying the conditions of the theorem is zero.
Aside.
Next week, we’ll see that this forms the basis of much of our theory of complex integrals, in the following way. For , write . If is a complex function, then , i.e. and , then is closed if
or taking real and imaginary parts
These are precisely the Cauchy–Riemann equations for . In other words, is closed if and only if is analytic. As a consequence, if is not analytic then is not closed and therefore not exact.
For certain domains, though, it is true that every closed differential is actually exact. This is actually a characterizing property of simply connected domains (in , though not abstractly); let’s restrict ourselves to star-shaped domains. We can state the result as follows: if is a star-shaped domain and is a closed differential on , where and are continuously differentiable functions, then is exact on .
To prove this, we need to construct . Suppose is star-shaped with respect to a point , and for set
where is the straight line segment from to , say . We claim that .
If , consider for small enough that the triangle with vertices is contained in . Since is closed, the integral along the boundary of the triangle is zero, so
i.e.
Differentiating, we get
The same argument gives
so , i.e. is exact.
Finally, we want to consider the case where is closed, but not necessarily exact, on a domain , so it is not in general independent of the path. However, if we have two paths , which are “very close” to each other in a certain sense and have the same endpoints, then the integrals along these paths do agree. More precisely, suppose that for we have paths in such that at we recover and at we recover , and , sending to , is a continuous map. Then
We won’t prove this; the proof is mostly straightforward but tedious, and amounts to checking that shifting the path by individual small squares doesn’t change the result, and that the overall change from to can be written as a composite of such changes.
A similar argument works for closed paths, in which case we can also allow the starting point to vary. In particular, if a path can be deformed down to the “trivial loop” , independent of , then the integral over it must be zero.