In the number systems, algorithms, and recursion note, we introduced the categorization of numbers. This chapter will unveil the most special subset of number that we have known, which is complex number. Complex number is a powerful mathematical tool for Computer Science, especially for some machine learning algorithms and computer graphics.

In the 18th century, mathematicians were puzzled by the roots of high-degree equations. Some equations require the square root of a negative number, which is not a real number. This led to the extension from the real numbers to the complex numbers. For x2=1x^2=-1, we introduce the imaginary unit ii by defining i2=1i^2=-1.

Definition

The equation x2=1x^2 = -1 is used to define imaginary number ii, which gives i2=1i^2 = -1. The two roots are ii and i-i respectively.

Formally, a complex number is defined as:

Definition

A complex number is an expression of the form a+bia + bi, where aa and bb are real numbers. The set of all complex numbers is denoted by C\mathbb{C}. That is, C={a+bi:a,bR}\mathbb{C} = \{ a + bi : a, b \in \mathbb{R} \} The letter zz is often used to denote a complex number.

  • If a=0a = 0, then z=biz = bi is said to be an imaginary number.

  • If b=0b = 0, then z=az = a is a real number.

The real numbers and the imaginary numbers are subsets of C\mathbb{C}

Definition

For a complex number z=a+biz = a + bi, we define Re(z)=aandIm(z)=b\text{Re}(z) = a \quad \text{and} \quad \text{Im}(z) = b where Re(z)\text{Re}(z) is called the real part of zz, and Im(z)\text{Im}(z) is called the imaginary part of zz.

Note: Both Re(z)\text{Re}(z) and Im(z)\text{Im}(z) are real numbers. That is, Re:CR\text{Re}: \mathbb{C} \rightarrow \mathbb{R} and Im:CR\text{Im}: \mathbb{C} \rightarrow \mathbb{R}.

Sometimes we need to represent or simplify a given number to complex number. refer to the following examples

Example

a Represent 5\sqrt{-5} as an imaginary number. b Simplify 29+4i2\sqrt{-9} + 4i.

Solution

a 5=51=i5\sqrt{-5} = \sqrt{5}\sqrt{-1} = i\sqrt{5}

b 29+4i=291+4i2\sqrt{-9} + 4i = 2\sqrt{9}\sqrt{-1} + 4i\ =2×3×i+4i= 2 \times 3 \times i + 4i\ =6i+4i= 6i + 4i\ =10i= 10i

Algebra of Complex Number

This section discusses operations on complex numbers and some of their algebraic properties. For real numbers, we have

  • Commutative Law of Addition a+b=b+aa + b = b + a

  • Commutative Law of Multiplication ab=baab = ba

  • Associative Law of Addition a+(b+c)=(a+b)+ca + (b + c) = (a + b) + c

  • Associative Law of Multiplication a(bc)=(ab)ca(bc) = (ab)c

  • Distributive Law (a+b)c=ac+bc,(a + b)c = ac + bc,

for any rationals aa, bb, and cc.

These basic rules are still available for complex number.

Definition

The operations of addition and subtraction of complex numbers are given by (a+bi)±(c+di)=(a±c)+(b±d)i,(a + bi) \pm (c + di) = (a \pm c) + (b \pm d)i,

Definition

The multiplication of two complex numbers is defined by (a+bi)(c+di)=(acbd)+(bc+ad)i.(a + bi)(c + di) = (ac - bd) + (bc + ad)i. where i2=1i^2=-1.

Now consider division of complex numbers. We rationalize the denominator by multiplying by its complex conjugate, which removes the imaginary part from the denominator because i2=1i^2=-1.

Definition

The division of complex numbers is given by a+bic+di:=ac+bdc2+d2+bcadc2+d2i(if c2+d20).\frac{a + bi}{c + di} := \frac{ac + bd}{c^2 + d^2} + \frac{bc - ad}{c^2 + d^2}i \quad (\text{if } c^2 + d^2 \neq 0).

Example

Find the quotient (6+2i)(1+3i)(1+i)2.\frac{(6 + 2i) - (1 + 3i)}{(-1 + i) - 2}.

Solution. (6+2i)(1+3i)(1+i)2=5i3+i=5i3+i(3i)(3i)=1515i+3i9+1=162i10=8515i.\begin{aligned} \frac{(6 + 2i) - (1 + 3i)}{(-1 + i) - 2} &= \frac{5 - i}{-3 + i} = \frac{5 - i}{-3 + i} \cdot \frac{(-3 - i)}{(-3 - i)} \\ &= \frac{-15 - 1 - 5i + 3i}{9 + 1} \\ &= \frac{-16 - 2i}{10} \\ &= \frac{-8}{5} - \frac{1}{5}i. \end{aligned}

Exercises

Exercise

Verify the commutative, associative, and distributive laws for complex numbers.

Exercise

Notice that 00 and 11 retain their “identity” properties as complex numbers; that is, 0+z=z0 + z = z and 1z=z1 \cdot z = z when zz is complex.

  1. Verify that complex subtraction is the inverse of complex addition (that is, z3=z2z1z_3 = z_2 - z_1 if and only if z3+z1=z2z_3 + z_1 = z_2).

  2. Verify that complex division, as given in the text, is the inverse of complex multiplication (that is, if z20z_2 \neq 0, then z3=z1/z2z_3 = z_1 / z_2 if and only if z3z2=z1z_3z_2 = z_1).

Exercise

Prove that if z1z2=0z_1z_2=0, then z1=0z_1=0 or z2=0z_2=0.

Exercise

Show that (iz)=z\Re(i z) = -\Im z for every complex number zz.

Hint: Prove using z=a+biz=a+bi directly.

Exercise

Let k\displaystyle k be an integer. show that

i4k=1, i4k+1=i, i4k+2=1, i4k+3=ii^{4k} =1,\ i^{4k+1} =i,\ i^{4k+2} =-1,\ i^{4k+3} =-i and thus evalueate 3i11+6i3+8i20+i13i^{11} +6i^{3} +\frac{8}{i^{20}} +i^{-1}

Proof

We know that i2=1i^2 = -1. Therefore, we can express powers of ii in terms of powers of 1-1: i4k=(i2)2k=(1)2k=1,i4k+1=i4ki=1i=i,i4k+2=i4ki2=1(1)=1,i4k+3=i4k+2i=(1)i=i.\begin{aligned} i^{4k} &= (i^2)^{2k} = (-1)^{2k} = 1, \\ i^{4k+1} &= i^{4k} \cdot i = 1 \cdot i = i, \\ i^{4k+2} &= i^{4k} \cdot i^2 = 1 \cdot (-1) = -1, \\ i^{4k+3} &= i^{4k+2} \cdot i = (-1) \cdot i = -i. \end{aligned} Now we can evaluate the given expression:

3i^{11} + 6i^3 + \frac{8}{i^{20}} + i^{-1} = 3i^{4(2)+3} + 6i^{4(0)+3} + \frac{8}{i^{4(5)}} + i^{-1}$$ $$= 3(-i) + 6(-i) + \frac{8}{1} + \frac{1}{i}$$ $$= -3i - 6i + 8 - i \cdot \left( \frac{1}{i} \cdot \frac{i}{i} \right) = -3i - 6i + 8 - \frac{i}{i^2} = -3i - 6i + 8 - \frac{i}{-1} = -3i - 6i + 8 + i$$ $$= 8 - 10i$$ Therefore, the evaluated expression is $8 - 10i$.
Exercise

Solve each of the following equations for zz.

  1. iz=4ziiz = 4 - zi

  2. z1z=15i\frac{z}{1 - z} = 1 - 5i

  3. (2i)z+8z2=0(2 - i)z + 8z^2 = 0

  4. z2+16=0z^2 + 16 = 0

Exercise

The complex numbers z1,z2z_1, z_2 satisfy the system of equations (1i)z1+3z2=23i,iz1+(1+2i)z2=1.\begin{aligned} (1 - i)z_1 + 3z_2 &= 2 - 3i, \\ iz_1 + (1 + 2i)z_2 &= 1. \end{aligned} Find z1,z2z_1, z_2.

Hint: To find z1z_1 and z2z_2, we solve the system of equations and find that z1=1+iz_1 = 1 + i and z2=iz_2 = -i.

Exercise

The straightforward method of computing the product (a+bi)(c+di)=(acbd)+i(bc+ad)(a + bi)(c + di) = (ac - bd) + i(bc + ad) requires four (real) multiplications (and two signed additions). On most computers multiplication is far more time-consuming than addition. Devise an algorithm for computing (a+bi)(c+di)(a + bi)(c + di) with only three multiplications (at the cost of extra additions).

  • Write this algorithm in pseudocode

Hint: Start with (a+b)(c+d)(a + b)(c + d), this is calleded “Karatsuba’s algorithm”

Solution:

$ac \gets a \cdot c$ $bd \gets b \cdot d$ $abcd \gets (a + b) \cdot (c + d)$ $real \gets ac - bd$ $imag \gets abcd - ac - bd$ $real + imag \cdot i$

Point representation of Complex Number

This section delves into the representation of Complex Number in the Cartesian coordinate, with which we are already quite familiar. In this system, we use ordered pairs like (a,b)(a,b) to show the position of a given point. In the study of complex number, we can draw all complex number on a Cartesian coordinate which we call Complex Plane.

Figure pending: Complex Plane

Definition

The complex plane is a two-dimensional space where each point represents a complex number. The horizontal axis represents the real part of the number, and the vertical axis represents the imaginary part. This allows for a geometric interpretation of complex numbers.

Now that we have point representation on the complex plane, we can gauge the length of a complex number, which we call absolute value or modulus, as what we do to vectors.

Definition

The absolute value or modulus of the number z=a+biz = a + bi is denoted by z|z| and is given by z:=a2+b2.|z| := \sqrt{a^2 + b^2}.

In particular, 0=0,i2=12,34i=9+16=5.|0| = 0, \quad \left|\frac{i}{2}\right| = \frac{1}{2}, \quad |3 - 4i| = \sqrt{9 + 16} = 5. Similarly, we can also gain the distance between two complex numbers in the plane by taking them as two points.

Definition

Let z1=a1+b1iz_1 = a_1 + b_1i and z2=a2+b2iz_2 = a_2 + b_2i. z1z2=(a1a2)+(b1b2)i=(a1a2)2+(b1b2)2|z_1 - z_2| = |(a_1 - a_2) + (b_1 - b_2)i| = \sqrt{(a_1 - a_2)^2 + (b_1 - b_2)^2}

We can use this property to describe curves in the plane.

Example

Draw the area that satisfies zz0=1|z-z_0|=1, where z0=2+2iz_0 = 2+2i.

This set consists of all points zz whose distance from z0z_0 is rr.

Figure pending: Complex Number as Vector

With this, we can apply all possible operations of vectors to complex numbers, including the parallelogram law shown in Figure 1.2.

Figure pending: Parallelogram Law

Examining this figure recalls the triangle inequality. If we focus on the lower triangle of the parallelogram, the two complex numbers z1z_1 and z2z_2 satisfy z1+z2z1+z2.|z_1+z_2| \leq |z_1|+|z_2|. This is the geometric meaning of the triangle inequality, and the vector form makes the relationship visible.

Polar Form of Complex Number

This section discusses one of the most commonly used form of complex number. We start with introducing a new coordinate syste.

The Polar Coordinate

Polar coordinates provide an alternative to Cartesian coordinates for describing the location of points in a two-dimensional plane. While Cartesian coordinates use a grid of horizontal and vertical lines to specify a point by its horizontal (x) and vertical (y) distances from an origin, polar coordinates specify a point by its distance from a reference point (called the pole, analogous to the origin) and an angle relative to a reference direction.

Figure pending: Complex Number in Polar Coordinate

A point’s location in polar coordinates is given as (r,θ)(r, \theta), where rr is the radial distance from the pole, and θ\theta is the angular coordinate, typically measured in radians from the positive x-axis (the reference direction). Polar coordinates are particularly useful in situations where the geometry of a problem has rotational symmetry, making it more natural and simpler to work with angles and radii than with rectangular coordinates.

One of the most common applications of polar coordinates is in the field of trigonometry, complex numbers, and vector calculus, where they provide a more straightforward approach to solving problems involving circular motion, periodic functions, and fields.

Polar Expression of Complex Number

