BMEG2410: Complex Analysis Part I: Prof. Scott YUAN
BMEG2410: Complex Analysis Part I: Prof. Scott YUAN
BMEG2410: Complex Analysis Part I: Prof. Scott YUAN
Complex functions
September 2020
Lecture notes: Courtesy of Prof. Hongsheng LI
Complex numbers
Complex functions
Outline
1 Complex numbers
Geometry of complex numbers
Polar form
2 Complex functions
Calculus—reminders
Analytic functions
Exponential and trigonometric functions
Logarithm and power functions
Complex numbers Geometry of complex numbers
Complex functions Polar form
Reading materials:
Complex numbers: Kreyszig 13.1, 13.2
Complex functions: Kreyszig 13.3, 13.4, 13.5, 13.6, 13.7
Complex numbers Geometry of complex numbers
Complex functions Polar form
x2 = −1
and
x2 − 10x + 40 = 0
Solution:
√
x = −1
√ and √
−b ± b2 − 4ac 10 ± 100 − 4 × 1 × 40
x= =
2a 2
√
10 ± −60
=
2
For those solutions, we need complex numbers to represent them
Complex numbers Geometry of complex numbers
Complex functions Polar form
Addition:
z1 + z2 = (x1 + x2 ) + i(y1 + y2 )
Subtraction:
z1 − z2 = (x1 − x2 ) + i(y1 − y2 )
Multiplication:
z1 × z2 = (x1 + iy1 ) × (x2 + iy2 )
= x1 x2 + ix1 y2 + iy1 x2 + i2 y1 y2 (recall i2 = −1)
= (x1 x2 − y1 y2 ) + i(x1 y2 + x2 y1 )
Division:
z = z1 /z2 ⇐⇒ z1 = zz2 ⇐⇒ x1 + iy1 = (x + iy) × (x2 + iy2 )
z= x1 +iy1
x2 +iy2
= x1 x2 +y1 y2
x2 2 + i x2 xy12 −x 1 y2
+y 2
2 +y2 2 2
Complex numbers Geometry of complex numbers
Complex functions Polar form
Examples
Compute the real and imaginary parts of the following complex numbers
z1 + z2 where z1 = 1 + i and z2 = −2 − i
z1 z2 where z1 = 1 + i and z2 = −2 − i
Re{z1 } − Im{z2 } where z1 = 1 + i and z2 = −2 − i
z̄1 z̄2 where z1 = 1 + i and z2 = −2 − i
1/z1 where z1 = 1 + i
z1 /z̄2 where z1 = 1 + i and z2 = −2 − i
Complex numbers Geometry of complex numbers
Complex functions Polar form
Geometrical interpretation
Complex numbers are equivalent to points in a plane: horizontal axis being the
real axis, vertical axis being the imaginary axis of a 2-dimensional Cartesian
coordinate system.
Both axes have the same unit of length.
imaginary axis
y z = x + iy
real axis
x
z̄
Polar form
The geometrical interpretation suggests using polar coordinates (r, θ) to
represent complex numbers. This defines two new operations on complex
numbers z = x + iy
p
modulus/absolute value: |z| = r = x2 + y 2
−π < θ ≤ p π,
argument/phase1 : arg z = θ defined by cos θ = x/p x2 + y 2 ,
sin θ = y/ x2 + y 2 .
y = r sin θ z = x + iy
r
=
|z | θ = arg z
real part
x = r cos θ
1
Always expressed in radians.
Complex numbers Geometry of complex numbers
Complex functions Polar form
Polar form
x<0
x>0 y≥0
x<0
y<0
−π/2,
if x = 0 and y < 0
and, otherwise, arg z = π/2, if x = 0 and y > 0
undefined, if x = 0 and y = 0
(NOTE: In the textbook, it use “Arg” (principal value) to denote “arg” in the
slides. “arg z” in textbook equals arctan(y/x).)
Complex numbers Geometry of complex numbers
Complex functions Polar form
Triangle inequality:
|z1 + z2 | ≤ |z1 | + |z2 |
2
n
def n(n − 1)(n − 2) . . . (n − k + 1)
Reminder: = .
k k(k − 1)(k − 2) . . . 1
Complex numbers Geometry of complex numbers
Complex functions Polar form
Looking for w such that wn = z amounts to finding the nth roots of z. Given
z = r(cos θ + i sin θ) and w = R(cos φ + i sin φ)
Exercises
Compute the modulus, phase, real part and imaginary part of the following
complex numbers
z 3 , if z = 1 + i
z −1 , if z = 1 + 2i
z1 /z2 , if z1 = 1 + 2i and z2 = 1 + i
fourth root of −1
square root of z1 z̄2 where z1 = 1 + 2i and z2 = 1 + i
Calculus—reminders
Complex numbers Analytic functions
Complex functions Exponential and trigonometric functions
Logarithm and power functions
Complex function
NOTE: All functions are single-valued relations. Each z can only be mapped to
one value w = f (z)
Calculus—reminders
Complex numbers Analytic functions
Complex functions Exponential and trigonometric functions
Logarithm and power functions
Essentials of calculus
0
af (x) + bg(x) = af 0 (x) + bg 0 (x) (Linearity)
0
f (x)g(x) = f 0 (x)g(x) + f (x)g 0 (x) (Leibniz’ rule)
0
= f 0 g(x) g 0 (x)
f g(x) (chain rule)
0
= −f 0 (x)/f (x)2
1/f (x)
∂f f (x0 + h, y0 ) − f (x0 , y0 )
def
∂x
(x0 , y0 ) = fx (x0 , y0 ) = lim
h→0 h
∂f def f (x 0 , y 0 + h) − f (x0 , y0 )
(x0 , y0 ) = fy (x0 , y0 ) = lim
∂y h→0 h
def
Differential: df (x, y) = f (x + dx, y + dy) − f (x, y)
Exact differential X
∂f (x, y) ∂f (x, y)
df (x, y) = dx + dy
∂x ∂y
Calculus—reminders
Complex numbers Analytic functions
Complex functions Exponential and trigonometric functions
Logarithm and power functions
For complex function, z may approach z0 from any direction in the complex
plane
For real functions, just need to check approaching x0 from positive and
negative directions
For complex functions, need to check approaching z0 from all possible
directions in the complex plane
Calculus—reminders
Complex numbers Analytic functions
Complex functions Exponential and trigonometric functions
Logarithm and power functions
On the contrary, neither z̄, |z|, nor arg z are differentiable anywhere. Prove it!
Calculus—reminders
Complex numbers Analytic functions
Complex functions Exponential and trigonometric functions
Logarithm and power functions
Analytic characterization
Cauchy-Riemann equations X
If f (z) = u(x, y) + iv(x, y) is analytic in some domain, then
ux = vy and uy = −vx
in that domain. The converse is true provided that all these partial derivatives
are continuous in the domain considered.
Complex calculus is the same as real calculus; i.e., analytic functions are
functions of two variables, but behave like functions of one variable.
Calculus—reminders
Complex numbers Analytic functions
Complex functions Exponential and trigonometric functions
Logarithm and power functions
Examples
Laplace’s equation
Harmonic functionsX
If f (z) = u(x, y) + iv(x, y) is analytic in some domain, then, in that domain
∇2 u = uxx + uyy = 0 and ∇2 v = vxx + vyy = 0
def ∂2g ∂2g
where ∇2 g(x, y) = 2
+ .
∂x ∂y 2
Contrariwise, if either Re{f (z)} or Im{f (z)} does not satisfy Laplace’s
equation, then f (z) is not analytic.
Laplace’s equation
Given u(x, y) that satisfies Laplace’s equation in some domain, how to find
v(x, y) such that f (z) = u(x, y) + iv(x, y) is analytic in the same domain?
Such a v(x, y) is called u’s harmonic conjugate function
Solution: build g(z) = ux (x, y) − iuy (x, y). This function is automatically
analytic in the considered domain (why?). Now, because vx = −uy , we have
that
∂f (x + iy)
g(z) = ux + ivx = = f 0 (z)
∂x
Hence, it suffices to find the function f (z) (unique, up to an addditive
constant) which is such that f 0 (z) = ux − iuy (integration). Its imaginary part
provides v(x, y).
Calculus—reminders
Complex numbers Analytic functions
Complex functions Exponential and trigonometric functions
Logarithm and power functions
Examples
Analytic functions
Complex exponential
DefinitionX
The function exp defined by
def
exp(x + iy) = ex+iy = ex (cos y + i sin y)
is called the complex exponential. It is the analytic function that extends the
real exponential ex to the complex plane.
Euler’s formulaX
If z = iθ
eiθ = cos θ + i sin θ
which is also equivalent to
eiθ + e−iθ eiθ − e−iθ
cos θ = and sin θ =
2 2i
Calculus—reminders
Complex numbers Analytic functions
Complex functions Exponential and trigonometric functions
Logarithm and power functions
Complex exponential
The complex exponential function has the same properties as the real
exponential (prove them!):
f (z1 + z2 ) = f (z1 )f (z2 );
f 0 (z) = f (z).
Polar form of a complex number z = r(cos θ + i sin θ) can be converted to
z = reiθ
In addition, it has essential complex-specific properties
ez = ez̄
z
e = eRe{z} , hence |eiθ | = 1
arg ez = Im{z} + 2nπ, where n is an integer3
Exercise
Trigonometric functions
Based on Euler’s formula, the trigonometric functions cos and sin are extended
to analytic functions in the complex plane by
def eiz + e−iz def e
iz
− e−iz
cos z = and sin z =
2 2i
sin z 1
tan z = and sec z =
cos z cos z
Same properties as the real trigonometric functions
(cos z)0 = − sin z, (sin z)0 = cos z, (tan z)0 = sec2 z
cos(z1 + z2 ) = cos z1 cos z2 − sin z1 sin z2
sin(z1 + z2 ) = sin z1 cos z2 + cos z1 sin z2
cos2 z + sin2 z = 1
etc.
Hyperbolic functions
Complex logarithm
DefinitionX
The natural logarithm of z = x + iy is defined as the inverse of the exponential
function ew = z:
w = ln z
The complex “natural” logarithm is defined by
ln z = ln |z| + i arg z (NOTE: −π < arg z ≤ π)
Complex natural logartihm is multi-valued. The above definition is called
“principal value” of the logarithm. In textbook, it is denoted by “Ln”.
Properties
1 eln z = z;
ln ez = z + i2kπ, where k is an integer† ;
2
Selected proofs:
eln z = eln |z|+i arg z = eln |z| cos(arg z) + i sin(arg z)
1
= |z| cos(arg z) + i sin(arg z) = z
4 Let ln z = u + iv for z ∈ C\[−∞, p 0], then from 1 we have
ln z = ln |z| + i arg z = ln x2 + y 2 + i (arc tan(y/x)(±π))
x 1 1
ux = 2 = vy = ·
x + y2 1 + (y/x)2 x
y 1 y
uy = 2 = −v x = − − 2
x + y2 1 + (y/x)2 x
The Cauchy-Riemann equations hold and prove the analyticity of the
function
5 from 4 we have that
x y x − iy 1
(ln z)0 = ux + ivx = −i 2 = 2 =
x2 + y 2 x + y2 x + y2 z
Calculus—reminders
Complex numbers Analytic functions
Complex functions Exponential and trigonometric functions
Logarithm and power functions
Power function
DefinitionX
The arbitrary power of a complex number is defined by
z a = ea ln z
Properties
1 ln z a = a ln z + 2ikπ, where k is an integer† ;
2 z a z b = z a+b ;
3 z a is analytic in C \ [−∞, 0];
4 (z a )0 = az a−1 .
b
NOTE: in general, z a 6= z ab .
†
chosen uniquely, so that the imaginary part of the rhs is the range of (−π, π].
Calculus—reminders
Complex numbers Analytic functions
Complex functions Exponential and trigonometric functions
Logarithm and power functions
Exercises