Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Complex Numbers

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

Math Methods I

Lia Vas

Calculus of Complex functions.


Laurent Series and Residue Theorem
Review of complex numbers. A complex number is any expression of the form x + iy where
x and y are real numbers. x is called the real part and y is called the imaginary part of the complex
number x + iy. The complex number x iy is said to be complex conjugate of the number x + iy.
Trigonometric Representations. Let us recall the polar coordinates x = r cos and y =
r sin . Using this representation, we have that
z = x + iy = r cos + ir sin .
The value r is the distance from the point (x, y) in the plane to the origin. The value r is called
the modulus or absolute value of z. It is frequently denoted by |z|. The angle is the angle between
the radius vector of (x, y) and the positive part of x-axis. The angle is usually called the argument
or phase of z.
Eulers formula.
ei = cos + i sin .
This formula is especially useful in the solution of differential equations. Eulers formula was proved
(in an obscured form) for the first time by Roger Cotes in 1714, then rediscovered and popularized
by Euler in 1748.
Euler proved this formula using power series expansions of exponential, sine and cosine functions
(and this proof can be subject of your project). This formula allows the following simplification
z = x + iy = r cos + ir sin = rei .
Using the trigonometric representation, the formulas for multiplication and division of two complex numbers become easier than when the Cartesian form of complex numbers is used. If z1 is a
complex number with modulus r1 and phase 1 and z2 is a number with modulus r2 and phase 2 ,
then
z1 z2 = r1 r2 (cos(1 + 2 ) + i sin(1 + 2 )) = r1 r2 ei(1 +2 ) .
with the agreement that if 1 + 2 is larger than 2, then 2 is subtracted from this sum.
This gives us an easy formula for the n-th power of a complex number z = r(cos() + i sin()),
z n = rn (cos(n) + i sin(n)) = rn eni .
Complex functions. A complex valued function of complex variable is a function f (z) =
f (x + iy) = u(x, y) + iv(x, y) where u, v are real functions of two real variables x, y. For example
f (z) = z 2 = (x + iy)2 = x2 + 2xy y 2 is one such function. Its real part is u = x2 y 2 and its
imaginary part is v = 2xy.
1

The Eulers formula can be used to define various complex functions that allow the same manipulations as their real-valued counterparts. For example, the exponential function ez is defined as
follows.
ez = ex+iy = ex eiy = ex (cos y + i sin y)
Thus, ez represents complex function with real part ex cos y and the imaginary part ex sin y.
The exponential function with arbitrary (real) base is defined via the exponential function as
az = ez ln a
The power function can also be defined via the exponential function. In this course we will work
just with integer powers of z. So, let n be an integer.
z n = (rei )n = rn ein
Note that the usual formulas for exponentiation work with this definition.
The complex-valued basic trigonometric functions are also defined via exponential function as
follows
1
1
cos z = (eiz + eiz )
sin z = (eiz eiz )
2i
2
sin z
The other trigonometric function can be defined via these two, for example tan z = cos
.
z
Example 1. Verify the following identities.
(b) sin2 z + cos2 z = 1.

(a) (ez )n = enz for n positive integer

Solutions. (a) (ez )n = (ex eiy )n . Using the formula for z n , we have that this is equal to enx einy =
en(x+iy) = enz .
(eiz eiz )2 + 14 (eiz + eiz )2 . Square the terms in parenthesis to get
(b) sin2 z + cos2 z = 1
4
1 2iz
(e 2 + e2iz ) + 41 (e2iz + 2 + e2iz ) = 41 (e2iz + 2 e2iz + e2iz + 2 + e2iz ) = 14 (4) = 1.
4
When it comes to the inverse of these elementary functions, things can become a bit more complicated. In this course we will not be going into branches of complex logarithms or the inverses of
complex trigonometric functions, but we will be looking into n-values of complex n-th root. This
interest is motivated by the need for finding all n solutions of the algebraic equations of the form
z n = a where a is a given complex number a = r(cos() + i sin()). The n solutions of this equation
are given by the formula

(+2k)i
+ 2k
+ 2k
n
re n = n r(cos
+ i sin
)
n
n
for k = 0, 1, . . . n 1.
Example 2. Find all solutions of the following equations.
(1) z 3 = 8,

(2) z 3 = i

2ki
2
3
Solutions. (1) z = 8e0i = 2e 3 for k = 0, 1, 2 z0 = 2e0i = 2, z1 =
2e 3 i = 2(cos 2
+

3
4
3
3
2
1
4
4
1
i
i sin 3 ) = 2( 2 + 2 i) = 1 + 3i, z2 = 2e 3 = 2(cos 3 + i sin 3 ) = 2( 2 2 i) = 1 3i.
+2ki