How do we obtain polar form from Cartesian form? Cartesian coordinates record horizontal and vertical displacement, while polar coordinates record a radius and an angle. Trigonometry gives

x=rcosθ,y=rsinθ,x=r\cos\theta,\qquad y=r\sin\theta,

and the radius is unambiguously

r=x2+y2=z.r=\sqrt{x^2+y^2}=|z|.

However, observe that although it is certainly true that tanθ=yx\tan \theta = \frac{y}{x}, the natural conclusion θ=tan1(yx)\theta = \tan^{-1}\left(\frac{y}{x}\right) is invalid for points zz in the second and third quadrants (since the standard interpretation of the arctangent function places its range in the first and fourth quadrants). Since an angle is fixed by its sine and cosine, θ\theta is uniquely determined by the pair of equations cosθ=xz,sinθ=yz,\cos \theta = \frac{x}{|z|}, \quad \sin \theta = \frac{y}{|z|}, And all these lead us to the polar form of a given complex number: z=x+iy=r(cosθ+isinθ)=rcisθz=x+iy=r(\cos\theta+i\sin\theta)=r\operatorname{cis}\theta

Considering the circularity of radiant, we introduce the argument of complex number.

Definition

In the study of complex numbers, the argument of a complex number zz, denoted as arg(z)\text{arg}(z), is a fundamental concept representing the angle between the positive real axis and the line segment that joins the origin with the point zz in the complex plane. Specifically, if z=x+iyz = x + iy, where xx and yy are real numbers, then arg(z)\text{arg}(z) is defined as the angle θ\theta in polar coordinates that satisfies x=rcos(θ)x = r\cos(\theta) and y=rsin(θ)y = r\sin(\theta), where rr is the magnitude of zz. The value of arg(z)\text{arg}(z) is usually given in radians and, by convention, is restricted to the interval (π,π](-\pi, \pi], known as the principal value. The argument provides a complete description of the direction in which the point zz lies from the origin, serving as a crucial tool in the fields of complex analysis, phasor calculus in electrical engineering, and in the representation of waves and oscillations.

Example

Find arg(1+3i)\arg(1 + \sqrt{3}i) and write 1+3i1 + \sqrt{3}i in polar form.

Solutions:

Note that r=1+3i=2r = |1 + \sqrt{3}i| = 2 and that the equations cosθ=12\cos\theta = \frac{1}{2}, sinθ=32\sin\theta = \frac{\sqrt{3}}{2} are satisfied by θ=π3\theta = \frac{\pi}{3}. Hence arg(1+3i)=π3+2kπ,k=0,±1,±2,\arg(1 + \sqrt{3}i) = \frac{\pi}{3} + 2k\pi, k = 0, \pm1, \pm2, \ldots [in particular, Arg(1+3i)=π3\text{Arg}(1 + \sqrt{3}i) = \frac{\pi}{3}]. The polar form of 1+3i1 + \sqrt{3}i is 2(cosπ3+isinπ3)=2cisπ3.2(\cos\frac{\pi}{3} + i\sin\frac{\pi}{3}) = 2\operatorname{cis}\frac{\pi}{3}.

More properties of polar form complex number could be derived with properties of trigonometric identities. Now suppose we have z1=r1(cosθ1+isinθ1),z2=r2(cosθ2+isinθ2)z_1=r_1\left(\cos\theta_1+i\sin\theta_1\right),\quad z_2=r_2\left(\cos\theta_2+i\sin\theta_2\right) then we have z1z2=r1r2[(cosθ1cosθ2sinθ1sinθ2)+i(sinθ1cosθ2+cosθ1sinθ2)]z_1z_2=r_1r_2\left[(\cos\theta_1\cos\theta_2-\sin\theta_1\sin\theta_2)+i(\sin\theta_1\cos\theta_2+\cos\theta_1\sin\theta_2)\right] which follows that z1z2=r1r2[cos(θ1+θ2)+isin(θ1+θ2)]z_1z_2=r_1r_2\left[\cos\left(\theta_1+\theta_2\right)+i\sin\left(\theta_1+\theta_2\right)\right]

Remark

The compound angle formula is applied in the proof, which should already been covered in high school syllabus. You may refer to this link for further information. A concise proof is provided below.

Proof of the composite-angle formulas: Proof of the Composite Angle Formulas. To prove the sine of the sum of two angles α\alpha and β\beta, we can use the unit circle and the definition of sine and cosine.

Consider a unit circle where point AA corresponds to angle α\alpha, and point BB corresponds to angle α+β\alpha + \beta. Point AA has coordinates (cos(α),sin(α))(\cos(\alpha), \sin(\alpha)), and point BB has coordinates (cos(α+β),sin(α+β))(\cos(\alpha + \beta), \sin(\alpha + \beta)).

By rotating point AA by angle β\beta, we can form a right triangle where the new point, CC, has coordinates (cos(α)cos(β)sin(α)sin(β),sin(α)cos(β)+cos(α)sin(β))(\cos(\alpha)\cos(\beta) - \sin(\alpha)\sin(\beta), \sin(\alpha)\cos(\beta) + \cos(\alpha)\sin(\beta)).

The coordinates of point CC represent the cosine and sine of the sum of angles α\alpha and β\beta due to the rotation. Therefore, we have:

sin(α+β)=sin(α)cos(β)+cos(α)sin(β)\sin(\alpha + \beta) = \sin(\alpha)\cos(\beta) + \cos(\alpha)\sin(\beta) cos(α+β)=cos(α)cos(β)sin(α)sin(β)\cos(\alpha + \beta) = \cos(\alpha)\cos(\beta) - \sin(\alpha)\sin(\beta)

Similarly, by considering the rotation in the opposite direction (subtracting angle β\beta from α\alpha), we can derive the formulas for the sine and cosine of the difference of two angles:

sin(αβ)=sin(α)cos(β)cos(α)sin(β)\sin(\alpha - \beta) = \sin(\alpha)\cos(\beta) - \cos(\alpha)\sin(\beta) cos(αβ)=cos(α)cos(β)+sin(α)sin(β)\cos(\alpha - \beta) = \cos(\alpha)\cos(\beta) + \sin(\alpha)\sin(\beta)

Thus, we have proven the composite angle formulas for sine and cosine.

The abbreviated version of Eq. polarprod reads as follows: z1z2=(r1cisθ1)(r2cisθ2)=(r1r2)cis(θ1+θ2)\overline{z_1z_2} = (r_1 \operatorname{cis} \theta_1)(r_2 \operatorname{cis} \theta_2) = (r_1r_2) \operatorname{cis} (\theta_1 + \theta_2) and we see that

The modulus of the product is the product of the moduli: z1z2=z1z2(=r1r2);|\overline{z_1z_2}| = |z_1||z_2| \quad (= r_1r_2);

The argument of the product is the sum of the arguments: argz1z2=argz1+argz2(=θ1+θ2).\arg \overline{z_1z_2} = \arg z_1 + \arg z_2 \quad (= \theta_1 + \theta_2). As division is the inverse of multiplication, we can get the following statements by similar method: z1z2=r1r2[cos(θ1θ2)+isin(θ1θ2)]=r1r2cis(θ1θ2)\frac{z_{1}}{z_{2}}=\frac{r_{1}}{r_{2}}\left[\cos\left(\theta_{1}-\theta_{2}\right)+i\sin\left(\theta_{1}-\theta_{2}\right)\right]=\frac{r_{1}}{r_{2}}\mathrm{cis}\left(\theta_{1}-\theta_{2}\right) arg(z1z2)=argz1argz2\arg\left(\frac{z_{1}}{z_{2}}\right)=\arg z_{1}-\arg z_{2} z1z2=z1z2\left|\frac{z_1}{z_2}\right|=\frac{|z_1|}{|z_2|}

Example

Write the quotient (1+i)(3i)\frac{(1 + i)}{(\sqrt{3} - i)} in polar form.

Proof

The polar forms for 1+i1 + i and 3i\sqrt{3} - i are 1+i=1+icis(arg(1+i))=2cis(π4),1 + i = |1 + i| \operatorname{cis}(\arg(1 + i)) = \sqrt{2} \operatorname{cis}\left(\frac{\pi}{4}\right), 3i=2cis(π6).\sqrt{3} - i = 2 \operatorname{cis}\left(-\frac{\pi}{6}\right). Hence, from Eq. 5.8, we have 1+i3i=22cis(π4(π6))=22cis(5π12).\frac{1 + i}{\sqrt{3} - i} = \frac{\sqrt{2}}{2} \operatorname{cis} \left(\frac{\pi}{4} - \left(-\frac{\pi}{6}\right)\right) = \frac{\sqrt{2}}{2} \operatorname{cis}\left(\frac{5\pi}{12}\right).

Exercises

Exercise

Find the following:

  1. 1+2i2i\left| \frac{1 + 2i}{-2 - i} \right|

  2. (1+i)(23i)(4i3)\left| (1 + i)(2 - 3i)(4i - 3) \right|

  3. i(2+i)3(1i)2\left| \frac{i(2 + i)^3}{(1 - i)^2} \right|

  4. (π+i)100(πi)100\left| \frac{(\pi + i)^{100}}{(\pi - i)^{100}} \right|

Exercise

Draw the following vectors:

  1. 7cis(3π4)7 \operatorname{cis}\left(\frac{3\pi}{4}\right)

  2. 4cis(π6)4 \operatorname{cis}\left(-\frac{\pi}{6}\right)

  3. cis(3π4)\operatorname{cis}\left(\frac{3\pi}{4}\right)

  4. 3cis(27π4)3 \operatorname{cis}\left(\frac{27\pi}{4}\right)

Exercise

Find the argument of each of the following complex numbers and write each in polar form:

  1. 12-\frac{1}{2}

  2. 3+3i-3 + 3i

  3. πi-\pi i

  4. 232i-2\sqrt{3} - 2i

  5. (1i)(3+i)(1 - i)(-\sqrt{3} + i)

  6. (3i)2(\sqrt{3} - i)^2

  7. 1+3i2+2i\frac{-1 + \sqrt{3}i}{2 + 2i}

  8. 7(1+i)3+i\frac{-\sqrt{7}(1 + i)}{\sqrt{3} + i}

Exercise

Show geometrically that the nonzero complex numbers z1z_1 and z2z_2 satisfy z1+z2=z1+z2|z_1 + z_2| = |z_1| + |z_2| if and only if they have the same argument.

Proof

If z1z_1 and z2z_2 have the same argument, it follows that:

We see here if z1=r1(cosθ+isinθ)z_1 = r_1(\cos \theta + i \sin \theta), z2=r2(cosθ+isinθ)z_2 = r_2(\cos \theta + i \sin \theta), then z1+z2=r1(cosθ+isinθ)+r2(cosθ+isinθ)=(r1+r2)(cosθ+isinθ)=r1+r2=z1+z2\begin{aligned} |z_1 + z_2| &= |r_1(\cos \theta + i \sin \theta) + r_2(\cos \theta + i \sin \theta)| \\ &= |(r_1 + r_2)(\cos \theta + i \sin \theta)| \\ &= r_1 + r_2 = |z_1| + |z_2| \end{aligned}

Exercise

Given the vector zz, interpret geometrically the vector (cosϕ+isinϕ)z(\cos \phi + i \sin \phi)z.

Solution:

Let zCz \in \mathbb{C}, z=r(cosθ+isinθ)z = r(\cos \theta + i \sin \theta)

(cosϕ+isinϕ)z=(cosϕ+isinϕ)r(cosθ+isinθ)(\cos \phi + i \sin \phi)z = (\cos \phi + i \sin \phi)r(\cos \theta + i \sin \theta) =r[cos(θ+ϕ)+isin(θ+ϕ)]= r[\cos(\theta + \phi) + i \sin(\theta + \phi)] =rcis(θ+ϕ)= r\operatorname{cis}(\theta + \phi)

Geometrically this: rcis(θ+ϕ)r\operatorname{cis}(\theta + \phi) means a vector that its length rr and argument is θ+ϕ\theta + \phi, we can get it by rotating vector zz about origin through an angle ϕ\phi in the counterclockwise direction.

Exercise

Show that z1z2z3=z1z2z3|z_1z_2z_3|=|z_1||z_2||z_3| and thus prove i=1nzi=i=1nzi|\prod_{i=1}^{n} z_i| = \prod_{i=1}^{n} |z_i|

