Lecture 21: the residue theorem
In the last few lectures, we saw the following fact: if has an isolated singularity at , so is analytic in a punctured disk centered at , then it has a Laurent series on this punctured disk,
In the last unit, we saw another fact: if is a circle around of radius less than , so that is analytic on , then
Combining these facts, we can study the integral of around :
This motivates the following definition. If is analytic on a punctured disk centered at (i.e. if either is analytic at , or is an isolated singularity of ), then we write (also sometimes denoted or ) for the coefficient of in the Laurent expansion of at .
Recalling the formula for the Laurent coefficients, we have
for as above; however we will usually want to use the residue to compute the integral rather than the other way around, so it is generally better to compute the residue directly from the Laurent expansion, or from some rules we will see below.
Note that if is analytic at , or has a removable singularity there, then all Laurent coefficients of negative powers of are zero, so in particular . Thus the above recovers Cauchy’s theorem in this case.
More interestingly, this lets us compute integrals around circles containing singularities, generalizing Cauchy’s theorem, and singularities different from the type covered in Cauchy’s formula. By the deformation theorem, this actually generalizes to integrating around the boundaries of arbitrary domains containing isolated singularities. Pushing this argument, we get the following theorem, the final key theorem in this class for computing integrals.
Theorem (Residue theorem).
Let be a bounded domain with piecewise smooth boundary, and let be points in such that is an analytic function extending to , which we think of as a function on with isolated singularities at the . Then
Proof.
By the deformation theorem (or Cauchy’s theorem), we can turn the left-hand side into
where is a circle of sufficiently small radius centered at . By the argument above, , and adding up these terms gives the claim. ∎
If where is analytic on , then writing as its Taylor expansion, we have
so the residue as is . Therefore the residue theorem gives
which recovers Cauchy’s integral formula for . We can similarly recover the version for derivatives.
This is an extremely useful theorem: it lets us evaluate, for example, line integrals of meromorphic functions, which none of our methods so far will let us solve in general. It also has applications to usual real integrals, as well as theoretical applications.
In order to use it though we first need to know how to compute residues. We’ve already covered the simplest case: when is analytic at , the residue is zero. The next-simplest case is when has a simple pole at , i.e. a pole of order : the Laurent series is then given by
Therefore
and so
This is a frequently useful formula. For example, consider at . Although by factoring we can see that has a simple pole at and , it isn’t necessarily immediately obvious what the residue is, without computing the Laurent series. However by taking the limit we can find it quickly:
However, if has a higher-order pole, there is no guarantee that this limit will exist. For example, if it has a double pole,
so to get a holomorphic function we multiply by to obtain
To extract , now the coefficient of , we now need to differentiate and evaluate at , so we find
In fact, this argument still applies if has a simple pole, or even if it is analytic at .
For as above, with a simple pole at , we have , with derivative ; evaluating at gives , as above. For an example with a double pole, we could take , now with double poles at ; now this formula gives
With slightly more difficulty, we can extend this argument to poles of any order. If has a pole of order at most at , so
(including the case , in which case it is a pole of lower order), we have
and so differentiating times and evaluating at gives
For a pole of infinite order (i.e. an essential singularity), although the residue theorem remains true, we cannot easily evaluate the residue in this way. The only hope is to write down the Laurent series directly and thus evaluate , which is fortunately often possible in practice at points of interest.
Since we are especially interested in meromorphic functions , let’s mention the following special case: if and are both analytic at and has a simple zero at , so that has either a removable singularity (if has a zero) or a simple pole (if not) at . We have
since . In particular,
Note that if has a simple zero at , then by definition , so this is well-defined.
Applying this rule to as above, we find
just as above.
Let’s mention one more method that sometimes simplifies otherwise difficult calculations: if and both have a simple pole at , then we know that has a double pole at . Computing residues of double poles is harder in general than for simple poles. If we know the first few terms of the Laurent expansions, though, things simplify: if
then
so has residue at . Note that this doesn’t always require knowing the full Laurent expansion; for example, if you know the residues of and at (e.g. by the methods above), then you can compute and by taking the limits as of and respectively.
An example where this method makes things easier is on the homework (though one can also always compute it in other ways). More generally, you should be on the lookout for different ways to manipulate series into giving you the residues.
We now turn to some simple examples of using the residue theorem. Let be the disk of radius centered at , and consider
We’ve seen that has simple zeros at for every integer , so has simple poles at these points; the zeros in this region are , , and . What remains is to compute the residues at these points.
By the rule above, these are , , and . Therefore by the residue theorem we have
This is not an integral we could have computed by any of our previous methods!
There are many more examples of this type, sometimes involving more work to compute the residues; more examples appear on your homework. For now, let’s pivot to another type of integral, which has not come up too much so far in complex analysis: real integrals of real functions.
We’ve seen that the residue theorem is particularly easy to apply to meromorphic functions, of which the simplest are rational functions. Real integrals of rational functions however can be very difficult to compute, or require non-obvious tricks which we can now get around.
Let’s start with a simple example, with our standard example above: consider
Of course, we can use the inverse tangent function to compute this integral; the answer should be . However, this requires knowing about inverse trigonometric functions, which aren’t obviously related to rational functions; moreover it’s not clear how to generalize this approach to other rational functions.
Let’s instead apply the residue theorem. How? To use the residue theorem, we need to have a domain whose boundary coincides with the path along which we want to integrate. A path from to along the real axis is not closed, but we can view it as part of a semicircle of radius centered at , so if is the corresponding half-disk then its boundary is the union of the path from to along the real axis and the arc for . Then we can write
On the left, we can compute this integral via the residue theorem: the only singularity enclosed by this path is at , where we have computed the residue to be , so the residue theorem tells us that the integral is . On the right, the first integral is what we want to evaluate; for the second, we can apply the ML bound. Since on this arc , we have , while the path has length , so the integral is bounded in absolute value by . As , the second integral therefore tends to , and so the first must tend to .
More heuristically, we could view the real line as the boundary of the upper half-plane, and apply the residue theorem, since the only singularity in the upper half-plane is . However, note that this region is not bounded, so this is only a heuristic and the residue theorem does not literally apply; we need to take the limit and show that the second term tends to zero.
This method of course obtains the same result as the one involving the inverse tangent. However, it generalizes much more directly. To compute the integral
where and are polynomials and, to ensure that the integral converges, and has no zeros on the real line, then taking to be the half-disk of radius as above, by exactly the same argument the integral over its boundary is equal to the integral over a portion of the real line plus an integral over the arc, and in the limit the integral over the arc vanishes by the ML bound. Hence we can compute these real integrals by studying the residues of the integrands in the complex plane.
Variants of this method are common, and some appear on the homework. For example, we sometimes want to study integrals over the positive real numbers, rather than all reals; in this case we could take a quarter-circle and include an integral along the imaginary axis, or take a semicircle centered at , depending on the integrand. We can study more general functions than rational functions, too; a common case is a combination of rational and trigonometric functions, by using in place of or and then taking the imaginary or real parts at the end, respectively.