3
2
(2) z = 1e 2 i = 1e 3
for k = 0, 1, 2 z0 = e 6 i = cos 6 + i sin 6 = 23 + 12 i, z1 = e 6 i =
9
3
cos 5
+ i sin 5
= 2 3 + 12 i, z2 = e 6 i = e 2 i = cos 3
+ i sin 3
= i.
6
6
2
2
2

Derivatives of Complex Functions


Consider f (z) = f (x+iy) = u(x, y)+iv(x, y) to be a complex valued function of complex variable.
If is a continuous function, f is said to be differentiable and if f is differentiable at all but possibly
finitely many points of the domain, we say that f is analytic. The finitely many points at which f 0
may be discontinuous are called singularities.
If f is differentiable in terms of z, all the usual rules of differentiation for real valued functions
apply. This seemingly obvious fact holds thanks to the convenient way how complex functions are
defined. So, in practice, you can differentiate a complex function just like you would a real one.
df
dz

Example 3. Find derivatives of the following functions.


(1) f (z) = (z 2 + 5)4

(2) f (z) = ezi2

(3) f (z) = sin(4z 3 + 5).

Solutions. (1) f 0 (z) = 4(z 2 + 5)3 (2z) = 8z(z 2 + 5)3 , (2) f 0 (z) = iezi2 , (3) f 0 (z) = 12z 2 cos(4z 3 +
5).
The differentiation may be trickier if a function cannot be represented in terms of z = x + iy.
For example f (x + iy) = 3x + 5yi. For such function, the set of equations called Cauchy-Riemann
equations are useful criterion of being analytic.
df
v
v
= u
+ i x
= y
i u
so
Namely, if f is an analytic function, then dz
x
y
u
v
=
x
y

u
v
=
y
x

These two equations are called Cauchy-Riemann equations. Thus, if Cauchy-Riemann equations
fail for a complex function f (z), then it is not analytic.
Conversely, it can be shown that if the partial derivatives of u and v are continuous and the
Cauchy-Riemann equations hold, then f is an analytic function.
Example 4. Check if the following functions are analytic or not.
(a) f (x + iy) = 3y 3xi,

(b) f (x + iy) = 3y 5xi.

Solution. (a) Here u = 3y and v = 3x. The first Cauchy-Riemann equation holds since both
v
v
v
and y
are equal to 0. The second equation holds also since u
= 3 and x
= 3 and so u
= x
.
y
y
u
(b) Here u = 3y and v = 5x. The first Cauchy-Riemann equation holds since both x and
v
v
are
equal to 0. However, the second equation fails since u
= 3 and x
= 5. So it fails since
y
y
u
v
3 = y 6= x = 5. Thus, this function is not analytic.
u
x

If f is an analytic function and u and v have continuous second partial derivatives, then
 
 
 


2u
u
v
v
u
2u
2u 2u
=
=
=
=
=

+
= 0.
x2
x x
x y
y x
y
y
y 2
x2 y 2
Similarly,
2v

=
2
x
x

v
x

=
x







u
u
v
2v
2v 2v

=
=
= 2
+
= 0.
y
y
x
y
y
y
x2 y 2
3

This illustrates that both the real and the imaginary part satisfy Laplace equation. This fact
can be used when finding analytical function that has given real or imaginary part as the next
example illustrates.
Example 5. Check if analytic functions with real part equal to the given functions u exist. If
so, find all analytic functions that have real parts equal to u.
(a) u = xe3y

(b) u = x2 + 3x y 2 + 5y.

Solution. (a) To see if such an analytic function exists, check if it satisfies Laplace equation.
2
2
2
2
= e3y xu2 = 0 and u
= 3xe3y yu2 = 9xe3y . Since xu2 + yu2 = 0 9xe3y 6= 0, no such analytic
y
function exists.
2
= 2x + 3 xu2 = 2 and u
= 2y + 5
(b) Note that the given u satisfies Laplace equation: u
x
y
u
x

2u
y 2

= 2. Since xu2 + yu2 = 2 2 = 0.


R
v
= y
you can find v as v = (2x+3)dy = 2xy+3y+g(x). Determine the function
Since 2x+3 = u
x
v
g from the second Cauchy-Riemann equation 2y 5 = u
= x
= 2y +g 0 (x) g 0 (x) = 5 g(x) =
y
5x + c. Thus, v = 2xy + 3y 5x + c. In this case f (z) = x2 + 3x y 2 + 5y + i(2xy + 3y 5x + c). This
function turns out to be equal to x2 +2ixy+y 2 +3(x+iy)+5(ix+y) = (x+iy)2 +3(x+iy)5i(x+iy) =
z 2 + 3z 5iz.

Integrals of Complex Functions


R
Let C be a curve in the xy-plane. In order evaluate the integral C f (z)dz of the complex function
f (z) over C, parametrize the curve C as x = x(t) and y = y(t) and obtain the bounds for t, a t b.
Then represent z as x(t) + y(t)i and note that then dz = dx + dyi = x0 (t)dt + y 0 (t)dti = z 0 (t)dt.
Thus,
Z
Z
b