Remark: \prod is called pi (upper case) notation. Take it as the sigma notation for multiplication.

Proof

Consider the complex numbers z1=r1(cosθ1+isinθ1)z_1 = r_1(\cos \theta_1 + i\sin \theta_1), z2=r2(cosθ2+isinθ2)z_2 = r_2(\cos \theta_2 + i\sin \theta_2), and z3=r3(cosθ3+isinθ3)z_3 = r_3(\cos \theta_3 + i\sin \theta_3), where r1,r2,r_1, r_2, and r3r_3 are the moduli of z1,z2,z_1, z_2, and z3z_3 respectively, and θ1,θ2,\theta_1, \theta_2, and θ3\theta_3 are the arguments. The product z1z2z3z_1z_2z_3 is then given by: z1z2z3=r1r2r3(cos(θ1+θ2+θ3)+isin(θ1+θ2+θ3))z_1z_2z_3 = r_1r_2r_3(\cos(\theta_1 + \theta_2 + \theta_3) + i\sin(\theta_1 + \theta_2 + \theta_3))

The modulus of this product is: z1z2z3=r1r2r3(cos(θ1+θ2+θ3)+isin(θ1+θ2+θ3))=r1r2r3|z_1z_2z_3| = |r_1r_2r_3(\cos(\theta_1 + \theta_2 + \theta_3) + i\sin(\theta_1 + \theta_2 + \theta_3))| = r_1r_2r_3

Since the moduli of z1,z2,z_1, z_2, and z3z_3 are r1,r2,r_1, r_2, and r3r_3 respectively, it follows that: z1z2z3=z1z2z3|z_1z_2z_3| = |z_1||z_2||z_3|

Now, extend this property to a product of nn complex numbers: i=1nzi=i=1nri(cosθi+isinθi)\prod_{i=1}^{n} z_i = \prod_{i=1}^{n} r_i(\cos \theta_i + i\sin \theta_i)

Taking the modulus of both sides: i=1nzi=i=1nri(cosθi+isinθi)=i=1nri\left|\prod_{i=1}^{n} z_i\right| = \left|\prod_{i=1}^{n} r_i(\cos \theta_i + i\sin \theta_i)\right| = \prod_{i=1}^{n} r_i

Thus: i=1nzi=i=1nzi\prod_{i=1}^{n} |\overline{z_i}| = \prod_{i=1}^{n} |z_i|

as required.

MI is also a option:

Base case (n=1n = 1): For a single complex number z1z_1, the statement is trivially true since z1=z1|\overline{z_1}| = |z_1|.

Inductive step: Assume the statement holds for n=kn = k, i.e., i=1kzi=i=1kzi\prod_{i=1}^{k} |\overline{z_i}| = \prod_{i=1}^{k} |z_i| Now consider n=k+1n = k + 1 complex numbers. By the induction hypothesis and the property that the modulus of a product is equal to the product of the moduli for any two complex numbers aa and bb, namely ab=ab|ab| = |a||b|, we have: i=1k+1zi=zk+1i=1kzi=zk+1i=1kzi=i=1k+1zi\prod_{i=1}^{k+1} |\overline{z_i}| = |\overline{z_{k+1}}| \prod_{i=1}^{k} |\overline{z_i}| = |z_{k+1}| \prod_{i=1}^{k} |z_i| = \prod_{i=1}^{k+1} |z_i| Thus, by mathematical induction, the statement is proved for all nNn \in \mathbb{N}.

Exercise

Show that

  1. arg z1z2z3=arg z1+arg z2+arg z3\text{arg } z_1z_2z_3 = \text{arg } z_1 + \text{arg } z_2 + \text{arg } z_3

  2. arg z1z2=arg z1arg z2\text{arg } z_1 \overline{z_2} = \text{arg } z_1 - \text{arg } z_2.

Solution: Let z1,z2,z3Cz_1, z_2, z_3 \in \mathbb{C},

(a) we’ll prove arg (z1z2z3)=arg z1+arg z2+arg z3\text{arg }(z_1z_2z_3) = \text{arg } z_1 + \text{arg } z_2 + \text{arg } z_3

Let z1=r1(cosθ1+isinθ1)z_1 = r_1(\cos \theta_1 + i \sin \theta_1), where arg z1=θ1\text{arg } z_1 = \theta_1

z2=r2(cosθ2+isinθ2)z_2 = r_2(\cos \theta_2 + i \sin \theta_2), where arg z2=θ2\text{arg } z_2 = \theta_2

z3=r3(cosθ3+isinθ3)z_3 = r_3(\cos \theta_3 + i \sin \theta_3), where arg z3=θ3\text{arg } z_3 = \theta_3

We’ll prove arg z1z2z3=arg z1+arg z2+arg z3\text{arg } z_1z_2z_3 = \text{arg } z_1 + \text{arg } z_2 + \text{arg } z_3

At first we’ll find z1z2z3z_1z_2z_3:

z1z2z3=(z1z2)z3=r1r2[cos(θ1+θ2)+isin(θ1+θ2)]z3=r1r2r3[cos(θ1+θ2)+isin(θ1+θ2)](cosθ3+isinθ3)=r1r2r3[cos(θ1+θ2)cosθ3sin(θ1+θ2)sinθ3+i(sin(θ1+θ2)cosθ3+cos(θ1+θ2)sinθ3)]=r1r2r3[cos(θ1+θ2+θ3)+isin(θ1+θ2+θ3)]\begin{aligned} z_1z_2z_3 &= (z_1z_2)z_3 = r_1r_2[\cos(\theta_1 + \theta_2) + i \sin(\theta_1 + \theta_2)]z_3 \\ &= r_1r_2r_3[\cos(\theta_1 + \theta_2) + i \sin(\theta_1 + \theta_2)](\cos \theta_3 + i \sin \theta_3) \\ &= r_1r_2r_3[\cos(\theta_1 + \theta_2) \cos \theta_3 - \sin(\theta_1 + \theta_2) \sin \theta_3 \\ &\quad + i(\sin(\theta_1 + \theta_2) \cos \theta_3 + \cos(\theta_1 + \theta_2) \sin \theta_3)] \\ &= r_1r_2r_3[\cos(\theta_1 + \theta_2 + \theta_3) + i \sin(\theta_1 + \theta_2 + \theta_3)] \end{aligned}

Therefore, arg z1z2z3=θ1+θ2+θ3=arg z1+arg z2+arg z3\text{arg } z_1z_2z_3 = \theta_1 + \theta_2 + \theta_3 = \text{arg } z_1 + \text{arg } z_2 + \text{arg } z_3.

(b) we’ll prove arg z1z2=arg z1arg z2\text{arg } z_1 \overline{z_2} = \text{arg } z_1 - \text{arg } z_2

Therefore, z2=r2(cosθ2+isinθ2)z_2 = r_2(\cos \theta_2 + i \sin \theta_2) and hence

z2=r2(cos(θ2)+isin(θ2))=r2(cosθ2isinθ2)\overline{z_2} = r_2(\cos(-\theta_2) + i \sin(-\theta_2)) = r_2(\cos \theta_2 - i \sin \theta_2)

Now we find the argument of z1z2z_1 \overline{z_2}:

arg z1z2=arg [(r1(cosθ1+isinθ1))(r2(cosθ2isinθ2))]=arg [r1r2((cosθ1cosθ2+sinθ1sinθ2)+i(cosθ1sinθ2cosθ2sinθ1))]=arg [r1r2(cos(θ1θ2)+isin(θ1θ2))]=θ1θ2=arg z1arg z2\begin{aligned} \text{arg } z_1 \overline{z_2} &= \text{arg }[(r_1(\cos \theta_1 + i \sin \theta_1))(r_2(\cos \theta_2 - i \sin \theta_2))] \\ &= \text{arg }[r_1r_2((\cos \theta_1 \cos \theta_2 + \sin \theta_1 \sin \theta_2) \\ &\quad + i(\cos \theta_1 \sin \theta_2 - \cos \theta_2 \sin \theta_1))] \\ &= \text{arg }[r_1r_2(\cos(\theta_1 - \theta_2) + i \sin(\theta_1 - \theta_2))] \\ &= \theta_1 - \theta_2 \\ &= \text{arg } z_1 - \text{arg } z_2 \end{aligned}

Thus, arg z1z2=arg z1arg z2\text{arg } z_1 \overline{z_2} = \text{arg } z_1 - \text{arg } z_2.

Exercise

Recall that the dot (scalar) product of two planar vectors v1=(x1,y1)v_1 = (x_1, y_1) and v2=(x2,y2)v_2 = (x_2, y_2) is given by: v1v2=x1x2+y1y2.v_1 \cdot v_2 = x_1x_2 + y_1y_2. Show that the dot product of the vectors represented by the complex numbers z1z_1 and z2z_2 is given by z1z2=Re(z1z2).z_1 \cdot z_2 = Re(\overline{z_1}z_2).

Proof

Let z1,z2Cz_1, z_2 \in \mathbb{C}.

We can represent z1,z2z_1, z_2 as vectors as follows: z1=(x1,y1)=x1+y1j,z2=(x2,y2)=x2+y2jz_1 = (x_1, y_1) = x_1 + y_1j, \quad z_2 = (x_2, y_2) = x_2 + y_2j z1z2=(x1+y1j)(x2+y2j)z_1 \cdot z_2 = (x_1 + y_1j) \cdot (x_2 + y_2j) =x1x2+y1y2+x1y2(jj)+x2y1(ij)= x_1x_2 + y_1y_2 + x_1y_2(j \cdot j) + x_2y_1(i \cdot j) =x1x2+y1y2+0+0(i2=j2=1,ij=0)= x_1x_2 + y_1y_2 + 0 + 0 \quad (\because i^2 = j^2 = -1, i \cdot j = 0) z1z2=x1x2+y1y2(1)\therefore z_1 \cdot z_2 = x_1x_2 + y_1y_2 \quad \text{(1)}

Now we’ll find: z1z2=(x1y1j)(x2+y2j)=x1x2+y1y2+x1y2(j)x2y1j\overline{z_1}z_2 = (x_1 - y_1j)(x_2 + y_2j) = x_1x_2 + y_1y_2 + x_1y_2(-j) - x_2y_1j Re(z1z2)=x1x2+y1y2(2)\therefore Re(\overline{z_1}z_2) = x_1x_2 + y_1y_2 \quad \text{(2)}

From (1) and (2) we get: z1z2=Re(z1z2)=x1x2+y1y2z_1 \cdot z_2 = Re(\overline{z_1}z_2) = x_1x_2 + y_1y_2

Exercise

We have proven the Generalized Triangle Inequality in last chapter that: k=1nzkk=1nzk\left|\sum_{k=1}^{n} z_{k}\right| \leq \sum_{k=1}^{n}\left|z_{k}\right| For complex numberz1z_1, z2z_2, and z3z_3, prove that: m1z1+m2z2+m3z3m1+m2+m31\left|\frac{m_{1} z_{1}+m_{2} z_{2}+m_{3} z_{3}}{m_{1}+m_{2}+m_{3}}\right| \leq 1

Proof

We’ll take at first: m1z1+m2z2+m3z3m1+m2+m3=m1z1+m2z2+m3z3m1+m2+m3\left| \frac{m_1z_1 + m_2z_2 + m_3z_3}{m_1 + m_2 + m_3} \right| = \frac{\left| m_1z_1 + m_2z_2 + m_3z_3 \right|}{\left| m_1 + m_2 + m_3 \right|}

Now we’ll find: m1z1+m2z2+m3z3m1z1+m2z2+m3z3(Triangle inequality)\left| m_1z_1 + m_2z_2 + m_3z_3 \right| \leq \left| m_1z_1 \right| + \left| m_2z_2 \right| + \left| m_3z_3 \right| \quad \text{(Triangle inequality)} =m1z1+m2z2+m3z3= m_1 \left| z_1 \right| + m_2 \left| z_2 \right| + m_3 \left| z_3 \right| m1+m2+m3(since m1,m2,m3>0 and z1,z2,z31)\leq m_1 + m_2 + m_3 \quad (\text{since } m_1, m_2, m_3 > 0 \text{ and } \left| z_1 \right|, \left| z_2 \right|, \left| z_3 \right| \leq 1) =m1+m2+m3= \left| m_1 + m_2 + m_3 \right|

