Complex Variable Lecture-7

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 14

Complex Variable, Laplace & Z-Transform Fall 2019-20

Lecture Note-7
Integration using Cauchy’s Residue Theorem (CRT)

Two main reasons account for the importance of integration in the complex plane. The practical reason is that
complex integration can evaluate certain real integrals appearing in applications that are not accessible by real
integral calculus. The theoretical reason is that some basic properties of analytic functions are difficult to prove by
other methods. Complex integration also plays an important role in connections with special function, such as the
gamma function, the error function, various polynomials and others, and the application of these functions in
physics.

Cauchy’s Integral Formula:

If a function f (z ) is analytic within and on a simple closed contour C and if z 0 is any point interior to
C then,

f (z)
 z  z dz  2 i f ( z )
0
0
C - - - - - - - - - (1)

f ( z)
z  z  z dz  0
Special case : If 0 is not an interior point of the contour C then C 0 .

Differentiating n-1 times w.r.to


z0

f ( z) 2 i
  z  z 
C
n
dz 
 n  1 !
f n 1 ( z0 ).
0

Definition of singular point (of an analytic function):

A point at which an analytic function f (z ) is not defined, i.e., at which f ( z ) fails to exist, called a singular
point or pole or singularity of the function.

1
f  z  ,
7.1: If ( z  1)( z  3) then z  1 , 3 are the singular points of f  z  .
Example

Residue Finding Method:

If f (z ) is analytic inside and on a simple closed curve C except at pole or has singularity at z=a of order
1, then

Res(a)  lim( z  a ) f ( z )
z a .

1
Complex Variable, Laplace & Z-Transform Fall 2019-20

If f (z ) is analytic inside and on a simple closed curve C except at pole or has singularity at z=a of order
m, then

1 d m1
Res( a)  lim
z  a ( m  1)! dz m 1
 
( z  a) m f ( z ) .

Cauchy Residue Theorem:

If f (z ) is analytic inside and on a simple closed curve C except at a finite number of n singular points

a1 ,a 2 ,a3 , ...,an inside C, then

 f ( z ) dz  2 i Res  a   Res  a   ...  Res  a   .


C
1 2 n

sin  z
 ( z  2) 2
dz
|z|=3.
7.2: Evaluate by CRT C , where C is the circle
Example

Solution: For singular point,( z−2 )2=0

 z 2

Singular point z=2 is a pole of order 2. The point z=2 lies inside the circle |z|=3 .
Residue at the point z  2 is,
1 d
Res ( z=2 )= ❑
( 2−1 ) ! dz
d
¿ ❑
dz
¿❑
¿π.
So by CRT we know,
sin  z
 dz  2 i  Res(z=2)   2 i ( )  2 2i.
C
( z  2) 2

dz
 z 3
z  1  3.
Example 7.3: Evaluate the contour integral C by CRT, where C is the circle
1
3
Solution: The poles or singularities of z are as follows:
A pole of order 3 at z=0 . This pole lies inside the contour C.

2
Complex Variable, Laplace & Z-Transform Fall 2019-20

Residue at the point z=0 of order 3 is given by


1 d2  3 1
Re s ( z  0)  lim z . 3 
z 0 2! dz 2
 z 
1 d2
z 0 2! dz 2
 1  lim

0
dz
C z 3  2 i  Res(z=0)   2 i(0)
So by CRT we know, =0.

Exercise Set 7.1


(Cauchy integral formula, Cauchy residue theorem)
Sample Short Questions : (1 & 2)

1. (i) Find all the singular points of the following functions , f(z) and show the points in the argand

1
sinz cotz , 1
diagram, where f(z) = z , 1 ¿ , , .
2
¿ z −1
z z6 +1

(ii) Find all the singular points of the following functions , f(z) and show them in the argand

1 z 2 +2 1
z2 +1 4
diagram,then find corresponding residues : f(z) = 2 , z +i z+1 , ¿ z +1 ¿ .
5
z +z ,¿
¿ ¿ ¿
2. State Cauchy’s integral formula and Cauchy’s residue theorem (CRT). For each of the followings
sketch the indicated path C and hence evaluate applying Cauchy’s residue theorem (CRT), ( if
possible):
dz
 z  2i C |z|=3.14