f (z(t)))z 0 (t)dt

f (z)dz =
L

Example 6. Evaluate the following integrals.


R
1. z 2 dz over quarter of the unit circle in the first quadrant traversed counterclockwise.
R
2.
Re(z) dz over the line segment x = 1 from (1,0) to (1,1) and the line segment y = 1 from
(1,1) to (0,1). Recall that Re(z) denotes the real part of z = x + iy. So, Re(z) = x.
Solutions.
1. We can parametrize the unit circle as x = cos t, y = sin t. In the first quadrant with positive
orientation the t-values are such that 0 t 2 . With this parametrization
R 2
R /2
R /2
3
/2
z dz = 0 e2it eit idt = i 0 e3it dt = 3ii e3it |0 = 13 (e 2 i e0i ) = 13 (cos 3
+ i sin 3
1) =
2
2
1
1
(i 1) = 3 (1 + i).
3
2. The first line segment has the parameterization x = 1, y = y and the bounds for y are 0 y 1.
In this Rcase, z is z = 1 + iy so Rez=1 and dz = 0dx + idy = idy. The integral over this first
1
part is 0 idy = iy|10 = i.
4

The second line segment has the parameterization x = x, y = 1 and the x-values are decreasing
from
R 0 1 to x0.2 0Then 1z = x + i and Re z = x, dz 1= dx + 0i = dx. The integral over this part is
xdx = 2 |1 = 2 . So, the final answer is i 2 .
1
Cauchys Theorem. Let C be a closed piecewise smooth curve and f an analytic function
defined on an simply connected domain that contains the interior of the curve C. In this course, we
will not need to go into precise meaning of simply connected. Intuitively the domain of f is simply
connected if it consists of one piece without any holes. For example, a circle is simply connected
while an annulus is not. To find more about this concept, you can explore wikipedia.org.
With those assumptions,
I
f (z)dz = 0.
C

This statement is known as Cauchys Theorem.


To prove this statement, recall Greens theorem from Calculus 3. If C is a positive
oriented,
H
smooth closed curve and P and Q have continuous derivatives, then the line integral C P dx + Qdy
can be reduced to a double integral over the interior D of C.

Z Z 
I
Q P

dxdy
P dx + Qdy =
x
y
D
C
Thus, if f (z) = u + iv, and if D denotes the interior of C, then
I
I
I
I
f (z)dz = (u + iv)(dx + idy) = (udx vdy) + i (vdx + udy)
C

Using Greens theorem, we obtain that this last expression is equal to the following.
Z Z
Z Z
v u
u v
(

) dxdy + i
(

) dxdy = 0.
y
y
D x
D x
The last equality uses the fact that f is analytic so that the Cauchy-Riemann equations hold.
Example 7. Evaluate
Z

(z 3 + 5z sin z)dz

over a unit circle in xy-plane.


Solutions. A unit circle is a closed curve and f (z) = z 3 + 5z sin z is an analytic function
(derivative 3z 2 + 5 cos z is continuous) defined for every z. Thus, this curve and function f satisfy
the assumptions of Cauchys Theorem. Thus, the integral is equal to zero.
Cauchys Integral Formula. If f is an analytic function defined on a simple connected region
that contains the interior of the closed piecewise smooth curve C, (note that these are the same
assumptions as in Cauchys Theorem) and a is a point in the interior of C, then
I
n!
f (z)
(n)
f (a) =
dz
2i C (z a)n+1
5

where n = 0, 1, . . . . This formula is known as Cauchys differentiation formula. Its proof is


one of the project topics you can choose from. Note that for n = 0 this gives the formula known as
the Cauchys integral formula.
I
I
f (z)
1
f (z)
f (a) =
dz
dz = 2if (a)
2i C z a
C z a
This formula is frequently used when evaluation integrals of functions that may not be analytic.
Example 8. (a) Evaluate
I
C

1
dz
z

over the square C with sides (1,0), (0,1), (-1,0), (0,-1).


(b) Evaluate
I
ez
dz
2
C z 4
over the circle C of radius 5 using Cauchys integral formula.
Solution. (a) Use the Cauchys integral formula for f (z) = 1 and a = 0. The formula gives
you 2if (0) = 2i. Note that evaluating this integral directly would be much more time consuming
since you would have to evaluate four integrals, each using different parametrization of a side of the
square.
1
A
B
(b) Note that z214 = (z2)(z+2)
. Using the partial fractions, write this as z2
+ z+2
and find A
1
1
and B to be A = 4 and B = 4 . Thus,
I
I
I
1
1
ez
ez
ez
dz =
dz
dz
4 C z2
4 C z+2
C (z 2)(z + 2)
We can use the Cauchys integral formula for both of these integrals with f (z) = ez . For the first
a = 2 and for the second a = 2. We obtain
1
i
i
i
1
2if (2) 2if (2) = e2 e2 = (e2 e2 ).
4
4
2
2
2