Therefore: m1z1+m2z2+m3z3m1+m2+m3\left| m_1z_1 + m_2z_2 + m_3z_3 \right| \leq \left| m_1 + m_2 + m_3 \right| m1z1+m2z2+m3z3m1+m2+m3=m1z1+m2z2+m3z3m1+m2+m31\therefore \left| \frac{m_1z_1 + m_2z_2 + m_3z_3}{m_1 + m_2 + m_3} \right| = \frac{\left| m_1z_1 + m_2z_2 + m_3z_3 \right|}{\left| m_1 + m_2 + m_3 \right|} \leq 1

Exponential Form

The other form for complex number is its exponential form with base ee. Euler’s formula relate the exponential expression to the polar expression. However, the proof of Euler’s formula require further knowledge of calculus, such as Taylor series. You may access this link for a proof without calculus. You can also just skip the proof for now, since it does not affect the problem-solving in this chapter.

Definition

eiy=cosy+isinye^{i y}=\cos y+i \sin y

You can relate this formula to the polar form very easily, since the right-hand side is equivalent tocisycisy, which means yy is exactly the principal argument of the complex number, θ\theta.

Euler’s Formula enables us to write the polar form of a complex number as z=rcisθ=r(cosθ+isinθ)=reiθ.z = r \text{cis} \theta = r(\cos \theta + i \sin \theta) = r e^{i\theta}. Thus, we can (and do) drop the awkward “cis” artifice and use, as the standard polar representation, z=reiθ=zeargz.z = r e^{i\theta} = \lvert z \rvert e^{\text{arg} z}. In particular, notice the following identities: ei0=e2πi=e2πi=e4πi=e4πi==1,e^{i0} = e^{2\pi i} = e^{-2\pi i} = e^{4\pi i} = e^{-4\pi i} = \cdots = 1, e(π/2)i=i,e(π/2)i=i,eπi=1.e^{(\pi/2)i} = i, \quad e^{(-\pi/2)i} = -i, \quad e^{\pi i} = -1.

Observe also that eiargz=1\left|e^{i \arg z}\right|=1 and that Euler’s equation leads to the following representations of the customary trigonometric functions: cosθ=Reeiθ=eiθ+eiθ2,sinθ=Imeiθ=eiθeiθ2i.\begin{aligned} \cos \theta=\operatorname{Re} e^{i \theta}=\frac{e^{i \theta}+e^{-i \theta}}{2}, \\ \sin \theta=\operatorname{Im} e^{i \theta}=\frac{e^{i \theta}-e^{-i \theta}}{2 i} . \end{aligned}

Proof

We start with Euler’s formula which states that for any real number θ\theta, eiθ=cos(θ)+isin(θ).e^{i\theta} = \cos(\theta) + i\sin(\theta). The complex conjugate of eiθe^{i\theta} is eiθe^{-i\theta}, which gives us eiθ=cos(θ)+isin(θ)=cos(θ)isin(θ),e^{-i\theta} = \cos(-\theta) + i\sin(-\theta) = \cos(\theta) - i\sin(\theta), since cosine is an even function, cos(θ)=cos(θ)\cos(-\theta) = \cos(\theta), and sine is an odd function, sin(θ)=sin(θ)\sin(-\theta) = -\sin(\theta).

To derive the expression for the cosine function, we take the sum of eiθe^{i\theta} and eiθe^{-i\theta}, and divide by 2: cos(θ)=eiθ+eiθ2.\cos(\theta) = \frac{e^{i\theta} + e^{-i\theta}}{2}. This is because the imaginary parts isin(θ)i\sin(\theta) and isin(θ)-i\sin(\theta) cancel each other out, leaving the sum of cos(θ)+cos(θ)\cos(\theta) + \cos(\theta), which is then divided by 2.

To derive the expression for the sine function, we take the difference of eiθe^{i\theta} and eiθe^{-i\theta}, and divide by 2i2i: sin(θ)=eiθeiθ2i.\sin(\theta) = \frac{e^{i\theta} - e^{-i\theta}}{2i}. Here, the real parts cos(θ)cos(θ)\cos(\theta) - \cos(\theta) cancel out, leaving the difference of isin(θ)(isin(θ))i\sin(\theta) - (-i\sin(\theta)) which is 2isin(θ)2i\sin(\theta), and then dividing by 2i2i yields sin(θ)\sin(\theta).

This completes the derivation of the exponential forms of the sine and cosine functions.

The rules derived in definition polarform for multiplying and dividing complex numbers in polar form now find very natural expressions: z1z2=(r1eiθ1)(r2eiθ2)=(r1r2)ei(θ1+θ2),z_1z_2 = (r_1e^{i\theta_1})(r_2e^{i\theta_2}) = (r_1r_2)e^{i(\theta_1+\theta_2)}, z1z2=r1eiθ1r2eiθ2=(r1r2)ei(θ1θ2),\frac{z_1}{z_2} = \frac{r_1e^{i\theta_1}}{r_2e^{i\theta_2}} = \left(\frac{r_1}{r_2}\right)e^{i(\theta_1-\theta_2)}, and complex conjugation of z=reiθz = re^{i\theta} is accomplished by changing the sign of ii in the exponent: zˉ=reiθ.\bar{z} = re^{-i\theta}.

Example

Compute (a) 1+i3i\frac{1 + i}{\sqrt{3} - i} and (b) (1+i)24(1 + i)^{24}.

Solution:

(a) This quotient was evaluated using the cis operator in Example 1.11 of Sec. 1.3; using the exponential the calculations take the form 1+i=2cis(π4)=2eiπ/4,1 + i = \sqrt{2} \text{cis} \left(\frac{\pi}{4}\right) = \sqrt{2}e^{i\pi/4}, 3i=2cis(π6)=2eiπ/6,\sqrt{3} - i = 2 \text{cis} \left(-\frac{\pi}{6}\right) = 2e^{-i\pi/6}, and, therefore, 1+i3i=2eiπ/42eiπ/6=22ei5π/12.\frac{1 + i}{\sqrt{3} - i} = \frac{\sqrt{2}e^{i\pi/4}}{2e^{-i\pi/6}} = \frac{\sqrt{2}}{2} e^{i5\pi/12}.

(b) The exponential forms become (1+i)24=(2eiπ/4)24=(224)ei24π/4=212ei6π=212.(1 + i)^{24} = \left(\sqrt{2}e^{i\pi/4}\right)^{24} = \left(\sqrt{2}^{24}\right)e^{i24\pi/4} = 2^{12} e^{i6\pi} = 2^{12}.

De Moivre’s Theorem

De Moivre’s Theorem is a fundamental result in complex analysis that connects complex numbers and trigonometry. Named after the French mathematician Abraham de Moivre, the theorem provides a formula for raising complex numbers to any power using polar coordinates.

Given a complex number expressed in polar form as z=r(cosθ+isinθ)z = r(\cos \theta + i\sin \theta), where rr is the modulus and θ\theta is the argument of the complex number, De Moivre’s Theorem states that:

Theorem

zn=rn(cosnθ+isinnθ)z^n = r^n (\cos n\theta + i\sin n\theta) or in exponential form: (eiθ)n=eiθeiθeiθ(n times )=eiθ+iθ++iθ=einθ\left(e^{i \theta}\right)^{n}=\underbrace{e^{i \theta} e^{i \theta} \cdots e^{i \theta}}_{(n \text { times })}=e^{i \theta+i \theta+\cdots+i \theta}=e^{i n \theta}

for any integer nn. This elegant relationship not only simplifies the computation of powers of complex numbers but also lays the foundation for finding roots of complex numbers.

The theorem is particularly useful because it transforms a potentially difficult multiplication problem into a much simpler form by taking advantage of the properties of exponential functions and Euler’s formula, which expresses complex exponentiation in terms of sine and cosine:

eiθ=cosθ+isinθe^{i\theta} = \cos \theta + i\sin \theta

Through this lens, De Moivre’s Theorem is often used to derive results in trigonometry, such as trigonometric identities for sine and cosine of multiple angles, and it plays a crucial role in the field of complex analysis. This theorem could be proven by simple MI.

Proof

We proceed by induction on nn.

Base case: For n=1n = 1, the statement holds trivially: (cos(θ)+isin(θ))1=cos(θ)+isin(θ).(\cos(\theta) + i \sin(\theta))^1 = \cos(\theta) + i \sin(\theta).

Inductive step: Assume that the theorem holds for some integer kk, that is (cos(θ)+isin(θ))k=cos(kθ)+isin(kθ).(\cos(\theta) + i \sin(\theta))^k = \cos(k\theta) + i \sin(k\theta). Now consider the case for k+1k + 1: (cos(θ)+isin(θ))k+1=(cos(θ)+isin(θ))k(cos(θ)+isin(θ))=(cos(kθ)+isin(kθ))(cos(θ)+isin(θ))(by inductive hypothesis)=cos(kθ)cos(θ)sin(kθ)sin(θ)+i(sin(kθ)cos(θ)+cos(kθ)sin(θ))=cos((k+1)θ)+isin((k+1)θ)(using angle addition formulas).\begin{aligned} (\cos(\theta) + i \sin(\theta))^{k+1} &= (\cos(\theta) + i \sin(\theta))^k (\cos(\theta) + i \sin(\theta)) \\ &= (\cos(k\theta) + i \sin(k\theta))(\cos(\theta) + i \sin(\theta)) \quad \text{(by inductive hypothesis)}\\ &= \cos(k\theta)\cos(\theta) - \sin(k\theta)\sin(\theta) \\ &\quad + i(\sin(k\theta)\cos(\theta) + \cos(k\theta)\sin(\theta)) \\ &= \cos((k+1)\theta) + i \sin((k+1)\theta) \quad \text{(using angle addition formulas)}. \end{aligned} Thus, the theorem holds for k+1k + 1.

By induction, the theorem is true for all integers nn.

Exercises

Exercise

Write each of the given numbers in Cartesian form.

  1. eiπ/4e^{-i\pi/4}

  2. e1+i3πe1+iπ/2\frac{e^{1+i3\pi}}{e^{-1+i\pi/2}}

  3. eeie^{ei}

  4. e3ie3i2i\frac{e^{3i} - e^{-3i}}{2i}

  5. 2e3+iπ/62e^{3+i\pi/6}

  6. eze^{z}, where z=4eiπ/3z = 4e^{i\pi/3}

Exercise

Write each of the given numbers in exponential form.

  1. 1i3\frac{1 - i}{3}

  2. 8(1+3i)-8\left(1 + \sqrt{3}i\right)

  3. (1+i)6(1 + i)^6

  4. cos(2π9)+isin(2π9)\cos\left(\frac{2\pi}{9}\right) + i \sin\left(\frac{2\pi}{9}\right)

  5. 2+2i3+i\frac{2 + 2i}{-\sqrt{3} + i}

  6. 2i3ei\frac{2i}{3e^{i}}

Exercise

Consider a complex number sequence {xn}\{x_n\}, where xn=(1+i)nx_n = (1 + i)^n and nn is a non-negative integer. Calculate the sum of the first NN terms of the sequence, SN=n=0N1xnS_N = \sum_{n=0}^{N-1} x_n.

Hint: Utilize the properties of powers of complex numbers and summation formulas to solve this problem. Consider converting 1+i1 + i into its exponential form to simplify the calculation. Solution:

Let xn=(1+i)nx_n = (1 + i)^n, then the sum of the first NN terms of the sequence SNS_N is:

SN=n=0N1xnS_N = \sum_{n=0}^{N-1} x_n

Using the exponential form of 1+i1 + i, which is 2eiπ4\sqrt{2}e^{i\frac{\pi}{4}}, we have:

SN=n=0N1(2eiπ4)nS_N = \sum_{n=0}^{N-1} \left(\sqrt{2}e^{i\frac{\pi}{4}}\right)^n

The sum of a geometric series with the common ratio rr is:

SN=1rN1rS_N = \frac{1 - r^N}{1 - r}

Substituting r=2eiπ4r = \sqrt{2}e^{i\frac{\pi}{4}} into the formula gives us:

SN=1(2eiπ4)N12eiπ4S_N = \frac{1 - \left(\sqrt{2}e^{i\frac{\pi}{4}}\right)^N}{1 - \sqrt{2}e^{i\frac{\pi}{4}}}

This can be further simplified depending on the value of NN.

Exercise

