complex functions (1b)...jan 11, 2014  · a copy of the license is included in the section entitled...

17
Young Won Lim 1/11/14 Complex Functions (1B)

Upload: others

Post on 05-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Young Won Lim1/11/14

Complex Functions (1B)

Page 2: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Young Won Lim1/11/14

Copyright (c) 2012 Young W. Lim.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

Please send corrections (or suggestions) to [email protected].

This document was produced by using OpenOffice and Octave.

Page 3: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Complex Functions (1A) 3 Young Won Lim1/11/14

Argument of a Complex Number (1)

0 < θ < π2

π2

< θ < π

−π2

< θ < 0−π < θ <−π2

yx

> 0yx

< 0

yx

< 0yx

> 0

0 < θ < π2

π2

< θ < π

−π2

< θ < 0−π < θ <−π2

x > 0y > 0

x < 0y > 0

x > 0y < 0

x < 0y < 0

atan( yx )atan( y

x ) + π

atan( yx )atan( y

x ) − π

atan( yx )atan( y

x )

atan( yx )atan( y

x )

Page 4: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Complex Functions (1A) 4 Young Won Lim1/11/14

Argument of a Complex Number (2)

π2

−π2

π2

−π2

π

−π

tanθ > 0tanθ < 0

tanθ < 0tanθ > 0

atan( yx )atan( y

x ) + π

atan( yx )atan( y

x ) − π

atan( yx ) + π

atan( yx ) − π

atan( yx )atan(y/x) atan2(y, x)

Page 5: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Complex Functions (1A) 5 Young Won Lim1/11/14

f(z)=z

%-----------------------------------------------------------------------------% Plot f(z) = z^2% Licensing: This code is distributed under the GNU LGPL license.% Modified: 2012.11.23% Author: Young W. Lim%-----------------------------------------------------------------------------

x = linspace(-5, +5, 100);y = linspace(-5, +5, 100);[xx yy] = meshgrid(x, y);

z = xx + i* yy;

mesh(xx, yy, abs(z))title("magnitude of f(z)=z");xlabel("x: real part of z");ylabel("y: imaginary part of z");zlabel("|z|");print -demf z.mag.emf

pause

mesh(xx, yy, arg(z))title("argument of f(z)=z");xlabel("x: real part of z");ylabel("y: imaginary part of z");zlabel("Arg(z)");print -demf z.arg.emf

magnitude of f(z)=z

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

0

1

2

3

4

5

6

7

8

|z|

argument of f(z)=z

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-4

-3

-2

-1

0

1

2

3

4

Arg(z)

ccw

Page 6: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Complex Functions (1A) 6 Young Won Lim1/11/14

f(z)=z

magnitude of f(z)=z

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

0

1

2

3

4

5

6

7

8

|z|

argument of f(z)=z

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-4

-3

-2

-1

0

1

2

3

4

Arg(z)

real part of f(z)=z

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-6

-4

-2

0

2

4

6

Re(z)

Imaginary part of f(z)=z

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-6

-4

-2

0

2

4

6

Arg(z)

ccw

Page 7: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Complex Functions (1A) 7 Young Won Lim1/11/14

f(z) = z2

z = x + i y

∂u∂x

=∂v∂ y

∂v∂x

= −∂u∂ y

f (z ) = u(x , y ) + i v (x , y )

f (z) = z2 = (x + iy )2

= (x2+ i2x y − y2

)

= (x2 − y2) + i(2x y)

u(x , y ) = (x2 − y2) v(x , y) = (2x y )

∂u∂ x

= 2x

∂u∂ y

= −2 y

∂v∂ x

= 2 y

∂v∂ y

= 2x

f '(z) =∂u∂ x

+ i∂v∂ x

= 2x + i2 y

f '(z) = −i∂u∂ y

+∂v∂ y

= i2y + 2x

f '(z) = 2z = 2(x + i y)

Page 8: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Complex Functions (1A) 8 Young Won Lim1/11/14

Complex Numbers

2e+i (

π4 )

2e+i (

π2 )

2e+i(3π

4 )

2e−i (

π4 )

2e−i (

π2 )2e

−i(3π

4 )

+2−2 +1−1

+2

2e+i (

π4 )

2e+i (

π2 )

2e+i(3π

4 )

−2

2e−i(3π

4 )

2e−i (

π2 )

2e−i (

π4 )

+2

√2(+1+i)

2i

√2(−1+i)

−2

√2(−1−i)

−2i

√2(+1−i)

polar rectangular

Page 9: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Complex Functions (1A) 9 Young Won Lim1/11/14

Complex Functions

f (+2 )

f (2e+i (

π4 ))

f (2e+i (

π2 ))

f (2e+i(3π

4 ))f (−2 )

f (2e−i(3π

4 ))

f (2e−i (

π2 ))

f (2e−i (

π4 ))

f(z) = z2

4

4e+i (

π2 )

4e+i ( π )

4e−i (

π2 )

4

4e+i (

π2 )

4e−i ( π )

4e−i (

π2 )

magnitude of f(z)=z^2

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

0

10

20

30

40

50

|z|

argument of f(z)=z 2

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-4

-3

-2

-1

0

1

2

3

4

Arg(z)

ccw

Page 10: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Complex Functions (1A) 10 Young Won Lim1/11/14

f(z)=z^2