(a) C , is the circle .
z
e
 z
2 dz C |z|=4
(b) C , consists of .
dz
 ( z  6)10 z  4.
(c) C , where C is the circle
3. Evaluate the followings applying Cauchy’s residue theorem (CRT) (if possible):
(a) Evaluate the integrals along the contour as given in the figures:
2z 2 z -1
 dz  dz
(i)  2 z - i 
3
z2 - z
C
(Fig. 1), (ii) (Fig. 2), (iii) C (Fig. 3).

3
Complex Variable, Laplace & Z-Transform Fall 2019-20

Fig.1 Fig.2 Fig.3

4. For the followings sketch the indicated path C and hence evaluate applying Cauchy’s residue theorem
(CRT) if possible:
dz
 z 4
2 C |z +2 i|=1 |z−2 i|=1
(a) C , is the contour as (i) , (ii) .

cos   z 3 
 ( z  1)( z  2)
dz , C
(b) C where is the circle
z  3  4, z 5 1
(i) (ii) , (iii)|z|=1.
sin 3 z
 ( z   )2
dz; C z 4
(c) C where is the circle .

Application of Residue Theorem

Evaluation of Real Definite Integrals by Contour Integrals:


A large number of real definite integrals, whose evaluation by usual methods become sometimes very
tedious, can be easily evaluated by using Cauchy’s Residue theorem. For finding the integrals we take a

suitable complex function f (z ) and closed curve C , then find the poles or singularity of the function

f (z ) and calculate residues at those poles only which lie within the curve C . Then using Cauchy’s
residue theorem we have

 f ( z) dz  2 i  sum of the residues of


C
f ( z ) at the poles within C 

We call the curve, a contour and the process of integration along a contour is called contour integration.
Type: 1
Integration around the unit circle of the type
2π π

∫ f (cosθ ,sin θ )dθ ∫ f (cosθ ,sin θ )dθ


0 or, −π

4
Complex Variable, Laplace & Z-Transform Fall 2019-20

where, f (cos θ ,sinθ ) is a rational function of cosθ and sin θ .


Convert sin θ and cosθ in terms of z by using the Euler’s formula:
ei   e  i 
sin   ,
2i
ei   e  i 
cos   ,
2
dz dz

dz=ie iθ dθ⇒ dθ= ⇒ dθ=
Let, z=e , ie iθ iz .
Put everything in the original integration and then the integrand is converted into a function of z

Then apply Cauchy Residue theorem to obtain the result.

Example 7.4: Using Cauchy Residue theorem evaluate


∫ 5+3dθsin θ
0

Solution:
Y

-1 1 x

Let us consider the unit circle |z|=1 as the contour C.


Then,
dz
|z|=1 ⇒ z=1 . eiθ ⇒ dz=ie iθ dθ⇒ dθ=
iz and

e iθ −e−iθ 1 1 z 2 −1
sin θ=
2i
⇒ sin θ=
2i z( )
z− ⇒ sin θ=
2iz
So the integration becomes,
dz
2
d iz
 5  3sin  C

 z2 1 
0
5  3.  
 2iz 
dz
iz
=∮ 2
C 10iz+3 z −3
2 iz

5
Complex Variable, Laplace & Z-Transform Fall 2019-20

∫ 5+3dθsin θ = 23 ∮ dz
10
0 C z 2 + iz−1
3
Now for singularity points we have,

10 100 2
 i i 4
10 3 9 i
z 2  iz  1  0  z   z   and  3i
3 2 3
i
z=−
But only the point 3 lies inside the contour C.
i
z=−
So, residue at the simple pole at 3 is ,
 i  i
Re s  z     lim  z   f ( z )
 3  z  
i 3
3

i
⇒ Re s z =− ( )
= lim z +
3 z→− i
i
3 ( ) z + 101 iz−1
3 ( 3 ) 2

i 1
= lim ( z + )
3
z→−
i
3 ( z + 3i ) ( z+ 3i )
1 3
1 = =
8i
= lim
z→−
i ( z+ 3i )
3
(− 3i +3 i)
Hence, by Cauchy’s Residue theorem (CRT) we have
2
d 2 dz 2   i  2 3 
 5  3sin  
  .2 i.  Re s  z       2 i   .
