Professional Documents
Culture Documents
Fall 2020
David R. Jackson
Notes 3
Integration in the Complex Plane
1
Defining Line Integrals in the Complex Plane
b
lim
N
f n zn zn 1
n 1
I f z dz f z dz (The result is independent of the
C a details of the path subdivision, for
reasonably well - behaved functions.)
2
Equivalence Between Complex and
Real Line Integrals
Denote
b b
I f z dz u x, y iv x, y dx idy
a a
b xN ,y N b xN ,yN
u x, y dx v x, y dy i v x, y dx u x, y dy
a x0 ,y0 a x0 ,y0
C u dx v dy i C v dx u dy
I C u dx v dy i C v dx u dy
The complex line integral is equivalent to two real line integrals on C.
3
Review of Line Integral Evaluation
y
2) x t , y a2 t2 , t0 a, t f a, t
-a a
and -a a t
x t , y a 2 t 2 , t0 a, t f a,
4
Review of Line Integral Evaluation (cont.)
y
t f tN
C t N 1
x(t ), y (t ) tn …
t2 t3
…
t1
t0
x
Illustration : C u x, y dx v x, y dy
xf
dy
dx dx
u x, y x v x, y x (if x is the independent parameter)
x0
yf
dx
dy v x y , y
u x y , y dy (if y is the independent parameter)
y0
5
Line Integral Example
y
1
Consider z Evaluate I dz : where
C z
a C
C : x a cos , y a sin , 0
x
Although it is easier to use polar coordinates (see the next example), we use
Cartesian coordinates to illustrate the previous Cartesian line integral form.
1 1 1 x iy x y x y
f z 2 2
i 2
2 2
i 2
z x iy x iy x iy x y x y a a
I C u dx v dy i C v dx u dy
Hence
u iv dx v iu dy
x C C
u z
a2 I1 I 2
The red color denotes functional dependence.
y
v z 2 a 0
a x y (x) y x(y )
I1
2 2 dx
a
i
a
I 2 2 i 2 dy
a
a 0 a
6
Line Integral Example (cont.)
y
Consider
C z
a
x y (x)
a
I1 a
2 2 dx
i
a
a
a
x x 1 2 2
i
2 2
a a
a x dx
a
a
1
0i 2
a
a 2 x 2 dx
a
a
1 x a x
2 2
a2 1 x
i 2 sin
a 2 2 a
a
1 a 2
i
a2 2 2 2
i
2
7
Line Integral Example (cont.)
0
y x(y )
y I 2 2 i 2 dy
0 a a
Consider
C z 0
i
a 0 2 x(y ) dy
a 0
x 0 2 2
a 0
i i
2 a y dy 2 a 2 y 2 dy
2 2
a 0 a a
a
i
2 2
a a 2 y 2 dy
0
a
i y a2 y2 a2 1 y
2 2 sin
a 2 2 a
0
i a2 1 a
2 sin
a 2
2 a
i
2
8
Line Integral Example (cont.)
y
Consider z I I1 I 2 i i
C 2 2
a
x
Hence
I i
y
C z
Note: By symmetry (compare z and –z), a
we also have:
x
1
z dz 2 i
C
9
Line Integral Example
y
Consider
dz : where
n
C z z Evaluate z
r C
C : x r cos , y r sin , 0 2
x
z r cos i r sin rei ,
dz riei d ,
2
n
z dz
n
rei riei d
C 0
2
2 i n 1
e
ir n1 ei
n 1
d i r n 1 (n 1)
0
i n 1
0
i 2 n 1
n 1 e 1 0 , n 1 This is a useful result and
r it is used to prove the
n 1 2 i, n 1 “residue theorem”.
Note: For n = -1, we can use the result on slide 9 (or just evaluate the integral in directly).
10
Cauchy’s Theorem
y
Consider
R a simply - connected region
A “simply-connected” region
C means that there are no “holes” in
the region. (Any closed path can
be shrunk down to zero size.)
Cauchy’s theorem:
If f z is analytic in R then f z dz 0
C
11
Proof of Cauchy’s Theorem
R a simply connected region
y
C C C
then use Stokes's theorem (see below).
xˆ ˆy ˆz xˆ ˆy ˆz
C.R. C.R.
cond's cond's
v u u v
ẑ A ˆz 0, ˆz B ˆz 0
x y z x y x y z x y
u v 0 v u 0
f z dz 0
C 12
Proof of Cauchy’s Theorem (cont.)
Some comments:
13
Cauchy’s Theorem and Path Independence
f z is analytic f z dz 0
Consider
C
This implies that the line integral between any two points is independent of the path,
as long as the function is analytic in the region enclosed by the paths.
C2
C
C1
x x
f z dz f z dz f z dz 0 f z dz f z dz
C C1 C2 C1 C2
14
Extension of Cauchy’s Theorem to
Multiply-Connected Regions
y y
R a multiply - connected region R simply - connected region
c2
c1
C2 C1 C2 C1
x x
y
R a multiply - connected region
C2 C1
f z dz f z dz
C1 C2
16
Extension of Cauchy’s Theorem to
Multiply-Connected Regions (cont.)
Example :
1
z dz 2 i The integral around the arbitrary closed
C path C must give the same result as the
integral around the circle (and we already
know the answer for the circle).
y
17
Cauchy’s Theorem, Revisited
Consider
If the function happens to be analytic everywhere within a simply connected region,
then we can shrink a closed path down to zero size, verifying that the line integral
around the closed path must be zero (since the integrand must be finite in the region).
C
C
x x
18
Fundamental Theorem of the
Calculus of Complex Variables
y
Consider zb
zN
C z N 1
…
z3 zn … This is an extension of the same
… theorem in calculus (for real functions)
z2 z z3
2
z1 z1 to complex functions.
za
x
dF
Suppose we can find F z such that F z f z :
dz
zb zb
dF
f z dz dz F zb F za
za za
dz
19
Fundamental Theorem of the
Calculus of Complex Variables (cont.)
y
Consider zb
Proof
zN
C z N 1
… Recall :
z3 zn …
… The integal is path independent
z2 z z3
z1 z1
2
if f z is analytic on paths from za to zb .
za
x
Choose a particular path C.
On this path:
zb N
f z dz Nlim
f n zn , z n zn zn 1 ,
za n 1
20
Fundamental Theorem of the
Calculus of Complex Variables (cont.)
y
zb N N
F
f z dz lim
z n 0
f n zn lim
z n 0
z
n
zn
za n 1 n 1 n
lim F z1 F za F z2 F z1 F z3 F z2
z n 0
F z N 1 F z N 2 F zb F z N 1
F zb F za (path independent if f z is analytic on paths from za to zb )
21
Fundamental Theorem of the Calculus of
Complex Variables (cont.)
f z dz F zb F z a
za
y
1 i
Example:
1 i
1 i
C
sin z dz cos z
1
1
cos 1 cos 1 i
1
x
22
Fundamental Theorem of the Calculus of
Complex Variables (cont.)
We have:
z z
f z dz F z F z0 F z f z dz F z0
z0 z0
z
F1 z f d F1 z1 for arbitrary z1
z1
z
F2 z f d F2 z2 for arbitrary z2
z2
z1
F2 z F1 z f d F2 z2 F1 z1 constant
z2
Integral is a constant
C z0 C0
z0
x x
1
f z is assumed analytic in R but we multiply by a factor that is
z z0
analytic except at z0 and consider the following integral around C :
f z
I z z0 dz
C
To evaluate this, shrink that path to a small circular path path C0 as shown :
f z f z
z z0
dz z z0
dz
C C0
24
Cauchy Integral Formula (cont.)
z
z0
We have: z
f z f z C0
z z0
dz z z0
dz C
C C0
f z 1 f z Cauchy Integral
dz 2 i f z0 f z0
dz
C
z z0 2 i C z z0 Formula
25
Cauchy Integral Formula (cont.)
z
1 f z
f z0
dz z0
2 i C z z0
C
The Cauchy integral formula is useful for many purposes in complex variable theory.
26
Cauchy Integral Formula (cont.)
1 f z
z z0 dz 0
2 i
C
z0 is inside C z0 is outside C
z0 z0
C
C
1 f z 1 f z
f z0 z z0 dz
dz 0
2 i
C
2 i C z z0
27
Cauchy Integral Formula (cont.)
C
z0
f z 2 i f z0 , z0 inside C
z z0
dz
0, z0 outside C
C
Application:
This gives us a numerical way to
determine if a point is inside of a
region: just set f (z) = 1.
28
Derivative Formulas
Since f is analytic inside C, we can start with
z0
the Cauchy integral formula:
1 f z
Analytic f z0
2 i C z z0
C dz (Note z0 is inside C .)
1 f z
f z0 z z z0 z dz
2 i
C
f z0 z f z0 1 f z f z
z
z z0 z z z0
2 iz
dz
C
1 z
f z dz
2 i z z z z z z
C 0 0
f z0 z f z0 1 1
lim lim f z dz
z 0 z z 0 2 i
C
z z z z z
0 0
1 f z
f z0
dz Note: We have proved that you can
2 i C z z0 2
differentiate w.r.t. z0 under the integral sign!
29
Derivative Formulas (cont.)
Similarly (derivation omitted):
2 f z
f z0 z z 3 dz
2 i
C 0
z0
In general:
1 dn 1
f z0
C
f z n
2 i C
n
dz
dz0 z z 0
f z analytic in a simply
connected region containing C
n! f z
f z0
n
n 1
dz
2 i C z z0
z f z dz 0
C
z0 for every closed contour C within R , then f z is analytic
throughout R .
Note that
z
F z F z0 1
z
F z F z0 F z f d f d
z0
z z0 z z0 z0
Note : We can chose a small straight - line path between the two points since the
integral is path independent. Along this small path, f is almost constant (from continuity of f ).
F z F z0 1
z z z0 f z0 z
f z0
f d d z z0 f z0
z z0 z z0 z0
z z0 z0
z z0
F z0 f z0 . Hence F is analytic at any z0 in R . But then so are all its derivatives, including F f .
Hence, f is analytic at z0 .
31
Comparing Cauchy’s and Morera’s Theorems
f z dz 0, C in R .
C
32
Properties of Analytic Functions
Existence of f z
Definition
f z dz 0 Cauchy-Riemann
conditions
C
Analyticity
33
Cauchy’s Inequality
y
Suppose f z :
(a) is bounded ( f z M ) on the circle of radius R
C
R
(b) has a convergent power series representation x
f z an z n (see note below)
n 0
inside (and on) the circle of radius R. M
Then an n
.
R
1 f z 1
1
2 z m 1
dz
2
an z n m1dz
2
2 iam (This is from the previous line integral example,
where n-m-1 = -1.)
z R n 0 z R
1 f z 1 f z 1
2
M M
am
2 z m1
dz
2 z m 1
dz
2 R m 1
R d
Rm
z R z R 0
m n M
an , M max f z
Rn z R
Note: If a function is analytic within and on the circle, then it must have a convergent
power (Taylor) series expansion within and on the circle (proven later).
34
Liouville’s Theorem
If f (z) is analytic and bounded in the entire complex plane, it is a constant.
Because it is analytic in the entire complex plane, f (z) will
have a power (Taylor) series that converges everywhere (proven later).
Proof
By the Cauchy Inequality, f z an z n
M n 0
an n , for any R (so let R )
R
an 0 , n 0
f z a0
35
The Fundamental Theorem of Algebra
N
The N th degree polynomial, PN z an z n , a N 0, N 0, has N (complex) roots.
n 0
PN z aN z z1 z z2 z z N
36
The Fundamental Theorem of Algebra (cont.)
1
But by Liouville's theorem, we then have that is a constant, contrary to our
PN z
assumption N 0.
Hence PN z must have at least one root, say at z z1 . We can then write
PN z z z1 PN 1 ( z ) (see note below).
Repeat the above procedure N 1 times (a total of N times) until we arrive at the conclusion that
PN z z z1 z z2 z z N P0
where P0 z P0 is a constant .
Note:
To verify this, we can use the method of “polynomial division” to construct the polynomial PN-1 (z) in terms of an.
An example is given on the next slide.
37
The Fundamental Theorem of Algebra (cont.)
Show that P z z z1 z 2 b1z b0 .
Equate coefficients other than z 0 :
z 2 : b1 a2 z1
z1: b0 a1 b1z1
The difference between P z and z z1 z 2 b1z b0 must then be a constant.
38
Numerical Integration in the Complex Plane
Here we give some tips about numerically integrating in the complex plane.
b
I f z dz
a
ta a t1
t0
x
where
dz z z t
F t f z t FR t iFI t
dt
tb tb
I FR t dt i FI t dt
ta ta
39
Numerical Integration in the Complex Plane (cont.)
Summary
b tb tb tb
I f z dz F t dt FR t dt i FI t dt
a ta ta ta
Note:
where It is not always necessary to treat
the real and imaginary parts of F
separately; we can just allow F to
dz
F t f z t FR t iFI t be complex in many software.
dt
The integrals in t can be preformed in the usual way, using any convenient
scheme for integrating functions of a real variable (Simpson’s rule, Gaussian
Quadrature, Romberg method, etc.).
40
Numerical Integration in the Complex Plane (cont.)
z a (b a)t, 0 t 1
dz
b a arg dz arg b a
dt
b 1 1
dz
I f z dz f z t dt b a f z t dt
a 0
dt 0
41
Numerical Integration in the Complex Plane (cont.)
1
I b a f z t dt
0
y
t 0
x
We can also break up the integral into
real and imaginary parts if we wish:
1 1
I b a Re f z t dt i b a Im f z t dt
0 0
t
t
0 t1 t2 tn 1
43
Numerical Integration in the Complex Plane (cont.)
1
I b a f z t dt
0
t tnmid
t
Uniform sampling (Midpoint rule): 0 t1 t2 tn 1
N
I b a f znmid t
n 1 z a ( b a )t
1
znmid a (b a )tnmid , tnmid t n y
2 N intervals
zN
Using z (b a )t t z / (b a ) C b zN
znmid
z0 z
we then have a z0
N
z
x
I b a f znmid
n 1 ba
44
Numerical Integration in the Complex Plane (cont.)
N
I z f znmid
n 1
where
znmid a (b a )tnmid
y
1
a ( b a ) t n N intervals
2 zN
C b zN
1 1
a (b a ) n znmid
N 2 z0 z
1 a z0
a z n
2 x
ba
Note : z (b a)t
N
45
Numerical Integration in the Complex Plane (cont.)
“Complex Midpoint rule”
N
I z f znmid
n 1
ba y
z
N N intervals
zN
C b zN
1 znmid
znmid a z n z0 z
2
a z0
x
46
Numerical Integration in the Complex Plane (cont.)
N = number of segments y
= even number
N intervals
zN
b zN
Number of sample points = N +1 C
zn z
z0
a z0
zn a z n x
ba
z
N
47
Numerical Integration in the Complex Plane (cont.)
“Complex Gaussian Quadrature”
N Note:
I In The Gaussian quadrature formulas are usually
n 1 given for integrating a function over (-1,1). We
translate these into integrating over a given
interval (interval n) of length z.
z 6 z
In f znmid xi wi
2 i 1 2
N intervals
y
(6-point Gaussian Quadrature) Six sample points are used
within each of the N intervals.
znmid a z n 1 / 2 zN b zN
C
znmid
z0
z
a z0
Sample points Weights
x
x1 = -0.9324695 w1 = 0.1713245
x2 = -0.6612094 w2 = 0.3607616
x3 = -0.2386192 w3 = 0.4679139 ba
x4 = 0.2386192 w4 = 0.4679139 z
x5 = 0.6612094 w5 = 0.3607616 N
x6 = 0.9324695 w6 = 0.1713245
48
Numerical Integration in the Complex Plane (cont.)
Here is an example of a piecewise linear path, used to calculate the
electromagnetic field of a dipole source over the earth (Sommerfeld problem).
Gaussian quadrature could be used on each of the linear segments of the path
(breaking each one up into N intervals as necessary to get convergence).
kti
k1
C Sommerfeld path
k0
k0
ktr
k1
49