The calculus of residues allows us to employ contour integration for solving definite integrals over the real domain. The trick is to convert the definite integral into a contour integral, and then solve the contour integral using the residue theorem. As an example, consider the definite integral \[\int_<-\infty>^\infty \frac.\] This integral is taken over real values of \(x\) , and in Chapter 3 we solved it using a change of variables. Now let’s see how to solve it using contour integration. First, generalize the integrand from a function of \(x\) to an analytic function of \(z\) . (This procedure is called analytic continuation.) Usually, we choose the new (complex) integrand so that it reduces to the old integrand for \(z \in \mathbb\) , and is analytic over a broad domain. In this case, let \[\frac \rightarrow \frac.\] This is just the integrand we dealt with in Section 9.3. We now have to choose the contour. The usual procedure is to define a closed (loop) contour, such that one segment of the loop is the real line (from \(-\infty\) to \(+\infty\) ), and the other segment of the loop “doubles back” in the complex plane to close the loop. This is called closing the contour. Here, we choose to close the contour along an anticlockwise semicircular arc in the upper half of the complex plane, as shown below: The resulting loop contour encloses the pole at \(z = +i\) , so \[\oint \frac = 2\pi i \; \mathrm\left[\frac\right]_ = \pi.\] Note that the loop is counterclockwise, so we take the positive sign for the residue theorem. The loop integral can also be written as a sum of two integrals: \[\oint \frac = \int_<-\infty>^\infty \frac \;+\; \int_<\mathrm
Before proceeding to more complicated uses of contour integration, we must discuss an important result called Jordan’s lemma:
Theorem \(\PageIndex<1>\) Let \[I = \int_C dz \; e^ \,g(z),\] where \(q\) is any positive real constant, and the contour \(C\) which is a semi-circular arc of radius \(R\) in the upper half-plane, centered at the origin. Then \[\text\;\; \big|\,g(z)\,\big| < g_<\mathrm
In other words, if the factor of \(g(z)\) in the integrand does not blow up along the arc contour (i.e., its value is bounded), then in the limit where the bounding value goes to zero, the value of the entire integral vanishes. Usually, the limiting case of interest is when the radius of the arc goes to infinity. Even if the integrand vanishes in that limit, it may not be obvious that the integral \(I\) vanishes, because the integration is taken along an arc of infinite length (so we have a \(0\times\infty\) sort of situation). Jordan’s lemma then proves useful, as it provides a set of criteria that can let us instantly conclude that \(I\) should vanish. The proof for Jordan’s lemma is tedious, and we will not go into its details. For integrands containing a prefactor of \(e^<-iqz>\) rather than \(e^\) (again, where \(q \in \mathbb^+\) ), a different version of Jordan’s lemma holds, referring to a contour \(C'\) in the lower half-plane:-iqz>
Theorem \(\PageIndex<2>\) Let \[I = \int_C dz \; e^ \,g(z),\] where \(q\) is any positive real constant, and the contour \(C\) which is a semi-circular arc of radius \(R\) in the lower half-plane, centered at the origin. Then \[\text\;\; \big|\,g(z)\,\big| < g_<\mathrm
This is easily seen by doing the change of variable \(z \rightarrow -z\) on the original form of Jordan’s lemma. As a convenient way to remember which variant of Jordan’s lemma to use, think about which end of imaginary axis causes the exponential factor to vanish: \[\begin
Consider the integral \[I = \int_<-\infty>^\infty dx\; \frac.\] One possible approach is to break the cosine up into \((e^ + e^)/2\) , and do the contour integral on each piece separately. Another approach, which saves a bit of effort, is to write \[I = \mathrm \; \int_<-\infty>^\infty dx\; \frac
Note Even though this bears the same name as the “principal values” for multi-valued complex operations discussed in Chapter 8, there is no connection between the two concepts.
Now consider the loop contour shown in the figure below. The loop follows the principal-value contour along the real axis, skips over the pole at \(z = 0\) and arcs back along the upper half-plane. Since it encloses no poles, the loop integral vanishes by Cauchy’s integral theorem. However, the loop can also be decomposed into several sub-contours:
The integral over \(\Gamma_1\) is the principal-value integral we are interested in. The integral over \(\Gamma_2\) vanishes by Jordan’s lemma. The integral over \(\Gamma_3\) can be calculated by parameterization: \[\begin \int_ \frac> &= \lim_ \int_<\pi>^ \frac>> \left(i\epsilon e^\right) d\theta \\ &= \lim_ i \int_<\pi>^0 d\theta \\ &= - i\pi.\end\] Intutively, since encircling a pole anticlockwise gives a factor of \(2\pi i\) times the residue (which is 1 in this case), a clockwise semi-circle is associated with a factor of \(- i \pi\) . Finally, putting everything together, \[\underbrace <\int_<\Gamma_1 + \Gamma_2 + \Gamma_3>f(z) dz>_< =~0~(\text)> = \underbrace <\int_<\Gamma_1>f(z) dz>_ + \underbrace <\int_<\Gamma_2>f(z) dz>_<=~0~(\text
Alternatively, we could have chosen the loop contour so that it skips below the pole at \(z = 0\) . In that case, the loop integral would be non-zero, and can be evaluated using the residue theorem. The final result is the same.
This page titled 9.4: Using Contour Integration to Solve Definite Integrals is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Y. D. Chong via source content that was edited to the style and standards of the LibreTexts platform.