Laurents Series and Residue Theorem


Recall that a real function f (x) that with continuous derivatives of any order near a point x = a
has the power series expansion
f (x) =

an (x a)n where an =

n=0

f (n) (a)
n!

Assume now that f (z) is analytic in a domain that contains a point a. Then
f (z) =

X
n=0

an (z a)

f (n) (a)
1
where an =
=
n!
2i
6

I
C

f (z)
dz
(z a)n+1

This last formula follows by Cauchys differentiation formula. The series converges inside of a
circle centered at a of radius equal to the distance from a to the nearest singularity of f (z).
Recall the following power series expansions of real functions.
x

e =

X
xn
n=0

n!

X
1
=
xn
1 x n=0

sin x =

X
(1)n x2n+1
n=0

cos x =

(2n + 1)!

X
(1)n x2n
n=0

(2n)!

Because of the way how the corresponding complex functions are defined (and using a theorem
usually referred to as Uniqueness Theorem) it can be shown that the same expansions hold for
complex functions as well. Thus
z

e =

X
zn
n=0

n!

X
1
=
zn
1z
n=0

sin z =

X
(1)n z 2n+1
n=0

cos z =

(2n + 1)!

X
(1)n z 2n
n=0

(2n)!

These elementary function expansions can be used to obtain the expansions of functions obtained
combining the basic functions as the next example illustrates.
Example 9. Find the power series expansions of the following functions at 0 and determine the
radius of convergence.
(a) f (z) = eiz ,

(b) f (z) =

1
.
1z 2

P in zn
P
zn
iz
Solutions. (a) ez =
n=0 n! . This function has no singularities so
n=0 n! f (z) = e =
this series converges
for all valuesPof z (i.e. the radius of convergence is infinite).
P

1
1
n
2n
z
1z
=
(b) 1z
2 =
n=0
n=0 z . 1 and -1 are singularities of this function, thus this series
converges within the unit circle, that is, the radius of convergence is 1.
Now assume that the point a may be a singularity of f (z). In this case, the function may be
written as
f (z) =

an (z a)

where

n=

1
an =
2i

I
C

f (z)
dz
(z a)n+1

This last formula now holds for negative values of n as well. We distinguish three cases:
1. All the coefficients an with negative subscripts are zero. In this case a is a said to be a
removable singularity.
P
(1)n x2n+1
For example, consider f (z) = sinz z . Since sin x =
we have that the Laurent
n=0 (2n+1)!
P (1)n z2n+1
P (1)n z2n
2
4
sin z
1
series expansion of f (z) is z = z n=0 (2n+1)! = n=0 (2n+1)! = 1 z3! + z5! . . . Note
that there are no terms with negative powers of z. Thus 0 is a removable singularity of this
function.
2. Just finitely many coefficients with negative subscripts are not zero. In this case a is said to be
a pole. If ak 6= 0 and ak1 = ak2 = . . . = 0, then a is a pole of order k. Note that a is
a pole of order k if (z a)k f (z) is an analytic function without singularity or with removable
singularity at a. f (z) = z1 has a pole of order 1 at z = 0. Similarly, f (z) = z1n has a pole of
order n at z = 0.
7

3. Infinitely many coefficients with negative subscripts are zero.


case a is said to be a
P In this
1
is
an example with an
essential singularity. For example, the function e1/z =
n=0 n!z n
essential singularity at z = 0.
The coefficient a1 with (z a)1 has a special significance and is called the residue of f (z).
This coefficients can be computed as
I
I
1
f (z)
1
f (z) dz.
a1 =
dz =
2i C (z a)1+1
2i C
Thus,
I
f (z) dz = 2ia1 = 2i( coefficient of the term with
C

1
).
za

Note that if f is analytic at z = a, then the residue a1 = 0 since the Laurent series
H has no terms
with negative powers. In this case, the last formula boils down to Cauchys Theorem C f (z) dz = 0.
Assume now that f is an analytic function with isolated singularities z1 , z2 , . . . zn and that C is
a closed piecewise smooth positive oriented curve whose interior contains all the residues of f. If
R1 , R2 , . . . Rn are residues at z1 , z2 , . . . zn , then
I
f (z) dz = 2i(R1 + R2 + . . . + Rn ).
C

This statement is known as Residue Theorem.


Since residues of a function are important for evaluating integrals, the following formula may be
helpful when computing the residues of poles. If a is a pole of order k, and a1 denotes the residue
at a, then

