Advanced Engineering Math II Math 144 Lecture Notes by Stefan Waner (First printing: 2003) Department of Mathematics, Hofstra University Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com 2 1. Algebra and Geometry of Complex Numbers (based on §§17.1–17.3 of Zill) Definition 1.1 A complex number has the form z = (x, y), where x and y are real numbers. x is referred to as the real part of z, and y is referred to as the imaginary part of z. We write Re(z) = x, Im(z) = y. Denote the set of complex numbers by CI . Think of the set of real numbers as a subset of CI by writing the real number x as (x, 0). The complex number (0, 1) is called i. Examples 3 = (3, 0), (0, 5), (-1, -π), i = (0, 1). Geometric Representation of a Complex Number- in class. Definition 1.2 Addition and multiplication of complex numbers, and also multiplication by reals are given by: (x, y) + (x', y') = ((x+x'), (y+y ')) (x, y)(x ', y ') = ((xx '-yy '), (xy '+x 'y)) ¬(x, y) = (¬x, ¬y). Geometric Representation of Addition- in class. (Multiplication later) Examples 1.3 (a) 3+4 = (3, 0)+(4, 0) = (7, 0) = 7 (b) 3¿4 = (3, 0)(4, 0) = (12-0, 0) = (12, 0) = 12 (c) (0, y) = y(0, 1) = yi (which we also write as iy). (d) In general, z = (x, y) = (x, 0) + (0, y) = x + iy. z=x+iy (e) Also, i 2 = (0, 1)(0, 1) = (-1, 0) = -1. i 2 =-1 (g) 4 - 3i = (4, -3). Note In view of (d) above, from now on we shall write the complex number (x, y) as x+iy. Definitions 1.4 The complex conjugate, z–, of the complex number z = x+iy given by z– = x - iy. The magnitude, |z| of z = x+iy is given by |z| = x 2 +y 2 . Examples and Geometric Representation of Conjugation and Magnitude - in class. Notes 1. z + z– = (x+iy) + (x-iy) = 2x = 2Re(z). Therefore, Re(z)= 1 2 (z+z–) Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com 3 z - z– = (x+iy) - (x-iy) = 2iy = 2iIm(z). Therefore, Im(z)= 1 2i (z-z–) 2. Note that zz– = (x+iy)(x-iy) = x 2 -i 2 y 2 = x 2 +y 2 = |z| 2 zz–=|z| 2 3. If z ≠ 0, then z has a multiplicative inverse. Why? because: z· z– |z| 2 = zz– |z| 2 = |z| 2 |z| 2 = 1. Hence, z -1 = z– |z| 2 Examples (a) 1 i = -i (b) 1 3+4i = 3-4i 25 (c) 1 1 2 (1+i) = 1 2 (1-i) (d) 1 cosø+isinø = cos(-ø) + isin(-ø) 4. There is also the Triangle Inequality: |z 1 + z 2 | ≤ |z 1 | + |z 2 |. Proof We square both sides and compare them. Write z 1 = x 1 + iy 1 and z 2 = x 2 + iy 2 . Then |z 1 + z 2 | 2 = (x 1 +x 2 ) 2 + (y 1 +y 2 ) 2 = x 1 2 + x 2 2 + 2x 1 x 2 + y 1 2 + y 2 2 + 2y 1 y 2 . On the other hand, (|z 1 | + |z 2 |) 2 = |z 1 | 2 + 2|z 1 ||z 2 | + |z 2 | 2 = x 1 2 + x 2 2 + y 1 2 + y 2 2 + 2|z 1 ||z 2 |. Subtracting, (|z 1 | + |z 2 |) 2 - |z 1 + z 2 | 2 = 2|z 1 ||z 2 | - 2(x 1 x 2 + y 1 y 2 ) = 2[|(x 1 ,y 1 )||(x 2 ,y 2 )| - (x 1 ,y 1 ).(x 2 ,y 2 )] (in vector form) = 2[|(x 1 ,y 1 )||(x 2 ,y 2 )| - |(x 1 ,y 1 )||(x 2 ,y 2 )| cos å] = 2 |(x 1 ,y 1 )||(x 2 ,y 2 )| (1 - cos å ) ≥ 0, giving the result. Note The triangle inequality can also be seen by drawing a picture of z 1 + z 2 . 5. We now consider the polar form of these things: If z = x+iy, we can write x = r cosø and y = r sinø, getting z = r cosø + ir sinø, so z=r(cosø+isinø) This is called the polar form of z. It is important to draw pictures in order to feel comfortable with the polar representation. Here r is the magnitude of z, r = |z|, and ø is called the argument of z, denoted arg(z). To calculate ø, we can use the fact that tan ø = y/x. Thus ø is not arctan(y/x) as claimed in the book, but by: ø= Ó Ì Ï arctan(y/x) ifx≥0 arctan(y/x)+π ifx≤0 since the arctan function takes values between -π/2 and π/2. The principal value of arg(z) is the unique choice of ø such that -π < ø ≤ π. We write this as Arg(z) -π<Arg(z)≤π -π≤Arg(z)≤π Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com 4 Examples (a) Express z = 1+i in polar form, using the principal value (b) Same for 3 + 3 3 i (c) 6 = 6(cos 0 + i sin 0) 6. Multiplication in Polar Coordinates If z 1 = r 1 (cosø 1 + i sinø 1 ) and z 2 = r 2 (cosø 2 + i sinø 2 ), then z 1 z 2 = r 1 r 2 (cosø 1 + i sinø 1 )(cosø 2 + i sinø 2 ) = r 1 r 2 [(cosø 1 cosø 2 - sinø 1 sinø 2 ) + i (sinø 1 cosø 2 + cosø 1 sinø 2 ). Thus z 1 z 2 =r 1 r 2 [ [ ] cos(ø 1 +ø 2 )+isin(ø 1 +ø 2 ) That is, we multiply the magnitudes and add the arguments. Examples In class. 7. Multiplicative Inverses in Polar Coordinates Once we know how to do multiplication, division follows formally: Let z = r(cosø + isinø) be given. We want to find z -1 . So let z -1 = s(cos˙ + isin˙). Then, since zz -1 = 1, we have rs(cosø + isinø)(cos˙ + isin˙) = 1 ie., rs(cos(ø+˙) + isin(ø+˙)) = 1 = 1(cos0 + isin0). Thus, we can take s = 1/r and ˙ = -ø. In other words, z -1 = r -1 (cos(-ø)+isin(-ø)) Examples In class. 8. Division in Polar Coordinates Finally, since z 1 z 2 = z 1 z 2 -1 , we have: z 1 z 2 = r 1 r 2 [ ] cos(ø 1 -ø 2 )+isin(ø 1 -ø 2 ) That is, we divide the magnitudes and subtract the arguments. Examples (a) z1 = -2 + 2i, z2 = 3i (b) Formula for z n De Moivre's formula z n =r n (cosnø+isinnø) In words, to take the nth power, we take the nth power of the magnitude and multiply the argument by n. Examples Powers of unit complex numbers. 9. nth Roots of Complex Numbers Write z = r(cos(ø+2kπ) + i sin(ø+2kπ)), even though different values of k give the same answer. Then z 1/n =r 1/n [cos(ø/n+2kπ/n)+isin(ø/n+2kπ/n)] Note that we get different answers for k = 0, 1, 2, , n-1. Thus there are n distinct nth roots of z. Examples Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com 5 (a) i (b) 4i (c) Solve z 2 - (5+i)z + 8 + i = 0 (d) nth roots of unity: Since 1 = cos0 + isin0, the distinct nth roots of unity are: ç k =cos(2kπ/n)+isin(2kπ/n),(k=0,1,2, ,n-1) More examples In class. 10. Exponential Notation We know what e raised to a real number is. We now define what e raised to an imaginary number is: Definition: e iø = cos ø + i sin ø. Thus, the typical complex number is Exponential Form of a Complex Number re iø =r[cosø+isinø] De Moivre's Theorem now implies that e iø e i˙ = e i(ø+˙) , so that the exponential rule for addition works, and the inverse rule shows that 1/e iø = e -iø , so that the inverse exponent law also works. Similarly, the other laws also work. Duly emboldened, we now define e x+iy = e x e iy = e x [cos y + i sin y] e x+iy =e x [cosy+isiny] Examples in class Exercise Set 1 p.793 #1–17 odd, 27, 29, 37, 39 p. 797. 1–15 odd, 21, 23, 25, 27, 29, 31, 33 p. 800 #1, 5, 7, 11, 15, 23, 26 Hand In 1 (a) One of the quantum mechanics wave functions of a particle of unit mass trapped in an infinite potential square well of width 1 unit is given by §(x,t) = sin(πx) e -i(π 2 h – /2)t + sin(2πx)e -i(4π 2 h – /2)t , where h – is a certain constant. Show that |§(x,t)| 2 = sin 2 πx + sin 2 2πx+ 4sin 2 πx cosπx cos3ø, where ø = -(π 2 h – /2)t. (|§(x,t)| 2 is the probability density function for the position of the particle at time t.) (b) The expected position of the particle referred to in part (a) is given by “x‘ = ı Û 0 1 x|§(x,t)| 2 dx . Calculate “x‘ and compute its amplitude of oscillation. 2. Functions of a Complex Variable: Analytic Functions and the Cauchy-Riemann Equations) (§§17.4, 17.5 in Zill) Definition 2.1 Let S ¯ CI A complex valued function on S is a function f: S ’ CI . S is called the domain of f. Examples 2.2 Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com 6 (a) Define f: CIÆCI by f(z) = z 2 ; (b) Define g: CI-{0}ÆCI by g(z) = - 1 z + z–. Find g(1+i). (c) Define h: CIÆCI by h(x+iy) = x + i(xy). Notes (a) In general, a complex valued function is completely specified by its real and imaginary parts. For example, in (a) above, f(x+iy) = (x+iy) 2 = (x 2 -y 2 ) + i(2xy). Write this as u(x,y) + iv(x,y), where u(x,y) and v(x,y) are a pair of real-valued functions. (b) An important way to picture a function f: S ’CI is as a “mapping” - picture in class. Examples 2.3 (a) Look at the action of the functions z + z 0 and åz for fixed z 0 é CI and å real. (b) Let S be the unit circle; S = S 1 = {z : |z| = 1}. Then the functions f: SÆS; f(z) = z n are “winding” maps. (c) The function f: CI ÆCI given by f(z) = 1/z = z -1 is a special case of (a) above, and “winds” the unit circle backwards. It maps the circle of radius r backwards around the circle of radius -r. (d) The function f: CI ÆCI given by f(z) = z– agrees with 1/z on the unit circle, but not elsewhere. Limits and Derivatives of Complex-valued Functions Definition 2.4 If D ¯ CI then a point z 0 not necessarily in D is called a limit point of D if every neighborhood of z 0 contains points in D other than itself. Illustrations in class Definition 2.5 Let f: DÆCI and let z 0 be a limit point of D. Then we say that f(z) Æ L as zÆ z 0 if for each œ > 0 there is a © > 0 such that |f(z) - L) < œ whenever 0 < |z - z 0 | <œ. When this happens, we also write lim zÆz 0 f(z) = L. If z 0 é D as well, we say that f is continuous at z 0 if lim zÆz 0 f(z) = f(z 0 ). Fact: Every closed-form (single-valued) function of a complex variable is continuous on its domain. Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com 7 Definition 2.6 Let f: DÆCI and let z 0 be in the interior of D. We define the derivative of f at z 0 to be f'(z 0 ) = lim zÆz 0 f(z)-f(z 0 ) z-z 0 f is called analytic at z 0 if it is differentiable at z 0 and also in some neighborhood of z 0 . If f is differentiable at every complex number, it is called entire. Consequences Since the usual rules for differentiation (power, product, quotient, chain rule) all follow formally from the same definition as that above, we can deduce that the same rules hold for complex differentiation. Geometric Interpretation of f'(z) † Question What does f'(z) look like geometrically? Answer We describe the magnitude and argument separately. First look at the magnitude of f'(z o ). For z near z 0 , |f'(z 0 )| ‡ Ô Ô Ô Ô Ô Ô Ô Ô f(z)-f(z 0 ) z-z 0 = |f(z)-f(z 0 )| |z-z 0 | In other words, the magnitude of f'(z 0 ) gives us an expansion factor; The distance between points is expanded by a factor of |f'(z 0 )| near z 0 . Now look at the direction (argument) of f'(z o ): [Note that this only makes sense if f'(z 0 ) ≠ 0 otherwise the argument is not well defined.] f'(z 0 ) ‡ f(z)-f(z 0 ) z-z 0 Therefore, the argument of f'(z 0 ) is Arg[f(z) - f(z 0 )] - Arg[z - z 0 ]. That is, Arg[f'(z)] ‡ Arg[∆f] - Arg[∆z] Therefore, the argument of f'(z 0 ) gives the direction in which f is rotating near z 0 . In fact, we shall see later that f preserves angles at a point if the derivative is non-zero there. Question What if f'(z 0 ) = 0? Answer Then the magnitude is zero, so, locally, f “squishes’ everything to a point. Examples 2.7 (A) Polynomials functions in z are entire. (B) f(z) = 1/z is analytic at every no-zero point. (C) Find f'(z) if f(z) = z 2 (z+1) 2 (D) Show that f(z) = Re(z) is nowhere differentiable! Indeed: think of it geometrically as projection onto the x-axis. Choosing ∆z as a real number gives the difference quotient † Evidently not worth mentioning by the textbook Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com 8 equal to 1, whereas choosing it to be imaginary gives a zero difference quotient. Therefore, the limit cannot exist! Cauchy-Riemann Equations If f: DÆCI, write f(z) = f(x, y) as u(x, y) + iv(x, y) Theorem 2.8 (Cauchy-Riemann Equations) If f: DÆCI is analytic, then the partial derivatives ∂u ∂x , ∂u ∂y , ∂v ∂x , ∂v ∂y all exist, and satisfy ∂u ∂x = ∂v ∂y and ∂u ∂y = - ∂v ∂x Conversely, if u(x, y) and v(x, y) are have continuous first-order partial derivatives in D and satisfy the Cauchy-Riemann conditions on D, then f is analytic in D with f'(z) = ∂u ∂x + i ∂v ∂x = ∂u ∂x - i ∂u ∂y = ∂v ∂y - i ∂u ∂y = ∂v ∂y + i ∂v ∂x Note that the second equation just above says that f'(z) is the complex conjugate of the gradient of u(x, y) Proof Suppose f: DÆCI is analytic. Then look at the real and imaginary parts of f'(z) using ∆z = ∆x, and ∆z = i∆y. We find: ∆z = ∆x: f'(z) = ∂u ∂x + i ∂v ∂x ∆z = i∆y f'(z) = ∂v ∂y - i ∂u ∂y Equating coefficients gives us the result. Proving the converse is beyond the scope of this course. (Basically, one proves that the above formula for f'(z) works as a derivative.) Examples Show that f(z) = x 2 - y 2 i is nowhere analytic. Now let us fiddle with the CR equations. Start with ∂u ∂x = ∂v ∂y and ∂u ∂y = - ∂v ∂x and take ∂/∂x of both sides of the first, and ∂/∂y of the second: ∂ 2 u ∂x 2 = ∂ 2 v ∂x∂y and ∂ 2 u ∂y 2 = - ∂ 2 v ∂x∂y Combining these gives ∂ 2 u ∂x 2 + ∂ 2 u ∂y 2 = 1 u is harmonic Similarly, we see that v is harmonic. A pair u, v of harmonic functions that also satisfy C- R are called conjugate harmonic functions. Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com 9 Example Let u(x, y) = x 3 - 3xy 2 - 5y. Show that u is harmonic, and find a conjugate for it. Example 2.9 Write f(z) = 1/z in this form. Exercise Set 2 p. 806, #1, 5, 9, 15, 19, 21, 23, 25, 31, 35 p. 810 #1, 5, 9, 15, 25, 32 Hand In 1. Using the fact (shown in class) that f(z) = Re(z) is differentiable nowhere, and the formal rules for differentiation but not the C-R condition, deduce each of the following: (a) f: CI ÆCI given by f(z) = Im(z) is differentiable nowhere (b) f: CIÆCI given by f(z) = z– is differentiable nowhere. (c) f: CI ÆCI given by f(z) = |z| 2 is differentiable nowhere except possibly at zero. 2. Now show that f(z) = |z| 2 is, in fact, differentiable at z = 0. 3. Transcendental Functions Definition 3.1. The exponential complex function exp: CIÆCI is given by exp(z) = e x (cos y + i sin y), for z = x+iy. This is also written as e z , for reasons we saw in the last section. Properties of the Exponential Function 1. For x and y real, e iy = cosy + i sin y and e x is the usual thing. 2. e z e w = e z+w 3. e z /e w = e z-w 4. (e z ) w = e zw 5. |e iy | = 1 6. Periodicity: e z = e z + 2πi 7. Derivative: d dz (e z ) = e z . This follows by either using the Taylor series, or by using the formula f'(z) = ∂u ∂x + i ∂v ∂x Examples 3.2 (a) We compute e 3+2i , and e 3+ai for varying a. (b) The geometric action of the exponential function: it transforms the complex plane. Vertical lines go into circles. The vertical line with x-coordinate a is mapped onto the circle with radius e a . Thus the whole plane is mapped onto the punctured plane. (c) The action of the function g(z) = e -z . Definition 3.3 Define the trigonometric sine and cosine functions by cos z = 1 2 (e iz + e -iz ) Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com 10 sin z = 1 2i (e iz - e -iz ) (Reason for this: check it with z real.) Similarly, we define tan z = sinz cosz , etc. Examples 3.4 (A) We compute the sine and cosine of π/3 + 4i (B) Determine all values of z for which sin z = 0 and cos z = 0. Properties of Trig Functions 1. Adding cos z to i sin z gives Euler's Formula e iz =cosz+isinz 2. The traditional identities work as usual sin(z+w) = sinz cosw + cosz sinw cos(z+w) = cosz cosw - sinz sinw cos 2 z + sin 2 z = 1 3. Real and Imaginary Parts of Sine & Cosine Some more interesting ones, using (2): sin(z) = sin(x + iy) = sinx cos(iy) + cosx sin(iy) sinz = sinx coshy + i cosx sinhy and similarly cosz = cosx coshy - i sinx sinhy 4. d dz (sinz) = cos z etc. Definition 3.5 We also have the hyperbolic sine and cosine, cosh z = 1 2 (e z + e -z ) sinh z = 1 2 (e z - e -z ) Note that cosh(iz) = cos z, sinh (iz) = i sin z. Logarithms Definition 3.6 A natural logarithm, ln z, of z is defined to be a complex number w such that e w = z. Notes 1. There are many such numbers w; For example, we know that e iπ = -1. Therefore, ln(-1) = iπ. But, e iπ + i2π = -1 as well, therefore, ln(-1) = iπ + i.(2π) Similarly, ln(-1) = iπ + In general, if ln z = w, then ln z = w + i(2nπ) Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com [...]... doing the integral computation) #5, 6, Hand In: 2 p 916 #7 (use z ) and #8 (use H-1) Change-of Reference: At this point, we abandon Zills book (since it is inadequate) and go to Erwin Kreyzsig, Advanced Engineering Mathematics, 8th Edition, Wiley 28 9 Complex and Split (Based on Kreyszig) Simpo PDF Merge PotentialsUnregistered Version - http://www.simpopdf.com The electrostatic force of attraction between... =r r d 1 or ln(r) = dr r Thus ln(r) = - ln(r) + K = ln(A) - ln(r), say A so r = r giving = A ln(r) + B We can now solve for A and B by knowing the potentials on each of the two cylinders and their radii For the associated complex potential, we use that fact that ln(r) is the real part of Ln(z), and so F(z) = ALn(z) + B 29 with Merge and Split Unregistered Simpo PDF associated conjugate potential Version... parallel plates at x = -5 and x = 10 having potentials 200 and 500 volts respectively 2 Find the potential, complex potential, equipotential lines, and lines of force between two coaxial cylinders with radii 1 and 5 cm with inner cylinder charged to 10 volts and the outer cylinder charged to 100 volts 3 Find the associated electric fields in each of these cases Hand In 1 Repeat 1 of the non-hand in work . Advanced Engineering Math II Math 144 Lecture Notes by Stefan Waner (First printing: 2003) Department of Mathematics, Hofstra University Simpo PDF Merge. Merge and Split Unregistered Version - http://www.simpopdf.com 3 z - z– = (x+iy) - (x-iy) = 2iy = 2iIm(z). Therefore, Im(z)= 1 2i (z-z–) 2. Note that zz– = (x+iy)(x-iy) = x 2 -i 2 y 2 = x 2 +y 2