Show that for z=ex+iyz = e^{x+iy}, the modulus z|z| is exe^x and the argument arg(z)\arg(z) is y+2kπy + 2k\pi for k=0,±1,±2,k = 0, \pm 1, \pm 2, \ldots.

Solution: For z=x+iyz = x + iy,

ez=ex(cos(y)+isin(y))=excos(y)+exisin(y)\begin{aligned} e^{z} &= e^{x}(\cos(y) + i\sin(y)) \\ &= e^{x}\cos(y) + e^{x}i\sin(y) \end{aligned}

Let this be a complex number that is, z1=ez=excos(y)+exisin(y)z_1 = e^{z} = e^{x}\cos(y) + e^{x}i\sin(y). Now, modulus of z1z_1,

z1=Re(z1)2+Im(z1)2=(excos(y))2+(exsin(y))2=e2x(cos2(y)+sin2(y))=e2x=ex\begin{aligned} |z_1| &= \sqrt{Re(z_1)^2 + Im(z_1)^2} \\ &= \sqrt{(e^{x}\cos(y))^2 + (e^{x}\sin(y))^2} \\ &= \sqrt{e^{2x}(\cos^2(y) + \sin^2(y))} \\ &= \sqrt{e^{2x}} \\ &= e^{x} \end{aligned}

Therefore z1=ex+iy=ex|z_1| = |e^{x+iy}| = e^{x}.

Similarly, argument of z1z_1,

arg(z1)=tan1(Im(z1)Re(z1))=tan1(exsin(y)excos(y))=tan1(tan(y))\begin{aligned} \arg(z_1) &= \tan^{-1}\left(\frac{Im(z_1)}{Re(z_1)}\right) \\ &= \tan^{-1}\left(\frac{e^{x}\sin(y)}{e^{x}\cos(y)}\right) \\ &= \tan^{-1}(\tan(y)) \end{aligned}

Since tan(y)\tan(y) is a periodic function with period 2π2\pi,

arg(z1)=arg(ex+iy)=y+2kπ,kZ\arg(z_1) = \arg(e^{x+iy}) = y + 2k\pi, \forall k \in \mathbb{Z}

Exercise

Show that, for all zz,

  1. ez+πi=eze^{z+\pi i} = -e^z

  2. ezˉ=eze^{\bar{z}} = \overline{e^z}

Solution:

ez+πi=eze^{z+\pi i} = -e^z

We know for z=x+iyz = x + iy, ez=ex(cosy+isiny)e^z = e^{x}(\cos y + i \sin y).

Consider the left-hand side for z=x+iyz = x + iy, ez+πi=ex+i(y+π)=ex(cos(y+π)+isin(y+π))=ex(cosyisiny)=ex(cosy+isiny)=ez\begin{aligned} e^{z+\pi i} &= e^{x+i(y+\pi)} \\ &= e^{x}(\cos(y + \pi) + i \sin(y + \pi)) \\ &= e^{x}(-\cos y - i \sin y) \\ &= -e^{x}(\cos y + i \sin y) \\ &= -e^z \end{aligned}

ezˉ=eze^{\bar{z}} = \overline{e^z} We know, for z=x+iyz = x + iy, ez=ex(cosy+isiny)e^z = e^{x}(\cos y + i \sin y). Therefore, ezˉ=ex(cosyisiny)(1)\begin{aligned} e^{\bar{z}} &= e^{x}(\cos y - i \sin y) \quad \text{(1)} \end{aligned}

For zˉ=xiy\bar{z} = x - iy, ezˉ=exiy=ex(cos(y)+isin(y))=ex(cosyisiny)(2)\begin{aligned} e^{\bar{z}} &= e^{x-i y} \\ &= e^{x}(\cos(-y) + i \sin(-y)) \\ &= e^{x}(\cos y - i \sin y) \quad \text{(2)} \end{aligned}

From equations (1) and (2), we can say that, ezˉ=ez\begin{aligned} e^{\bar{z}} = \overline{e^z} \end{aligned}

Exercise

Show that ez=ez+2πie^z = e^{z+2\pi i} for all zz. (The exponential function is periodic with period 2πi2\pi i.)

textbfSolution:

We have to prove that ez=ez+2πie^z = e^{z+2\pi i} for all zz.

Start with the right-hand side. Consider for z=x+iyz = x + iy, ez+2πi=ex+iy+2πi=ex+i(y+2π)\begin{aligned} e^{z+2\pi i} &= e^{x+iy+2\pi i} \\ &= e^{x+i(y+2\pi)} \end{aligned}

We know that ez=ex+iy=ex(cosy+isiny)\begin{aligned} e^z &= e^{x+iy} = e^x(\cos y + i \sin y) \end{aligned}

Applying this to the above, ex+i(y+2π)=ex(cos(y+2π)+isin(y+2π))\begin{aligned} e^{x+i(y+2\pi)} &= e^x(\cos(y + 2\pi) + i \sin(y + 2\pi)) \end{aligned}

We know that sin\sin and cos\cos are both periodic functions with period being 2π2\pi. This means that cos(y+2π)=cosysin(y+2π)=siny\begin{aligned} \cos(y + 2\pi) &= \cos y \\ \sin(y + 2\pi) &= \sin y \end{aligned}

Thus, ez+2πi=ex(cosy+isiny)=ex+iy=ez\begin{aligned} e^{z+2\pi i} &= e^x(\cos y + i \sin y) \\ &= e^{x+iy} \\ &= e^z \end{aligned}

Therefore, eze^z is a periodic function with period 2πi2\pi i.

Finding Complex Roots

In this section, we will not be too obsessed with the form of complex number, but focus on the practical reason why we need complex number: finding roots. Because of this, this section could be a little tedious, as it is more like middle school algebra, nothing really new but algebra techniques, yet they are important for further mathematical learning.

Solving Quadratic Equations Over the Complex Numbers

In the middle school, we have been introduced many ways to find Solutions for quadratic equations, like factorization or using the determinant δ\delta.

Let’s make q quick recap on the determinant of quadratic equation. A quadratic equation is a second-order polynomial equation in a single variable xx with the form ax2+bx+c=0ax^2 + bx + c = 0, where aa, bb, and cc are constants, and a0a \neq 0. The expression under the square root, b24acb^2 - 4ac, is known as the discriminant. The discriminant can tell us about the nature of the roots:

  • If the discriminant is positive, there are two distinct real roots.

  • If the discriminant is zero, there is one real root (also known as a repeated or double root).

  • If the discriminant is negative, there are no real roots, but two complex roots.

The solutions to the quadratic equation are known as the roots of the equation, which can be found using the quadratic formula:

Theorem

x=b±b24ac2ax = \frac{{-b \pm \sqrt{{b^2 - 4ac}}}}{2a}

Proof

Starting with the standard form of the quadratic equation: ax2+bx+c=0ax^2 + bx + c = 0

Divide through by aa (where a0a \neq 0) to normalize the quadratic term: x2+bax+ca=0x^2 + \frac{b}{a}x + \frac{c}{a} = 0

Subtract ca\frac{c}{a} from both sides: x2+bax=cax^2 + \frac{b}{a}x = -\frac{c}{a}

To complete the square, add (b2a)2\left(\frac{b}{2a}\right)^2 to both sides: x2+bax+(b2a)2=(b2a)2cax^2 + \frac{b}{a}x + \left(\frac{b}{2a}\right)^2 = \left(\frac{b}{2a}\right)^2 - \frac{c}{a}

Write the left side as a square and simplify the right side: (x+b2a)2=b24ac4a2\left(x + \frac{b}{2a}\right)^2 = \frac{b^2 - 4ac}{4a^2}

Take the square root of both sides: x+b2a=±b24ac4a2x + \frac{b}{2a} = \pm \sqrt{\frac{b^2 - 4ac}{4a^2}}

Solve for xx: x=b2a±b24ac2ax = -\frac{b}{2a} \pm \frac{\sqrt{b^2 - 4ac}}{2a}

Combining the terms gives us the quadratic formula: x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} This concludes the introduction and proof of the determinant and roots of quadratic equations.

Also, since i2=1i^2 = -1, we can rewrite a sum of two squares as a difference of two squares:

Corollary
z2+a2=z2(ai)2=(z+ai)(zai)\begin{aligned} z^{2}+a^{2}& =z^2-(ai)^2 \\ &=(z+ai)(z-ai) \end{aligned}
Example

Factorize:

  1. z2+16z^2+16

  2. 2z2+62z^2+6

Solution: z2+16=z216i2=(z+4i)(z4i)\begin{aligned} z^2 + 16 &= z^2 - 16i^2 \\ &= (z + 4i)(z - 4i) \end{aligned} 2z2+6=2(z2+3)=2(z23i2)=2(z+3i)(z3i)\begin{aligned} 2z^2 + 6 &= 2(z^2 + 3) \\ &= 2(z^2 - 3i^2) \\ &= 2(z + \sqrt{3}i)(z - \sqrt{3}i) \end{aligned}

For more complex equations, we tend to use the root formula.

Example

Solve each of the following equations for zz:

  1. z2+z+3=0z^2 + z + 3 = 0

  2. 2z2z+1=02z^2 - z + 1 = 0

  3. z2=2z5z^2 = 2z - 5

Solution: z2+z+3=(z(12112i))(z(12+112i))Hence z2+z+3=0 has solutionsz=12112iandz=12+112i\begin{aligned} z^2 + z + 3 &= \left(z - \left(-\frac{1}{2} - \frac{\sqrt{11}}{2}i\right)\right)\left(z - \left(-\frac{1}{2} + \frac{\sqrt{11}}{2}i\right)\right) \\ \text{Hence } z^2 + z + 3 &= 0 \text{ has solutions} \\ z &= -\frac{1}{2} - \frac{\sqrt{11}}{2}i \quad \text{and} \quad z = -\frac{1}{2} + \frac{\sqrt{11}}{2}i \end{aligned}

2z2z+1=2(z(1474i))(z(14+74i))Hence 2z2z+1=0 has solutionsz=1474iandz=14+74i\begin{aligned} 2z^2 - z + 1 &= 2\left(z - \left(-\frac{1}{4} - \frac{\sqrt{7}}{4}i\right)\right)\left(z - \left(-\frac{1}{4} + \frac{\sqrt{7}}{4}i\right)\right) \\ \text{Hence } 2z^2 - z + 1 &= 0 \text{ has solutions} \\ z &= \frac{1}{4} - \frac{\sqrt{7}}{4}i \quad \text{and} \quad z = \frac{1}{4} + \frac{\sqrt{7}}{4}i \end{aligned} z22z+5=0Now apply the quadratic formula:z=2±162=2±4i2=1±2iThe solutions are 1+2i and 12i.\begin{aligned} z^2 - 2z + 5 &= 0 \\ \text{Now apply the quadratic formula:} \\ z &= \frac{2 \pm \sqrt{-16}}{2} \\ &= \frac{2 \pm 4i}{2} \\ &= 1 \pm 2i \\ \text{The solutions are } 1 + 2i &\text{ and } 1 - 2i. \end{aligned}

Solving Polynomial Equations on Complex Number

Now let’s try to solve some more tricky and general problems. Quadratic equation is actually a special case of polynomial equations, which is defined as:

Definition

a polynomial of degree nn is an expression of the form P(z)=anzn+an1zn1++a1z+a0P(z)=a_nz^n+a_{n-1}z^{n-1}+\cdots+a_1z+a_0 where the coefficients aia_i are complex numbers and an0a_n \neq 0.

When we divide the polynomial P(z)P(z) by the polynomial D(z)D(z) we obtain two polynomials, Q(z)Q(z) the quotient and R(z)R(z) the remainder, such that P(z)=D(z)Q(z)+R(z)P(z) = D(z)Q(z) + R(z) and either R(z)=0R(z) = 0 or R(z)R(z) has degree less than D(z)D(z).

If R(z)=0R(z) = 0, then D(z)D(z) is a factor of P(z)P(z). Here we introduce two important theorems about polynomial.

Theorem

Let αC\alpha \in \mathbb{C}. When a polynomial P(z)P(z) is divided by zαz - \alpha, the remainder is P(α)P(\alpha).

Proof