dk1
1
lim k1 (z a)k f (z) .
a1 =
(k 1)! za dz
Thus, if a is a pole of the first order, then
a1 = lim (z a)f (z).
za

Example 10. Let f (z) = z2 (z12 +1) .


(a) Find the residues
of all isolated singularities of f.
H
(b) Evaluate C f (z)dz where C is the circle of radius 2 centered at 0.
Solution. (a) Note that z 2 + 1 = (z i)(z + i). Thus, f has three singularities 0, i and i. 0 is
a pole of order 2 and i are poles of the first order.

1
d
d
= limz0 (z2z
The residue at 0 can be computed as limz0 dz
(z 2 f (z)) = limz0 dz
2
2 +1)2 = 0.
z +1
1
1
1
The residue at i can be computed as limzi (z i)f (z) = limzi z2 (z+i) = 1(i+i) = 2i = 2i .
1
1
The residue at i is limzi (z + i)f (z) = limzi z2 (zi)
= 1(ii)
= 2i1 = i
.
2
i
i
(b) Using the Residue Theorem, the integral is equal to 2i(0 + 2 2 ) = 0.
The following example illustrate how some real value integrals can be evaluated using Residue
Theorem.
8

Example 11. Evaluate

ez
dz
2
C z 4
over the circle C of radius 5 using Residue Theorem.
Note that we evaluated this integral using Cauchys integral formula. The Residue Theorem
method is even shorter since it does not require the use of partial fractions.
I

e
has two singularities 2 and -2 and both are poles of the
Solution. The function z2e4 = (z2)(z+2)
first order. Both are contained in the given contour. Thus, the integral is equal to the product of
2i and the sum of the two residues.
2
ez
The residue at 2 is limz2 (z 2)f (z) = limz2 (z+2)
= e4 . The residue at 2 is limz2 (z +

2)f (z) = limz2

ez
(z2)

e2
.
4
2

Thus, the integral is equal to 2i( e4

e2
)
4

i 2
(e
2

e2 ) which agrees with our earlier answer.

Example 12. Let a be any real number. Note that the integral
Z
1
dx
2
2 2
(x + a )
would be difficult to evaluate directly. Evaluate using complex integration and Residue Theorem.
Use your result to evaluate
Z
1
dx
(x2 + a2 )2
0
1
1
Solution. Consider the function f (z) = (z2 +a
2 )2 = (zai)2 (z+ai)2 . It has two poles of the second
order ai.
Let us now consider a contour CR that is the boundary of an upper semicircular region of a
circle of radius R large enough to include the pole ai. On the bottom part, we Rhave a line segment
R
1
parametrized as z = x + 0i = x and dz = dx so the integral over the bottom is R (x2 +a
2 )2 dx. If we
let R we will obtain the integral we need to evaluate.

the semi-circular part z = Reit for t : 0 and dz = Rieit dt. The integral over this part
ROn
it

is 0 (R2 eRie
2it +a2 )2 dt. We shall show that the integral of the modulus of f converges to 0 for R .
Then the integral of f converges to 0 as well.
Consider the modulus of this function is |R2 e2itR+a2 |2 . The denominator |R2 e2it + a2 |2 is larger than
|R2 e2it |2 = R4 . So, the whole function is smaller than R13 . So, when R , this function converges
to 0. Thus, the integral is equal to R0.
1
On the other hand, the integral CR (z2 +a
2 )2 dz is equal to the product of 2i and the residue at ai.
Note that we do not need to consider the residue
 at ai
 since it is not in the contour CR . The residue
d
1
d
2
2
1
1
i
2
at ai is limzai dz ((z ai) f (z)) = limzai dz (z+ai)2 = limzai (z+ai)
3 = (2ai)3 = 4a(i) = 4ai = 4a .
9

R
1
i

Thus, CR (z2 +a
2 )2 dz = 2i 4a = 4a . When we let R , the integral on the left converges to
R
1
the sum over the lower part that converges to (x2 +a
2 )2 dx and the integral of the top part that

converges to 0. Thus, we obtain that this integral is equal to 4a


.
Z
1

dx =
2
2
2
4a
(x + a )
We can use

dx to evaluate
R0
1
dx =
(x2 +a2 )2

(x2 +a2 )2

integral is even, thus

Z
0

1
dx as well. Note that the function under
(x2 +a2 )2
R
R
1
1
1
dx + 0 (x2 +a
dx. Thus,
2 )2 dx = 2 0
(x2 +a2 )2
(x2 +a2 )2
0

the

.
dx
=
(x2 + a2 )2
8a

