Originally published at 狗和留美者不得入内. You can comment here or there.

I’ve been looking through my Gamelin’s *Complex Analysis* quite a bit lately. I’ve solved some exercises, which I’ve written up in private. I was just going over the section on principal values, which had a very neat calculation. I’ll give a sketch of that one here.

Take an integral such that on some there is a singularity, such as . The principal value of that is defined as

.

The example the book presented was

.

Its calculation invokes both the residue theorem and the fractional residue theorem. Our integrand, complexly viewed, has a singularity at , with residue , which one can arrive at with so called Rule 4 in the book, or more from first principles, l’Hopital’s rule. That is the residue to calculate if we had the half-disk in the half plane, arbitrarily large. However, with our pole at we must indent it there. The integral along the arc obviously vanishes. The infinitesimal arc spawned by the indentation, the integral along which, can be calculated by the fractional residue theorem, with any , the minus accounting for the clockwise direction. This time the residue is at , with . So that integral, no matter how small is, is . times the first residue we calculated minus that, which is extra with respect to the integral, the principal value thereof, that we wish to calculate, yields for the desired answer.

Let’s generalize. Complex analysis provides the machinery to compute integrals not to be integrated easily by real means, or something like that. Canonical is having the value on an arc go to naught as the arc becomes arbitrarily large, and equating the integral with a constant times the sum of the residues inside. We’ve done that here. Well, it turns out that if the integral has an integrand that explodes somewhere on the domain of integration, we can make a dent there, and minus out the integral along its corresponding arc.