Lecture 22: applications of the residue theorem
Today we continue with applications of the residue theorem to real integrals. Last time, we saw how to use it to compute integrals of rational functions over the real line, with the example of
To start with today, let’s complicated this integral a little bit: what about something like
This is no longer amenable to calculus techniques: does not have an elementary antiderivative. We can try the residue method from last time: let be the upper half-disk of radius , with boundary consisting of the interval and the arc from to , of radius . Then
We can evaluate the integral on the left via the residue theorem; the first integral on the right is the one we want to find, and then we can try to bound the second integral by the ML bound. Here however we encounter a problem: it is not clear that should have a reasonable bound for . Indeed, for example at , which is on , we have
which for large becomes extremely large, much larger than the denominator of order !
However, there is a trick we can use. For real, is the real part of . Therefore if we could compute the integral
then we could determine our desired integral by taking the real part.
This is more amenable to our approach above because is actually nicely bounded on : for , we must have , so has absolute value . Therefore, since for on we have and so and has length , by the ML bound we find
so this integral vanishes as . Therefore to compute our integral it suffices to evaluate
Since is entire and nonzero, the only singularity of in is at , where it has residue . Therefore by the residue theorem the integral is
Since this is real, taking the real part gives again and so we conclude that
For another example, let’s try to compute an integral only along the positive real axis:
To apply the residue theorem, we need to connect back to ; let’s do so via a quarter-circle, so we now have three components to the path: the line from to , the quarter-circle arc of radius from to , and the line from back to . These together form the boundary of a region , giving
We can compute the left-hand side via the residue formula. The singularities of are at , namely at for integers ; the only one of these which is inside our region is . The residue at a point is , so at this is
Therefore the integral is .
On the other side, the integral of will go to zero by the usual ML bound argument: the arc has length , while the absolute value of the integrand is bounded by , so the product goes to . The integral over is what we want to compute; what we’re left with is the integral over .
Let’s parametrize. Since is the straight line from to , we could set and have go from to , or multiply by to flip the endpoints. Thus, since ,
But this is exactly the original integral we wanted to compute: that is,
Therefore our equation above becomes, in the limit as ,
so the integral is .
A different kind of example is for the integration of trigonometric functions. If ranges from to (or to , or any other interval of length , then the usual mapping lets us translated between integrals over and integrals around the unit circle. We have often used this method to turn complex line integrals into usual one-variable integrals over . Now though we have very powerful tools to evaluate complex line integrals, and we would rather go the other way to use these tools to evaluate real integrals.
The reason this is especially useful for trigonometric functions is that we can naturally write and in terms of : we have , and since we also have , so
Let’s work out an example. Fix a real number , and consider
Writing , we have , so . Combining this with the above, we see that this integral is the same thing as
The integrand is a rational function, with poles at the zeros of ; by the quadratic formula, these are at . Since , we have a positive real number, and so it is not contained in the unit circle; however since , so and so is contained in the unit circle, and the integrand has a simple pole there, with residue
Therefore by the residue theorem this is
We could consider both sides of the equation
as a function of the variable . Above, we have shown that the two sides are equal for . If we wanted to take a complex number, we need to specify a branch of the square root on the right: we take the principal branch. Recall that the function can be defined on , taking the branch cut from to along the real axis; away from this branch cut, it is continuous, and in fact analytic. This might lead us to guess that the equation above holds for . (If , then both sides are ill-defined: on the right because of the branch cut, and on the left because then there exists with .)
Indeed, both sides define an analytic function of on , after fixing the branch on the right as above; and we showed above that these functions agree on , a subset containing non-isolated points. Hence they must be equal everywhere on .
This brings us to the more general question of applying the residue theorem to functions with branch cuts. As above, one can do this, but we need to be careful not to cross the branch cuts, and to keep track of our branches.
Let be a real number, and consider the function
For nonnegative real numbers , there is a unique branch of with positive real values, so we can define the integral
To use the residue theorem, though, we will need to specify a branch of . We take the branch cut along the positive real line, and define on by
for . Note that this has phase factor , as can be seen by comparing the value of at and at .
Fix real numbers , where we will eventually want to take and . Let be the slit annulus . We think of the slit in as having a top edge, at , and a bottom edge, at ; so the boundary of consists of a line from to along , on the top edge of the slit, the circle of radius in the positive direction, the line from to along the bottom edge , and the circle of radius in the negative direction. (This is sometimes called the keyhole contour.) We call these pieces respectively , , , and . In particular, when we take and , the limit of will recover our desired real integral.
First, let’s compute the integral
using the residue theorem. The only singularity of in is at , where it has a double pole with residue
Therefore by the residue theorem this integral is
Next, we’ll study the components
For the circular integrals, we use the ML bound: on , we have and , so , which tends to as since , and on we have and , so as since . Therefore both circular integrals vanish in the limit.
For the line integrals, we know that on is times the value of on , since this is the definition of the phase factor. In addition, is oriented in the opposite direction to . Therefore
which in the limit is then equal to as above. Therefore for
(To cover the case as well, the left-hand side can be seen by direct integration to be , and the limit of the right-hand side as is also , so we can say that this holds at as well after removing a removable singularity.)
We can again extend this to complex values of as above, but now we have obstructions at , where both sides now fail to be analytic (the left-hand side diverges and the right-hand side has a zero in the denominator). On the strip however both sides are analytic, so since they agree on , which contains non-isolated points, it follows that they agree everywhere on the strip.
The right-hand side extends to , but the left-hand side does not converge outside this strip. Therefore we could view the right-hand side as providing an analytic continuation of this integral to a meromorphic function on .