Probably the trickiest part of this argument was showing that the integral over the semi-circle
converges to 0. Note that the following argument can be made for any rational function f (x) =
n
pn (x)
1 x+a0
= bamn xxm+...+a
over the contour with z = Reit dz = Rieit dt.
qm (x)
+...+b1 x+b0
Since the terms of the form ekti where k is a positive integer have modulus 1, the modulus of the
numerator |pn (z)| is smaller or equal to (|an |Rn + . . . + |a1 |R + |a0 |) |an |Rn and the modulus of
the denominator |qm (z)| is larger than or equal to (|bm |Rm . . . |b1 |R |a0 |). Also note that the
modulus of dz is equal to Rdt. Thus the integral over the semicircle of the modulus of f (z) is less
than or equal to to
Z
Z
|an |Rn
|an |Rn+1
Rdt =
dt =
m
(|bm |Rm . . . |b1 |R |a0 |) 0
0 (|bm |R . . . |b1 |R |a0 |)
=

|an |Rn+1
0 when R and m > n + 1.
(|bm |Rm . . . |b1 |R |a0 |)

So the integral of the modulus of f (z) converges to 0 and hence the integral of f converges to 0 as
well.
In similar considerations, it is also useful to note that the absolute value of a complex number of
the form eit is equal to 1.
|eit | = 1
One way to see this is to note that this number lies on the unit circle. Another way is to note that
p

|eit | = | cos t + i sin t| = cos2 t + sin2 t = 1 = 1.

Practice Problems.
1. Find all solutions of the equation z 8 = 1.
2

2. Find the derivative of the following functions (a) f (z) = ze5iz , (b) f (z) =
3. Determine if the following functions are analytic.
10

1
(z 2 +4)3

(a) f (z) = ze5iz ,

(b) f (x + iy) = x2 y + ixy 2 ,

(c) f (x + iy) = x2 y 2 + 2xyi.

4. Find an analytic function f (z), if such function exists, so that the imaginary part of f (z) is
equal to
(a) v = 3x2 + 4y 3y 2 ,
R
5. Evaluate z 4 dz

(b) v = exy

(c) v = 3ex cos y.

(a) over the upper-half of the unit circle traversed counterclockwise;


(b) over the unit circle traversed counterclockwise.
6. Let f (z) = z 3 2z + ez2 and let C be the circle of radius 3 in xy-plane. Evaluate
Z
Z
f (z)
dz
(a)
f (z) dz
(b)
C
C z 2
7. Find the power series expansions of the following functions at the given z-value. If the given
z-value is an isolated singularity, determine the type of singularity and find the residue.
(a) f (z) =

z
,
1z 2

z = 0,

(b) f (z) =

ez1
(z1)2

z = 1,

(c) f (z) =

1cos z
z2

z = 0.

8. Classify all the singularities and find their residues for the following functions.
(a) f (z) =

1
(z2)2 (4+z)

(b) f (z) =

ez
,
(z1)5

(c) f (z) = z cos z1 .

9. Evaluate the complex integrals of given function f (z) over the given contour.
(a)
f (z) =

1
(z 2)2 (4 + z)

over the circle of radius 3.

f (z) =

1
(z 2)2 (4 + z)

over the circle of radius 5.

(b)

(c)
f (z) =

ez
(z 1)5

over the boundary of the right half of the disc with radius 2.

(d)
f (z) = z cos

1
z

over the square with vertices (1,0), (0,1), (-1, 0) and (0,-1).

10. Evaluate the following integrals using the Residue Theorem and a suitable contour in complex
plane.
R
1
(a) (x2 2x+2)
2 dx
R x sin x
R
(b) x2 +1 dx. You can assume that 0 eR sin t dt 0 when R . Hint: consider the
iz
complex function f (z) = zze2 +1 and note that the given function is equal to the imaginary
part of f (z) when z = x.
11

Solutions.

2ki
8
1. z 8 = 1 z = 1e0i = 1e 8 for k = 0, 1, . . . , 7 z = 1, i, 12 12 i, 12 12 i.


2
2
2
d
d
2. (a) dz
ze5iz = e5iz + 10iz 2 e5iz . (b) dz
((z 2 + 4)3 ) = 3(z 2 + 4)4 (2z) = (z6z
2 +4)4 .
2

3. (a) By the previous problem, the function f (z) = ze5iz has derivative f 0 (z) = e5iz + 10iz 2 e5iz
which is a continuous function. Thus, f is analytic.

(b) For f (x + iy) = x2 y + ixy 2 , u = x2 y and v = xy 2 . Check if the Cauchy-Riemann equations


v
v
hold. u
= 2xy = y
so the first equation holds. u
= x2 and x
= y 2 so the second equation
x
y
fails. Thus, f is not analytic.
(c) For f (x + iy) = x2 y 2 + 2xyi, u = x2 + y 2 and v = 2xy. Check if the Cauchy-Riemann
v
v
= 2x = y
and u
= 2y = x
so both equations hold. Thus, f is analytic.
equations hold. u
x
y
4. (a) Check first if Laplace equation is satisfied. v = 3x2 + 4y 3y 2
v
2v
2v
2v
= 4 6y y
2 = 6. Thus, x2 + y 2 = 6 6 = 0.
y