Consider the polynomial division of P(z)P(z) by zαz - \alpha, expressed as P(z)=(zα)Q(z)+R\begin{aligned} P(z) &= (z - \alpha)Q(z) + R \end{aligned} where Q(z)Q(z) is the quotient and RR is the remainder. Since RR is a polynomial with degree less than that of zαz - \alpha, RR is a constant. Evaluating P(z)P(z) at z=αz = \alpha gives: P(α)=(αα)Q(α)+R=R.\begin{aligned} P(\alpha) &= (\alpha - \alpha)Q(\alpha) + R = R. \end{aligned} Therefore, the remainder of the division of P(z)P(z) by zαz - \alpha is R=P(α)R = P(\alpha).

Theorem

Let αC\alpha \in \mathbb{C}. Then zαz - \alpha is a factor of a polynomial P(z)P(z) if and only if P(α)=0P(\alpha) = 0.

Proof

Suppose that zαz - \alpha is a factor of P(z)P(z). Then P(z)P(z) can be written as P(z)=(zα)Q(z)\begin{aligned} P(z) &= (z - \alpha)Q(z) \end{aligned} for some polynomial Q(z)Q(z). Evaluating at z=αz = \alpha yields: P(α)=(αα)Q(α)=0.\begin{aligned} P(\alpha) &= (\alpha - \alpha)Q(\alpha) = 0. \end{aligned} This shows that if zαz - \alpha is a factor of P(z)P(z), then P(α)=0P(\alpha) = 0.

Conversely, if P(α)=0P(\alpha) = 0, by the Remainder Theorem we have P(z)=(zα)Q(z)+P(α)=(zα)Q(z)\begin{aligned} P(z) &= (z - \alpha)Q(z) + P(\alpha) \\ &= (z - \alpha)Q(z) \end{aligned} as P(α)=0P(\alpha) = 0. Therefore, P(z)P(z) is divisible by zαz - \alpha, and zαz - \alpha is a factor of P(z)P(z).

We start with a simple example.

Example

Factorize P(z)=z3+z2+4P(z) = z^3 + z^2 + 4.

Solution: Use the factor theorem to find the first factor:

P(1)=1+1+40P(-1) = -1 + 1 + 4 \neq 0 P(2)=8+4+4=0P(-2) = -8 + 4 + 4 = 0

Therefore z+2z + 2 is a factor. We obtain P(z)=(z+2)(z2z+2)P(z) = (z + 2)(z^2 - z + 2) by division.

We can factorize z2z+2z^2 - z + 2 by completing the square:

z2z+2=(z2z+14)+214=(z12)274i2=(z12+72i)(z1272i)\begin{aligned} z^2 - z + 2 &= \left(z^2 - z + \frac{1}{4}\right) + 2 - \frac{1}{4} \\ &= \left(z - \frac{1}{2}\right)^2 - \frac{7}{4}i^2 \\ &= \left(z - \frac{1}{2} + \frac{\sqrt{7}}{2}i\right)\left(z - \frac{1}{2} - \frac{\sqrt{7}}{2}i\right) \end{aligned}

Hence P(z)=(z+2)(z12+72i)(z1272i)P(z) = (z + 2)\left(z - \frac{1}{2} + \frac{\sqrt{7}}{2}i\right)\left(z - \frac{1}{2} - \frac{\sqrt{7}}{2}i\right)

It is noticeable that two of the roots in the example are conjugate to each other. Let’s recall that, in exercise conjugate root, we have proven this as “Conjugate Root Theorem”.

Theorem

Let P(z)P(z) be a polynomial with real coefficients. If a+bia + bi is a solution of the equation P(z)=0P(z) = 0, with aa and bb real numbers, then the complex conjugate abia - bi is also a solution.

With this theorem, we can solve equations of higher order more quickly.

Example

Let P(z)=z33z2+5z3P(z) = z^3 - 3z^2 + 5z - 3.

  1. Use the factor theorem to show that z1+2iz - 1 + \sqrt{2}i is a factor of P(z)P(z).

  2. Find the other linear factors of P(z)P(z).

Solution: a. To show that z(12i)z - (1 - \sqrt{2}i) is a factor, we must check that P(12i)=0P(1 - \sqrt{2}i) = 0. We have

P(12i)=(12i)33(12i)2+5(12i)3=0P(1 - \sqrt{2}i) = (1 - \sqrt{2}i)^3 - 3(1 - \sqrt{2}i)^2 + 5(1 - \sqrt{2}i) - 3 = 0

Therefore z(12i)z - (1 - \sqrt{2}i) is a factor of P(z)P(z).

b. Since the coefficients of P(z)P(z) are real, the complex linear factors occur in conjugate pairs, so z(1+2i)z - (1 + \sqrt{2}i) is also a factor.

To find the third linear factor, first multiply the two complex factors together:

(z(12i))(z(1+2i))=z2(12i)z(1+2i)z+(12i)(1+2i)(z - (1 - \sqrt{2}i))(z - (1 + \sqrt{2}i)) = z^2 - (1 - \sqrt{2}i)z - (1 + \sqrt{2}i)z + (1 - \sqrt{2}i)(1 + \sqrt{2}i) =z2(12i+1+2i)z+1+2=z22z+3= z^2 - (1 - \sqrt{2}i + 1 + \sqrt{2}i)z + 1 + 2 = z^2 - 2z + 3

Therefore, by inspection, the linear factors of P(z)=z33z2+5z3P(z) = z^3 - 3z^2 + 5z - 3 are

z1+2i,z12i,andz1z - 1 + \sqrt{2}i, \quad z - 1 - \sqrt{2}i, \quad \text{and} \quad z - 1

Example

Factorise: P(z)=z61P(z) = z^6 - 1

Solution: P(z)=z61P(z) = z^6 - 1 is factored as: P(z)=(z3+1)(z31)P(z) = (z^3 + 1)(z^3 - 1)

To factor z3+1z^3 + 1 and z31z^3 - 1, we recognize these as a sum and difference of cubes, respectively.

We have z3+1=(z+1)(z2z+1)z^3 + 1 = (z + 1)\left(z^2 - z + 1\right) =(z+1)((z12)2(32i)2)= (z + 1)\left(\left(z - \frac{1}{2}\right)^2 - \left(\frac{\sqrt{3}}{2}i\right)^2\right) =(z+1)(z12+32i)(z1232i)= (z + 1)\left(z - \frac{1}{2} + \frac{\sqrt{3}}{2}i\right)\left(z - \frac{1}{2} - \frac{\sqrt{3}}{2}i\right)

By a similar method, we have z31=(z1)(z2+z+1)z^3 - 1 = (z - 1)\left(z^2 + z + 1\right) =(z1)((z+12)2(32i)2)= (z - 1)\left(\left(z + \frac{1}{2}\right)^2 - \left(\frac{\sqrt{3}}{2}i\right)^2\right) =(z1)(z+12+32i)(z+1232i)= (z - 1)\left(z + \frac{1}{2} + \frac{\sqrt{3}}{2}i\right)\left(z + \frac{1}{2} - \frac{\sqrt{3}}{2}i\right)

Therefore z61=(z+1)(z1)(z12+32i)(z1232i)(z+12+32i)(z+1232i)z^6 - 1 = (z + 1)(z - 1)\left(z - \frac{1}{2} + \frac{\sqrt{3}}{2}i\right)\left(z - \frac{1}{2} - \frac{\sqrt{3}}{2}i\right)\left(z + \frac{1}{2} + \frac{\sqrt{3}}{2}i\right)\left(z + \frac{1}{2} - \frac{\sqrt{3}}{2}i\right)

For this kind of simple expression that we can find some solutions easily, we can also use a more simplified method. All you need to do is to apply long division to the original expression and the product of known factors. Here we know that z=±1z=\pm1 are two solutions, and (z+1)(z1)=z21(z+1)\cdot(z-1) = z^2 - 1. Thus, we apply long division. \renewcommand\arraystretch{1.2} \begin{array}{r|l} \multicolumn{2}{r}{z^4 + z^2 + 1} \\ \cline{2-2} z^2 - 1 & z^6 - 0z^5 - 0z^4 - 0z^3 + 0z^2 - 0z - 1 \\ \multicolumn{2}{r}{- (z^6 - 0z^4)} \\ \cline{2-2} \multicolumn{2}{r}{0z^5 + z^4} \\ \multicolumn{2}{r}{- (0z^5 + z^4 - z^2)} \\ \cline{2-2} \multicolumn{2}{r}{0z^4 + z^2} \\ \multicolumn{2}{r}{- (0z^4 + z^2 - 1)} \\ \cline{2-2} \multicolumn{2}{r}{1} \\ \end{array}

The expression z4+z2+1z^4 + z^2 + 1 can be factored over the complex numbers. It can be written as a quadratic in terms of z2z^2:

u2+u+1=0,whereu=z2u^2 + u + 1 = 0, \quad \text{where} \quad u = z^2

Using the quadratic formula to solve for uu:

u=1±32=1±i32u = \frac{-1 \pm \sqrt{-3}}{2} = \frac{-1 \pm i\sqrt{3}}{2}

Thus, the roots for z2z^2 are:

z2=1+i32,z2=1i32z^2 = \frac{-1 + i\sqrt{3}}{2}, \quad z^2 = \frac{-1 - i\sqrt{3}}{2}

The factorization of the original polynomial is therefore:

z4+z2+1=(z2+12i32)(z2+12+i32)z^4 + z^2 + 1 = \left(z^2 + \frac{1}{2} - \frac{i\sqrt{3}}{2}\right)\left(z^2 + \frac{1}{2} + \frac{i\sqrt{3}}{2}\right)

This can be further factored to obtain the linear factors in terms of zz:

z4+z2+1=(z12+32i)(z1232i)(z+12+32i)(z+1232i)z^4 + z^2 + 1 = \left(z - \frac{1}{2} + \frac{\sqrt{3}}{2}i\right)\left(z - \frac{1}{2} - \frac{\sqrt{3}}{2}i\right)\left(z + \frac{1}{2} + \frac{\sqrt{3}}{2}i\right)\left(z + \frac{1}{2} - \frac{\sqrt{3}}{2}i\right)

So far, we have solved problems on polynomials of different orders. It seems so far that a nn order polynomial has exactly nn solutions. Is this a generalized law? This is actually a corollary under Fundamental Theorem of Algebra.

Theorem

Every polynomial P(z)=anzn+an1zn1++a1z+a0P(z) = a_nz^n + a_{n-1}z^{n-1} + \ldots + a_1z + a_0 of degree nn, where n1n \geq 1 and the coefficients aia_i are complex numbers, has at least one linear factor in the complex number system.

Given any polynomial P(z)P(z) of degree n1n \geq 1, the theorem tells us that we can factorize P(z)P(z) as P(z)=(zα1)Q(z)P(z) = (z - \alpha_1)Q(z) for some α1C\alpha_1 \in \mathbb{C} and some polynomial Q(z)Q(z) of degree n1n - 1. By applying the fundamental theorem of algebra repeatedly, it can be shown that:

Corollary

A polynomial of degree nn can be factorized into nn linear factors in C\mathbb{C}: i.e.,P(z)=an(zα1)(zα2)(zαn), where α1,α2,,αnCi.e., P(z) = a_n(z - \alpha_1)(z - \alpha_2)\ldots(z - \alpha_n), \text{ where } \alpha_1, \alpha_2, \ldots, \alpha_n \in \mathbb{C}

A polynomial equation can be solved by first rearranging it into the form P(z)=0P(z) = 0, where P(z)P(z) is a polynomial, and then factorizing P(z)P(z) and extracting a solution from each factor. If P(z)=(zα1)(zα2)(zαn)P(z) = (z - \alpha_1)(z - \alpha_2)\ldots(z - \alpha_n), then the solutions of P(z)=0P(z) = 0 are α1,α2,,αn\alpha_1, \alpha_2, \ldots, \alpha_n. The solutions of the equation P(z)=0P(z) = 0 are also referred to as the zeroes or the roots of the polynomial P(z)P(z).

Example

Solve each of the following equations over C\mathbb{C}:

  • P(z)=z2+64=0P(z) = z^2 + 64 = 0

  • P(z)=z3+3z2+7z+5=0P(z) = z^3 + 3z^2 + 7z + 5 = 0

  • P(z)=z3iz24z+4i=0P(z) = z^3 - iz^2 - 4z + 4i = 0

Solution:

(a)

(z+8i)(z8i)=0(z + 8i)(z - 8i) = 0

(b)

