0% found this document useful (0 votes)
163 views14 pages

09 Contour Integration

This document discusses contour integration, which is a technique that allows solving certain integrals that are otherwise difficult using complex analysis. It defines contour integrals and describes how to evaluate contour integrals over parameterized curves like circular arcs by converting them into definite integrals over real variables.

Uploaded by

Chin Sue Chyuen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
163 views14 pages

09 Contour Integration

This document discusses contour integration, which is a technique that allows solving certain integrals that are otherwise difficult using complex analysis. It defines contour integrals and describes how to evaluate contour integrals over parameterized curves like circular arcs by converting them into definite integrals over real variables.

Uploaded by

Chin Sue Chyuen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Y. D.

Chong (2020) MH2801: Complex Methods for the Sciences

9. Contour Integration
Contour integration is a powerful technique, based on complex analysis, that allows
us to solve certain integrals that are otherwise hard or impossible to solve. Contour inte-
grals also have important applications in physics, particularly in the study of waves and
oscillations.

9.1 Contour integrals


Recall that for a real function f (x), the definite integral from x = a to x = b is the area
under the curve between those two points. As discussed in Chapter 3, the integral can be
expressed as a limit expression: we divide the interval into N segments of width ∆x, and
find the sum of ∆x f (xn ) in the N → ∞ limit:
Z b N
X b−a
dx f (x) = lim ∆x f (xn ), where xn = a + n∆x, ∆x = . (9.1)
a N →0
n=0
N
Now suppose f is a complex function of a complex variable. A straightfoward way to define
the integral of f (z) is to adopt an analogous expression:
N
X
lim ∆z f (zn )
N →0
n=0

But since f takes complex inputs, the zn ’s don’t have to be on the real line. So instead of
going from a to b along the real line, we can imagine chaining together a sequence of points
z1 , z2 , . . . , zN in the complex plane, separated by displacements ∆z1 , ∆z2 , ∆z3 , . . . , ∆zN −1 :

Then the sum we are interested in is


N
X −1
∆zn f (zn ) = ∆z1 f (z1 ) + ∆z2 f (z2 ) + · · · + ∆zN −1 f (zN −1 ). (9.2)
n=1

In the limit N → ∞, each displacement ∆zn becomes infinitesimal, and the sequence of
points {z1 , z2 , . . . , zN } becomes a continuous trajectory in the complex plane (see Section
3.6). Such a trajectory is called a contour.
Let us denote a given contour by an abstract symbol, such as Γ. Then the contour
integral over Γ is defined as
Z NX−1
f (z) dz ≡ lim ∆zn f (zn ). (9.3)
Γ N →∞
n=1

63
Y. D. Chong (2020) MH2801: Complex Methods for the Sciences

The symbol Γ in the subscript of the integral sign indicates that the integral takes place
over the contour Γ. When defining a contour integral, it is always necessary to specify which
contour we are integrating over. Whereas for definite real integrals we only needed to specify
the end-points, for a contour integral it is not enough to just state the end-points—we need
to specify the entire contour that starts and ends at those points!
Moreover, the specification of a contour must include the direction along which the curve
is traversed. If we integrate along the same curve in the opposite direction, the value of the
contour integral switches sign (this is similar to swapping the end-points of a definite real
integral).

Note—Unlike a definite real integral, a contour integral does not have a geometrical
interpretation in terms of an “area under a curve”. It should be thought of as a gener-
alization of the algebraic (as opposed to geometric) concept of an integral.

Note—The contour should not be mistaken for the graph of the integrand! In many
contour integration problems, the contour is sketched for you as a curve in the complex
plane. Students who are new to contour integration sometimes mistake this for the
graph of the integrand.

9.1.1 Contour integral along a parametric curve


Simple contour integrals can be calculated by parameterizing the contour. Consider a
contour integral
Z
dz f (z),
Γ

where f is a complex function of a complex variable and Γ is a given contour.