3 c 3 z  10iz  3 3
2
  3  3 8i 2
0 =
Matlab command for definite integral:
2π π
dθ dθ
1. Evaluate ∫ , 2. Evaluate ∫ ,
0 3+ sin θ −π 2+ cos θ
>> fun=@(theta) 1./(3+sin(theta)); >> fun=@(theta) 1./(2+cos(theta));
>> q=integral(fun,0,2.*pi) >> q=integral(fun,-pi,pi)
q = 2.2214 q = 3.6276

6
Complex Variable, Laplace & Z-Transform Fall 2019-20

+∞ f 1( x ) +∞ f (x )

−∞ f ( x )
dx ∫ f 1 (x ) dx
Type: 2(Improper Integral) Infinite real integrals of the form 2 or, 0 2 where
f 1 ( x) and f 2( x) are polynomials in x . Such integrals can be reduced to contour integrals, if

(i) f 2( x) has no real roots.


(ii) The degree of f 2( x) is greater than that of f 1 ( x) by at least two.

Procedure to solve:
To evaluate such integrals we consider the contour
integrals
f (z )
∮ f 1 ( z) dz
C 2 where C is the closed contour,
consisting the real axis from −R to R and the

upper half
C R of the circle |z|=R i.e.,
R
f1 ( z ) f ( x) f ( z)

C
f2 ( z)
dz   1
f ( x)
R 2
dx   1 dz
f ( z)
CR 2
- - - - (1)

Now using CRT we get,


f1 ( z )

C
f2 ( z)
dz  2 i  (sum of the residue at the poles within C )

Then (1) becomes,


R
f1 ( x) f ( z)

R
f 2 ( x)
dx   1 dz  2 i  (sum of the residue at the poles within C )
f (z)
CR 2
R
f1 ( x) f (z)
 
R
f 2 ( x)
dx    1 dz  2 i  (sum of the residue at the poles within C )
f ( z)
CR 2
- -- -- --- --- (2)
R
f1 ( x ) f (z)
 lim
R  
R
f 2 ( x)
dx   lim  1 dz  2 i  (sum of the residue at the poles within C )
R  f ( z)
CR 2
iθ iθ
Now, on the semi circular path CR
, |z|=R ⇒ z=Re ,(0≤θ≤π )∴ dz=i Re dθ . Then applying Jordan’s
Lemma,

7
Complex Variable, Laplace & Z-Transform Fall 2019-20


f1 ( z ) f (Rei )
lim
R  
CR
f2 ( z)
dz  lim  1
R  f
0 2
(Re i
)
Riei d  0

Then (2) reduces to



f1 ( x)
 dx  2 i  (sum of the residues at the poles within C )

f 2 ( x)

dx

Example 7.5: Evaluate
−∞ ( x2 +4 )2 by using contour integration.
Solution:

dz
∮ 2 2
We consider C ( z +4 ) where C is the closed contour consisting of the semi circle CR
of radius R together with
the part of the real axis –R to +R. i.e.,
R
dz dx dz
   
z  x  z 
2 2 2
C
2
4 R
2
4 CR
2
4
……(1)
2 2
Now the first integral has singularities or pole at ( z +4 ) =0 i.e. z   2i of order 2. But the only pole
z=+ 2i is inside the contour C. So,
1 d  1 
 z  2i  .
2
Re s( at z  2i)  lim  
 z  2i   z  2i  
z  2 i 1! dz 2 2

d 1 −2 −2 1
= lim
{
z→2 i dz ( z+2 i )
2
=lim
} {
z →2i ( z +2 i )
3
= 3
=
( 4 i) 32i }
So by CRT,
dz 1 
  2 i  
z  4
2
C
2 32 i 16
So equation (1) becomes
R
dx dz 
  
x  z 
2 2
R
2
4 CR
2
4 16

By Jordan Lemma letting R→∞ and noting that the second integral in left hand side would become zero.

8
Complex Variable, Laplace & Z-Transform Fall 2019-20

1 1 1
lim z f  z   lim z  lim z  lim 0
z 
2 2 2
z R zR 2
4 zR
 4  z R
 4 
z 4 1  2  z 3 1  2 
 z   z 
dz
 lim   0.
