Complex Numbers: MATH1014 Mathematics 1A
Complex Numbers: MATH1014 Mathematics 1A
Complex Numbers
Table of Contents
Page 1 of 30
Thought for the week:
Many mathematicians through the ages contributed to the
“ideas” behind complex numbers. But it’s widely held that
Cardano first discussed them in some detail in 1545.
https://en.wikipedia.org/wiki/Gerolamo_Cardano
Although it seems that, at first glance, square roots of negative numbers “do not
seem real”, they do have many applications in various fields such as physics,
chemistry, biology, economics, electrical engineering and statistics.
https://en.wikipedia.org/wiki/Complex_number
LEARNING OUTCOMES
At the end of this lecture students should be able to:
Page 2 of 30
2.1 Introduction to Complex Numbers
Complex numbers came into existence when it was found
that the solution to the simple quadratic equation
𝑧2 + 1 = 0
had no solution in the real number system. Solving this
equation leads to
𝑧 2 = −1
𝑧 = ±√−1 .
Definition
𝑖 = √−1.
Note
𝑖 2 = −1 .
Page 3 of 30
The general quadratic equation
𝑎𝑧 2 + 𝑏𝑧 + 𝑐 = 0,
(𝑎, 𝑏 and 𝑐 are real numbers, and 𝑎 ≠ 0), has solutions given by
−𝑏 ± √𝑏2 − 4𝑎𝑐
𝑧= .
2𝑎
If 𝑏2 − 4𝑎𝑐 > 0, the solutions are real; but if 𝑏2 − 4𝑎𝑐 < 0, we
need the complex number system to find the values of 𝑧.
Example
Solve 𝑧 2 + 2𝑧 + 3 = 0.
For this quadratic equation,
𝑎 = 1, 𝑏 = 2, 𝑐 = 3.
Using the quadratic formula,
−𝑏 ± √𝑏2 − 4𝑎𝑐
𝑧=
2𝑎
−2 ± √22 − 4(1)(3)
=
2(1)
−2±√−8
= 2
−2 ± √8 × √−1
=
2
Page 4 of 30
Hence
−2 ± √4 × √2 × 𝑖
𝑧=
2
−2 ± 2 × √2 × 𝑖
=
2
2(−1 ± 𝑖 √2)
=
2
= −1 ± 𝑖√2 .
Definition
A complex number can be written in the form 𝑥 + 𝑖𝑦, where 𝑥
and 𝑦 are real numbers. This is usually denoted by 𝑧. So
𝒛 = 𝒙 + 𝒊𝒚 .
The real part of 𝒛 = 𝒙 + 𝒊𝒚 is denoted by 𝐑𝐞(𝒛) = 𝒙.
The imaginary part of 𝒛 = 𝒙 + 𝒊𝒚 is denoted by 𝐈𝐦(𝒛) = 𝒚.
Page 5 of 30
So
𝒛 = 𝐑𝐞(𝒛) + 𝒊 𝐈𝐦(𝒛).
Example
−𝟏+𝒊√𝟐
Consider the complex number 𝒛 = . Rewriting this,
𝟑
𝟏 √𝟐
𝒛 = − + 𝒊 ( ).
𝟑 𝟑
1
So the real part of 𝑧 is Re(𝑧) = − 3 .
√2
The imaginary part of 𝑧 is Im(𝑧) = .
3
Miscellaneous Examples
√−25 = √−1√25
=𝑖×5
= 5𝑖 .
(2) Simplify 𝑖 3 .
𝑖3 = 𝑖2 × 𝑖
= (−1) × 𝑖
= −𝑖 .
Page 6 of 30
(3) Simplify 𝑖 4 .
𝑖4 = 𝑖2 × 𝑖2
= (−1) × (−1)
=1.
(4) Solve 2𝑧 2 − 3𝑧 + 5 = 0.
−𝑏 ± √𝑏2 − 4𝑎𝑐
𝑧=
2𝑎
−(−3)±√(−3)2 −4(2)(5)
= 2(2)
3 ± √9 − 40
=
4
3 ± √−31
=
4
3 ± √−1√31
=
4
3 ± 𝑖√31
=
4
3 √31
= ±𝑖 .
4 4
Page 7 of 30
(5)* Comment on:
−1 = 𝑖 2
=𝑖×𝑖
= √−1 × √−1
= √(−1) × (−1)
= √1
=1. ☺
𝑧1 + 𝑧2 = (5 − 3𝑖 ) + (−2 − 4𝑖 )
= 5 − 3𝑖 − 2 − 4𝑖
= 3 − 7𝑖 .
Subtraction
For example, let 𝑧1 = 2 − 6𝑖, 𝑧2 = 5 − 8𝑖 . Then
𝑧1 − 𝑧2 = (2 − 6𝑖 ) − (5 − 8𝑖 )
= 2 − 6𝑖 − 5 + 8𝑖
= −3 + 2𝑖 .
Page 8 of 30
Multiplication
For example, let 𝑧1 = 5 − 3𝑖, 𝑧2 = −2 − 4𝑖 .
𝑧1 𝑧2 = (5 − 3𝑖 )(−2 − 4𝑖 )
= 5(−2 − 4𝑖 ) − 3𝑖(−2 − 4𝑖 )
= −10 − 20𝑖 + 6𝑖 + 12𝑖 2
= −10 − 14𝑖 + 12 × (−1)
= −10 − 14𝑖 − 12
= −22 − 14𝑖 .
Conjugate
The conjugate of 𝑧 is found by changing the sign of the
imaginary part of 𝑧. The conjugate of 𝑧 is denoted by 𝑧 .
Examples
𝑧1 = 5 − 3𝑖 ⇒ 𝑧1 = 5 + 3𝑖
𝑧2 = 2 + 5𝑖 ⇒ 𝑧2 = 2 − 5𝑖
𝑧3 = −6 − 4𝑖 ⇒ 𝑧3 = −6 + 4𝑖
𝑧4 = −3 + 𝑖 ⇒ 𝑧4 = −3 − 𝑖
Page 9 of 30
Theorem*
The product of a complex number and its conjugate is a real
number.
Proof
Let the complex number be
𝑧 = 𝑎 + 𝑖𝑏,
where 𝑎 and 𝑏 are real numbers. So the required product is
𝑧 𝑧 = (𝑎 + 𝑖𝑏)(𝑎 − 𝑖𝑏)
= 𝑎(𝑎 − 𝑖𝑏) + 𝑖𝑏(𝑎 − 𝑖𝑏)
= 𝑎2 − 𝑖𝑎𝑏 + 𝑖𝑏𝑎 − 𝑖 2 𝑏2
= 𝑎2 − (−1)𝑏2
= 𝑎2 + 𝑏2 ,
which is a real number. ☺
Division
For example, let 𝑧1 = 5 − 3𝑖, 𝑧2 = −3 − 2𝑖 .
Page 10 of 30
Then
𝑧1 5 − 3𝑖
=
𝑧2 −3 − 2𝑖
5 − 3𝑖 −3 + 2𝑖
= ×
−3 − 2𝑖 −3 + 2𝑖
(5 − 3𝑖 )(−3 + 2𝑖 )
=
(−3 − 2𝑖 )(−3 + 2𝑖 )
−9 + 19𝑖
=
13
9 19
=− + 𝑖.
13 13
Example
Find real numbers 𝑥 and 𝑦 such that
(3 − 𝑖 )𝑥 + (4 + 2𝑖 )𝑦 + 10 = 0 .
Expanding:
3𝑥 − 𝑖𝑥 + 4𝑦 + 2𝑖𝑦 + 10 = 0
3𝑥 + 4𝑦 + 10 + 2𝑖𝑦 − 𝑖𝑥 = 0
(3𝑥 + 4𝑦 + 10) + 𝑖(2𝑦 − 𝑥 ) = 0 + 0𝑖
Page 11 of 30
Equating real parts:
3𝑥 + 4𝑦 + 10 = 0 _______(1)
Equating imaginary parts:
2𝑦 − 𝑥 = 0 _______(2)
Solving (1) and (2) gives:
𝑥 = −2, 𝑦 = −1 .
Question*
So what would you do in the example above if you were told
that 𝑥 and 𝑦 were complex numbers whose real parts were
equal? How many solutions would there be? ☺
Example
Graph 𝑧1 = 2 + 3𝑖, 𝑧2 = 1 − 2𝑖 and 𝑧3 = −2 + 𝑖 on an Argand
diagram.
Page 12 of 30
See diagram below.
The length OP, the distance of P from the origin, is called the
modulus of 𝑧, and is denoted by |𝑧|. Other notations often used
for the modulus of 𝑧 are: |𝑧| = |𝑥 + 𝑖𝑦| = mod 𝑧 = 𝑟.
Page 13 of 30
Using Pythagoras’ Theorem:
|𝑧| = |𝑥 + 𝑖𝑦| = √𝑥 2 + 𝑦 2 .
Example
Evaluate (i) |3 + 2𝑖 | (ii) |5 − 3𝑖 |
Here
(i) |3 + 2𝑖 | = √32 + 22
= √9 + 4
= √13
Page 14 of 30
See diagram below.
Page 15 of 30
Hence
𝑧 = 𝑥 + 𝑖𝑦
= 𝑟 cos 𝜃 + 𝑖𝑟 sin 𝜃
= 𝑟(cos 𝜃 + 𝑖 sin 𝜃 ).
Example 1
3𝜋
Express the polar form 𝑧 = 2 cis in Cartesian form.
4
3𝜋
𝑧 = 2 cis
4
3𝜋 3𝜋
= 2 (cos + 𝑖 sin )
4 4
1 1
= 2 (− +𝑖 )
√2 √2
= −√2 + √2 𝑖 .
On the other hand, going from Cartesian form to polar form can
be quite tricky; trickier than the above, in any case!
Page 16 of 30
Example 2
Express the complex number 𝑧 = 3 + 4𝑖 in polar form (it is
currently given in Cartesian/rectangular form).
Here
𝑥 = 3, 𝑦 = 4.
𝑟 = √32 + 42 = 5.
4
𝜃 = tan−1 3 ≈ 0.9273.
𝑧 = 𝑟(cos 𝜃 + 𝑖 sin 𝜃 )
≈ 5(cos 0.9273 + 𝑖 sin 0.9273).
Example 3
Here
𝑥 = −1, 𝑦 = −√3.
2
𝑟 = √(−1)2 + (−√3) = 2.
−1
−√3
θ = tan ( )
−1
𝜋
= tan−1 √3 = .
3
Page 17 of 30
Hence
𝜋 4𝜋
𝜃=𝜋+3 = .
3
𝑧 = 𝑟(cos 𝜃 + 𝑖 sin 𝜃 )
4𝜋 4𝜋
≈ 2 (cos + 𝑖 sin ).
3 3
Example 4
Here
𝑥 = −2√2, 𝑦 = 2√2.
2 2
𝑟 = √(−2√2) + (2√2)
= 4.
2√2
"θ" = tan−1 ( )
−2√2
𝜋
= tan−1 (−1) = − 4 .
Hence
𝜋 3𝜋
θ=𝜋−4 = .
4
𝑧 = 𝑟(cos 𝜃 + 𝑖 sin 𝜃 )
3𝜋 3𝜋
≈ 4 (cos + 𝑖 sin ).
4 4
Page 18 of 30
Example 5
𝑥 = √2, 𝑦 = −√2.
2 2
𝑟 = √(√2) + (−√2) = 2.
−1
−√2
"θ" = tan ( )
√ 2
𝜋
= tan−1 (−1) = − 4 .
Hence
𝜋 7𝜋
θ = 2𝜋 − 4 = .
4
𝑧 = 𝑟(cos θ + 𝑖 sin θ)
7𝜋 7𝜋
≈ 2 (cos 4
+ 𝑖 sin 4
).
Page 19 of 30
The third form above arises from Euler’s formula, which was
established some time during the 1740’s.
See http://eulerarchive.maa.org/hedi/HEDI-2007-08.pdf
Euler’s Formula
The result
𝑒 𝑖𝜃 = cos 𝜃 + 𝑖 sin 𝜃
Example 1
Evaluate 𝒆𝒊𝝅 .
𝑒 𝑖𝜃 = cos 𝜃 + 𝑖 sin 𝜃
𝑒 𝑖𝜋 = cos 𝜋 + 𝑖 sin 𝜋
= −1 + 𝑖. 0
= −1 .
Consequently
𝑒 𝑖𝜋 + 1 = 0 .
Example 2
Evaluate 𝒆𝟑+𝒊𝝅 .
𝑒 3+𝑖𝜋 = 𝑒 3 𝑒 𝑖𝜋
= 𝑒 3 (cos 𝜋 + 𝑖 sin 𝜋)
= 𝑒 3 (−1 + 𝑖 . 0)
= −𝑒 3 .
Page 20 of 30
De Moivre’s Theorem
Example
Page 21 of 30
Equate real parts:
9
Now imagine expanding something like (1 − 𝑖√3) .
9
(1 − 𝑖√3) = (1 − 𝑖√3) × (1 − 𝑖√3) × … × (1 − 𝑖√3).
Example 1
If 𝑧 = 1 − 𝑖 √3 , find 𝑧 9 .
2
𝑟 = √(1)2 + (−√3) = 2.
−√3 𝜋
"θ" = tan−1 ( ) = tan−1 (−√3) = − .
1 3
Page 22 of 30
Hence
𝜋 5𝜋
θ = 2𝜋 − 3 = .
3
5𝜋 5𝜋
𝑧 = 1 − 𝑖 √3 = 2 (cos + 𝑖 sin ).
3 3
5𝜋 5𝜋 9
9
𝑧 = [2 (cos + 𝑖 sin )]
3 3
9 5𝜋 5𝜋 9
= 2 (cos + 𝑖 sin )
3 3
5𝜋 5𝜋
= 29 [cos (9 × ) + 𝑖 sin (9 × )]
3 3
= 512[cos(15𝜋) + 𝑖 sin(15𝜋)]
= 512[−1 + 0𝑖 ]
= −512.
So
9
(1 − 𝑖√3) = −512.
Example 2
Solve 𝑧 3 = 1.
This is the same as asking “what are the cube roots of 1?”
Write 1 in polar form: 𝑟 = 1, θ = 0. So
Page 23 of 30
To solve 𝑧 3 = 1, we need to solve:
𝑧 3 = 1(cos 0 + 𝑖 sin 0).
First answer:
𝑧 3 = 1(cos 0 + 𝑖 sin 0)
𝑧 = [1(cos 0 + 𝑖 sin 0)]1/3
= 11/3 [cos 0 + 𝑖 sin 0]1/3
1 1
= 1 [cos (3 × 0) + 𝑖 sin (3 × 0)]
= cos 0 + 𝑖 sin 0
= 1 + 0𝑖 = 1.
Second answer:
𝑧 3 = 1(cos 2𝜋 + 𝑖 sin 2𝜋)
𝑧 = [1(cos 2𝜋 + 𝑖 sin 2𝜋)]1/3
= 11/3 [cos 2𝜋 + 𝑖 sin 2𝜋]1/3
1 1
= 1 [cos ( × 2𝜋) + 𝑖 sin ( × 2𝜋)]
3 3
2𝜋 2𝜋
= cos + 𝑖 sin
3 3
1 √3
= −2 + 𝑖 .
2
Page 24 of 30
Let’s add another 2𝜋 to the angle to obtain yet another way of
expressing the number 1.
Third answer:
𝑧 3 = 1(cos 4𝜋 + 𝑖 sin 4𝜋)
𝑧 = [1(cos 4𝜋 + 𝑖 sin 4𝜋)]1/3
The cube roots of 1 are equally spaced around the unit circle
centred at the origin.
Page 25 of 30
Further Polar Formulae
If 𝑧1 = 𝑟1 (cos 𝜃1 + 𝑖 sin 𝜃1 ) and 𝑧2 = 𝑟2 (cos 𝜃2 + 𝑖 sin 𝜃2 ), then
In polar form:
𝜋 𝜋 𝜋 𝜋
𝑧1 = 4 (cos + 𝑖 sin ), 𝑧2 = 2 (cos + 𝑖 sin ).
4 4 3 3
So
𝜋 𝜋 𝜋 𝜋
( )
𝑧1 𝑧2 = 4 × 2 [cos ( + ) + 𝑖 sin ( + )]
4 3 4 3
7𝜋 7𝜋
= 8 [cos 12 + 𝑖 sin 12 ].
𝑧1 4 𝜋 𝜋 𝜋 𝜋
= ( ) [cos ( − ) + 𝑖 sin ( − )]
𝑧2 2 4 3 4 3
−𝜋 −𝜋
= 2 [cos + 𝑖 sin ]
12 12
23𝜋 23𝜋
= 2 [cos + 𝑖 sin ].
12 12
Page 26 of 30
2.7 Consequences of Euler’s Formula
In (1), let 𝜃 = 𝑥:
Using Formulae (2) and (3), how would you show that
sinh(𝑖𝑥 ) = 𝑖 sin 𝑥 ?
Page 27 of 30
Can you simplify
tanh(𝑖𝑥 ) , sech(𝑖𝑥 ) , coth(𝑖𝑥 ) , csch(𝑖𝑥 ) ?
Next Week
This is pushed a bit further the week after, when we look at the
precise definition of a limit: one of the key concepts in this unit.
Page 28 of 30
The previous diagram is the Weierstrass function: continuous
for all real x, but never differentiable!
https://en.wikipedia.org/wiki/Weierstrass_function
Let
𝑓(𝜃) = cos 𝜃 + 𝑖 sin 𝜃 . (1)
So
𝑓 ′ (𝜃) = − sin 𝜃 + 𝑖 cos 𝜃
= 𝑖(cos 𝜃 + 𝑖 sin 𝜃 ). (2)
(2)/(1):
𝑓′(𝜃) 𝑖(cos 𝜃 + 𝑖 sin 𝜃 )
= =𝑖. (3)
𝑓(𝜃) cos 𝜃 + 𝑖 sin 𝜃
𝑓 ′ (𝜃)
∫ 𝑑𝜃 = ∫ 𝑖 𝑑𝜃
𝑓(𝜃)
ln 𝑓(𝜃) = 𝑖𝜃 + 𝑘 . (4)
Now
𝑓(0) = cos 0 + 𝑖 sin 0
𝑓(0) = 1. (5)
Page 29 of 30
(4) & (5) imply that
ln 𝑓(0) = 𝑖0 + 𝑘
ln 1 = 𝑘
𝑘 = 0. (6)
(4) & (6) imply that
ln 𝑓 (𝜃) = 𝑖𝜃
𝑓 (𝜃) = 𝑒 𝑖𝜃
cos 𝜃 + 𝑖 sin 𝜃 = 𝑒 𝑖𝜃 .
Addendum 2: Consider ii… We can extend the idea of the ln function to complex numbers, but
unfortunately it is not unique. For example, we know e2πi = e0 = 1, so for complex numbers ln(1) can
be 0 or 2πi! As xy = eyln(x), this also means that xy is not unique when x and y are complex numbers.
However, there’s a solution to this problem. We know any complex number can be written z = reiθ.
Suppose ln(z) = x + iy; then eln(z) = z = ex+iy = exeiy = reiθ. So z has modulus r = ex and argument = y.
In other words, ln(z) = ln|z| + iarg(z), where ln|z| is unique because |z| is a positive real number.
We now get around the problem by using the principal argument Arg(z) of any complex number z.
Define the principal branch of the natural logarithm Ln(z) = ln|z| + iArg(z). Using this, we can
define the principal branch of complex exponentiation to be xy = eyLn(x).
As an example, let’s use this to work out the principal value of ii. We know that eiπ/2 = i, and
i
so Log(i) = iπ/2. So ii = eLog(i ) = eiLog(i) = ei × iπ/2 = e−π/2, and this is a real number. In other words, we
take one complex number to the power of another complex number and we get a real number!
Page 30 of 30