As discussed in Section 3.6, a trajectory in the complex plane can be described by a
complex function of a real variable, z(t):
n o
Γ ≡ z(t) t1 < t < t2 , where t ∈ R, z(t) ∈ C. (9.4)

The real numbers t1 and t2 specify two complex numbers, z(t1 ) and z(t2 ), which are the
end-points of the contour. The rest of the contour consists of the values of z(t) between those
end-points. Provided we can parameterize Γ in such a manner, the complex displacement
dz in the contour integral can be written as
dz
dz → dt . (9.5)
dt
Then we can express the contour integral over Γ as a definite integral over t:
Z Z t2
dz 
dz f (z) = dt f z(t) . (9.6)
Γ t1 dt
This can then be calculated using standard integration techniques such as those discussed
in Chapter 3. A simple example is given in the next section.

9.1.2 A contour integral over a circular arc


Let us use the method of parameterizing the contour to calculate the contour integral
Z
dz z n , n ∈ Z, (9.7)
Γ[R,θ1 ,θ2 ]

64
Y. D. Chong (2020) MH2801: Complex Methods for the Sciences

where the contour Γ[R, θ1 , θ2 ] is a counter-clockwise arc of radius R > 0, from z1 = Reiθ1
to z2 = Reiθ2 :

We can parameterize the contour as follows:

where z(θ) = Reiθ .



Γ[R, θ1 , θ2 ] = z(θ) θ1 ≤ θ ≤ θ2 , (9.8)

Then the contour integral can be converted into a definite integral over the real variable θ:
Z Z θ2
n dz
dz z = dθ z n (9.9)
Γ[R,θ1 ,θ2 ] θ1 dθ
Z θ2 n
dθ Reiθ iR eiθ

= (9.10)
θ1
Z θ2
= iRn+1 dθ ei(n+1)θ . (9.11)
θ1

To proceed, there are two cases that we must treat separately. First, for n ̸= −1,
θ2 θ2
ei(n+1)θ ei(n+1)θ2 − ei(n+1)θ1
Z 
i(n+1)θ
dθ e = = . (9.12)
θ1 i(n + 1) θ1 i(n + 1)

Second, we have the case n = −1. This cannot be handled by the above equations, since
the factor of n + 1 in the denominator would vanish. Instead,
Z θ2 h i Z θ2
dθ ei(n+1)θ = dθ = θ2 − θ1 . (9.13)
θ1 n=−1 θ1

Putting the two cases together, we arrive at the result



Z  i(θ2 − θ1 ), if n = −1
dz z n = n+1 ei(n+1)θ2 − ei(n+1)θ1 (9.14)
Γ[θ1 ,θ2 ]  R , if n ̸= −1.
n+1
The case where θ2 = θ1 + 2π is of particular interest. Here, Γ forms a complete loop, and
the result simplifies to
I 
n 2πi, if n = −1
dz z = (9.15)
Γ 0, if n ̸= −1,

which isHindependent of R as well as the choice of θ1 and θ2 . (Here, the special integration
symbol is used to indicate that the contour integral is taken over a loop.) This is a very
important result that we will make ample use of later.

65
Y. D. Chong (2020) MH2801: Complex Methods for the Sciences

By the way, what if n is not an integer? In that case, the integrand z n is multi-valued (as
we saw in Chapter 8). This is problematic, since the definition of a contour integral assumes
the integrand is a well-defined function. To get around this, we can specify a branch cut and
perform the contour integral with any of the branch functions of z n . So long as the branch
cut avoids intersecting with the contour Γ, the result obtained above by parametrizing the
contour integral remain valid. However, Γ cannot properly be taken along a complete loop,
as that would entail crossing the branch cut.

9.2 Cauchy’s integral theorem


A loop integral is a contour integral taken over a loop in the complex plane; i.e., with the
same starting and ending point. We have already seen the case of a circular loop integral in
the previous example.
Loop integrals play an important role in complex analysis. This importance stems from
the following property, known as Cauchy’s integral theorem:

I
If f (z) is analytic everywhere inside a loop Γ, then dz f (z) = 0.
Γ

