Professional Documents
Culture Documents
Residue Theorem
Residue Theorem
Theorem 249 (Cauchys Residue Theorem) Let f be holomorphic inside and on a simple
closed curve except at points a1 , . . . , an inside . Then
f (z) dz = 2i
n
res(f (z); ak ).
k=1
n=0
n
c(k)
n (z ak ) +
gk (z)
1
n=
n
c(k)
n (z ak ) = gk (z) + hk (z),
hk (z)
so that hk (z) is the principal part of f about ai . Note also that the sum defining hk (z) converges
except at ak . Hence
n
F (z) = f(z)
hk (z)
k=1
k=1
k=1
(ak ,rk )
where 0 < rk < k . As we saw in the proof of Laurents Theorem, the sum defining hk (z)
converges uniformly on (ak , rk ) and hence
(ak ,rk )
hk (z) dz =
1
(ak ,rk ) n=
c(k)
n (z
ak ) dz =
1
n=
c(k)
n
(k)
(ak ,rk )
(z ak )n dz = 2ic1
95
Re
-R
with the aim of showing that as R the contribution from + (0, R) tends to 0. The
contribution from [R, R] then tends to the integral on (, ) which we are seeking.
If the integrand is even then the integral on (0, ) will be half that on (, ) .
Infinite sums. We will use a square contour N with vertices at (N + 1/2) (1 i)
where N is a positive integer and aim to show that the integral around the contour tends
to 0 as N .
Full details follow in examples below.
13.1 Integrals on R
Example 251 Evaluate
dx
.
2
4
1 + x + x
1
then f (z) has simple poles at ei/3 , e2i/3 , e4i/3 , e5i/3 . If we use the contour which consists
of the positively-oriented contour consisting of the interval [R, R] and the upper semicircle
+ (0, R) then only the simple poles = ei/3 and 2 = e2i/3 lie inside and we have
1
1
1
1
1
res(f (z); ) = 3
= 3
=
;
res(f (z); 2 ) = 6
=
.
4z + 2z z= 4 + 2
4 + 2
4 + 22
4 + 22
1
1
1
2i (22 + 2)
dz
=
2i
+
=
= .
(13.1)
2
4
2
2
2 4 2 + 4
4(1 2 + 2 4
3
1+z +z
Note that if |z| = R then
1 + z 2 + z 4 z 4 z 2 + 1 z 4 z 2 |1| = R4 R2 1,
96
R
1
dz
=
O
0 as R .
+
2
4
R 4 R2 1
R3
(0,R) 1 + z + z
Finally, letting R in (13.1) we have
dx
= .
2
4
1+x +x
3
cos ax
dx.
1 + x2
eiaz
,
1 + z2
which has simple poles at i and i, and use the contour which denotes the positively-oriented
contour consisting of the interval [R, R] and the upper semicircle + (0, R) . Only the simple
pole i lies inside and we have
eiaz
ea
res(f (z); i) =
=
.
z + i z=i
2i
By Cauchys Residue Theorem
a
eiaz
e
dz = 2i
= ea .
2
1+z
2i
Note that
if z = Rei then eiaz = ea Re z = eaR sin 1;
if |z| = R then z 2 + 1 = z 2 (1) z 2 |1| = R2 1,
INTEGRALS ON R
97
iaz
1
R
e
dz 2
=O
0 as R .
+
2
1+z
R 1
R
(0,R)
(Note that this part of the argument relies on a being positive so that eaR sin 1.) Now,
letting R in the identity
R iaz
e
eiaz
dz
+
dz = ea
2
2
1
+
z
1
+
z
+
R
(0,R)
we arrive at
eiax
dx = ea .
1 + x2
cos ax
dx = ea .
2
1 + x
Using the evenness of the integrand we arrive at
cos ax
dx = a .
2
1+x
2e
0
We clearly couldnt have argued quite this way if a had been negative. One alternative would
have been to use the lower semicircle (0, R) and repeat a similar calculation, but we can be
smarter than that and note, because of the evenness of cos ax as a function of a that
cos(a)x
cos ax
dx =
dx = a
2
2
1+x
1+x
2e
0
0
and so for general a R we have
cos ax
dx = e|a| .
2
1+x
2
n=1
1
1 + n2
and
(1)n
.
1 + n2
n=1
Before we start this example we will need to introduce some relevant theory. The contour
we shall use is the positively-oriented square contour N with vertices N + 21 (1 i) and
we shall use the integrands
f (z) =
,
g(z) =
.
2
2
(1 + z ) tan z
(1 + z ) sin z
Quite why becomes apparent with the next two lemmas.
98
Lemma 255 Suppose that the function (z) is holomorphic at z = n Z with (n) = 0. Then
(a) (z) cot z has a simple pole at n with residue (n);
(b) (z) csc z has a simple pole at n with residue (1)n (n).
Proof. Note that tan z and sin z have simple zeros at z = n and hence (z) cot z and
(z) csc z have simple poles there. So
(n)
(z)
(n)
(z)
;n =
=
(n);
res
;
n
=
= (1)n (n).
res
tan z
sec2 n
sin z
cos n
Lemma 256 There exists a C > 0 such that for all N and for all z N
C
and
C.
tan z
sin z
=
= |tanh y| .
=
tan z
tan(/2 + iy) cot iy
Similarly
=
sin z
|sin (x i (N + 1/2))|
and
INFINITE SERIES
2
|exp (ix (N + 1/2)) exp (ix (N + 1/2))|
2
|exp ( (N + 1/2)) exp ( (N + 1/2))|
2
=
sinh((N + 1/2) )
2
sinh(3/2)
=
= |sechy| .
=
=
sin z
sin(/2 + iy) cos iy
99
f (z) =
,
g(z)
=
.
(1 + z 2 ) tan z
(1 + z 2 ) sin z
We know from Lemma 255 that f and g have simple poles at n Z and that
1
,
1 + n2
Further there are simple poles at i with
res (f(z); n) =
res (g(z); n) =
(1)n
.
1 + n2
=
;
2i tan i
2 tanh
=
.
res (g(z); i) = res (g(z); i) =
2i sin i
2 sinh
Hence, by Cauchys Residue Theorem, we have
N
N
1
1
f(z) dz =
=
2
+1
;
2
2
2i N
1
+
n
tanh
1
+
n
tanh
n=1
n=N
N
N
n
(1)
1
(1)n
g(z) dz =
=2
+1
.
2
2
2i N
1+n
sinh
1+n
sinh
n=1
n=N
res (f (z); i) = res (f(z); i) =
Now by the Estimation Theorem and Lemma 256 there exists C > 0 such that
1
4 (2N + 1) C
1
f (z) dz 4 (2N + 1) C sup
=O
0 as N .
2
2
1
N
zN 1 + z
N
N + 2 1
1
4 (2N + 1) C
1
g(z) dz 4 (2N + 1) C sup
0 as N .
=O
2
2
1
N
zN 1 + z
N
N + 2 1
Letting N we then have
2
n=1
n=1
1
1
coth 1
+
1
=
0
=
=
.
2
1 + n2
tanh
1
+
n
2
n=1
(1)n
(1)n
csch 1
+
1
=
0
=
=
.
2
2
1+n
sinh
1+n
2
n=1
1
,
n4
n=1
(1)n
,
n2 1
n=2
we would need to note that our chosen would have poles that mingle with the poles of cot z
and csc z. This is not in itself problematic save that it means such poles need to be treated
separately.
100
13.3 Refinements
Remark 258 For integrals such as
x sin x
dx
2
4
1 + x + x
cos x
dx
6
1 + x
we would have no great trouble arguing along the lines of Example 252. These integrals converge
relatively quickly and we would see that the contribution from + (0, R) was O (R2 ) and O(R5 )
respectively. For integrals such as
sin x
x sin x
dx,
dx
1 + x2
x
0
without subtler reasoning we would estimate the contribution from + (0, R) as O(1). The
problem is that these integrals do not converge fast enough. (To be technical these integrals
in fact only exist as improper integrals.) We need the following inequality due to Jordan to
strengthen our estimate.
Lemma 259 (Jordans Lemma)
2
sin
<
<1
cos sin
.
2
g()
<0
2
REFINEMENTS
x sin x
dx.
1 + x2
101
z=i
Note that
zeiz
2i
i
dz
=
=
.
1 + z2
2e
e
(13.2)
if z = Rei then eiz = e Re z = eR sin ;
if |z| = R then z 2 + 1 = z 2 (1) z 2 |1| = R2 1,
2R/
/2
2R2
e
0
R2 1
2R
R2 1 eR
1
=O
=
0 as R .
2
R(R 1)
R
Letting R in (13.2) we obtain
xeix
i
dx = .
2
e
1 + x
x sin x
dx = .
2
e
1 + x
Finally using the even-ness of the integrand we obtain
x sin x
dx = .
2
1+x
2e
0
102
Remark 261 With some integrals the natural integrand to take may leave us with a singularity
on the contour. This isnt a problem when that singularity is a simple pole as we may indent
at such singularities (see lemma below). It is impossible to sensibly indent at other
singularities and have any hope of convergence; it is only possible to indent at simple poles
because the contour has length O() and the integrand grows as O(1 ).
Lemma 262 Let f be a holomorphic function on D (a, ) with a simple pole at a. Let 0 < r < ,
and let r be the positively oriented arc
r () = a + rei
Then
lim
r0
< < .
Proof. Let R = res(f (z); a). There is a holomorphic function h on D (a, ) such that
f(z) =
Now
dz
=
za
R
+ h(z).
za
irei d
=i
rei
d = i ( ) .
Finally then
lim
f (z) dz = lim
r0
r0
R dz
+ lim
z a r0
h(z) dz = iR ( ) + 0 = iR ( )
as required.
Example 263 Determine
sin2 x
dx.
x2
sin2 x
1 cos 2x
=
2
x
2x2
and so for an integrand we will use (1 e2iz ) / (2z 2 ). This has a simple pole at 0 as
(2iz)2
1 1 + 2iz + 2! +
1 e2iz
i
=
=
+ 2 +
2
2
2z
2z
z
REFINEMENTS
103
So we shall indent our usual contour so that we now have a contour made up of line segments
[R, ] and [, R], a positively oriented semicircle + (0, R) and a negatively oriented indent
+ (0, ). As the integrand is holomorphic inside the contour then, by Cauchys Theorem, we
have
1 e2iz
dz = 0.
2z 2
1 e2iz 1 e2R sin
1
2z 2 =
2
2R
2R2
1 e2iz
R
1
dz
=O
0 as R .
+
2
2
2z
2R
R
(0,R)
1 e2iz
1 e2iz
dz = i res
; 0 = (i) (i) = .
2z 2
2z 2
+ (0,)
We have the identity
+ (0,R)
1 e2iz
dz +
2z 2
1 e2ix
dx
2x2
+ (0,)
1 e2iz
dz +
2z 2
1 e2ix
dx = 0
2x2
R
0
Hence
1 cos 2x
dz = 0.
2x2
sin2 x
dx = .
2
x
2
za
.
1 + z3
RESIDUE THEOREM & APPLICATIONS.
We need to define a branch of z a on the cut-plane C\[0, ). Any z in the cut-plane can be
written z = rei where 0 < < 2; we then set
z a = ra eia .
Our keyhole contour comprises two line segments just above and just below [0, R]. Alternatively, we can consider these two line segments both as [0, R] but with one on the lower branch
with = 0 and one of the upper branch with = 2. (Cauchys Residue Theory is valid on
Riemann surfaces so this viewpoint is perfectly valid.) We also have as part of our keyhole
contour a small cut circle around the origin but as the integrand is O(a ) and the contour has
length O() then the contribution from this is zero in the limit.
Im
Re
Note that f is holomorphic inside except at 1, ei/3 and ei/3 . Note also that we should
write ei/3 = e5i/3 for the purpose of the branchs definition. So
z a
1
res(f ; 1) =
= eia ;
2
3z z=1 3
z a
1
i/3
res(f ; e ) =
= ei(a2)/3 ;
2
3z z=ei/3 3
z a
1
i/3
res(f; e
) =
= e5i(a2)/3 .
2
3z z=e5i/3 3
By the Residue Theorem we have
a
z dz
2i ia
i(a2)/3
5i(a2)/3
=
e
+
e
+
e
.
3
3
1+z
105
Rearranging we have
0
ia
xa dx
2i
e + ei(a2)/3 + e5i(a2)/3
=
1 + x3
3
1 e2ia
2i
1 + ei(2a2)/3 + ei(2a+2)/3
=
3
eia eia
i(2(a+1))/3
e
+ 1 + ei(2(a+1))/3
2i
=
3
ei(a+1) ei(a+1)
i(2(a+1))/3
2i
e
+ 1 + ei(2(a+1))/3
=
3
ei(a+1) ei(a+1)
1
2i
=
3
ei(a+1)/3 ei(a+1)/3
(a + 1)
csc
.
=
3
3
The cancellation to the penultimate line uses the identity (x2 + xy + y 2 ) / (x3 y 3 ) = 1/ (x y) .
Remark 265 This integral could also have been done by using the contour in the next example
which goes around the sector.
Example 266 Evaluate
dx
.
1 + x3 + x6
e4i/9 ,
e8i/9 ,
e10i/9 ,
e14i/9 ,
e16i/9
as 1 + x3 + x6 = (x9 1) / (x3 1) . Let R > 1 and let = e2i/9 . We will consider the
positively oriented contour made up of the line segment from 0 to R, the circular arc centred
1
at 0 connecting R to R3 and the line segment from R3 to 0. Let f (z) = (1 + z 3 + z 6 ) .
Then f(z) has six simple poles at the above roots with only and 2 being inside . By
Cauchys Residue Theorem
dz
1
1
2
= 2i res
; + res
;
3
6
1 + z3 + z6
1 + z3 + z6
1+z +z
2i
1
1
=
+
3 2 + 25 4 + 2
2i (22 + 22 + + 1 )
=
.
3
(1 + 23 ) (3 + 2)
106
giving
dx
4i [2 cos(2) + cos ]
=
1 + x3 + x6
9
3 6
4
= [2 cos(2) + cos ]
9 3
and
3
x
.
dx
=
1 + x2
3
Remark 268 Note that its not necessary to use a keyhole contour here as along the negative
real axis our integrand at x = t < 0 becomes
3
t log(t)
ei/3 3 t (log t + i)
=
1 + (t)2
1 + t2
which contributes, in its real and imaginary parts, towards both integrals.
Solution. Let R > 1 and let U be the cut complex plane with the negative imaginary axis
removed. Consider the positively oriented contour comprising [R, R] and + (0, R) and the
function
3
z log z
f(z) =
(z U )
1 + z2
where
1
3
log z = log |z| + i arg z,
z = exp
log z
3
107
Now
3
3 z log z R4/3 (log R + )
z log z
dz R sup
0 as R .
2
1 + z2
R2 1
z + (0,R)
+ (0,R) 1 + z
For z = x where x > 0 we have 3 x = 3 xei/3 and log (x) = log x + i. Hence, letting
R we have
3
3
xei/3 (log x + i)
x log x
2 i i/6
dx
+
dx
=
e
1 + x2
1 + x2
2
0
0
which simplifies to
3
3 x log x
x
2 i i/6
i/3
ie
dx
+
1
+
e
dx
=
e .
1 + x2
1 + x2
2
0
0
As ei/6 / 1 + ei/3 = 1/ ei/6 + ei/6 = 1/ (2 cos /6) = 1/ 3 then
3
2i
iei/6 3 x
x log x
.
dx
+
dx
=
1 + x2
1 + x2
3
2 3
0
0
i/3
(13.3)
3
2
x
3x
dx
=
=
dx
=
2 0 1 + x2
1 + x2
2 3
3
0
and then taking real parts in (13.3) we find
3
3
x log x
iei/6
x
dx
=
Re
dx
=
=
.
1 + x2
1 + x2
6
3
2 3
3
0
0
Example 269 By considering a rectangular contour with corners at R, R + i, R + i,
R, and with an appropriate indentation, determine
x
dx.
sinh x
0
Solution. We will consider the function f (z) = z/ sinh z on the suggested contour. Then f (z)
has a removable singularity at 0 (which we can remove, and so treat the function as holomorphic
there) and also a simple pole at z = i which we need to indent around.
Im
-R+i
R+i
-R
Re
108
as R . The residue at i is
res(f(z); i) =
i
= i.
cosh i
Also note along the top of the rectangle that the function is
f (x + i) =
x + i
x + i
=
.
sinh(x + i)
sinh x
(This identity, coming from the periodicity of sinh x, is the very reason for choosing the rectangular contour.) Hence letting R and shrinking the indentation to zero, we see
x dx
(x + i) dx
(x + i) dx
+ lim
+
+ () (i) = 0.
0
sinh x
sinh x
sinh x
x dx
2
= .
2
sinh x
Remark 270 We have not discussed in any detail precisely what integration theory we are
working within when calculating these integrals. In Mods Analysis III, all integrals discussed
were on closed bounded intervals. For those who go on to take Part A Integration they will see
that many of the integrals such as
x dx
dx
cos ax
,
,
dx
3
6
1+x +x
1 + x2
sinh x
0
0
exist as proper Lebesgue integrals. However integrals (usually those that require Jordans
Lemma to evaluate them) such as
cos x
x sin x
dx,
dx
1 + x2
2x 1
0
only exist as improper Lebesgue integrals that is the limits
R
R
cos x
x sin x
lim
dx,
lim
dx
R R 2x 1
R 0 1 + x2
FURTHER CONTOURS
109
but the integrals are not proper Lebesgue integrals. This is closely related to the difference
between absolutely summable and conditionally summable series. The limit
R
x |sin x|
lim
dx
R 0
1 + x2
does not exist and if the signed area in these improper integrals were calculated in a different
order to the usual one then different answers could be determined. The values we have assigned
to such an improper Lebesgue integral is called the principal value integral.
110