%-----------------------------------------------------------------------------% Plot f(z) = z^2% Licensing: This code is distributed under the GNU LGPL license.% Modified: 2012.11.23% Author: Young W. Lim%-----------------------------------------------------------------------------

x = linspace(-5, +5, 100);y = linspace(-5, +5, 100);[xx yy] = meshgrid(x, y);

z = xx + i* yy;

mesh(xx, yy, abs(z))title("magnitude of f(z)=z");xlabel("x: real part of z");ylabel("y: imaginary part of z");zlabel("|z|");print -demf z.mag.emf

pause

mesh(xx, yy, arg(z))title("argument of f(z)=z");xlabel("x: real part of z");ylabel("y: imaginary part of z");zlabel("Arg(z)");print -demf z.arg.emf

magnitude of f(z)=z^2

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

0

10

20

30

40

50

|z|

argument of f(z)=z 2

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-4

-3

-2

-1

0

1

2

3

4

Arg(z)

ccw

Page 11: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Complex Functions (1A) 11 Young Won Lim1/11/14

f(z)=z^2

magnitude of f(z)=z^2

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

0

10

20

30

40

50

|z|

argument of f(z)=z 2

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-4

-3

-2

-1

0

1

2

3

4

Arg(z)

real part of f(z)=z^2

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-30

-20

-10

0

10

20

30

Re(z)

imaginary part of f(z)=z^2

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-60

-40

-20

0

20

40

60

Im(z)

ccw

Page 12: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Complex Functions (1A) 12 Young Won Lim1/11/14

f(z)=1/z

%-----------------------------------------------------------------------------% Plot f(z) = 1/z% Licensing: This code is distributed under the GNU LGPL license.% Modified: 2012.11.23% Author: Young W. Lim%-----------------------------------------------------------------------------

x = linspace(-5, +5, 100);y = linspace(-5, +5, 100);[xx yy] = meshgrid(x, y);

z1 = xx + i* yy;z = 1 ./ z1;

mesh(xx, yy, abs(z))title("magnitude of f(z)=1/z");xlabel("x: real part of z");ylabel("y: imaginary part of z");zlabel("|z|");print -demf 1_z.mag.emf

pause

mesh(xx, yy, arg(z))title("argument of f(z)=1/z");xlabel("x: real part of z");ylabel("y: imaginary part of z");zlabel("Arg(z)");print -demf 1_z.arg.emf

magnitude of f(z)=1/z

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

0

5

10

15

20

|z|

argument of f(z)=1/z

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-4

-3

-2

-1

0

1

2

3

4

Arg(z)

cw

Page 13: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Complex Functions (1A) 13 Young Won Lim1/11/14

f(z)=1/z

magnitude of f(z)=1/z

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

0

5

10

15

20

|z|

argument of f(z)=1/z

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-4

-3

-2

-1

0

1

2

3

4

Arg(z)

real part of f(z)=1/z

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-10

-5

0

5

10

Re(z)

imaginary part of f(z)=1/z

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-10

-5

0

5

10

Im(z)

cw

Page 14: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Complex Functions (1A) 14 Young Won Lim1/11/14

f(z)=1/z^2

%-----------------------------------------------------------------------------% Plot f(z) = 1/z^2% Licensing: This code is distributed under the GNU LGPL license.% Modified: 2012.11.23% Author: Young W. Lim%-----------------------------------------------------------------------------

x = linspace(-5, +5, 100);y = linspace(-5, +5, 100);[xx yy] = meshgrid(x, y);

z1 = xx + i* yy;z2 = z1 .* z1;z = 1 ./ z2;

mesh(xx, yy, abs(z))title("magnitude of f(z)=1/z^2");xlabel("x: real part of z");ylabel("y: imaginary part of z");zlabel("|z|");print -demf 1_z2.mag.emf

pause

mesh(xx, yy, arg(z))title("argument of f(z)=1/z^2");xlabel("x: real part of z");ylabel("y: imaginary part of z");zlabel("Arg(z)");print -demf 1_z2.arg.emf

magnitude of f(z)=1/z^2

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

0

50

100

150

200

|z|

argument of f(z)=1/z^2

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-4

-3

-2

-1

0

1

2

3

4

Arg(z)

Page 15: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Complex Functions (1A) 15 Young Won Lim1/11/14

f(z)=1/z^2

magnitude of f(z)=1/z^2

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

0

50

100

150

200

|z|

argument of f(z)=1/z^2

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-4

-3

-2

-1

0

1

2

3

4

Arg(z)

real part of f(z)=1/z^2

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-40

-30

-20

-10

0

10

20

30

40

Re(z)

imaginary part of f(z)=1/z^2

-6-4

-20

24

6

x: real part of z-6

-4-2

02

46

y: imaginary part of z

-200

-150

-100

-50

0

50

100

150

200

Im(z)

Page 16: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Complex Functions (1A) 16 Young Won Lim1/11/14

Right Hand Rule

Page 17: Complex Functions (1B)...Jan 11, 2014  · A copy of the license is included in the section entitled "GNU Free Documentation License". Please send corrections (or suggestions) to youngwlim@hotmail.com

Young Won Lim1/11/14

References

[1] http://en.wikipedia.org/[2] http://planetmath.org/[3] M.L. Boas, “Mathematical Methods in the Physical Sciences”[4] D.G. Zill, “Advanced Engineering Mathematics”