9.2.1 Proof of Cauchy’s integral theorem


Cauchy’s integral theorem can be derived from Stokes’ theorem, which states that for any
⃗ y, z) defined within a three-dimensional space, its line integral
differentiable vector field A(x,
around a loop Γ is equal to the flux of its curl through any surface enclosed by the loop.
Mathematically, this is stated as
I Z  
⃗ ⃗
dℓ · A = ⃗ ,
d2 r n̂ · ∇ × A (9.16)
Γ S(Γ)

where S(Γ) denotes a two-dimensional surface enclosed by the loop Γ, and n̂ denotes a
normal vector sticking out of the surface at each integration point.
We only need the 2D version of Stokes’ theorem, in which both the loop Γ and the en-
⃗ y) likewise has no z component.
closed surface S(Γ) are restricted to the x−y plane, and A(x,
Then Stokes’ theorem simplifies to
I ZZ  
⃗ ⃗ ∂Ay ∂Ax
dℓ · A = dx dy − . (9.17)
Γ S(Γ) ∂x ∂y

Now consider a loop integral


I
dz f (z),
Γ

where Γ is a loop trajectory and f (z) is some analytic function that is analytic in the two-
dimensional domain S(Γ) enclosed by Γ. Let us decompose f into its real and imaginary
parts,

f (x + iy) = u(x, y) + iv(x, y). (9.18)

The analyticity of f implies that the real functions u and v are differentiable and obey the
Cauchy-Riemann equations (see Section 6.3).

66
Y. D. Chong (2020) MH2801: Complex Methods for the Sciences

Let us manipulate the loop integral as follows:


I I
dz f (z) = (dx + idy) (u + iv) (9.19)
Γ Γ
I !
= dx (u + iv) + dy (iu − v) (9.20)
Γ
I    
dx u + iv
= · (9.21)
dy iu − v

= ⃗ · A.
dℓ ⃗ (9.22)
Γ

The last expression is a line integral involving the complex vector field
 
⃗ y) = u(x, y) + iv(x, y) .
A(x, (9.23)
iu(x, y) − v(x, y)

Using Stokes’ theorem in 2D, we convert this into the area integral
ZZ   ZZ    
∂Ay ∂Ax ∂u ∂v ∂u ∂v
dx dy − = dx dy i − − +i (9.24)
S(Γ) ∂x ∂y S(Γ) ∂x ∂x ∂y ∂y
ZZ     
∂v ∂u ∂u ∂v
= dx dy − + +i − . (9.25)
S(Γ) ∂x ∂y ∂x ∂y

On the last line, the two terms in parenthesis are both zero because, according to the
Cauchy-Riemann equations,
∂u ∂v ∂u ∂v
= and =− . (9.26)
∂x ∂y ∂y ∂x
Hence, the loop integral is zero. Q.E.D.

9.2.2 Consequences of Cauchy’s integral theorem


Cauchy’s integral theorem does not apply if the integrand f (z) is non-analytic somewhere
inside the loop. In particular, suppose f (z) vanishes at one or more discrete points inside
the loop, {z1 , z2 , . . . }. Then we can show that
I XI
dz f (z) = dz f (z), (9.27)
Γ n zn

H
where zn denotes an integral over a loop of infinitesimal radius around the n-th point of
non-analyticity, in the same direction (i.e., clockwise or counter-clockwise) as Γ.
The proof is based on the figure below. The red loop, Γ, is the contour we want to
integrate over. The integrand is analytic throughout the enclosed area except at several
discrete points, say {z1 , z2 , z3 }. Let us define a new loop contour, Γ′ , shown by the blue
loop. It follows the same curve as Γ but with the following differences: (i) it circles in the
opposite direction from Γ, (ii) it contains tendrils that extend from the outer curve to each
point of non-analyticity, and (iii) each tendril is attached to an infinitesimal loop encircling
a point of non-analyticity.

67
Y. D. Chong (2020) MH2801: Complex Methods for the Sciences

The loop Γ′ encloses no points of non-analyticity, so Cauchy’s integral theorem says that
the integral over it is zero. But the contour integral over Γ′ can be broken up into three
pieces: (i) the part that follows Γ but in the opposite direction, (ii) the tendrils, and (iii)
the infinitesimal inner loops:
I
dz f (z) = 0 (by Cauchy′ s Integral Theorem) (9.28)
Γ′
Z Z X I
= dz f (z) + dz f (z) + dz f (z) (9.29)
big loop tendrils small loop n zn

H
The first term is equal to the negative of Γ dz f (z), since it follows a contour that is just
like Γ except going the other way. The second term is zero, because each tendril consists of
two contours taken in opposite directions, which cancel. Thus, the above equation reduces
to
I XI
dz f (z) = dz f (z). (9.30)
Γ n zn

The loop contour integral over Γ is equal to the sum of infinitesimal loop contour integrals
encircling each point of non-analyticity. Notably, each of the infinitesimal loops circles in
the same direction as Γ (e.g., counter-clockwise in the above figure).
Another way of thinking about this is that Cauchy’s integral theorem says regions of
analyticity don’t count towards the value of a loop integral. Hence, we can contract a loop
across any domain in which f (z) is analytic, until the contour becomes as small as possible.
This contraction replaces Γ with a discrete set of infinitesimal loops enclosing the points of
non-analyticity.

9.3 Poles
In the previous section, we referred to situations where f (z) is non-analytic at discrete
points. “Discrete”, in this context, means that each point of non-analyticity is surrounded
by a finite region over which f (z) is analytic, isolating it from other points of non-analyticity.
Such situations commonly arise from functions like
1
f (z) = , where n ∈ {1, 2, 3, . . . }. (9.31)
(z − z0 )n

For z = z0 , this function is non-analytic because its value is singular. We say that there is
a pole at z0 . The integer n is called the order of the pole.

68
Y. D. Chong (2020) MH2801: Complex Methods for the Sciences

9.3.1 Residue of a simple pole


Poles of order 1 are called simple poles, and they are of special interest. If a function has
a simple pole at z0 , it can be approximated near the pole as
A
f (z) ≈ . (9.32)
z − z0
The complex numerator A is called the residue of the pole (so-called because it’s what’s
left-over if we take away the singular factor corresponding to the pole.) We denote the
residue of a function f (z) at z = z0 by
 
Res f (z), z = z0 . (9.33)

Note that if f is analytic at z0 (i.e., there is no pole there), then Res[f (z), z = z0 ] = 0.

Example—Consider the function


5
f (z) = . (9.34)
i − 3z
To find the pole and residue, divide the numerator and denominator by −3:

−5/3
f (z) = . (9.35)
z − i/3

Thus, there is a simple pole at z = i/3 and


 
Res f (z), z = i/3 = −5/3. (9.36)

Example—Consider the function


z
f (z) = . (9.37)
z2 + 1
To find the poles and residues, we factorize the denominator:
z
f (z) = . (9.38)
(z + i)(z − i)

Hence, there are two simple poles, at z = ±i.


To find the residue at z = i, separate the divergent part from the rest of the expres-
sion:
 
z
z+i
f (z) = (9.39)
z−i
 
  z
⇒ Res f (z), z = i = = 1/2. (9.40)
z + i z=i

Likewise, for the other pole at z = −i,


 
  z
Res f (z), z = −i = = 1/2. (9.41)
z−i z=−i

69
Y. D. Chong (2020) MH2801: Complex Methods for the Sciences

9.3.2 The residue theorem


In Section 9.1.2, we used contour parameterization to calculate
I
dz
= 2πi, (9.42)
Γ z

where Γ is a counter-clockwise circular loop centered on the origin. This holds for any (non-
zero) loop radius. Combining this result with Eq. (9.27), we obtain the residue theorem:

For any analytic function f (z) with a simple pole at z0 ,


I
 
dz f (z) = ±2πi Res f (z) , z = z0 , (9.43)
Γ[z0 ]

where Γ[z0 ] denotes an infinitesimal loop around z0 . The + sign holds for a counter-
clockwise loop, and the − sign for a clockwise loop.

Hence, we arrive at an integration technique called the calculus of residues:

1. Identify the poles of f (z) in the domain enclosed by Γ.


2. Check that these are all simple poles, and that f (z) has no other non-analytic behaviors
(e.g. branch cuts) in the enclosed region.
3. At each pole zn , calculate the residue Res[f (z), z = zn ].
4. The value of the loop integral is
I X  
dz f (z) = ±2πi Res f (z), z = zn . (9.44)
Γ n

The plus sign holds if Γ is counter-clockwise, and the minus sign if it is clockwise.

9.3.3 Example of the calculus of residues


Consider
1 1
f (z) = = . (9.45)
z2 +1 (z + i) (z − i)

By inspection, we can identify two poles: one at +i, with residue 1/2i, and the other at −i,
with residue −1/2i. The function is analytic everywhere else.
Suppose we integrate f (z) around a counter-clockwise contour Γ1 that encloses only the
pole at +i, as indicated by the blue curve in the figure below:

70
Y. D. Chong (2020) MH2801: Complex Methods for the Sciences

According to the residue theorem,


I
 
dz f (z) = 2πi Res f (z), z = i (9.46)
Γ1
1
= 2πi · (9.47)
2i
= π. (9.48)
On the other hand, suppose we integrate around a contour Γ2 that encloses both poles, as
shown by the purple curve. Then the result is
I  
1 1
dz f (z) = 2πi · − = 0. (9.49)
Γ2 2i 2i

9.4 Using contour integration to solve definite integrals


One of the principal applicaitons of the calculus of residues is to help us handle definite
integrals over the real domain by converting them into contour integrals, which are then
solved with the residue theorem.
As an example, consider the definite integral
Z ∞
dx
2+1
. (9.50)
−∞ x
This integral is taken over real values of x, and we previously solved it using a change of
variables in Section 2.4. 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) inte-
grand so that it reduces to the old integrand for real values of z. In this case, let
1 1
→ 2 . (9.51)
x2 + 1 z +1
This is just the integrand we dealt with in the previous section.
We now have to choose the contour. The usual procedure is to define a loop contour
such that one segment of the loop is the real line (from −∞ to +∞), and the other segment
“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:

