Module 1: Mathematical physics · Lesson 1.4 · about 60 min
The residue theorem and real integrals
Computing residues at simple, multiple and essential singularities, the residue theorem, trigonometric integrals on the unit circle, rational and Fourier-type integrals with Jordan's lemma, poles on the real axis and principal values, keyhole, wedge and rectangular contours, branch points, and summing series with π cot πz.
Module 1 · about 60 minutes. By the end you will be able to compute residues quickly at any kind of pole, turn a real integral into a contour integral and choose the right contour for it, justify dropping the big arc (including with Jordan’s lemma), handle poles on the axis with principal values, use keyhole, wedge and rectangular contours, and recognise branch points where residues cannot be used. It builds directly on lesson 1.3, analytic functions and Cauchy’s theorem.
1. The residue theorem and how to compute residues
The residue of at an isolated singularity is the coefficient of in its Laurent series. It is the only term that survives a loop, so for a closed curve traversed anticlockwise:
Fast ways to get residues:
- Simple pole: . If with : . So has residue 1 at every , and at a root of , .
- Pole of order m:
- Essential singularity or awkward cases: expand. has residue ; has residue .
- Residue at infinity: of the expansion in powers of for large . All residues, including the one at infinity, add to zero. So if at large , the finite residues add to ; if falls like or faster, they add to 0.
Worked example. : , . The integral is . Check with infinity: for large , and indeed .
- Res f at a
- the coefficient of 1/(z − a): the only part of f that a loop round a can detect
- 2πi
- the integral of 1/(z − a) once round a; every residue is weighted by it
- Closing the contour
- adding a path (usually a big arc) whose contribution is known, mostly zero
- Principal value
- the symmetric limit that cancels the two infinite halves on either side of a pole on the path
- Physical meaning
- Residues are how physicists evaluate Fourier integrals of response functions and propagators: the poles of a response are its resonances, and their positions decide causality and decay.
2. Integrals over a full period: the unit circle
For , put :
and the integral becomes a contour integral round . Only poles inside the unit circle count.
Worked example. . The roots multiply to 1, so exactly one, , is inside. Its residue is , and the integral is . In general for .
For in the numerator, write it as rather than : the second form adds a pole of order at the origin. So (only is inside).
3. Rational functions on the real line
For with and no real zeros of , close with a large semicircle in the upper half-plane. On the arc and the length is , so the arc contributes at most :
Worked example. : the upper poles are and , with residues . Sum , times : . Double poles need the derivative formula: (half the full-line value, as the integrand is even).
4. Fourier-type integrals and Jordan’s lemma
For , use on the contour (never or , which grow in both half-planes) and take real or imaginary parts at the end. The sign of picks the half-plane, because :
- : close above; the result is (upper half-plane).
- : close below; the contour runs clockwise, so the result is (lower half-plane).
Here the decay of alone can be too slow: falls only like . The exponential rescues it:
The figure integrates each piece numerically. Compare the three integrands: without an exponential, leaves an arc contribution of that never dies; with it does.
Worked example. . Close above (Jordan). Residue at : . So the complex integral is and the answer is . Similarly , even in because each sign closes on its own side.
5. Poles on the axis: principal values
If has a simple pole at a real point , the ordinary integral diverges, but the Cauchy principal value
can be finite. Indent the contour with a small semicircle of radius round . On a small arc round a simple pole, , where is the angle swept: for an arc passing above the pole (clockwise), below. Either way, the final rule is
(for contours closed above, with the arc vanishing).
Worked example. . ; . PV . The imaginary parts cancel, as they must for a real integrand: a leftover imaginary part means a pole was given the wrong weight.
The classic case: , whose imaginary part gives for every , and whose real part gives . The same idea gives .
“A pole on the real axis counts like any other pole inside the contour.” It sits on the contour, so it is neither inside nor outside. For a principal value it contributes , half the usual weight, because the small semicircle sweeps half a turn. Giving it (or 0) leaves an imaginary part in the answer to a real integral, which is the quickest check that something went wrong.
6. Other contours: keyhole, wedge, rectangle
Choose the contour so that the extra sides either vanish or reproduce the original integral times a known factor.
- Keyhole for (non-integer power). Cut along the positive axis; below the cut carries an extra factor . Result for : . With , .
- Wedge for integrands with rotational symmetry. On the ray , is real again, so (one pole inside, at ). On the ray , : the Fresnel integrals .
- Rectangle for periodic pieces such as : shifting by leaves unchanged, giving for .
Warning: branch points. A branch point (of , , ) is not an isolated singularity: the function has no Laurent series there and no residue. Never draw a closed contour that winds round a branch point without a cut; the integrand would not come back to its starting value. On the keyhole, track the branch carefully: with the cut on the positive axis, , so , not the principal value . With that branch, , and the two sides of the cut add rather than cancel.
7. Summing series with residues
has a simple pole with residue 1 at every integer. For falling at least like , the integral of round large squares vanishes, so
For : (use ). With the pole at 0 is of order 5 and gives .
- inside. Simple pole: . Order : th derivative of over . Essential: expand. All residues including infinity add to 0.
- Period integrals: , only poles inside ; . Use for .
- Rational integrands with degree gap at least 2: close in either half-plane, the arc vanishes.
- : close above for , below (with ) for . Jordan’s lemma needs only . Never put on a big arc.
- Poles on the axis: principal value, each. for .
- Keyhole for and , wedge for and Fresnel, rectangle for . Branch points have no residue: cut, and track the branch.
- at the poles of .
Practise: exam questions on this lesson
From warm-up to top-rank level, with full solutions. More on the residues practice page.
Before this: lesson 1.3, analytic functions and Cauchy’s theorem. Next: lesson 1.5, Fourier and Laplace transforms, where residues invert transforms. Back to the GATE Physics course home.
Check yourself
Sources
- R. V. Churchill and J. W. Brown, Complex Variables and Applications, 9th ed. (2013), chapters 6 and 7
- G. B. Arfken, H. J. Weber and F. E. Harris, Mathematical Methods for Physicists, 7th ed. (2013), chapter 11
- M. J. Ablowitz and A. S. Fokas, Complex Variables: Introduction and Applications, 2nd ed. (2003), chapter 4
- M. L. Boas, Mathematical Methods in the Physical Sciences, 3rd ed. (2006), chapter 14
- GATE Physics (PH) syllabus, Mathematical Physics section, published by the organising institute each year
Your ticks stay in this browser. Save them as a file on the course home.
Updated 2026-11-22. Not affiliated with the IITs, IISc or the GATE organising institute. The general aptitude part of GATE is not covered here. Check the official GATE website for the current pattern. All questions are original.