z 
R  2
CR
2
4
Hence,
R
dx dz 
lim   lim  
x  z 
2 2
R 
R
2
4 R 
CR
2
4 16

dx 
  0 
x 
2

2
4 16

dx 
  .
x 
2

2
4 16

dx
∫( 4
Example 7.6: Evaluate 0 x +16 ) by using contour integration.
dz
∮( 4
Solution: We consider C z +16 ) where C is the closed contour consisting of the semi circle CR
of radius R
together with the part of the real axis –R to +R. i.e.,
R
dz dx dz
 
C
  4

 4

z  16  R x  16 CR z  16
4
   ……(1)
The figure in the previous example should be considered here.
Now the first integral has singularities or poles at
z 4 + 16=0
 z 4  16  16e i
   2k 
1 i 
 
4 
 zk   16  e
4 
, k  0,1, 2,3

i
k  0, z0  2e 4
When
3
i
k  1, z1  2e 4

5
i
k  2, z2  2e 4

7
i
k  3, z3  2e 4

z0 and z1 lie within the contour C. So,


i.e. there are four poles, but only two poles at
 1 
Bk  Re s ( at z  zk )  lim  z  zk  . 4  , k  0,1
z  zk
 z  16   
 1 
 lim  3 
z  zk 4 z
 k

9
Complex Variable, Laplace & Z-Transform Fall 2019-20

1 1 3 1  i 34
B 0  3  z0  e
4 z0 4 4
1 1 3 1  i 94
B1  3  z1  e
4 z1 4 4
So by CRT,
dz 2
  z  2 i   B0  B1  
C
4
 16  16
So equation (1) becomes
R
dx dz 2
 x
R
4
 4
 16  CR  z  16 

16
.
By Jordan Lemma letting R→∞ and noting that the second integral in left hand side would become zero.
Hence,
2
R
dx dz
lim
R   x
R
4
 16
 lim  4

R 

cR z  16


16

dx 2
  x

4
 16
0 
 16

dx 2
  x

4
 16


16

dx 2
 x
0
4
 16

32
.

Matlab command for improper integral:
∞ ∞
dx dx
1. Evaluate ∫ 2 , 2. Evaluate ∫ 2
¿,
0 x +1 −∞ (x ¿¿ 2−2 x +2)

>> fun=@(x) 1./(x.^2+1); >> f=@(x) 1./(x.^2-2.*x+2).^2;


>> q=integral(fun,0,inf) >> q=integral(f,-inf,inf)
q = 1.5708 q = 1.5708

Exercise Set 7.3



1 f (x)
∫ dx
−∞ f ( x )
Integration of the form 2 (improper integral)
1. Evaluate the following improper integral using Cauchy’s residue theorem (CRT):

10
Complex Variable, Laplace & Z-Transform Fall 2019-20

 
dx dx
 x  2x  2
2
,  x 1
2
,
(i)  (ii) 0

dx


x2 ,
 ( x 2  1)2
dx ,
 x 2
 2 x  2
2

(iii)  (iv)


x2
0 x6  1 dx .
(v)

Laurent series generalize Taylor series. Indeed, whereas a Taylor series has positive integer powers
(and a constant term) and converges in a disc, a Laurent series is a series of positive and negative
integer powers of ( z−z 0 ) and converges in an annulus (a circular ring) with center z 0 . Hence by a
Laurent series we can represent a given function f (z) that is analytic in an annulus and may have
singularities outside the ring as well as in the “hole” of the annulus.

Laurent’s Theorem:
Let f (z) be analytic in a domain containing two concentric circles c 1and c 2with center z 0 , radii
R1and R2 , ( R ¿ ¿ 1< R2 )¿ and the annulus between them. Thenf (z) can be represented by the Laurent
series

∞ ∞
n bn
f ( z )=∑ an ( z−z 0 ) + ∑ n
n=0 n=1 ( z−z 0 )
¿ a0 + a1 ( z −z0 ) + a2 ( z−z 0 )2+ …
+b 1 b2 b3
+ 2+
+…
( z−z 0 ) ( z−z 0 ) ( z−z 0 )3

The coefficients of Laurent series are given by the integrals


