233
Complex Variables

Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Embed Size (px)

Citation preview

Page 1: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Complex Variables

Page 2: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Complex numbers are really two numbers packaged into one entity (much like matrices). The two “numbers” are the real and imaginary portions of the complex number:

.jyxz

}.Im{

}.Re{

zy

zx

Page 3: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

We may plot complex numbers in a complex plane: the horizontal axis corresponds to the real part and the vertical axis corresponds to the imaginary part.

Re{z}

Im{z}

x

yz = x + jy

Page 4: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Often, we wish to use polar coordinates to specify the complex number. Instead of horizontal x and vertical y, we have radius r and angle .

Re{z}

Im{z}

x

yz = x + jy

r

Page 5: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The best way to express a complex number in polar coordinates is to use Euler’s identity:

.sincos je j So,

,sincos jrrrez j and

.sin

.cos

ry

rx

Page 6: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

We also have

.sincos 2222222 rrryx

A summary of the complex relationships is on the following slide.

Page 7: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{z}

Im{z}

.

.sincos

jyxz

jrrre j

x = r cos

y = r sin r

.tan

.22

x

y

yxr

Page 8: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The magnitude of a complex number is the square-root of the sum of the squares of the real and imaginary parts:

.22 yxjyxz

If we set the magnitude of a complex number equal to a constant, we have

,22 cyxjyxz

Page 9: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

or,

.2222cyxz

This is the equation of a circle, centered at the origin, of radius c.

Page 10: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{z}

Im{z}

x

y

c2 = |z|2 = x2 + y2

c

z = x + jy

Page 11: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Suppose we wish to find the region corresponding to

.2222cyxz

This would be a disk, centered at the origin, of radius c.

Page 12: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{z}

Im{z}

x2 + y2 = |z|2 < c2

x

yc

Page 13: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Suppose we wish to find the region corresponding to

.22

0 czz

This would be a disk, centered at z0, of radius c.

.)()( 220

20

2

0 cyyxxzz

Page 14: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{z}

Im{z}(x-x0)2 + (y-y0)2 = |z-z0|2 < c2 = |z-z0|2

x0

y0

c

z0

Page 15: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Functions of Complex Variables

Since z is a complex number, w will be a complex number. Since z has real and imaginary parts, w will have real and imaginary parts.

Suppose we had a function of a complex variable, say

.)( 2zzfw

Page 16: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.2

2

)(

)(

22

22

2

2

xyjyx

yjxyx

jyx

zzfw

The standard notation for the real and imaginary parts of z are x and y respectively.

The standard notation for the real and imaginary parts of w are u and v respectively.

Page 17: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

,

222

jvu

xyjyxw

where

Both u and v are functions of x and y.

.2

.22

xyv

yxu

Page 18: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

So a complex function of one complex variable is really two real functions of two real variables.

).,(),()( yxjvyxuzfw

Page 19: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Exercise: Find u(x,y) and v(x,y) for each of the following complex functions:

.)(

.)(

.cos)(

.)(

.)(

.)( 3

z

jz

z

zzf

zzf

zzf

ezf

ezf

zzf

Page 20: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Continuity of Complex Functions

In order to perform operations such as differentiation and integration of complex functions, we must be able to verify of the complex function is continuous.

)(zfA complex function

is said to be continuous at a point z0 if as z approaches z0 (from any direction) then f(z) can be made arbitrarily close to f(z0).

Page 21: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

)()( 0zfzf

for some such that

A more mathematical definition of continuity would be for any , we can make

.0 zz

Since we are dealing with complex numbers, the geometric interpretation of this statement is different from that of real numbers.

Page 22: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{z}

Im{z}

z0

The region |z-z0| < defines a disk in the complex plane of radius centered about z0.

Page 23: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{w}

Im{w}

f(z0)

So, if we wish |f(z)-f(z0)| < we must find a to make this so.

Page 24: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Suppose

.)( 2zzf

Find such that

5.0)()( 0 zfzf

for

.210 jz

Page 25: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Solution:

.2)( 222 xyjyxjyxzf

22220 423)()( xyyxzfzf

.4321)( 20 jjzf

Page 26: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

All we need to do is to find a value of such that if

,21 220 yxzz

then

.5.0423 2222 xyyx

Page 27: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

We can do some calculations on a spreadsheet (continuity.xls).

A value of < 0.1 seems to do it.

x y

1.100 2.100 0.1414 0.65151.050 2.050 0.0707 0.32101.050 1.950 0.0707 0.31470.950 2.050 0.0707 0.31780.950 1.950 0.0707 0.31151.010 2.010 0.0141 0.0634

22 21 yx 2222 423 xyyx

Page 28: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

A MATLAB plot (by continuity.m) of the previous example is shown on the following slide.

Page 29: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

-4 -3 -2 -1 0 1 2-1

0

1

2

3

4

5

Re{z}

Im{z

} |z - z0| < = 0.1

|z2 - z02| < = 0.5

Page 30: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Differentiation of Complex Functions

How do we take derivatives of complex functions with respect to complex variables?

),(zfwIf

what is

?)(

dz

zdf

dz

dw

Page 31: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The differential dz can vary in one of two ways: along the real axis (dx) or along the imaginary axis (dy).

Re{z}

Im{z}

x

yy+dy

x+dx

dx

dy

Page 32: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

As z varies in either direction, the derivative must be the same.

.x

vj

x

u

x

w

dz

dw

x direction

.y

v

y

uj

y

wj

jy

w

dz

dw

y direction

So, we must have

.y

v

x

u

.x

v

y

u

Page 33: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

These last two conditions

.y

v

x

u

.x

v

y

u

are called the Cauchy-Riemann equations. These equations are the criteria for a complex function to be differentiable (with respect to z = x + jy).

Page 34: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Show that the function

.)( 2zzfw

is differentiable

.2

.22

xyv

yxu

Solution: We have shown that

Page 35: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.2

.2

xy

v

xx

u

.2

.2

yx

v

yy

u

.y

v

x

u

.x

v

y

u

Page 36: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Now that we have determined that this function is differentiable, the derivative can be found using

.x

vj

x

u

dz

dw

.y

uj

y

v

dz

dw

or

Page 37: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

If we apply these formulas to

.2

.22

xyv

yxu

).,(),()( 2 yxjvyxuzzfw

where

Page 38: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.22

222

yjxx

xyj

x

yx

dz

dw

).(2)2(2

2 22

jyxyjx

y

yxj

y

xy

dz

dw

or

we have

Page 39: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.2)(2 zjyxdz

dw

The answer is what we would expect to get if z were treated as a real variable.

We see that the derivative in both cases is

As it turns out, for most well-behaved complex functions, the derivative can be found by treating z as if it were a real variable.

Page 40: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Show that the function

}.Re{)( zzfw

is not differentiable

.0

.

v

xu

Solution: We have shown that

Page 41: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.0

.1

y

v

x

u

.0

.0

x

v

y

u

.y

v

x

u

.x

v

y

u

Page 42: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Exercise: Is

}Im{)( zzfw

differentiable?

Page 43: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Definition: A function

).(zfw

is said to be analytic if it is differentiable throughout a region in the complex plane.

Page 44: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Integration of Complex Functions

What happens when we try to take the integral of a complex function along some path in the complex plane?

.)( dzzfC

Page 45: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

A complex integral is like a line integral in two dimensions.

.),(),(

),(),(

),(),()(

dyyxudxyxvj

dyyxvdxyxu

jdydxyxjvyxudzzf

CC

CC

CC

The real and the imaginary parts of the integral are nearly identical to classic line integrals.

Page 46: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Integrate

2)( zzfw

over the real interval z = 0 + j0 to z = 2 + j0.

.2

.22

xyv

yxu

Solution: We have shown that

Page 47: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.2

2

),(),(

),(),()(

22

22

dyyxdxxyj

dyxydxyx

dyyxudxyxvj

dyyxvdxyxudzzf

CC

CC

CC

CCC

Page 48: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Since we are integrating along the real (x) axis, all integrals with respect to dy are zero. In addition y=0. So,

.3 3

8

2

0

3

2

0

2

22

x

dxx

dxxdzzCC

Page 49: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The result is exactly what we would expect to get if we simply integrated a real variable from 0 to 2.

Page 50: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Integrate

2)( zzfw

over the imaginary interval z = 0 + j0 to z = 0 + j2.

Solution: The integral becomes

.)(2

0 3822 jdyyjdyyjdzzf

CC

Page 51: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The result is exactly what we would expect to get if we simply integrated

.)( 38

2

0

22jdyyjdjyjy

C

dzzC

2

where C = jy and where y=[0,2] :

Page 52: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Integrate

2)( zzfw

over the complex path z = 0 + j2 to z = 2 + j2.

Re{z}2

2

Im{z}

Page 53: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.2

2)(

2

0

2

0

22

22

dxxyjdxyx

dxxyjdxyxdzzfCCC

Solution:

The value of y is that of the path: y=2.

.)2(2)2()(2

0

2

0

22 dxxjdxxdzzfC

Page 54: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.8243

)2(2)2()(

316

2

0

2

2

0

3

2

0

2

0

22

jxjxx

dxxjdxxdzzfC

Page 55: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Integrate

2)( zzfw

over the complex path z = 2 + j0 to z = 2 + j2.

Re{z}2

2

Im{z}

Page 56: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Solution:

.83

42

)2()2(2

2)(

316

2

0

32

0

2

2

0

222

0

22

jy

yjy

dyyjdyy

dyyxjdyxydzzfCCC

Page 57: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Integrate

2)( zzfw

over the complex path z = 0 + j0 to z = 2 + j2.

Solution: The path of integration is a line z = x + jy where x = y = t = [0,2].

Re{z}2

2

Im{z}

Page 58: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Solution: The integral is more complicated.

.2

2

2

2)(

2

0

222

0

2

0

2

0

22

22

22

dtttdtttj

dtttdttt

dyyxdxxyj

dyxydxyxdzzf

CC

CCC

Page 59: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.12

3

2

3

2

22)(

38

2

0

32

0

3

2

0

22

0

2

j

tj

t

dttjdttdzzfC

Page 60: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

This result is the same as the sum of the integral from 0+j0 to 0+j2 with the integral from 0+j2 to 2+j2.

Re{z}2

2

Im{z}

Page 61: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

This result also is the same as the sum of the integral from 0+j0 to 2+j0 with the integral from 2+j0 to 2+j2.

Re{z}2

2

Im{z}

So it seems that it does not matter what path is taken as long as the endpoints are the same.

Page 62: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Integrate

.)( 2zzfw

over two paths:

(1) a semicircle z = ej, where = [0,].

(2) a semicircle z = e-j, where = [0,].

Show that the two integrals are the same.

Page 63: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{z}

Im{z}

C1

C2

= 0=

Page 64: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Solution: This integration is best handled using polar coordinates:

.)1(.)( 22222 reerrezzf jjj

.)1(.)( rdjedjrereddz jjj

Page 65: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.3

11

3

1

3

)(

3203

0

3

0

3

0

2

1

jj

jj

jj

C

ee

ej

jdej

djeedzzf

The integral around curve C1 is

Page 66: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The integral around curve C2 is

.3

11

3

1

3

)(

320

00

0

2

2

jj

jj

jj

C

ee

ej

jdej

djeedzzf

Page 67: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.03

11

3

1

3

)(

06

2

0

32

0

3

2

0

2

jj

jj

jj

C

ee

ej

jdej

djeedzzf

If we were to integrate around the whole circle C = ej for = [0, 2], we would get

The curve C can be thought of as C1 + (-C2 ).

Page 68: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Cauchy’s Integral Theorem: If a function f(z) is analytic over a region R enclosed by a (closed) path C, then

.0)( C dzzf

Re{z}

Im{z} C

R

Page 69: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Simple Proof:

.)( CCC

vdxudyjvdyudxdzzf

Both integrals are line integrals around a closed curve C. We can apply Green’s theorem (a special case of Stoke’s theorem) to these line integrals

.)(

RRC

dxdyy

v

x

ujydxd

y

u

x

vdzzf

Page 70: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

If f(z) is analytic, then the Cauchy-Riemann equations apply:

RRC

dxdyy

v

x

ujydxd

y

u

x

vdzzf )(

.y

v

x

u

.x

v

y

u

If these are true, then both integrands of

are zero and the theorem is proved.

Page 71: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

If

,0)( C dzzf

and C = C1 + C2, then

.0)()()(21

CCCdzzfdzzfdzzf

Page 72: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{z}

Im{z}C1

C2

Page 73: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

We also have

.)(

)()(

2

21

C

CC

dzzf

dzzfdzzf

Page 74: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{z}

Im{z}C1

-C2

Page 75: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

So it does not matter what path that you take so long as the endpoints are the same provided f(z) is analytic between any of the two paths.

If f(z) is not analytic at some point between two paths, then the path does matter.

Page 76: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Integrate

zzfw

1)(

over a unit circle z = ej, where = [0,2].

Re{z}

Im{z}

Page 77: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Solution: As with the previous example, this integration is best handled using polar coordinates:

.)1(.111

)( reerrez

zf jjj

.)1(.)( rdjedjrereddz jjj

.2)(2

0

2

0

jdjdjeedzzf jj

C

Page 78: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

This integral is not zero because there is a discontinuity (actually a pole) at z = 0.

Page 79: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Integrate

1

1)(

z

zfw

over a unit circle z = 1 + ej, where = [0,2].

Re{z}

Im{z}

Page 80: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Solution: Let us first write the integral.

.1

)(

CC z

dzdzzf

To carry-out this integration, we first perform a substitution of variables. Let = z-1.

.)(' CC

ddzzf

Page 81: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The path C’ is equal to C minus one:

Re{z}

Im{z}

CC’

.2)('

jd

dzzfCC

We see that

Page 82: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

This integral is not zero because there is a discontinuity (a pole) at z = 1 or = 0.

Page 83: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Exercise: Show that no matter what z0 is, if C is a circular path (of any radius) around z0 we will have

.20

C

jzz

dz

Page 84: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Cauchy’s Integral Formula: Let f(z) be analytic over a region R enclosed by a closed path C. If z0 is a point within R, then

).(2)(

00

zfjdzzz

zfC

Note that while f(z) is analytic throughout R, f(z)/(z-z0 ) is not analytic (z0 is a pole).

Page 85: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{z}

Im{z} C

z0R

Page 86: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Proof: We add and subtract f(z0) to the numerator of the integrand so as to split-up the integral into two terms:

.)()()(

)()()()(

00

0

0

0

00

0

C C

CC

zz

dzzfdz

zz

zfzf

dzzz

zfzfzfdz

zz

zf

Page 87: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

If f(z) is analytic within the region R, then it is also continuous. So, for any , we can find a such that for

.)()( 0 zfzf

,0 zz

we have

Let us choose a such that z R, i.e., the disk |z-z0| < is totally within R. Let denote the path |z-z0| = by the symbol C’ .

Page 88: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{z}

Im{z} C

z0R

C’

Page 89: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

So if

,0 zz

,)()( 0 zfzf

and

).C'path on the()()(