=(z+1)(z+1272i)(z+12+72i)= (z + 1)\left(z + \frac{1}{2} - \frac{\sqrt{7}}{2}i\right)\left(z + \frac{1}{2} + \frac{\sqrt{7}}{2}i\right)

(c) (zi)(z2)(z+2)=0(z - i)(z - 2)(z + 2) = 0

Solving Equation with De Moivre’s Theorem

With the help of complex number, we have “conquered” polynomial equations. Now we will focus on solving equations with de Moivre’s theorem.

Equations of the form zn=az^n = a, where aCa \in \mathbb{C}, are often solved by using De Moivre’s theorem.

Write both zz and aa in polar form, as z=rcisθz = r \text{cis} \theta and a=qcisφa = q \text{cis} \varphi.

Then zn=az^n = a becomes (rcisθ)n=qcisφ(r \text{cis} \theta)^n = q \text{cis} \varphi rncis(nθ)=qcisφ(using De Moivre’s theorem)\therefore \quad r^n \text{cis}(n\theta) = q \text{cis} \varphi \quad (\text{using De Moivre's theorem}) Compare modulus and argument: rn=qandcis(nθ)=cisφr^n = q \quad \text{and} \quad \text{cis}(n\theta) = \text{cis} \varphi r=qnr = \sqrt[n]{q} nθ=φ+2kπwherekZn\theta = \varphi + 2k\pi \quad \text{where} \quad k \in \mathbb{Z} θ=1n(φ+2kπ)wherekZ\theta = \frac{1}{n} (\varphi + 2k\pi) \quad \text{where} \quad k \in \mathbb{Z} This will provide all the solutions of the equation.

Example

Solve z3=1z^3 = 1.

Solution Let z=rcisθz = r \text{cis} \theta. Then (rcisθ)3=1cis0(r \text{cis} \theta)^3 = 1 \text{cis} 0 r3cis(3θ)=1cis0\therefore \quad r^3 \text{cis}(3\theta) = 1 \text{cis} 0 r3=1and3θ=0+2kπwherekZ\therefore \quad r^3 = 1 \quad \text{and} \quad 3\theta = 0 + 2k\pi \quad \text{where} \quad k \in \mathbb{Z} r=1andθ=2kπ3wherekZ\therefore \quad r = 1 \quad \text{and} \quad \theta = \frac{2k\pi}{3} \quad \text{where} \quad k \in \mathbb{Z} Hence the solutions are of the form z=cis(2kπ3)z = \text{cis}\left(\frac{2k\pi}{3}\right), where kZk \in \mathbb{Z}.

We start finding solutions.

For k=0k = 0: z=cis0=1z = \text{cis} 0 = 1

For k=1k = 1: z=cis(2π3)z = \text{cis}\left(\frac{2\pi}{3}\right)

For k=2k = 2: z=cis(4π3)=cis(2π3)z = \text{cis}\left(\frac{4\pi}{3}\right) = \text{cis}\left(-\frac{2\pi}{3}\right)

For k=3k = 3: z=cis(2π)=1z = \text{cis}(2\pi) = 1

The solutions begin to repeat.

The three solutions are 11, cis(2π3)\text{cis}\left(\frac{2\pi}{3}\right), and cis(2π3)\text{cis}\left(-\frac{2\pi}{3}\right). We can plot these solutions on the complex plane.

Figure pending: Solutions for z3 = 1

The solutions are shown to lie on the unit circle at intervals of 2π3\frac{2\pi}{3} around the circle. We find that the number of roots, of course, follows that the number of roots equal to the order of expression.

To generalize, we can see that there are exactly mm distinct mthmth roots of unity, denoted by 11/m=ei2kπ/m=cos2kπm+isin2kπm(k=0,1,2,,m1).\boxed{1^{1/m}=e^{i2k\pi/m}=\cos\frac{2k\pi}m+i\sin\frac{2k\pi}m\quad(k=0,1,2, \ldots, m-1).}

Theorem

For nNn \in \mathbb{N} and aCa \in \mathbb{C}, the solutions of the equation zn=az^n = a are called the nth roots of aa.

  • The solutions of zn=az^n = a lie on a circle with center the origin and radius a1/n|a|^{1/n}.

  • There are nn solutions and they are equally spaced around the circle at intervals of 2πn\frac{2\pi}{n}. This observation can be used to find all solutions if one is known.

More generally, consider any natural number n2n \geq 2. Using De Moivre’s theorem, we can show that the nnth roots of unity are 1,,cis(2πn),,cis(4πn),,,,cis(2(n1)πn)1, , \text{cis}\left(\frac{2\pi}{n}\right), , \text{cis}\left(\frac{4\pi}{n}\right), , \ldots, , \text{cis}\left(\frac{2(n-1)\pi}{n}\right) So the nnth roots of unity form a geometric sequence with common ratio ω=cis(2πn)\omega = \text{cis}\left(\frac{2\pi}{n}\right). We can list the terms of this sequence as 1,ω,ω2,,ωn11, \omega, \omega^2, \ldots, \omega^{n-1}. The sum of the terms is 1+ω+ω2++ωn1=ωn1ω11 + \omega + \omega^2 + \ldots + \omega^{n-1} = \frac{\omega^n - 1}{\omega - 1} since ωn=1\omega^n = 1.

Proof

The nnth roots of unity are solutions to the equation zn=1z^n = 1. By expressing 1 in polar form as 1cis01 \text{cis} 0, and applying De Moivre’s theorem, (rcisθ)n=rncis(nθ)(r \text{cis} \theta)^n = r^n \text{cis} (n\theta), we find that for zn=1z^n = 1, we must have z=cis(2kπn)z = \text{cis} \left(\frac{2k\pi}{n}\right), where kk is an integer from 00 to n1n-1.

These solutions can be written as a sequence where each term after the first is obtained by multiplying the previous term by cis(2πn)\text{cis} \left(\frac{2\pi}{n}\right), making it a geometric sequence with a common ratio of ω=cis(2πn)\omega = \text{cis} \left(\frac{2\pi}{n}\right).

The sum of a geometric sequence with nn terms and a common ratio r1r \neq 1 is given by Sn=a11rn1rS_n = a_1 \frac{1-r^n}{1-r}. For our sequence, a1=1a_1 = 1 and r=ωr = \omega, so the sum is Sn=1ωn1ωS_n = \frac{1-\omega^n}{1-\omega}. Since ωn=cis(2π)=1\omega^n = \text{cis} (2\pi) = 1, the numerator becomes 11=01-1 = 0, hence the sum SnS_n is zero.

To obtain the mmth roots of an arbitrary (nonzero) complex number z=reiθz = re^{i\theta}, we generalize the idea and, reasoning similarly, conclude that the mm distinct mmth roots of zz are given by z1/m=zmei(θ+2kπ)/m(k=0,1,2,,m1)\boxed{z^{1/m} = \sqrt[m]{|z|}e^{i(\theta+2k\pi)/m} \quad (k = 0, 1, 2, \ldots, m - 1)}

Equivalently, we can form these roots by taking any single one such as given in (3) and multiplying by the mmth roots of unity.

Example

Find all the cube roots of 2+i2\sqrt{2} + i\sqrt{2}.

Solution: The polar form for 2+i2\sqrt{2} + i\sqrt{2} is 2+i2=2eiπ/4.\sqrt{2} + i\sqrt{2} = 2e^{i\pi/4}. Putting z=2|z| = 2, θ=π/4\theta = \pi/4, and m=3m = 3 into Eq. mthroot, we obtain (2+i2)1/3=23ei(π/12+2kπ/3)(k=0,1,2).(\sqrt{2} + i\sqrt{2})^{1/3} = \sqrt[3]{2}e^{i(\pi/12+2k\pi/3)} \quad (k = 0, 1, 2). Therefore, the three cube roots of 2+i2\sqrt{2} + i\sqrt{2} are 23(cosπ/12+isinπ/12)\sqrt[3]{2}(cos \pi/12 + i \sin \pi/12), 23(cos3π/4+isin3π/4)\sqrt[3]{2}(cos 3\pi/4 + i \sin 3\pi/4), and 23(cos17π/12+isin17π/12)\sqrt[3]{2}(cos 17\pi/12 + i \sin 17\pi/12).

Exercises

Exercise

Let P(z)=2z3+9z2+14z+5P(z) = 2z^3 + 9z^2 + 14z + 5.

  • Use the factor theorem to show that z+2iz + 2 - i is a linear factor of P(z)P(z).

  • Write down another complex linear factor of P(z)P(z).

  • Hence find all the linear factors of P(z)P(z) over C\mathbb{C}.

Solution

a. By the factor theorem, if z+2iz + 2 - i is a factor of P(z)P(z), then P(2+i)=0P(-2 + i) = 0. Calculating this we get: P(2+i)=2(2+i)3+9(2+i)2+14(2+i)+5=2(812i+6i2)+9(48i+2i2)+14(2+i)+5=2(812i6)+9(48i2)+(28+14i)+5=2824i12+3672i1828+14i+5=0.\begin{aligned} P(-2 + i) &= 2(-2 + i)^3 + 9(-2 + i)^2 + 14(-2 + i) + 5 \\ &= 2(-8 - 12i + 6i^2) + 9(4 - 8i + 2i^2) + 14(-2 + i) + 5 \\ &= 2(-8 - 12i - 6) + 9(4 - 8i - 2) + (-28 + 14i) + 5 \\ &= -28 - 24i - 12 + 36 - 72i - 18 - 28 + 14i + 5 \\ &= 0. \end{aligned} Thus, z+2iz + 2 - i is a linear factor of P(z)P(z).

b. By the conjugate root theorem, if z+2iz + 2 - i is a root, then its conjugate z+2+iz + 2 + i is also a root.

c. Having found two complex roots, we can divide P(z)P(z) by the product of the corresponding factors to find the remaining factor. Let’s perform the division (this is a mock example; the actual division should be computed):

P(z)=(z+2i)(z+2+i)(zα)\begin{aligned} P(z) &= (z + 2 - i)(z + 2 + i)(z - \alpha) \\ \end{aligned}

After performing the division, we find that the remaining factor is z12z - \frac{1}{2}. Thus, the linear factors of P(z)P(z) are:

P(z)=(z+2i)(z+2+i)(z12)P(z) = (z + 2 - i)(z + 2 + i)\left(z - \frac{1}{2}\right)

Exercise

For a cubic polynomial P(x)P(x) with real coefficients, it is given that P(2+i)=0P(2 + i) = 0, P(1)=0P(1) = 0 and P(0)=10P(0) = 10. Express P(x)P(x) in the form P(x)=ax3+bx2+cx+dP(x) = ax^3 + bx^2 + cx + d and solve the equation P(x)=0P(x) = 0.

solution:

Given that P(x)P(x) is a cubic polynomial with real coefficients and P(2+i)=0P(2 + i) = 0, we know that its conjugate P(2i)=0P(2 - i) = 0 as well, due to the complex conjugate root theorem. Moreover, since P(1)=0P(1) = 0, we can write P(x)P(x) as:

P(x)=a(x(2+i))(x(2i))(x1)P(x) = a(x - (2 + i))(x - (2 - i))(x - 1)

Expanding this and simplifying, we get:

P(x)=a((x2)2+1)(x1)P(x) = a((x - 2)^2 + 1)(x - 1)

Since P(0)=10P(0) = 10, we can find aa by substituting x=0x = 0:

10=a((02)2+1)(01)10 = a((0 - 2)^2 + 1)(0 - 1) 10=a(4+1)(1)10 = a(4 + 1)(-1) 10=5a10 = -5a a=2a = -2

Thus, the polynomial is:

P(x)=2((x2)2+1)(x1)P(x) = -2((x - 2)^2 + 1)(x - 1) P(x)=2(x24x+4+1)(x1)P(x) = -2(x^2 - 4x + 4 + 1)(x - 1) P(x)=2(x24x+5)(x1)P(x) = -2(x^2 - 4x + 5)(x - 1) P(x)=2(x3x24x2+4x+5x5)P(x) = -2(x^3 - x^2 - 4x^2 + 4x + 5x - 5) P(x)=2x3+10x218x+10P(x) = -2x^3 + 10x^2 - 18x + 10

To solve for P(x)=0P(x) = 0, we now have the equation:

2x3+10x218x+10=0-2x^3 + 10x^2 - 18x + 10 = 0

Since P(2+i)=0P(2+i) = 0, by conjugate root theorem, p(2i)=0p(2-i) = 0, and we also have p(1)=0p(1) = 0. The order of this expression is 3, by the fundamental algebra theorem, we have found all solutions.

Exercise

If z=1+iz = 1 + i is a zero of the polynomial z3+az2+bz+106iz^3 + az^2 + bz + 10 - 6i, find the constants aa and bb, given that they are real.

solution:

Since z=1+iz = 1 + i is a zero, by the Complex Conjugate Root Theorem, z=1iz = 1 - i is also a zero. Substituting z=1+iz = 1 + i into the polynomial gives:

(1+i)3+a(1+i)2+b(1+i)+106i=0(1+3i3i)+a(1+2i1)+b+106i=0(2+2i)+a(2i)+b+106i=0(2+(2a6)i)+b+10=0\begin{aligned} (1 + i)^3 + a(1 + i)^2 + b(1 + i) + 10 - 6i &= 0 \\ (1 + 3i - 3 - i) + a(1 + 2i - 1) + b + 10 - 6i &= 0 \\ (-2 + 2i) + a(2i) + b + 10 - 6i &= 0 \\ (-2 + (2a - 6)i) + b + 10 &= 0 \end{aligned}

For the polynomial to be zero, both the real and imaginary parts must be zero. Therefore, we have two equations:

2+b+10=0(Real part)2a6=0(Imaginary part)\begin{aligned} -2 + b + 10 &= 0 \quad \text{(Real part)} \\ 2a - 6 &= 0 \quad \text{(Imaginary part)} \end{aligned}

Solving these equations gives us aa and bb:

b=8a=3\begin{aligned} b &= -8 \\ a &= 3 \end{aligned}

Thus, the constants are a=3a = 3 and b=8b = -8.

Exercise

Let nn be a positive integer. Prove that arg(zn)=nArg(z)+2kπ,k=0,±1,±2,,\text{arg}(z^n) = n \text{Arg}(z) + 2k\pi, \quad k = 0, \pm1, \pm2, \ldots, for z0z \neq 0

Proof

Let’s take zCz \in \mathbb{C}. We can write zz in its polar form as z=z(cosθ+isinθ)z = |z|(\cos \theta + i \sin \theta)

By definition of argzz and Argzz we have: arg(z)=θ+2kπ,kZ,θ[π,π]\text{arg}(z) = \theta + 2k\pi, k \in \mathbb{Z}, \theta \in [-\pi, \pi] and Arg(z)=arg(z)=θ,θ[π,π]\text{Arg}(z) = \text{arg}_{-}(z) = \theta, \theta \in [-\pi, \pi].

Now if we take the polar form of znz^n, where nN,n0n \in \mathbb{N}, n \neq 0, we have zn=zn(cos(nθ)+isin(nθ))z^n = |z|^n(\cos(n\theta) + i \sin(n\theta))

arg(zn)=nθ+2kπ\Rightarrow \text{arg}(z^n) = n\theta + 2k\pi =nArg(z)+2kπ,kZ= n\text{Arg}(z) + 2k\pi, \quad k \in \mathbb{Z}

This concludes the proof.

Exercise

Find all the values of the following.

  1. (16)1/4(-16)^{1/4}

  2. 11/51^{1/5}

  3. i1/4i^{1/4}

  4. (13i)1/3(1 - \sqrt{3}i)^{1/3}

  5. (i1)1/2(i - 1)^{1/2}

  6. (2i1+i)1/6\left(\frac{2i}{1+i}\right)^{1/6}

Exercise

Find all four roots of the equation z4+1=0z^4 + 1 = 0 and use them to deduce the factorization z4+1=(z22z+1)(z2+2z+1)z^4 + 1 = (z^2 - \sqrt{2}z + 1)(z^2 + \sqrt{2}z + 1).

Solution:

First, we solve the equation: z4+1=0z4=1z=14\begin{aligned} z^4 + 1 &= 0 \\ z^4 &= -1 \\ z &= \sqrt[4]{-1} \end{aligned}

Since 1=cosπ+isinπ-1 = \cos \pi + i \sin \pi, we can find the roots using De Moivre’s theorem: z=cosπ+isinπ4=14(cos(π+2kπ)/4+isin(π+2kπ)/4),k=0,1,2,3z = \sqrt[4]{\cos \pi + i \sin \pi} = \sqrt[4]{1}(\cos (\pi + 2k\pi)/4 + i \sin (\pi + 2k\pi)/4), \quad k = 0,1,2,3

Thus, the roots are: z0=cosπ4+isinπ4=12+i12z1=cos3π4+isin3π4=12+i12z2=cos5π4+isin5π4=12i12z3=cos7π4+isin7π4=12i12\begin{aligned} z_0 &= \cos \frac{\pi}{4} + i \sin \frac{\pi}{4} = \frac{1}{\sqrt{2}} + i \frac{1}{\sqrt{2}} \\ z_1 &= \cos \frac{3\pi}{4} + i \sin \frac{3\pi}{4} = -\frac{1}{\sqrt{2}} + i \frac{1}{\sqrt{2}} \\ z_2 &= \cos \frac{5\pi}{4} + i \sin \frac{5\pi}{4} = -\frac{1}{\sqrt{2}} - i \frac{1}{\sqrt{2}} \\ z_3 &= \cos \frac{7\pi}{4} + i \sin \frac{7\pi}{4} = \frac{1}{\sqrt{2}} - i \frac{1}{\sqrt{2}} \end{aligned}

To show the factorization, we pair the roots: z4+1=(zz0)(zz1)(zz2)(zz3)=(z12i12)(z+12i12)×(z+12+i12)(z12+i12)=(z22z+1)(z2+2z+1)\begin{aligned} z^4 + 1 &= (z - z_0)(z - z_1)(z - z_2)(z - z_3) \\ &= \left(z - \frac{1}{\sqrt{2}} - i \frac{1}{\sqrt{2}}\right)\left(z + \frac{1}{\sqrt{2}} - i \frac{1}{\sqrt{2}}\right) \\ &\quad \times \left(z + \frac{1}{\sqrt{2}} + i \frac{1}{\sqrt{2}}\right)\left(z - \frac{1}{\sqrt{2}} + i \frac{1}{\sqrt{2}}\right) \\ &= \left(z^2 - \sqrt{2}z + 1\right)\left(z^2 + \sqrt{2}z + 1\right) \end{aligned}

And we have shown the factorization.

Exercise

Let α\alpha and β\beta be the mth and nth roots of unity, respectively. We want to show that the product αβ\alpha\beta is a kth root of unity for some integer kk.

Solution:

Let’s consider α\alpha as the m-th root of unity and β\beta the n-th root of unity. Then we have αm=1\alpha^m = 1 βn=1\beta^n = 1

Let’s show that αβ\alpha\beta is a root of unity. If αβ\alpha\beta is a root of unity then there exists some lNl \in \mathbb{N} such that (αβ)l=1(\alpha\beta)^l = 1.

For l=mnl = mn (since mm and nn are relatively prime), we have (αβ)l=(αβ)mn(\alpha\beta)^l = (\alpha\beta)^{mn} =αmnβmn= \alpha^{mn}\beta^{mn} =(αm)n(βn)m= (\alpha^m)^n(\beta^n)^m =1n1m= 1^n1^m =1= 1

Thus, αβ\alpha\beta is indeed a root of unity, specifically an mnmn-th root of unity.

Exercise

Let mm and nn be positive integers that have no common factor. Prove that the set of numbers (z1/n)m(z^{1/n})^m is the same as the set of numbers (zm)1/n(z^m)^{1/n}. We denote this common set of numbers by zm/nz^{m/n}. Show that zm/n=zmn[cos(mn(θ+2kπ))+isin(mn(θ+2kπ))]z^{m/n} = \sqrt[n]{|z|^m} \left[ \cos \left( \frac{m}{n} (\theta + 2k\pi) \right) + i \sin \left( \frac{m}{n} (\theta + 2k\pi) \right) \right] for k=0,1,,n1k = 0, 1, \ldots, n - 1.

Proof

Let’s take m,nNm, n \in \mathbb{N} so that they are relatively prime and zCz \in \mathbb{C} so that Arg(z)=θ\text{Arg}(z) = \theta. We have: (z1/n)m=(zn)m=(zeiθn)m=(zneiθ/n)m=zm/neimθ/n\begin{aligned} (z^{1/n})^m &= (\sqrt[n]{z})^m = \left( \sqrt[n]{|z|e^{i\theta}} \right)^m \\ &= \left( \sqrt[n]{|z|}e^{i\theta/n} \right)^m \\ &= |z|^{m/n} e^{im\theta/n} \end{aligned}

Now as mm and nn are relatively prime we have 2kπnmnk=0,,n1\frac{2k\pi}{n} \frac{m}{n} \quad k = 0, \ldots, n - 1 from where zm/neim(θ+2kπ)/n=zm/neimθ/n+im2kπ/n=(zm)1/n(eimθ)1/n=((zmeimθ)1/n=(zm)1/n\begin{aligned} |z|^{m/n} e^{im(\theta + 2k\pi)/n} &= |z|^{m/n} e^{im\theta/n + im2k\pi/n} \\ &= (|z|^m)^{1/n} (e^{im\theta})^{1/n} \\ &= ((|z|^m e^{im\theta})^{1/n} \\ &= (z^m)^{1/n} \end{aligned}

To show the expression we take the previous result and expand it: zm/n=zm/neimθ/n=zmn[cos(mθn+2kmπn)+isin(mθn+2kmπn)]=zmn[cos(mn(θ+2kπ))+isin(mn(θ+2kπ))]\begin{aligned} z^{m/n} &= |z|^{m/n} e^{im\theta/n} \\ &= \sqrt[n]{|z|^m} \left[ \cos \left( \frac{m\theta}{n} + \frac{2km\pi}{n} \right) + i \sin \left( \frac{m\theta}{n} + \frac{2km\pi}{n} \right) \right] \\ &= \sqrt[n]{|z|^m} \left[ \cos \left( \frac{m}{n} (\theta + 2k\pi) \right) + i \sin \left( \frac{m}{n} (\theta + 2k\pi) \right) \right] \end{aligned}

Exercise

Use the conclusion in last problem to evaluate (ii)32(i-i)^\frac{3}{2}.

Solution: It has been shown that zm/n=zmn[cos(mn(θ+2kπ))+isin(mn(θ+2kπ))]\boxed{ z^{m/n} = \sqrt[n]{|z|^m}\left[\cos\left(\frac{m}{n}(\theta + 2k\pi)\right) + i\sin\left(\frac{m}{n}(\theta + 2k\pi)\right)\right]} We have: z=(1i)3/2m=3,n=2z = (1 - i)^{3/2} \Rightarrow m = 3, n = 2 z=12+(1)2=2|z| = \sqrt{1^2 + (-1)^2} = \sqrt{2} θ=Argz=2πcot1(11)=7π4\theta = \text{Arg} z = 2\pi - \cot^{-1}\left(\frac{-1}{1}\right) = \frac{7\pi}{4}

When we put everything in the formula we get z=232[cos(32(7π4+2kπ))+isin(32(7π4+2kπ))],k=0,1z = \sqrt[2]{\sqrt{2}^3}\left[\cos\left(\frac{3}{2}\left(\frac{7\pi}{4} + 2k\pi\right)\right) + i\sin\left(\frac{3}{2}\left(\frac{7\pi}{4} + 2k\pi\right)\right)\right], k = 0, 1 z=23/22[cos(21π8+3kπ2)+isin(21π8+3kπ2)],k=0,1z = \sqrt[2]{2^{3/2}}\left[\cos\left(\frac{21\pi}{8} + \frac{3k\pi}{2}\right) + i\sin\left(\frac{21\pi}{8} + \frac{3k\pi}{2}\right)\right], k = 0, 1 z0=23/4[cos(21π8)+isin(21π8)]z_0 = 2^{3/4}\left[\cos\left(\frac{21\pi}{8}\right) + i\sin\left(\frac{21\pi}{8}\right)\right] z1=23/4[cos(21π8+3π2)+isin(21π8+3π2)]z_1 = 2^{3/4}\left[\cos\left(\frac{21\pi}{8} + \frac{3\pi}{2}\right) + i\sin\left(\frac{21\pi}{8} + \frac{3\pi}{2}\right)\right]