This loop integral can be decomposed into a sum of two contour integrals:
I Z ∞ Z
dz dx dz
= + . (9.52)
z2 + 1 −∞ x 2+1
arc z 2+1

71
Y. D. Chong (2020) MH2801: Complex Methods for the Sciences

The first term is equal to the integral we’re interested in. The second term is a contour
integral along the big arc, and we can show that it goes to zero. To see why, observe that
along an arc of radius R, the magnitude of the integrand goes as 1/R2 , while the dz gives
another factor of R (see the earlier example of parameterizing a contour integral over an arc
in Section 9.1.2), so the overall integral goes as 1/R, which vanishes as R → ∞.
Now to evaluate the loop contour integral. Since the loop encloses the pole at z = +i,
I  
dz 1
= 2πi Res 2 , z = i = π. (9.53)
z2 + 1 z +1
The loop is counterclockwise, so we take the positive sign for the residue theorem. Hence,
Z ∞
dx
2
= π. (9.54)
−∞ x + 1

As an exercise, you can verify that closing the contour in the lower half-plane gives the same
result.

9.4.1 Jordan’s lemma


Before proceeding to more complicated uses of contour integration, we must introduce an
important result called Jordan’s lemma:

Let
Z
I= dz eiqz g(z), (9.55)
C

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