. ¿ .
1 f (z ) 1
a n= ∮ n+1
d z ¿ , bn = ∮ ( z ¿ −z 0)n −1 f ( z ¿ ) d z¿
2 πi c (z −z 0 )
¿
2 πi c
The variable of integration is denoted by z ¿ , since z is used in Laurent series.

11
Complex Variable, Laplace & Z-Transform Fall 2019-20

The existing negative power of( z−z 0 ) is known as principal part. If there is finite number of terms

in the principal part of f ( z ) in the Laurent series expansion then the coefficient of ( z−z1 ) is called the
0

residue of f ( z ) at pole z=z 0 .

Laurent series expansion


1
f (z) 
Example: 7.7 Obtain Laurent series expansion of (1  z )( z  2) when (i) 1  z  2 , (ii) z  2. .
2

Solution: (i) Since 1<|z|<2

1 |z|
<1 and <1
z 2

1
∴ 2
<1 and |z| <1
|z | 2

1
Let (1+ z ¿ 2)( z +2)≡ Az+ B + C ¿
¿
1+ z 2 z +2

∴ 1≡ ( A z + B ) ( z +2 ) +C (1+ z 2)
1
At, z=−2 , 5 C=1∴ C=
5
2 −1
Equating coefficients of z ; A+C=0∴ A=−C=
5
2
Equating coefficients of z ; 2 A+ B=0∴ B=−2 A=
5
1

−1 2 1
z+
5 5 5
(1+ z ¿ ¿ 2)(z+ 2)= + ¿
1+ z 2
z +2
2 1 1 z 1 1
¿ − +
5 1+ z 5 1+ z 5 z +2
2 2

2 1 1 z 1 1
¿ − +
5 2 1 5 2 1 5 z
z (1+ 2 ) z (1+ 2 ) 2(1+ )
z z 2
−1 −1
2 1 1 1 1 z −1
¿ 2 (1+ 2 ) − (1+ 2 ) + (1+ )
5z z 5z z 10 2
2 1 1 1 1 1 1 1
5z (
¿ 2 1− 2 + 4 − 6 + … −
z z z
2
) ( 5z
1− 2 + 4 − 6 +…
z z z )
+1 z z
(1− + −…)
10 2 4
12
Complex Variable, Laplace & Z-Transform Fall 2019-20

which is the required Laurent series.


|z| 2
(ii) For |z|>2 we have >1 <1
2 |z|
1
Also 2 < 1
|z |
1

2 1 1 z 1 1
(1+ z ¿ ¿ 2)( z+ 2)= − + ¿
5 1+ z 5 1+ z 5 z +2
2 2

2 1 1 z 1 1
¿ − +
5 2 1 5 2 1 5 2
z (1+ 2 ) z (1+ 2 ) z (1+ )
z z z
−1 −1
2 1 1 1 1 2 −1
¿ 2 (1+ 2 ) − (1+ 2 ) + (1+ )
5z z 5z z 5z z
2 1 1 1 1 1 1 1
5z (
¿ 2 1− 2 + 4 − 6 + … −
z z z 5z ) (
1− 2 + 4 − 6 +… …
z z z )
+1 2 4
5z (
1− + 2 −… .
z z )
which is the required Laurent series.

Exercise Set 7.3

3z
f (z) 
1. State Laurent series. Expand ( z  1)(2  z ) in a Laurent series valid for

(a) z  1, (b) 1  z  2, (c) z  2, (d) z  1  2 and (e) 0  z  1  1


.
1
f (z) 
2. Expand z ( z  2) in a Laurent series valid for

(a) 0  z  2 and (b) z 2


.
5z
f (z) 
3. Expand ( z  1)( z  2) in a Laurent series valid for
2

(a) 1  z  2 and (b) z  2

4. Find the function, f ( z ) and the region of convergence for the following series:

a. 1  z  z  z .
2 3

b. 1  z  z  z .
2 3

c. 1  2 z  3z  4 z .
2 3

d. 1  2 z  3 z  4 z .
2 3

13
Complex Variable, Laplace & Z-Transform Fall 2019-20

z z
f (z)  f (z) 
5. Given functions (i) ( z  1)(3  z ) [Figure: (a) and (b)] and (ii) ( z  1)(2  z ) .

[Figure: (a) and (c)] Determine the region of convergence and the series for the following figures:
(a) (b) (c)

14

You might also like