00

0

zzzz

zfzf

Page 90: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

So for appropriate values of and , the integrand in

'0

0 )()(C

dzzz

zfzf

'0

0

0

0 .)()()()(

C Cdz

zz

zfzfdz

zz

zfzf

can be made arbitrarily small. Now since the integrand is analytic except at z = z0, we have

Page 91: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The integral

,2)(0)(

00

jzfdzzz

zfC

C zz

dz

0

is equal to 2j. So,

and the theorem is proved.

Page 92: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Evaluate the integral

,1

1

C

dzz

z

Solution:

.1)(.10 zzfz

where C is a closed curve around z = 1.

.42)11(2)(1

10 jjjzfdz

z

zC

So,

Page 93: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The formula

Cdz

zz

zf

jzf

00

)(

2

1)(

makes calculating derivatives with respect to z0 relatively easy. We do not have to worry about z: it is independent of z0.

.

)(

2

1)(' 2

0

0

Cdz

zz

zf

jzf

Page 94: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

In general it can be shown that

.

)(

2

!)( 1

0

0)(

C n

n dzzz

zf

j

nzf

This formula is very useful in deriving the Taylor series.

Page 95: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Evaluate the integral

,

1

12

C

dzz

z

Solution:

.1.1)(.10 nzzfz

where C is a closed curve around z = 1.

.22)1(2)(

1

10

)1(2 jjjzfdz

z

zC

So,

Page 96: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Evaluate the integral

,

1

13

C

dzz

z

Solution:

.2.1)(.10 nzzfz

where C is a closed curve around z = 1.

.0)0(

!2

2)(

1

10

)2(3

jj

zfdzz

zC

So,

Page 97: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Evaluate the integral

,

2

13

3

Cdz

z

z

Solution:.2.1)(.2 3

0 nzzfz

where C is a closed curve around z = 2.

.12)2)(6(

!2

2)(

2

10

)2(3

3

jjj

zfdzz

zC

.6)()2( zzf

Page 98: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Exercise: Evaluate the integral

,

1

cos2 Cdz

z

z

where C is a closed curve around z = 1.

Page 99: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Inverse Laplace Transforms

.)()()}({

dttxesXtx stL

The forward Laplace transform was found using

We used a formula to calculate the forward Laplace transform, but we did not use a formula to calculate the inverse Laplace transform. Such a formula exists!

Page 100: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.)(2

1)()}({

dssXe

jtxsX st

1-L

The inverse Laplace transform can be found using a complex inversion integral formula:

We can evaluate the inverse Laplace transform using Cauchy’s integral formula.

Page 101: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Cauchy’s integral formula is for an integration around a closed loop. The inverse Laplace transform formula is an integral along an infinite line. This infinite line integral can actually be thought of as a loop.

Let us construct a closed curve C consisting of a line along the imaginary axis and a semicircle in the left-half plane.

Page 102: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{s}

Im{s}

r

s +j

s -j

C

s -

Page 103: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

As the radius r of the semicircle approaches infinity, the closed loop approaches an infinite line (from s = -j to +j). As r approaches infinity, both the semicicular curve and the infinite line pass through something called the point at infinity.

The point at infinity can be reached from either the positive or negative half of the real or the imaginary axis. The limits s +j, s -j and s - are all the same.

Page 104: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Find the inverse Laplace transform of

.1

1)(

s

sX

Solution:

.1

1

2

1

)(2

1)()}({

dss

ej

dssXej

txsX

st

st

1-L

Page 105: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.)(.10stesfs

.

2

12

1

1

2

1)}({

10

0

t

s

ts

st

e

ej

j

dss

ej

sX

1-L

Page 106: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Find the inverse Laplace transform of

.1

1)(

2 s

sX

Solution:

.1

1

2

1

)(2

1)()}({

2

dss

ej

dssXej

txsX

st

st

1-L

Page 107: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The curve C is an extension of the s= -j to s = +j line.

C

st

st

dss

ej

dss

ej

sX

1

1

2

1

1

1

2

1)}({

2

2

1-L

The integral can be evaluated in the complex plane about a curve C:

Page 108: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{s}

Im{s}

C

Page 109: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

}.,{0 jjs

.1

1

2

1

1

1

2

1)}({

1 222

C C

stst dss

ej

dss

ej

sX

1-L

There are actually two points of discontinuity:

We can evaluate the complex inversion integral by evaluating the integral around these two points of discontinuity. Let us call the paths around these two points C1 and C2.

Page 110: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{s}

Im{s}

s0 = +j

s0 = -j

C1

C2C

Page 111: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.sin2

111

2

12

2

12

1

2

11

2

1)}({

1 2

teej

ejj

ejj

ejsj

jejsj

j

dsjsjs

ej

dsjsjs

ej

sX

jtjtjtjt

js

st

js

st

C C

stst

1-L

Page 112: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Exercise: Using the complex inversion integral, find the inverse Laplace transforms of the following functions:

.1)1(

1)(

.1

)(

2

2

ssX

s

ssX

(First find the points of discontinuity and then evaluate the integral in paths around these points.)

Page 113: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Find the inverse Laplace transform of

.cos

)(

s

ssX

Solution:

.cos

2

1

)(2

1)()}({

dss

se

j

dssXej

txsX

st

st

1-L

Page 114: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.0 s

.cos22

1

cos

2

1)}({

1

t

s

st

C

st

esejj

dss

se

jsX

1-L

There is one point of discontinuity:

Page 115: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Sequences and Series

Consider the sequence of values

,,,,1 41

31

21

each term in this sequence can be represented by

.1nnz

Page 116: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

What happens as n goes to infinity? For this example zn goes to zero.

How about the sequence of values

,1,1,,1 87

43

23

each term in this sequence can be represented by

.]1[2 21 n

nz

Page 117: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

This sequence is said to converge to two (2): as n goes to infinity, zn goes to two.

How about the sequence of values

,,2,,1 25

23

This series does not converge to any value, but rather it is said to diverge.

Page 118: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

This sequence {zn } is said to converge to a value c if zn can be made arbitrarily close to c for a large enough value of n.

A more formal definition of convergence of series would be for any positive value , we can find an integer N such that for

Nn we must have

. czn

Page 119: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The expression

. czn

is for a complex number zn and defines a disk in the complex plane.

Re{z}

Im{z}

c

Page 120: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Plot the sequence of values in

20

21 nj

n en

z

in the complex plane

Solution: The radius of zn is 1/n and the angle of zn is 2n/20. The plot is performed using MATLAB (sequence.m) and is shown on the following slide page.

Page 121: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

-0.2 0 0.2 0.4 0.6 0.8-0.2

0

0.2

0.4

0.6

0.8

1

Re{z}

Im{z

}

Page 122: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

This sequence converges to zero. The relationship between the sequence index n and distance to the limit is rather easy in this case.

For

,1n

we must have

. czn

where 1/ corresponds to the smallest integer greater than 1/.

Page 123: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Similarly, for

,Nn we must have

.1

Nczn

Page 124: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

A necessary (but not sufficient) condition for a sequence to converge is that it be bounded. A bounded sequence is {zn } is one that for all n we have

Bzn

for some finite value B. If a sequence is not bounded, it will diverge.

Page 125: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Just because a sequence is bounded does not mean it converges. Many sequences which are bounded do not converge. For example,

.,1,1,1,1 nz

For this sequence

.,1,0for1 nz nn

Page 126: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

1 2 3 4 5n

zn

Page 127: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

While this sequence does not have a limit, it does have an upper bound (+1) and a lower bound (-1) as n . These “bounds” are called the supremum and the infimum respectively. The supremum is the smallest upper bound (+1) and the infimum is the largest lower bound (-1). These bounds are abbreviated sup and inf respectively.

.1inflim

.1suplim

nn

nn

z

z

Page 128: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Note that while {zn } does not converge, there are subsequences

.,1,1

.,1,1

2

1

n

n

z

z

that do converge.

Page 129: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Series

Suppose we were to add the numbers in a sequence:

.1

n

kkn zs

The term sn is called the partial sum of the series {zn }. The summation is a series.

Page 130: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

If we were to take the limit as n , we would get an infinite series:

.lim1

k

knn

zss

If the sequence of partial sums converges, we say that the series converges.

Page 131: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

A necessary (but not sufficient) condition for the series {sn } to converge is that the sequence {zn } converges. The series is generally “wilder” that the sequence. If the series converges, the sequence must necessarily converge. If the series diverges, the sequence may or may not converge.

Page 132: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Consider the (convergent) sequence

.1

nzn

The corresponding series does not converge (as n goes to infinity):

.1

00

n

k

n

kkn kzs

Page 133: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Now how do we find sufficient conditions for a series to converge? There are five (5) standard tests for series convergence:

(1) Comparison Test: compare series term-by-term against a known convergent series.

(2) Geometric Series Test: a geometric series converges if each geometric term is less than one

Page 134: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

(3) Ratio Test: Take the limit of the ratio of one term to the previous term. If the limit is less than one, the series converges

(4) Root Test: Take the k-th root of the k-th term. If the limit is less than one, the series converges.

(5) Integral Test: compare the sequence to an integrand of a known integral.

Page 135: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

(1) Comparison Test: compare series term-by-term against a known convergent series.

,1

n

kkn zs

If we have a known convergent series

n

kkn wr

1

then any series

Page 136: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

such that

kk zw

also converges.

Page 137: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.1

n

k

kn qs

A geometric series is of the form

We can use this form to find a closed-form expression for the geometric series

(2) Geometric Series Test: a geometric series converges if each geometric term is less than one

Page 138: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.1

.

.

1

1

10

1

10

1

0

n

n

k

kn

k

knn

n

k

kn

k

kn

n

k

kn

q

qqqss

qqqs

qs

Page 139: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

So,

.1

1

.11

1

q

qs

qqssn

n

nnn

If the geometric term q is such that qn goes to zero as n goes to infinity, then

.1

1lim

qsn

n

Page 140: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

In order for qn to go to zero, we must have

.1q

If q > 1, then the series diverges.

Page 141: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Suppose q = ½.

.21

1

...1

.

21

041

21

21

21

n

n

kn

nn

s

z

Page 142: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Suppose q = 9/10.

.101

1

...1

.

109

010081

109

109

109

n

n

kn

nn

s

z

Page 143: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Suppose q = -1/2.

.1

1

...1

.

32

21

041

21

21

21

n

n

kn

nn

s

z

Page 144: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

,1

n

kkn zs

If

then we take

(3) Ratio Test: Take the limit of the ratio of one term to the previous term. If the limit is less than one, the series converges

.1

k

kk z

zw

Page 145: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

If

then the series converges.

.1lim n

nw

Page 146: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

So,

As a justification (hardly a proof) for this test, consider definining zk in terms of wk:

.1

k

kk z

zw

.1 kkk zwz

.

.

112223

112

zwwzwz

zwz

Page 147: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.1 1

11

n

k

k

mm

n

kkn wzzs

.)max(1

1

km

km

k

mm ww

The term

Page 148: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

,1max1

mkmw

If

then the series behaves like a convergent geometric series:

.)max(1 1

11

11

1

n

k

n

k

km

km

k

mm

n

kkn wzwzzs

Page 149: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Determine if

n

k

k

n ks

0 !

2

converges.

Solution: Taking the ratio test

.01

2

2

!

!1

2 11

k

k

kz

zw

k

k

k

kk

We see that the series converges.

Page 150: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

,1

n

kkn zs

If

then we take

.kkk zw

(4) Root Test: Take the k-th root of the k-th term. If the limit is less than one, the series converges.

Page 151: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

If

then the series converges.

.1lim n

nw

Page 152: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

As a justification (better than that of the ratio test but still not a proof) for this test, consider

.kk

k zw

.kkk zw

.11

n

k

kk

n

kkn wzs

If wk < 1, then the series is a convergent geometric series.

Page 153: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: Determine if

n

n

k

n k

es

02

converges.

Solution: Taking the root test

.0/ln2/2ln/22e

e

e

e

e

e

e

k

e

k

ezw

kkkkkk

k

kkk

We see that the series diverges. (ek dominates k2.)

Page 154: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.1

n

kkn zs

The term zk is really a function of k. We can represent that function as z(k) or z(x). The convergence of the integral

1)( dxxz

(5) Integral Test: compare the sequence to an integrand of a known integral.

can be used to determine whether or not the series converges.

Page 155: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.1

1

n

kn ks

This series is greater than the integral

.1

1ndxx

Example: Consider the series

Since the integral diverges [ln n], the series diverges.

Page 156: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

1 2 3 4 5 6 7 8 9 10

0.5

1

1.5

2

x

1/x

Integral 1dx/x Versus Series n=1

1/n

Page 157: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.1

11

1 222

n

k

n

kn kks

This series from k=2 to k=n is less than the integral

.1

1 2n

dxx

Example: Consider the series

Since the integral converges [1/n], the series converges.

Page 158: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

1 2 3 4 5 6 7 8 9 10

0.5

1

1.5

2

x

1/x

Integral 1dx/x

2 Versus Series n=2

1 / n

2

Page 159: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Taylor Series

A Taylor series is a power series representation for a function.

.)(1

k

kk azczf

A Taylor series is much like a Fourier series (which is a harmonic series).

Page 160: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.)(

2

1)(

Cdz

f

jzf

To find a Taylor series, all we need to do is find the coefficients (much like Fourier series).

To find these coefficients let us start with Cauchy’s integral formula:

We will attempt to express this formula in a power series about z = a.

Page 161: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

z1

We start with the fraction in the integral:

zaa 1

The object is to express this in terms of powers of (z – a). So, we try to get this fraction in the form of an infinite geometric series:

Page 162: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

0

.1

1

111

k

k

a

az

a

aazaaza

The last is true if is on a curve C at a distance r from a and z is within the close curve.

Page 163: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{z}

Im{z} is on C

a

r

z

.aaz

Page 164: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.)(

2

1

)(

2

1)(

10

0

C kk

k

Ck

k

da

f

jaz

da

az

a

f

jzf

Page 165: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

C n da

f

j

1

)(

2

1

The coefficient of (z – a)k inside the summation

.

)(

2

!)( 1

)(

C kk d

a

f

j

kaf

is similar to the k-th derivative of f(a) from the corollary to Cauchy’s integral theorem:

Page 166: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.!

)(

)(

2

1)(

0

)(

10

k

kk

C kk

k

k

afaz

da

f

jazzf

So,

Hence, we have our Taylor series coefficients.

Page 167: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.sin)(

.cos)(

.)(

3

2

1

zzf

zzf

ezf z

Example: Find the Taylor series for

Page 168: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

. oddn cos1

evenn sin1)(

. oddn sin1

evenn cos1)(

.)(

2

2

2

2

)(3

)(2

)(1

z

zzf

z

zzf

ezf

n

n

n

n

n

n

zn

Page 169: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

We will evaluate the Taylor series about z = 0 :

. oddn 1

evenn 0)(

.oddn 0

evenn 1)0(

.1)0(

2

2

)(3

)(2

)(1

n

n

zf

f

f

n

n

n

Page 170: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.!3

)(

.!4!2

1)(

.!4!3!2

1)(

3

3

42

2

432

1

zzzf

zzzf

zzzzzf

So,

Page 171: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

You can use these Taylor series to prove

.sincos zjze jz

Page 172: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.1

)(z

zf

Example: Find the Taylor series for

Here, we will evaluate the series about a = 1.

.!

1)(1

)(n

nn

z

nzf

Page 173: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.11111

!4

1!4

!3

1!3

!2

1!2

!1

1!11

1

432

432

zzzz

zzzz

z

Page 174: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.ln)( zzf

Example: Find the Taylor series for

Here, we will evaluate the series about a = 1.

.1!1

1)( 1)(

nz

nzf

n

nn

Page 175: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.

4

1

3

1

2

1

1

1

!4

1!3

!3

1!2

!2

1!1

!1

10ln

432

432

zzzz

zzzzz

If z is not close to one, this series is very slow to converge.

Page 176: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.ln)( zzf

Exercise: Find the Taylor series for

Evaluate the series about an arbitrary a.

Page 177: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Conformal Mapping

How do we “graph” complex functions? The difficulty lies in the dimensionality: we have two independent variables (x,y) and two dependent variables (u,v).

).,(),()( yxjvyxuzfw

Page 178: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

To “graph” this function, we start with a family of curves corresponding to constant values of x and constant values of y. These curves are represented by dashed green lines on the following slide.

Page 179: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

x = Re{z}

y = Im{z}

x=1 x=2 x=3 x=4

y=1

y=2

y=3

y=4

Page 180: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

To what do these curves correspond to in the u-v plane?

Let us start with a simple example

.2

.2

.22

.2)(

yv

xu

yjxjvuw

zzfw

Page 181: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

u = Re{w}

v = Im{w}

x=1 x=2

y=1

y=2

Page 182: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.)( zezfw

Example: Find the conformal map for

We expand ez from the real and imaginary parts of z.

.)( jyxjyxz eeeezfw

Page 183: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

This expansion is best handled using polar coordinates.

, jjyx eeew

where

.

,

y

ex

Page 184: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The resultant curves will be a set of circles of radii ex. Constant values of y correspond to rays at angle y.

Page 185: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

u = Re{w}

v = Im{w}

x=1

x=2

y=1y=2

Page 186: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Negative values of x correspond to circles of radius e-|x|. Negative values of y correspond to rays at angle -|y|.

Page 187: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

u = Re{w}

v = Im{w}

x = -1

x=2

y = -1y = -2

x = -2

Page 188: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.1

1)(

z

zzfw

Example: Find the conformal map for

We represent z and w in terms of their real and imaginary components:

.1)(

1)(

jyx

jyxjvuw

Page 189: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

We then try to make the denominator real:

.)1(

21

)1(

])1[1()1)(1(

)1(

)1(

)1(

)1(

22

22

22

2

yx

yjyx

yx

xxjyyxx

jyx

jyx

jyx

jyxjvu

Page 190: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.)1(

2

.)1(

1

22

22

22

yx

yv

yx

yxu

A plot of the constant x and the constant y curves (in the u-v plane) is shown on the following slide.

Page 191: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

-1 -0.5 0 0.5 1-1

-0.5

0

0.5

1

u

jv

w = (z-1)/(z+1)

x = 0

x = 1

x = 2

y = -2y = -1

y = 0

y = 1y = 2

Page 192: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The resultant graph is that of a Smith Chart. This chart is used in radio-frequency electronics. The graph is a conformal map of line impedance onto complex reflection coefficient.

Page 193: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The Argument Principle

Let

)(zfw

be a function of the complex variable z.

As z follows a path in the z-plane, what path does w follow in the w-plane?

Page 194: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Let z follow a closed path in the z-plane.

).20,1( rrez j

Re{z}

Im{z}

C

Page 195: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

As z follows this closed path, what path will w=f(z) follow?

As an example, let

.)( 2zzf

.)( 2222 jj eerzzfw

As z goes around the circle once, w goes around the same circle twice.

Page 196: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{z}

Im{z}

C

Re{w}

Im{w}

C’

.2zw

Page 197: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

As another example, let

.1

)(z

zf

.11

)( jj eerz

zfw

As z goes around the circle counter-clockwise, w goes around the same circle clockwise.

Page 198: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{z}

Im{z}

C

Re{w}

Im{w}

C’

.1

zw

Page 199: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Let us choose two points on the z-path: z1 and z2

Re{z}

Im{z}

z1

z2

The two points z1 and z2 are very close together; their radii are the same, but their angles are different.

C

Page 200: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The two points z1 and z2 are very close together; their radii are the same, but their angles are different.

.

,2

1

22

11

j

j

erz

erz

.2,1

,0,1

21

11

r

r

Page 201: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The corresponding points in the w-plane f(z1 ) and f(z2

) are very close together. Like z, the radii of f(z1 ) and f(z2 ) are the same, but their angles are different.

.

,2

1

22

11

j

j

ew

ew

.

.

21

21

Page 202: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

As z follows the circular closed path, what path will f(z) follow?

To get an idea of the path f(z) will follow, let us look at log f(z).

.loglog)(log jezf j

Page 203: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.loglog)(loglog 111111 jezfw j

.loglog)(loglog 222222 jezfw j

The difference between log w1 and log w2 is

.

loglogloglog

12

121212

j

jww

Page 204: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Now log w can be written as an indefinite integral:

w

dwwlog

The difference between log w1 and log w2 can be written as a definite integral:

2

112 loglogw

dwww

Page 205: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The points 1 and 2 in the integral

2

1 w

dw

correspond to z1 and z2. So,

.)(

)(

)(

)(loglog

2

1

2

1

'

12 z

z

z

z zf

dzzf

zf

zdfww

Page 206: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Combining this expression with

.)(

)(loglog 12

'

12

2

1

jzf

dzzfww

z

z

,loglog 1212 jww

we have

Page 207: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

So, the integral from z1 to z2 is the same as the integral around the closed curve in the z-plane.

.)(

)(12

'

jzf

dzzfC

To summarize, as z follows a closed path in the z-plane, w=f(z) follows a closed path in the w-plane. The angular rotation that w takes is equal to 2 – 1.

Page 208: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

.2)(

)('Nj

zf

dzzfC

Since w=f(z) follows a closed path in the w-plane, the angular rotation, 2 – 1, must be an integral multiple of 2.

Page 209: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Suppose G(s) is a polynomial fraction:

.)(

21

21

psps

zszssG

Let s take on an infinite circular path in the right-half complex plane.

Page 210: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Re{s}

Im{s}

r

s +j

s -j

C

s +

Page 211: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

What kind of path will G(s) take?

To answer this question, let us try to evaluate the integral

,)(

)('

C sG

dssG

where C is the curve described on the previous slide.

Page 212: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

).()(

2

211 sH

ps

zszssGps

We will try to evaluate this integral by removing poles and zeroes in the right-half plane. Suppose p1 is a right-half plane pole. We can define a new function H(s) with this pole removed:

So,

.)(

)(1ps

sHsG

Page 213: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

If

,)(

)(1ps

sHsG

we have

.

)()()(

1

'

21

'

ps

sH

ps

sHsG

Page 214: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

If

,)(

)(1ps

sHsG

we have

.

)()()(

1

'

21

'

ps

sH

ps

sHsG

and

.

)(

)(1

)(

)( '

1

'

sH

sH

pssG

sG

Page 215: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The integral of

.

)(

)(1

)(

)( '

1

'

sH

sH

pssG

sG

is equal to

.

)(

)(

)(

)( '

1

'

CCC sH

dssH

ps

ds

sG

dssG

Page 216: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

By the Cauchy Integral Formula, the integral

So

.)(

)(2

)(

)( ''

CC sH

dssHj

sG

dssG

.2

1

jps

dsC

Page 217: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

).()(

21

2

1

sFpsps

zs

zs

sG

Now suppose z1 is a right-half plane zero. We can define a new function F(s) with this zero removed:

So,

).()( 1 sFpssG

Page 218: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

If

we have

).()()( '1

' sFzssFsG

).()( 1 sFzssG

Page 219: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

If

we have

and

.

)(

)(1

)(

)( '

1

'

sF

sF

zssG

sG

).()()( '1

' sFzssFsG

).()( 1 sFzssG

Page 220: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The integral of

.

)(

)(1

)(

)( '

1

'

sF

sF

zssG

sG

is equal to

.

)(

)(

)(

)( '

1

'

CCC sF

dssF

zs

ds

sG

dssG

Page 221: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

By the Cauchy Integral Formula, the integral

So

.)(

)(2

)(

)( ''

CC sf

dssfj

sG

dssG

.2

1

jps

dsC

Page 222: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

If we continue eliminating poles and zeroes, we get a term of -2j for every pole and a term of +2j for every zero.

So

),(2)(

)('PZj

sG

dssGC

where Z is the number of zeroes, and P is the number of poles.

Page 223: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Now from our previous result,

we see that

,PZN

where N is the number of rotations of G(s), Z is the number of right-half plane zeroes, and P is the number of right-half plane poles.

,2)(

)(2

)(

)( ''

NjsG

dssGNj

zf

dzzfCC

Page 224: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

By looking at the number of clockwise rotations of G(s), we can find the number of right-half plane zeroes minus the number of right-half plane poles.

We have already done two examples:

.1

)(z

zf

.)( 2zzf

Page 225: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

We have already done two examples:

.1

)(z

zf

.)( 2zzf

The first function did two counter-clockwise rotations for each counter-clockwise rotation of z.

The second function did one clockwise rotation for each counter-clockwise rotation of z.

Page 226: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Equivalently, for

.1

)(s

sG

.)( 2ssG

The first function will do two clockwise rotations for each clockwise rotation of s. These clockwise rotations correspond to two zeroes (at zero).

The second function will do one counter-clockwise rotation for each clockwise rotation of s. This counter-clockwise rotation corresponds to one pole (at zero).

Page 227: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Example: How many times does the following transfer function circle the origin as s goes from -j to +j ?

.1

2)(

s

ssG

Solution: There is one RHP pole and no RHP zeros (The term s+2 corresponds to a LHP zero: s = -2.) The plot of G(s) will circle the origin in the counter-clockwise direction once.

Page 228: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

In MATLAB, we can plot G(s) using the control function nyquist().

>> EDU» s = tf('s'); >> H = (s+2)/(s-1); >> nyquist(H)

The Nyquist plot is on the following slide.

Page 229: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Real Axis

Imag

inar

y A

xis

Nyquist Diagrams

-3 -2.5 -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

2From: U(1)

To:

Y(1

)

Page 230: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

In control systems, we are often concerned about the poles of a closed-loop transfer function

.)(1

)()(

sG

sGsT

The poles of T(s) are the zeros of 1+G(s).

The right-half plane poles of T(s) are the right-half plane zeros of 1+G(s).

Page 231: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

If we did a plot of

)(1 sG

and 1+G(s) had no right-half plane poles, then the number of clockwise rotations around the origin is equal to the number of right-half plane zeros of 1+G(s) or the number of right-half plane poles of T(s) .

Page 232: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

The number of clockwise rotations around the origin of

)(1 sG

is equal to the number of clockwise rotations of

around s = -1.

)(sG

Page 233: Complex Variables. Complex numbers are really two numbers packaged into one entity (much like matrices). The two numbers are the real and imaginary portions

Therefore, if 1+G(s) has no right-half plane poles, the number of clockwise rotations around s = -1 of

)(sG

is equal to the number right-half plane poles of

.)(1

)()(

sG

sGsT