If g(z) < gmax for all z ∈ C ⇒ I → 0 as gmax → 0. (9.56)

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 limit 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, as the
integration is taken along an arc of infinite length (so we have a 0 × ∞ sort of situation).
Jordan’s lemma then proves useful, because it provides a rigorous criterion for us to 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 eiqz (again, where q ∈ R+ ),
a different version of Jordan’s lemma holds, referring to an arc contour C ′ in the lower
half-plane:

Let
Z
I= dz e−iqz g(z), (9.57)
C

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
If g(z) < gmax for all z ∈ C ⇒ I → 0 as gmax → 0. (9.58)

72
Y. D. Chong (2020) MH2801: Complex Methods for the Sciences

This is easily seen by doing the change of variable z → −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:
eiqz z=i∞
= e−∞ = 0 ⇒ eiqz vanishes far above the origin. (9.59)
−iqz −∞ −iqz
e z=−i∞
=e =0 ⇒ e vanishes far below the origin. (9.60)

Hence, for eiqz (where q is any positive real number), the suppression occurs in the upper-
half-plane. For e−iqz , the suppression occurs in the lower-half-plane.

9.4.2 A contour integral using Jordan’s lemma


Consider the integral
Z ∞
cos(x)
I= dx . (9.61)
−∞ 4x2 + 1