v
x

= 6x

2v
x2

= 6 and

R
Then find f using Cauchy-Riemann equations. v
= 6x = u
u = 6xdy = 6xy +
x
y
v
g(x). Using the second equation, we have that 4 6y = y
= u
= 6y + g 0 (x) g 0 (x) = 4
x
g(x) = 4x + c. Thus u = 6xy + 4x + c. Hence f (z) = 6xy + 4x + c + i(3x2 + 4y 3y 2 ) =
3(x iy)2 + 4(x + iy) + c = 3z 2 + 4z + c.
(b) Check Laplace equation: v = exy
2

2v
x2

+
x exy. Thus
equal to v exists.

2v
y 2

xy

= (y + x )e

v
x

= yexy

2v
x2

= y 2 exy and

v
y

= xexy

2v
y 2

6= 0. So, no analytic function f with the imaginary part

(c) Check first that Laplace equation is satisfied.


use the Cauchy-Riemann equations.
R Then
u
x
x
=
3e
cos
y
=

u
=
3e
cos
ydy = 3ex sin y + g(x). Using the
v = 3ex cos y v
x
y
v
second equation, we have that 3ex sin y = y
= u
= 3ex sin y + g 0 (x) g 0 (x) = 0 g(x) =
x
c. Thus u = 3ex sin y + c. Hence f (z) = 3ex sin y + c + 3iex cos y = 3iex (cos y + i sin y) + c =
3iex eiy + c = 3iez + c.
5. (a) Parametrization of the unit circle is x = cos t, y = sin t, so z = cosR t + i sin Rt = eit . Thus,

z 4R = e4it and dz = eit idt. The bounds for t are 0 t . The integral is z 4 dz = 0 e4it eit idt =
5it
i 0 e dt = 5ii e5it |0 = 15 (e5i e0i ) = 51 (cos 5 + i sin 5 1) = 15 (2) = 2
.
5
(b) The function f (z) = z 4 is analytic because it has derivative 4z 3 which is a continuous
function. Thus, the integral is zero since the integral of an analytic function over a close curve
is zero (Cauchys Theorem).
6. f (z) = z 3 2z + ez2 is analytic (derivative 3z 2 2 + ez2 is continuous) so the integral in
part (a) is zero by Cauchys Theorem. By Cauchys integral formula, the integral in part (b)
is equal to 2if (2) = 2i(8 4 + 1) = 10i.
P
P 2n
P 2n+1
1
1
z
n
7. (a) 1z
=
f (z) = 1z
. The only singularities
2 =
n=0 z 1z 2 =
n=0 z
n=0 z
of f (z) are 1. So, the radius of the convergence is the distance from 0 to any of these two
points and so it is 1. The function is analytic at z = 0 (also note that there are no terms with
negative exponents in the series expansion).
12

(b) ez =

zn
n=0 n!

ez1 =

n=0

(z1)n
n!

X
(z 1)n X (z 1)n2
1
1 z1
1
1
ez1
=
=
+ +
+. . . .
=
+
f (z) =
2
2
2
(z 1)
(z 1) n=0
n!
n!
(z 1) z 1 2!
3!
n=0

The only singularity is z = 1 and, from the power series expansion, we can see that it is a
1
pole of the order 2. The coefficient with the term with z1
is 1 so the residue is 1. The series
converges at all points except z = 1.
P
P
(1)n z 2n
(1)n z 2n2
z
(c) f (z) = 1cos
= z12 z12 cos z = z12 z12
= z12
= z12 z12 +
n=0
n=0
z2
(2n)!
(2n)!
2

z4! + z6! . . . = 2!1 z4! + z6! . . . Thus, there are no terms with negative exponents. So,
the only singularity z = 0 is a removable singularity.
1
2!

8. (a) f (z) = (z2)12 (4+z) has two singularities: 2 is a pole of order 2 and -4 is a pole of order 1.
The residue at 2 can be computed as



d
1
d
1
1
2
lim
=
.
(z 2) f (z) = lim
= lim
2
z2 dz
z2 dz
z2 (4 + z)
4+z
36
The residue at 4 is limz4 (z + 4)f (z) = limz4

1
(z2)2

1
.
36

ez
. The only singularity is 1 and it is a pole of order
(z1)5
1
d4
1
d4
1
e1
z
z
limz1 dz4 ((z 1)5 f (z)) = 24
limz1 dz
4 (e ) = 24 limz1 e = 24
4!

(b) f (z) =

5. The residue at 1 is
=

e
.
24

