Advanced Math 45S Introduction Complex Numbers Complex Numbers Up until now you have been unable to find the square root of a negative number. In more advance mathematics you can take the square root of a negative number and you get a new type of number, that is a Complex Number. Complex numbers were first invented / discovered by an Italian mathematician Gerolamo Cardano in the sixteenth century when he attempted to solve equations that required intermediate steps containing square roots of negative number. At the time nobody thought there could be any “real world” use for this new type of number, other than helping in the solution of some equations. In fact complex numbers are used in electrical circuits involving alternating current, telecommunications (AM, FM and CB), control systems used in auto-pilots in airplanes, car power steering and missile guidance systems as well as many areas in mechanical, civil and aeronautical engineering. Anyway this new number is called i where i stands for imaginary. You have only dealt with real numbers before, i.e. numbers that do not involve i. Page 1 of 25 Advanced Math 45S Complex Numbers 1. Definition A complex number is one that can be represented in the form where: a + bi a and b are real numbers i = √−1 or i2 = −1 a is referred to as the real part and b as the imaginary part of the complex number. Since 0βπ =0 every real number is a complex number as a + 0i = a Example 1: Simplify √−9 Write the number under the radicand as a product of −1 and a non-negative number. √−9 = √9 × −1 Then write as product of radicals.β¨√9 × −1 = √9√−1 Find the roots. so √9√−1 = 3i √−9 = 3π Example 2: Simplify i4 Rewrite as product of i2’s and i’s. i4 = i2 ο i2 Substitute. = (-1) ο (-1) Simplify. =1 Example 3: Simplify i7 Rewrite as product of i2’s and i’s. i7 = i2 ο i2 ο i2 ο i Substitute. = (-1) ο (-1) ο (-1) ο i Simplify. = -i Page 2 of 25 Advanced Math 45S Complex Numbers Example 4: Simplify √81 + √−36 Write the number under the radicand of the imaginary part of the complex number as a product of −1 and a non-negative number. √81 + √−36 = √81 + √36 × −1 Write as product of radicals. √81 + √36 × −1 = √81 + √36√−1 Find the roots of both parts of complex number. √81 + √36√−1 = 9 + 6π Assignment #1 Page 3 of 25 Advanced Math 45S Complex Numbers 2. Representing Complex Numbers Geometrically Any real number can be represented as a point on a line. Since a complex number is represented by two real numbers a and b ( i.e. an ordered pair (a, b)) , the ordered pair (a, b) can determine a point on a plane. This plane is called an Argand or Complex Plane. Assignment #2 Page 4 of 25 Advanced Math 45S Complex Numbers 3. Absolute Value of a Complex Number The absolute value of a real number is the distance from the origin on a real number line. Similarly the absolute value of a complex number a + bi is the distance from the origin on the Argand Plane. Hence |π + ππ| = √π2 + π 2 Example: Find the absolute value of 3 + 4i Solution: |3 + 4π| = √32 + 42 = √25 = 5 Example: Find the absolute value of -6i Solution: |0 − 6π| = √02 + (−6)2 = √36 = 6 Assignment #3 Page 5 of 25 Advanced Math 45S Complex Numbers 4. Adding and Subtracting Complex Numbers Addition: (a + bi) + (c + di) = (a + c) + (b + d)i Examples (2 + 3i) + (1 + 4i) = (2 + 1) + (3 + 4)i = 3 + 7i (7 + 4i) + (-3 + 1i) = (7 + -3) + (4 + 1)i = 4 + 5i (3 + i) + (4 - 5i) = (3 + 4) + (1 + -5)i = 7 – 4i Subtraction: (a + bi) - (c + di) = (a + bi) + (-c - di) = (a - c) + (b - d)i Examples (2 + 3i) - (1 + 4i) = (2 – 1) + (3 – 4)i = 1–i (2 + 6i) - (-1 + 4i) = (2 – (-1)) + (6 – 4)i = 3 + 2i (5 + 3i) - (1 - 4i) = (5 – 1) + (3 – (-4))i = 4 +7i Assignment #4 Page 6 of 25 Advanced Math 45S Complex Numbers 5. Multiplication of Complex Numbers (a + bi ) β (c + di ) = (ac - bd) + (ad + bc)i Note the multiplication of complex numbers is similar to that of polynomials, just remember that i2 can be replaced with -1 Example: (2 – 3i)(4 – i) = 8 – 2i - 12i +3i2 = 8 – 14i + 3(-1) = 5 – 14i Example: (3 + i)(4 - 3i) = 12 – 9i + 4i – 3i2 = 12 – 5i – 3(-1) = 15 – 5i Assignment 5 Page 7 of 25 Advanced Math 45S Complex Numbers 6. The Complex Conjugate For denominators that involve complex numbers with real and imaginary parts we have to use the complex conjugate. a – bi is the complex conjugate of a + bi The product of a complex number and its conjugate is a real number. Symbolically if z is a complex number, then π§Μ is its conjugate. Example: (5 – 2i)(5 + 2i) = 25 – 4i2 = 25 – 4(-1) = 29 No assignment 7. Dividing Complex Numbers. Example: 5 π 5 5 π = β π π π 5π = 2 π 5π = −1 = −5π Multiple the numerator and denominator by the conjugate of the denominator Example: 3 − 2π 3 − 2π 5 − 3π = × 5 + 3π 5 + 3π 5 − 3π = 15 − 19π + 6π 2 25 − 9π 2 = 9 − 19π 34 Assignment #6 Page 8 of 25 Advanced Math 45S Complex Numbers 8. Proving Properties of Complex Numbers 1. If z1 and z2 are complex numbers then Μ Μ Μ Μ Μ Μ Μ Μ Μ π§1 + π§2 = π§Μ 1 + π§Μ 2 Proof: Let z1 = a + bi and z2 = c + di so π§1 + π§2 = π + ππ + π + ππ = (π + π) + (π + π)π Μ Μ Μ Μ Μ Μ Μ Μ Μ π§1 + π§2 = (π + π) − (π + π)π and since π§Μ 1 = π − ππ πππ π§Μ 2 = π − ππ π§Μ 1 + π§Μ 2 = π − ππ + π − ππ = (π + π) − (π + π)π hence Μ Μ Μ Μ Μ Μ Μ Μ Μ π§1 + π§2 = π§Μ 1 + π§Μ 2 2. If z1 and z2 are complex numbers then π§1 ⋅ π§2 = π§Μ 1 ⋅ π§Μ 2 Μ Μ Μ Μ Μ Μ Μ Μ Proof: Let z1 = a + bi and z2 = c + di So π§1 ⋅ π§2 = (π + ππ)(π + ππ) = ππ + πππ + πππ + πππ 2 = (ππ − ππ) + (ππ + ππ)π so π§1 ⋅ π§2 = (ππ − ππ) − (ππ + ππ)π Μ Μ Μ Μ Μ Μ Μ Μ and since π§Μ 1 = π − ππ πππ π§Μ 2 = π − ππ Hence π§Μ 1 ⋅ π§Μ 2 = (π − ππ)(π − ππ) = ππ − πππ − πππ + πππ 2 = (ππ − ππ) − (ππ + ππ)π π§1 ⋅ π§2 = π§Μ 1 ⋅ π§Μ 2 Μ Μ Μ Μ Μ Μ Μ Μ No assignment Page 9 of 25 Advanced Math 45S Complex Numbers 9. Solving Quadratic Equations with Real Coefficients and having complex roots. Example: Solve 3x2 – 4x + 10 = 0 Using the quadratic equation π₯= so π₯= 4 ± √(−4)2 − 4(3)(10) 2(3) 4 ± √16 − 120 = 6 4 ± √−104 = 6 4 ± 2π√26 = 6 2 ± π√26 = 3 2 + π√26 2 − π√26 ,π₯ = 3 3 Note that complex roots always come in pairs. Assignment #7 Questions 1-3 Page 10 of 25 Advanced Math 45S Complex Numbers 10. Solving Quadratic Equations with Complex Coefficients We will restrict our examples to those that meet the following conditions: a) a, b, and c are imaginary b) a and c are imaginary and b is real c) b is imaginary and a and c are real. We will deal with the other possibilities later when we can find the square root of a complex number! Example 1: Solve x2 + 3ix – 4 = 0 π₯= −3π ± √(3π)2 − 4(1)(−4) 2(1) = −3π ± √−9 + 16 2 = −3π ± √7 2 so x= (b is imaginary, a and c are real) −3π + √7 −3π − √7 , π₯= 2 2 Example 2: Solve 5ix2 – 2ix + 3i = 0 (a,b,c are imaginary) 2π ± √(−2π)2 − 4(5π)(3π) π₯= 2(5π) = 2π ± √−4 + 60 10π = 2π ± √56 10π = 2π ± 2√14 10π = π ± √14 5π so π₯= π + √14 π − √14 ,π₯ = 5π 5π or Page 11 of 25 Advanced Math 45S Complex Numbers 1 π√14 1 π√14 + , π₯= − 5 5 5 5 π₯= An alternative solution to this would be to factor i out of the original equation. i.e. 5ix2 – 2ix + 3i = 0 i(5x2 – 2x + 3) = 0 since i ≠ 0 , 5x2 – 2x + 3 = 0 so x= = 2 ± √(−2)2 − 4(5)(3) 2(5) 2 ± √4 − 60 10 = 2 ± √−56 10 = 2 ± 2√(−1)(14) 10 = 1 ± π√(14) 5 so π₯= 1 π√14 1 π√14 + , π₯= − 5 5 5 5 Example 3: Solve 2ix2 - 6x + 3i = 0 (a and c are imaginary, b is real) 6 ± √(−6)2 − 4(2π)(3π) 2(2π) 6 ± √36 + 24 = 4π 6 ± √60 = 4π 6 ± 2√15 = 4π 3 ± √15 = 2π π₯= so x= 3 + √15 , 2π x= 3 − √15 2π Page 12 of 25 Advanced Math 45S Complex Numbers or (−3 + √15 )π , 2 Assignment #7 Questions 4-10 x= x= (−3 − √15)π 2 11. Forming Equations given Complex Roots. Example 1: roots 2 ± i Equation: [x – (2 + i)] [x – (2 - i)] = 0 [ (x – 2) - i ] [ (x – 2) + i ] = 0 (x – 2)2 - i2 = 0 (x – 2)2 + 1 = 0 x2 – 4x + 4 + 1 = 0 x2 – 4x + 5 = 0 NB: When the roots are a conjugate pair the resulting equation with have real coefficients Example 2: Roots 3 + i , -2 – i Equation: [ x - (3 + i) ] [x – (-2 – i ) = 0 [ (x – 3) – i ] [ (x + 2) + i ) = 0 (x – 3)(x + 2) + (x – 3)i - (x + 2)i – i2 = 0 x2 – x – 6 +(x – 3 - x – 2)i + 1 = 0 x2 – x – 6 - 5i + 1 = 0 x2 – x – (5 +5i) = 0 NB: When the roots are not a conjugate pair, the resulting equation must have one imaginary coefficient. Example 3: Roots (2 ± i), -1 Equation: [ x – (2 + i)] [x – (2 – i)] [ x + 1] = 0 [ (x – 2) – i ] [(x – 2) + i ] [x + 1] = 0 [ (x – 2)2 – i2] [x + 1] = 0 (x2 - 4x + 4 + 1)(x + 1) = 0 x3 – 4x2 + 5x + x2 − 4x + 5 = 0 x3 – 3x2 + x + 5 = 0 Assignment #8 (3 roots so cubic equation) Page 13 of 25 Advanced Math 45S Complex Numbers 12. Plotting points on a Polar Co-ordinate system. Many systems and styles of measure are in common use today. When graphing on a flat surface, the rectangular coordinate system and the polar coordinate system are the two most popular methods for drawing the graphs of relations. Polar coordinates are best used when periodic functions are considered. Although either system can usually be used, polar coordinates are especially useful under certain conditions. The rectangular coordinate system is the most widely used coordinate system. Second in importance is the polar coordinate system. It consists of a fixed point 0 called the pole, or origin. Extending from this point is a ray called the polar axis. This ray usually is situated horizontally and to the right of the pole. Any point, P, in the plane can be located by specifying an angle and a distance. The angle, θ, is measured from the polar axis to a line that passes through the point and the pole. If the angle is measured in a counterclockwise direction, the angle is positive. If the angle is measured in a clockwise direction, the angle is negative. The directed distance, r, is measured from the pole to point P. If point P is on the terminal side of angle θ, then the value of r is positive. If point P is on the opposite side of the pole, then the value of r is negative. The polar coordinates of a point can be written as an ordered pair ( r, θ). The location of a point can be named using many different pairs of polar coordinates. Figure 1 illustrates three different sets of polar coordinates for the point P (4,50°). Assignment #9 Qu 1 Page 14 of 25 Advanced Math 45S Complex Numbers 13. Convert Rectangular Coordinates to Polar Coordinates and Vice Versa. Rectangular Coordinates are in terms of x and y i.e. (x, y) Polar Coordinates are in terms of r and θ i.e. (r, θ) The following relationships between rectangular and polar coordinates can be used. Converting from Rectangular to Polar π = √π₯ 2 + π¦ 2 π¦ tan π = π₯ Example: Convert the point rectangular coordinate (-2, 3) to polar form. π = √(−2)2 + (3)2 = √13 3 3 tan π = , π = tan−1 = −56.3° −2 −2 Rectangular Coordinates (-2, 3) are the same as Polar Coordinates (√13, 303.7°) Assignment 9 Qu 2 Converting from Polar to Rectangular: x = r cos θ y= r sin θ Example: Convert the polar coordinates (5, π) to rectangular coordinate. Note that in this example the angle has been given in radians. The value of the angle in Polar coordinates can be given in degrees or radians so just be careful to make sure your calculator is in the correct mode . x = 5 cos π = -5 y = 5 sin π = 0 so the equivalent rectangular coordinates are (-5, 0) Assignment 9 Qu 3 Page 15 of 25 Advanced Math 45S Complex Numbers 14. Converting Equations from Rectangular Form to Polar Form and Vice Versa Example 1: Convert the equation x2 + y2 = 2y to polar form. We know that x2 + y2 = r2 and y = r sin θ So x2 + y2 = 2y becomes r2 = 2r sin θ then, divide both side by r r = 2 sin θ Example 2: Convert the equation r2 cos θ sin θ = 1 to rectangular form π₯ Since that x2 + y2 = r2 , cos π = π πππ sin π = π¦ π r2 cos θ sin θ = 1 becomes π₯ π¦ (π₯ 2 + π¦ 2 ) ( ) ( ) = 1 π π π₯π¦ (π₯ 2 + π¦ 2 ) ( 2 ) = 1 π (π₯ 2 + π¦ 2 ) ( π₯π¦ π₯ 2 +π¦ 2 )=1 xy = 1 An alternative method would be r2 cos θ sin θ = 1 (r cos θ)(r sin θ) = 1 but x = r cos θ and y = r sin θ so xy = 1 Assignment 10 Page 16 of 25 Advanced Math 45S Complex Numbers 15. Graphing Equations in Polar form on a Polar Coordinate System Lines: Circles: Cardioids: Page 17 of 25 Advanced Math 45S Complex Numbers Archimedes Spiral: Three Leaved Roses No assignment Page 18 of 25 Advanced Math 45S Complex Numbers 16. Expressing a Complex Number in Polar Form Our aim in this section is to write complex numbers in terms of a distance from the origin and a direction (or angle) from the positive horizontal axis. We find the real (horizontal) and imaginary (vertical) components in terms of r (the length of the vector) and θ (the angle made with the real axis): From Pythagoras, we have: r2 = a2 + b2 and basic trigonometry gives us: tan θ = b/a a = r cos θ b = r sin θ Multiplying the last expression throughout by i gives us: bi=ir sinθ So we can write the polar form of a complex number as: a + bi=r cos r + ir sinθ or a + ib = r (cos θ+i sin θ) r is the absolute value (or modulus) of the complex number θ is the argument of the complex number. Another ways of writing the polar form of a complex number: r cis θ This is really just a shorthand for r(cos θ+i sin θ) Example: Convert 3 – 4i to polar form. π = √32 + 42 = 5 3 cos π = , 5 3 π π π = cos−1 ( ) ≈ 53° 5 Page 19 of 25 Advanced Math 45S Complex Numbers but this point is in the 4th quadrant so the angle θ= 360° - 53° = 307° so 3 – 4i = 5(cos 307° + i sin 307°) or 3 – 4i = 5 cis 307° Assignment 12 Qu 1 17. Converting A Complex Number in Polar Form to Rectangular Form Example: Convert π π π 1 3 (πππ 3 + π π ππ 3 ) into rectangular form π 3 (πππ 3 + π π ππ 3 ) = 3 (2 + π = √3 ) 2 3 3√3 + π 2 2 Assignment 12 Qu 2 Page 20 of 25 Advanced Math 45S Complex Numbers 18. Multiplying and Dividing Complex Numbers in Polar Form Multiplication: r(cos α + i sin α) × s(cos β + i sin β) = rs (cos (α+β) + i sin (α + β)) Proof: r(cosα + isinα) × s(cosβ + isinβ) = rs(cosαcosβ+isinαcosβ+isinβcosα + i2sinαsinβ) = rs((cosαcosβ – sinαsinβ)+i(sinαcosβ+sinβcosα)) = rs (cos (α+β) + i sin (α + β)) Example: 3cis 100° × 5cis 150° 3cis 100° × 5cis 150° = 3(cos 100 + i sin 100) × 5(cos 150 + i sin 150) = 15(cos 250°+i sin 250°) = -5.13 -14.10i Assignment 12 Qu 3 Division: π r(cos α + i sin α) ÷ s(cos β + i sin β) = π (cos (α - β) + i sin (α - β)) Proof: π(πππ πΌ + ππ πππΌ) π(πππ πΌ + ππ πππΌ) (πππ π½ − ππ πππ½) = × π (πππ π½ + ππ πππ½) π (πππ π½ + ππ πππ½) (πππ π½ − ππ πππ½) π(πππ πΌπππ π½ − ππππ πΌπ πππ½ + ππ πππΌπππ π½ − π 2 π πππΌπ πππ½) = π (cos 2 π½ − π 2 sin2 π½) = π((πππ πΌπππ π½ + π πππΌπ πππ½) + π(π πππΌπππ π½ − π πππΌπππ π½)) π (cos 2 π½ + sin2 π½) π = (cos(πΌ − π½) + ππ ππ(πΌ − π½)) π Page 21 of 25 Advanced Math 45S Complex Numbers Example: 3cis 150° ÷ 5cis 100° 3cis 150° ÷ 5cis 100° = 3(cos 150° + isin 150°) ÷ 5(cos 100° + isin 100°) = 3/5(cos(150-100) + i sin(150-100)) = 3/5 (cos 50° + i sin 50°) = 0.39 + 0.46i Assignment 12 Qu 4 Page 22 of 25 Advanced Math 45S Complex Numbers 19. Computing Powers and Roots of Complex Numbers using DeMoivre’s Theorem. DeMoivre’s Theorem: [π(cos π + π sin π)]π = π π (cos ππ + π sin ππ) Proof – involves induction – a mathematical method we haven’t done … yet! Example 1: Evaluate and express in rectangular form 2π 2π 5 [3 (πππ + ππ ππ )] 5 5 2π 2π 5 [3 (πππ + ππ ππ )] = 35 (cos 2π + π sin 2π) 5 5 = 35 (1 + 0π) = 35 Assignment 12 Qu 5 Example 2: Evaluate the fourth roots of −8 + 8√3 π First convert −8 + 8√3 π to polar form. 2 π = √(−8)2 + (8√3) = √64 + 192 = √256 = 16 8√3 π = tan−1 ( ) = 60° 8 but the angle is in quadrant 2 so the angle must be 180° – 60° = 120° and a general term for all co-terminal angles is ( 120 +360k)° where π π πΌ so −8 + 8√3 π = 16(cos(120 + 360π)° + π sin(120 + 360π)°) where π π πΌ Hence the question becomes evaluate 1 [16(cos(120 + 360π)° + π sin(120 + 360π)°)] ⁄4 1 [16(cos(120 + 360π)° + π sin(120 + 360π)°)] ⁄4 = 120 + 360π ° 120 + 360π ° 1⁄ 4 16 (cos ( ) + π π ππ ( )) 4 4 Page 23 of 25 Advanced Math 45S First Root: (k = 0) Second Root: (k = 1) Third Root: (k = 2) Fourth Root: (k = 3) Complex Numbers 2(cos 30° + π π ππ 30° ) = √3 + π 2(cos 120° + π π ππ 120° ) = −1 + √3π 2(cos 210° + π π ππ 210° ) = −√3 − π 2(cos 300° + π π ππ 300° ) = 1 − √3π Thus the fourth roots of −8 + 8√3 π are √3 + π, −1 + √3π, −√3 − π, 1 − √3π Insert diagram???? Assignment 12 Qu 6 Example 3: Solve x2 – 4x +10i = 0 Using the quadratic formula π₯= 4 ± √42 − 4(1)(10π) 2(1) 4 ± √16 − 40π = 2 = 4 ± 2√4 − 10π 2 = 2 ± √4 − 10π 1 use DeMoivre’s theorem to determine (4 − 10π)2 First write 4 – 10i in polar form. π = √42 + 102 = √116 = 2√29 10 π = tan−1 ( ) ≈ 68° 4 angle in 4th quadrant = 360 − 68 = 292 4 − 10π = 2√29(cos 292° + π sin 292) Using DeMoivres 1 (2√29(cos 292 + π π ππ292))2 1 2 = (2√29) (πππ 1 292° 292° + π sin ) 2 2 = (2√29)2 (cos 146 + π sin 146) = -2.72+1.84i Page 24 of 25 Advanced Math 45S Complex Numbers so the solution to the quadratic equation becomes x = 2 ± (-2.72 + 1.84i) so x = -0.72 + 1.84i, x = -4.72 + 1.84i Assignment 12 Qu 7 Page 25 of 25