One possible approach is to break the cosine up into (eix + e−ix )/2, and do the contour
integral on each piece separately. Another approach, which saves a bit of effort, is to write
Z ∞
eix

I = Re dx 2 . (9.62)
−∞ 4x + 1
To do the integral, close the contour in the upper half-plane:

Then

eiz eix eiz
I Z Z
dz 2 = dx 2 + dz . (9.63)
4z + 1 −∞ 4x + 1 arc 4z 2 + 1
On the right-hand side, the first term is what we want. The second term is a counter-
clockwise arc in the upper half-plane. According to Jordan’s lemma, this term goes to zero
as the arc radius goes to infinity, since the rest of the integrand goes to zero for large |z|:
1 1
∼ →0 as |z| → ∞. (9.64)
4z 2 + 1 4|z|2
As for the loop contour, it can be evaluated using the residue theorem:
eiz eiz
I  
1 i
dz 2 = 2πi Res , z= (9.65)
4z + 1 4 (z + i/2)(z − i/2) 2
e−1/2
= 2πi . (9.66)
4i

73
Y. D. Chong (2020) MH2801: Complex Methods for the Sciences

Hence,
 
π π
I = Re √ = √ . (9.67)
2 e 2 e

In solving the integral this way, we must close the contour in the upper half-plane because
our choice of complex integrand was bounded in the upper half-plane. Alternatively, we
could have chosen to write
Z ∞
e−ix

I = Re dx 2 , (9.68)
−∞ 4x + 1

i.e., with e−ix rather than eix in the numerator. In that case, Jordan’s lemma tells us to
close the contour in the lower half-plane. The arc in the lower half-plane vanishes, as before,
while the loop contour is clockwise (contributing an extra minus sign) and encloses the lower
pole:

e−iz
I  −iz 
e i
dz 2 = −2πi Res , z = − (9.69)
4z + 1 4z 2 + 1 2
e−1/2
= −2πi (9.70)
−4i
π
= √ . (9.71)
2 e
Taking the real part, we obtain the same result as before.

9.5 Principal value integrals (optional topic)


Sometimes, we come across integrals that have poles lying on the desired integration contour.
As an example, consider
Z ∞
sin(x)
I= dx . (9.72)
−∞ x

Because of the series expansion of the sine function (see Section 1.2), the integrand does not
diverge at x = 0, and the integral is in fact convergent. The integral can be solved without
using complex numbers by using the arcane trick of differentiating under the integral sign
(see Section 2.6). But it can also be solved via contour integration.
We start by writing
Z ∞
eix
I = Im[I ′ ], where I ′ = dx . (9.73)
−∞ x

We want to calculate I ′ with the help of contour integration. But there’s something strange
about I ′ : the complex integrand has a pole at z = 0, right on the real line!
To handle this, we split I ′ into two integrals, one going over −∞ < x < −ϵ (where ϵ is
some positive infinitesimal), and the other over ϵ < x < ∞:
Z −ϵ Z ∞
eix eix

