complex integration...
TRANSCRIPT
Young Won Lim1/17/14
Complex Integration (2B)
Young Won Lim1/17/14
Copyright (c) 2012 Young W. Lim.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".
Please send corrections (or suggestions) to [email protected].
This document was produced by using OpenOffice and Octave.
Complex Integration (2B) 3 Young Won Lim1/17/14
Complex Integration
z (t) = x (t ) + i y (t) a≤ t ≤ b
∫z0
z1
f (z) dz = F (z1) − F (z0)
Indefinite Integration of Analytic Functions
Integration by the useof the Path
f (z )analytic in a simply connected domain D
exists an indefinite integral of f (z )
F (z )analytic
F '(z ) = f (z )
in D, and all paths in D
analyticity is not required
a piecewise smooth path C
such that
represented by
continuous on C
∫C
f (z ) dz = ∫a
b
f (z (t))z '(t)dt
f (z )
Complex Integration (2B) 4 Young Won Lim1/17/14
Unit Circular Contour
z (t) = x (t ) + i y (t) a≤ t ≤ b
∫C
f (z) dz = ∫a
b
f (z (t))z '(t)dt
z = eiθ
d zdθ
= ieiθ
z = eiθ
z (r ,θ)= r (cosθ + isinθ)= r eiθ
along the circle r is fixed
Complex Integration (2B) 5 Young Won Lim1/17/14
Unit Circular Contour
z = eiθ
d zdθ
= ieiθ
z = eiθ
z = eiθ
dz= i eiθdθ
ieiθ
ccw rotation by 90 degrees
tangential vector
No radial axis change
leading phase by 90 degrees
multiply by i
Complex Integration (2B) 6 Young Won Lim1/17/14
Contour Integration
z = eiθ
along C
dz = ieiθdθ
∮C
z dz = ∫0
2π
eiθ ieiθdθ
= [12 ei2θ]0
2π
= 0
∮C
z2 dz = ∫0
2π
ei 2θ i eiθdθ
= [13 ei3θ]0
2π
= 0
∮C
1zdz = ∫
0
2π
e−iθ i eiθdθ
= [i ]02π
= 2π i
∮C
z2 dz = ∫0
2π
e−i2θ ieiθdθ
= [−e−iθ ]02π
= 0
∮C
dz = ∫0
2π
ieiθdθ
= [eiθ ]02π
= 0
Complex Integration (2B) 7 Young Won Lim1/17/14
Functions z, 1/z on the unit circle (1)
-2-1.5
-1-0.5
0 0.5
1 1.5
2-2-1.5
-1-0.5
0 0.5
1 1.5
2
0
0.5
1
1.5
2
2.5
3
3.5
4
Z axis
|1/z|
1 / sqrt(x**2+y**2) 1
X axis
Y axis
Z axis
-2-1.5
-1-0.5
0 0.5
1 1.5
2
-2
-1.5
-1
-0.5
0
0.5
1
1.5
2
-4-3-2-1 0 1 2 3 4
Z axis
arg(1/z)
atan2(-y, x) 0
X axis
Y axis
Z axis
-2-1.5
-1-0.5
0 0.5
1 1.5
2-2-1.5
-1-0.5
0 0.5
1 1.5
2
0
0.5
1
1.5
2
2.5
3
3.5
4
Z axis
|z|
sqrt(x**2+y**2) 1
X axis
Y axis
Z axis
-2-1.5
-1-0.5
0 0.5
1 1.5
2-2-1.5
-1-0.5
0 0.5
1 1.5
2
-4
-3
-2
-1
0
1
2
3
4
Z axis
arg(z)
atan2(y, x) 0
X axis
Y axis
Z axis
∮C
z dz
= ∫0
2π
eiθ ieiθdθ
= [12 ei2θ]0
2π
= 0
∮C
1zdz
= ∫0
2π
e−iθ i eiθdθ
= [i ]02π
= 2π i
Complex Integration (2B) 8 Young Won Lim1/17/14
splot code for f(z)=z
# Plot f(z) = z# Base on 3D gnuplot demo - contour plot# Licensing: This code is distributed under the GNU LGPL license.# Modified: 2012.12.17# Author: Young W. Lim
# set terminal pngcairo transparent enhanced font "arial,10" fontscale 0.8 size 400, 250 # set output 'contours.1.png'set view 60, 30, 0.85, 1.1set samples 60, 60set isosamples 61, 61#set contour base#set contour surfaceset contour bothset cntrparam levels discrete 1, 4
set title "|z|" set xlabel "X axis" set ylabel "Y axis" set zlabel "Z axis" set zlabel offset character 1, 0, 0 font "" textcolor lt -1 norotate.emf'replotset term wxt
set xrange [-2: 2]set yrange [-2: 2]set zrange [0: 4]splot sqrt(x**2+y**2)
set term emfset output 'splot_z.mag.emf'replotset term wxt
pause -1
set cntrparam levels discrete 0set zrange [-4: 4]set title "arg(z)"
splot atan2(y, x)
set term emfset output 'splot_z.arg
Complex Integration (2B) 9 Young Won Lim1/17/14
splot code for f(z)=1/z
# Plot f(z) = z# Base on 3D gnuplot demo - contour plot# Licensing: This code is distributed under the GNU LGPL license.# Modified: 2012.12.17# Author: Young W. Lim
# set terminal pngcairo transparent enhanced font "arial,10" fontscale 0.8 size 400, 250 # set output 'contours.1.png'set view 60, 30, 0.85, 1.1set samples 60, 60set isosamples 61, 61#set contour base#set contour surfaceset contour bothset cntrparam levels discrete 1, 4
set title "|1/z|" set xlabel "X axis" set ylabel "Y axis" set zlabel "Z axis" set zlabel offset character 1, 0, 0 font "" textcolor lt -1 norotate
set xrange [-2: 2]set yrange [-2: 2]set zrange [0: 4]splot 1 / sqrt(x**2+y**2)
set term emfset output 'splot_1_z.mag.emf'replotset term wxt
pause -1
set view 47, 150, 0.85, 1.1set cntrparam levels discrete 0set zrange [-4: 4]set title "arg(1/z)" splot atan2(-y, x)
set term emfset output 'splot_1_z.arg.emf'replotset term wxt
Complex Integration (2B) 10 Young Won Lim1/17/14
Plot around the unit circle (1)
-4
-3
-2
-1
0
1
2
3
4
-3 -2 -1 0 1 2 3
y: m
ag
(z)
x: angle theta
magnitude of f(z)=z
-4
-3
-2
-1
0
1
2
3
4
-3 -2 -1 0 1 2 3
y: a
rg(z
)
x: angle theta
argument of f(z)=z
-4
-3
-2
-1
0
1
2
3
4
-3 -2 -1 0 1 2 3
y: m
ag
(z)
x: angle theta
magnitude of f(z)=1/z
-4
-3
-2
-1
0
1
2
3
4
-3 -2 -1 0 1 2 3
y: a
rg(z
)
x: angle theta
argument of f(z)=1/z
+π−π +π−π
+π−π +π−π
−π
+π
−π
+π
Complex Integration (2B) 11 Young Won Lim1/17/14
Plot around the unit circle (2)
-4
-3
-2
-1
0
1
2
3
4
-3 -2 -1 0 1 2 3
y: a
rg(z
)
x: angle theta
argument of f(z)=z
-4
-3
-2
-1
0
1
2
3
4
-3 -2 -1 0 1 2 3
y: a
rg(z
)
x: angle theta
argument of f(z)=1/z
0
1
2
3
4
5
6
7
8
0 1 2 3 4 5 6
y: a
rg(z
)
x: angle theta
argument of f(z)=z
+π−π +2π0
+π−π +2π0
0
+2π
−2π
0
-8
-7
-6
-5
-4
-3
-2
-1
0
0 1 2 3 4 5 6
y: a
rg(z
)
x: angle theta
argument of f(z)=1/z
Complex Integration (2B) 12 Young Won Lim1/17/14
plot unit circle code
%-----------------------------------------------------------------------------% Plot f(z) = z on the unit circle% Licensing: This code is distributed under the GNU LGPL license.% Modified: 2012.12.17% Author: Young W. Lim%-----------------------------------------------------------------------------t = -pi : 0.01 : pi;z = e.^(j*t);
plot(t, abs(z))title("magnitude of f(z)=z");xlabel("x: angle theta");ylabel("y: mag(z)");grid onaxis([-pi pi -4 +4]);print -demf uc_z.mag.emfpauseplot(t, arg(z))title("argument of f(z)=z");xlabel("x: angle theta");ylabel("y: arg(z)");grid onaxis([-pi pi -4 +4]);print -demf uc_z.arg.emf
t = -pi : 0.01 : pi;z = e.^(-j*t);
plot(t, abs(z))title("magnitude of f(z)=1/z");xlabel("x: angle theta");ylabel("y: mag(z)");grid onaxis([-pi pi -4 +4]);print -demf uc_1_z.mag.emfpauseplot(t, arg(z))title("argument of f(z)=1/z");xlabel("x: angle theta");ylabel("y: arg(z)");grid onaxis([-pi pi -4 +4]);print -demf uc_1_z.arg.emf
Complex Integration (2B) 13 Young Won Lim1/17/14
-1 -0.5 0 0.5 1
-1-0.5
00.5
1-1
-0.5
0
0.5
1
-1 -0.5 0 0.5 1
-1-0.5
00.5
1-4-3-2-101234
-4-3-2-101234
0 1 2 3 4 5 6 7-0.2
00.20.40.60.8
11.21.4
0 1 2 3 4 5 6 7
Contour Integration of f(z)=1/z
xy
ℜ( f ) = cos(θ)ℑ( f ) =−sin (θ)
+π
−π
∣(f )∣
arg (f )
−π
+πarg (f )
arg (eiθ)
α = arg (f⋅eiθ)
∫−π
+π
f (r ,θ) ieiθd θ
= ∫−π
+π
e−iθ ieiθd θ
= ∫−π
+π
i dθ
= 2π i
α = arg {f (eiθ)eiθ
}= 0
f (α)sin (α)
f (α)cos (α)
Complex Integration (2B) 14 Young Won Lim1/17/14
-1 -0.5 0 0.5 1
-1-0.5
00.5
1-1
-0.5
0
0.5
1
-1 -0.5 0 0.5 1
-1-0.5
00.5
1-4-3-2-101234
-4-3-2-101234
0 1 2 3 4 5 6 7-1
-0.5
0
0.5
1
0 1 2 3 4 5 6 7
Contour Integration of f(z)=1/z2
ℜ( f ) = cos(2θ)ℑ( f ) =−sin(2θ)
+π
−π
∣(f )∣
arg (f )
−π
+π
arg (f )
arg (eiθ)
= ∫−π
+π
e−i2θieiθ d θ
= ∫−π
+π
i e−iθ d θ
= 0
α = arg {f⋅eiθ}≠ 0
xy
α = arg(f⋅eiθ)
f (α)sin (α)
f (α)cos (α)
∫−π
+π
f (r ,θ) ieiθd θ
Complex Integration (2B) 15 Young Won Lim1/17/14
-1 -0.5 0 0.5 1
-1-0.5
00.5
1-1
-0.5
0
0.5
1
-1 -0.5 0 0.5 1
-1-0.5
00.5
1-4-3-2-101234
-4-3-2-101234
0 1 2 3 4 5 6 7-1
-0.5
0
0.5
1
0 1 2 3 4 5 6 7
Contour Integration of f(z)=z2
ℜ( f ) = cos(2θ)ℑ( f ) =−sin(2θ)
+π
−π
∣(f )∣
arg (f )
−π
+π arg (f ) arg (eiθ)
= ∫−π
+π
ei2θ ieiθdθ
= ∫−π
+π
i ei3 θd θ
= 0
α = arg {f⋅eiθ}≠ 0
xy
α = arg(f⋅eiθ)
f (α)sin (α)
f (α)cos (α)
∫−π
+π
f (r ,θ) ieiθd θ
Complex Integration (2B) 16 Young Won Lim1/17/14
0.5 1 1.5 2 2.5
-1-0.5
00.5
1-3-2-101234
0.5 1 1.5 2 2.5
-1-0.5
00.5
1-2-101234
-4-3-2-101234
0 1 2 3 4 5 6 7-4
-3
-2
-1
0
1
2
3
0 1 2 3 4 5 6 7
Contour Integration of f(z)=1/z along unit circle at (1.5, 0)
ℜ( f ) = cos(2θ)ℑ( f ) =−sin(2θ)
+π
−π
∣(f )∣
arg (f )
−π
+πarg (f )
arg (eiθ)
= 0
α = arg {f⋅eiθ}≠ 0
xy
α = arg(f⋅eiθ)
f 1(α)sin(α)
f 1(α)cos(α)
∫Cf (r ,θ) ieiθd θ
∫−π
+π
f (r+1.5,θ)ieiθ dθ
C
∫−π
+π
f 1(θ)ie iθd θ
Complex Integration (2B) 17 Young Won Lim1/17/14
Plotting Code for Contour Integrals
%-----------------------------------------------------------------------------% Plot the integration of f(z) = 1/z along the unit circle% Licensing: This code is distributed under the GNU LGPL license.% Modified: 2014.01.15% Author: Young W. Lim%-----------------------------------------------------------------------------
clf; clear *;
t=linspace(0, 2*pi, 1000);a = 1.5xt = a+cos(t);yt = sin(t);zt = (xt + i*yt);zt = zt .* zt;ft = 1./zt; % ft = 1./zt, ft = zt;
theta = rem(arg((xt-a+i*yt).*(ft)), 2*pi);
xx = abs(ft).*cos(theta);yy = abs(ft).*sin(theta);
subplot(2,2, 1)plot3(xt, yt, real(ft), "b", xt, yt, imag(ft), "c")
subplot(2,2, 2)plot3(xt, yt, abs(ft), "b", xt, yt, arg(ft), "c")
subplot(2,2, 3)plot(t, arg(xt-a+i*yt), "b", t, arg(ft), "g", t, theta, "r")
subplot(2,2, 4)plot(t, xx, "b", t, yy, "c")
sum(xx(1:length(xx)-1))sum(yy(1:length(xx)-1))
Complex Integration (2B) 18 Young Won Lim1/17/14
Cauchy's Integral Formula
f (a) =12π i∮
f (z )
z−adz
f (z) : analytic on and inside simple close curve C
the value of
at a point
f (z)
z = a inside C
f (z) =12π i∮
f (w)
w−zdw
z = eiθ
Complex Integration (2B) 19 Young Won Lim1/17/14
Cauchy's Integral Formula
f (a) =12π i∮
f (z )
z−adz
f (z) : analytic on and inside simple close curve C
a
∮C
f (z) dz = 0
C
a
∮ccw C
f (z) dzz−a
+ ∮cw C'
f (z) dzz−a
= 0
C∮
ccw C
f (z) dzz−a
= ∮ccw C'
f (z) dzz−a
C'
Complex Integration (2B) 20 Young Won Lim1/17/14
Cauchy's Integral Formula
f (a) =12π i∮
f (z )
z−adz
f (z) : analytic on and inside simple close curve C
a
C
∮ccw C
f (z) dzz−a
= ∮ccw C'
f (z) dzz−a
a
C
z − a = ρeiθalong C'
z = a − ρeiθ
dz = iρei θdθ
dzz−a
=iρeiθdθ
ρeiθ
∮ccw C
f (z) dzz−a
= ∫0
2π
f (z)i dθ
= 2π i f (a)
= 2π i f (a) z→a ρ→0as
z→aC'C'
Young Won Lim1/17/14
References
[1] http://en.wikipedia.org/[2] http://planetmath.org/[3] M.L. Boas, “Mathematical Methods in the Physical Sciences”