(c) The only singularity is 0 and it is an essential singularity. Note that the formula with
the limit does not apply to this case since 0 is not a pole.
can
find
the residue
by
P We(1)
P
n
(1)n
=
looking at the power series expansion f (z) = z cos z1 = z
n=0 (2n)!z 2n
n=0 (2n)!z 2n1 =
1
z 2!z
+ 4!z1 3 . . . . So, the residue is 1
.
2
9. (a) Note that just one of the two singularities is in the given contour: 2 is in and -4 is not.
So, the integral is the product of 2i and the residue at 2 which we found to be 1
. Thus,
36
i
the integral is equal to 18
(b) Since both singularities 2 and -4 are in the given contour, the integral is the product of
2i and the sums of residues at 2 and at -4. We have found those residues to be 1
and
36
1
1
1
respectively.
Thus,
the
integral
is
equal
to
2i(
+
)
=
0.
36
36
36
(c) We have found the residue at 1 to be
(d) We have found the residue at 0 to be

e
.
24
1
2

e
Thus, the integral is 2i 24
=

ei
.
12

and so the integral is equal to i.

2 48
1
=
10. (a) Consider the function f (z) = (z2 2z+2)
2 . The zeros of the denominator are z =
2
22i
1
= 1 i. Thus f (z) = (z(i+1))2 (z(1i))2 . So, there are two poles the second order 1 i.
2

Let us now consider a contour CR that is the same as in Example 12: the boundary of an upper
semicircular region of a circle of radius R large enough to include the pole 1 + i. Note that the
second pole will be out of this contour so it will not be relevant.
On
part z = x + 0i = x and dz = dx so the integral over the bottom produces
R R the bottom
1
dx.
If we let R we will obtain the integral we need to evaluate.
R (x2 2x+2)2
13

On
part z = Reit for t : 0 and dz = Rieit dt. The integral over the top part is
R the top
Rieit
dt. Using the reasoning as in discussion following Example 12, the absolute
0 (R2 e2it 2Reit +2)2
R
value of this integral is less or equal to (R2 2R2)
2 that converges to 0 when R . Thus, the
integral over the top part converges to 0 as well.
R
1
On the other hand, the integral CR (z2 2z+2)
2 dz is equal to the product of 2i and the residue
d
at 1 + i. The residue at 1 + i is limz1+i dz ((z (1 + i))2 f (z)) . The term (z (1 + i))2 cancels
with the same term in the denominator of f (z) and so we have


2
1
1
i
2
2
d
lim
= lim
=
=
.
=
=
2
3
3
z1+i dz
z1+i (z 1 + i)
(z (1 i))
(2i)
8(i)
4i
4
R
1
i

Thus, CR (z2 2z+2)


2 dz = 2i 4 = 2 . When we let R , the integral on the left converges
R
1
to the sum over the lower part that converges to (z2 2z+2)
2 dz and the integral of the top
part that converges to 0. Thus, we obtain that this integral is equal to 2 .
iz

(b) Following the hint, consider the complex function f (z) = zze2 +1 . When z = x, f (z) = f (x) =
xeix
x
x sin x
= xxcos
2 +1 + i x2 +1 . Thus, the function under the integral is the imaginary part of f (z) when
x2 +1
z is real.
To evaluate the integral, consider the integral of f (z) over the same contour CR as in previous
problem and Example 12. The zeros of the denominator i are the only singularities, they are
both poles of the first order and just i is in the given contour. The residue at i is limzi (z
1
iz
1
zeiz
= limzi ze
= ie2i = 2e
.
i) (zi)(z+i)
z+i
On the bottom
of the contour, z = x + 0i = x and dz = dx so the integral over the bottom
R R xepart
ix
produces R x2 +1 dx. If we let R , the imaginary part of this integral is the integral we
need to evaluate.
On the top part of the contour z = Reit for t : 0 and dz = Rieit dt. The integral over the
R 2 2it Reit
it
top part is 0 RRie2 e2ite+1 dt. Note that the absolute value of the numerator is |R2 ie2it eRie | =
R2 |eRi(cos t+i sin t) | = R2 |eRi cos t |eR sin t = R2 eR sin t . Thus, the absolute value of this integral is
less or equal to the following integral
Z
Z 2 R sin t
R e
R2
eR sin t dt 0
dt = 2
21
R
R

1
0
0
for R . Thus, the integral over the top part converges to 0 as well.
R
iz
1
Thus, CR zze2 +1 dz = 2i 2e
= i
. When we let R , the integral on the left converges to
e
R xeix
dx. Thus,
x2 +1
Z
Z
Z
i
xeix
x cos x
x sin x
dx
=
dx
+
i
dx
=
.
2
2
2
e
x + 1
x + 1
x + 1
Equating the real parts on both sides and the imaginary parts on both sides, we obtain that
Z
Z
x cos x
x sin x

dx
=
0
and
dx
=
.
2
2
e
x + 1
x + 1
Thus, the integral we needed to find is equal to e .
14

You might also like