I ′ = lim dx + dx (9.74)
ϵ→0 −∞ x ϵ x
Z ∞
eix
≡P dx . (9.75)
−∞ x

In the last line, the notation P[· · · ] is short-hand for this procedure of “chopping away”
an infinitesimal segment surrounding the pole. This is called taking the principal value
of the integral. (Note: even though this bears the same name as the previously-discussed

74
Y. D. Chong (2020) MH2801: Complex Methods for the Sciences

“principal values” for multi-valued complex operations from Chapter 8, the two concepts
are unrelated.)
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.

This loop can be decomposed into several sub-contours:


1. Γ1 , consisting of the segments along the real axis.

2. Γ2 , the large counter-clockwise semi-circular arc.


3. Γ3 , the infinitesimal clockwise semi-circular arc that skips around z = 0.
The integral over Γ1 is the principal-value integral we are interested in. The integral over Γ2
vanishes by Jordan’s lemma. The integral over Γ3 can be calculated by parameterization:
Z 0 iϵ exp(iθ)
eiz
Z
e
iϵeiθ dθ

= lim iθ
(9.76)
Γ3 z ϵ→0 π ϵe
Z 0
=i dθ (9.77)
π
= −iπ. (9.78)

Intutively, since encircling a pole anticlockwise gives a factor of 2πi times the residue (which
is 1 in this case), a clockwise semi-circle is associated with a factor of −iπ. Finally, putting
everything together,
Z Z Z Z
f (z)dz = f (z)dz + f (z)dz + f (z)dz. (9.79)
Γ +Γ +Γ Γ Γ Γ
| 1 2 {z3 } | 1 {z } | 2 {z } | 3 {z }
= 0 (Cauchy’s integral theorem) = I′ = 0 (Jordan’s lemma) = −iπ

Hence,

I = Im(I ′ ) = Im(iπ) = π. (9.80)

This agrees with the result obtained by the method of differentiating under the integral sign
from Section 2.6.
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.

75
Y. D. Chong (2020) MH2801: Complex Methods for the Sciences

9.6 Exercises
1. Is the concept of a contour integral well-defined if the integrand f (z) is non-differentiable
along the contour? Why or why not?
2. In Section 9.4, we dealt with the integral
Z ∞
dx
. (9.81)
−∞ x2+1

Redo this calculation, but this time close the contour in the lower half-plane. Show
that the result is the same. [solution available]

3. Calculate Z ∞
1
dx . (9.82)
−∞ x4 +1

4. Calculate 2
Z ∞ 
sin(x)
dx . (9.83)
−∞ x

5. Calculate


Z
dx , where − 1 < λ < 0. (9.84)
0 x+1
Hint: place the integrand’s branch cut along the positive real axis.
6. Solve the definite integral Z 2π

I= , (9.85)
0 cos ϕ + 3
via the following steps. First, show that along a unit circle in the complex plane
centered at the origin,  
1 1
cos ϕ = z+ , (9.86)
2 z
where
H z(ϕ) = exp(iϕ). Then define a complex function f (z) such that the loop integral
f (z) dz, taken over the circular contour, is equal to I. Hence, calculate I.
[solution available]

7. Suppose f (z) is analytic everywhere in the upper half-plane, including the real line,
and that its magnitude vanishes as 1/|z| or faster as |z| → ∞. Find the value of the
principal-value integral Z ∞ 
f (x)
P dx , (9.87)
−∞ x − a

where a is some real constant. Hence, prove that the real and imaginary parts of f
along the real line are related by
Z ∞ 
  1 Im[f (w)]
Re f (x) = P dw (9.88)
π −∞ w − x
Z ∞ 
  1 Re[f (w)]
Im f (x) = − P dw . (9.89)
π −∞ w − x

These are called the Kramers-Kronig relations. In physics, these relations impose
important constraints on the frequency dependence of the real and imaginary parts of
the dielectric function (the square of the complex refractive index).
[solution available]

76

You might also like