November 2, 2024

Easy Introduction to Complex Numbers – Part 1


In this tutorial, we provide an easy-to-understand introduction to complex numbers. This tutorial is specially designed for high school and engineering students. This is the first tutorial on complex numbers. In this tutorial, we will

  1. Motivate the need for complex numbers.
  2. Explain what is an imaginary unit.
  3. State the definition of complex numbers
  4. Provide a graphical interpretation of complex numbers
  5. Explain how to perform basic operations on complex numbers (sum, difference, and product)
  6. Define a conjugate of a complex number

In the second tutorial, we will the polar form of complex numbers, modulus of complex numbers, and the argument of complex numbers. This tutorial series is very important for mechanical and electrical engineers who are interested in dynamical systems, signal processing, electrical networks, and control engineering. A proper understanding of complex numbers is very important for a proper understanding of dynamical systems, fluid dynamics, electrical networks, control engineering, and signal processing.

The YouTube video accompanying this tutorial is given below.

Motivation for Introducing Complex Numbers

Complex numbers are actually not complex to understand. In fact, they are relatively easy to understand, so you should not be afraid of the word complex in the expression “complex number”.

First, let us try to solve this quadratic equation:

(1)   \begin{align*}x^{2}-1=0\end{align*}

We want to provide answers to the following questions

  1. How many solutions does this equation have?
  2. What are the solutions?

This is a relatively simple equation. Since it is a quadratic equation, this equation should have two solutions. The solutions are computed as follows

(2)   \begin{align*}x^{2}=1\\x=\pm 1\end{align*}

Now, let us slightly modify this equation by changing a sign, and you will immediately notice a big difference

(3)   \begin{align*}x^{2}+1=0\end{align*}

Now, again, we want to provide the answers to the following questions

  1. How many solutions does this equation have?
  2. What are the solutions?

Well, since this is a quadratic equation, we should have two solutions. This is correct. We should obtain two solutions. But, wait a second, can we actually solve this equation by using the knowledge of algebra we learned in basic courses? Let us try to do that

(4)   \begin{align*}x^{2}+1=0 \\x^{2}=-1\end{align*}

From here, we do not know how to proceed. Does it look confusing? How can a square of a number be equal to -1? Is this completely illogical? Mathematicians have been struggling with this problem for centuries, and today we do not even recognize that this is a problem. However, in fact, it is. At first glance, to our human mind, it looks like the last equation does not make sense.

Definition of Imaginary Unit and Complex Numbers

The issue described in the previous section comes from the main properties of the real numbers. One of the important properties of real numbers is that their squares are positive numbers. That is, if we take a real number and, if we compute its square, the result cannot be negative. So, the answer to our question can be that the equation (3) does not have a solution in the set of real numbers! This is a completely legitimate answer. However, this equation actually has the solution, but not in the set of real numbers. It has a solution that belongs to the set of complex numbers. The set of complex numbers is denoted by \mathbb{C}.

Before we formally define the complex numbers, we first need to introduce the concept of imaginary unit i:

Definition of the imaginary unit i: The imaginary unit i is the number whose square is equal to -1. That is,

(5)   \begin{align*}i^{2}=-1\end{align*}

In other words, the imaginary unit i is the solution of the quadratic equation

(6)   \begin{align*}x^{2}+1=0\end{align*}

Here, we should keep in mind that x=-i is also the solution of this quadratic equation, this is because

(7)   \begin{align*}(-i)^{2}+1=0\\(-1)^{2}i^{2}+1=0 \\i^{2}+1=0 \\-1+1=0\end{align*}

Let us now explain how to compute the powers of i. We have

(8)   \begin{align*}& i^{0}=1& i \\& i^2=-1 \\& i^{3}=i\cdot i^{2}=-i \\& i^{4}=i^{2}\cdot i^{2}=-1 \cdot -1 = 1\end{align*}

It is easy to see that after i^{4}, the pattern repeats. That is we have

(9)   \begin{align*}& i^{5}=i\cdot i^{4}=i \\& i^{6}=i^{2}\cdot i^{4}=-1 \\& i^{7}=i^{3}\cdot i^{4}=-i \\& i^{8}=i^{4}\cdot i^{4}=1 \end{align*}

This pattern repeats itself with the period of 4. That is

(10)   \begin{align*}i^{4+s}=i^{s},\;\; \forall s=1,2,3,\ldots\end{align*}

Now, that we understand the imaginary unit, we can formally define the complex numbers.

Definition of complex numbers: Complex numbers are numbers having the following form

(11)   \begin{align*}a+b\cdot i\end{align*}


where a and b are real numbers. The real number a is referred to as the real part of the complex number, the number b is referred to as the imaginary part of the complex number, and i is an imaginary unit.

For example, the number

(12)   \begin{align*}s=3+4i\end{align*}

is the complex number with the real part of 3 and with the imaginary part of 4. The imaginary unit i is a complex number with the real part of 0 and with the imaginary part of 1.

Notation for real and imaginary parts of complex numbers. Usually, we use the letter z to represent complex numbers. That is, z=a+bi. Then, we can introduce the following notation. The notation Re\{z \} denotes the real part of the complex number. That is, Re\{z \}=a. The notation Im\{z \} denotes the imaginary part of the complex number. That is, Im\{z \}=b.

Graphical Interpretation of Complex Numbers

The complex numbers can be represented graphically like this:

Figure 1: Graphical representation of complex numbers.

The complex number z=a+bi can be represented as a point in the 2D plane. The horizontal axis is used to represent the real part of the complex number Re\{z \}. The vertical axis is used to represent the imaginary part of the complex number Im\{z \}. Then, the complex number z can be interpreted as a point in the 2D plane determined by the axes Re\{z \} and Im\{z \}. The coordinates of z are then (a,b).

Basic Operations with Complex Numbers

In this section, we explain how to perform basic operations with complex numbers.

But first, we need to provide the answer to the following question:

Given two complex numbers z_{1} and z_{2}, when are these two complex numbers equal?
ANSWER: Two complex numbers are equal if they have equal real and imaginary parts. That is, if z_{1}=a_{1}+b_{1}i and z_{2}=a_{2}+b_{2}i, then

(13)   \begin{align*}z_{1}=z_{2} \equiv  a_{1}=a_{2} \;\; \text{and}  b_{1}=b_{2}\end{align*}

Sum of complex numbers: Let z_{1}=a_{1}+b_{1}i and z_{2}=a_{2}+b_{2}i be two complex numbers. Then, the sum of the complex numbers is

(14)   \begin{align*}z_{1}+z_{2}=a_{1}+b_{1}i+a_{2}+b_{2}i=\big( a_{1}+a_{2}\big) +\big( b_{1}+b_{2}\big) i\end{align*}


That is

(15)   \begin{align*}Re\{z_{1}+z_{2} \}=Re\{z_{1} \}+Re\{z_{2} \}=a_{1}+a_{2} \\Im\{z_{1}+z_{2} \}=Im\{z_{1} \}+Im\{z_{2} \}=b_{1}+b_{2}\end{align*}

Difference of Complex Numbers:Let z_{1}=a_{1}+b_{1}i and z_{2}=a_{2}+b_{2}i be two complex numbers. Then, the difference of the complex numbers is

(16)   \begin{align*}z_{1}-z_{2}=a_{1}+b_{1}i-\big( a_{2}+b_{2}i \big)=\big( a_{1}-a_{2}\big) +\big( b_{1}-b_{2}\big) i\end{align*}


That is

(17)   \begin{align*}Re\{z_{1}-z_{2} \}=Re\{z_{1} \}-Re\{z_{2} \}=a_{1}-a_{2} \\Im\{z_{1}-z_{2} \}=Im\{z_{1} \}-Im\{z_{2} \}=b_{1}-b_{2}\end{align*}

Product of Complex Numbers: There is a formula for the product of complex numbers. However, you do not need to remember this formula since you can easily derive it. In fact, you do not need to know this formula, you can manually multiply the complex numbers. Let z_{1}=a_{1}+b_{1}i and z_{2}=a_{2}+b_{2}i be two complex numbers. Then, we have

(18)   \begin{align*}z_{1}\cdot z_{2} &  = \big(a_{1}+b_{1}i \big) \big(a_{2}+b_{2}i \big) \\& = a_{1}\big(a_{2}+b_{2}i \big)+b_{1}i\big(a_{2}+b_{2}i \big) \\& = a_{1}a_{2}+a_{1}b_{2}i+b_{1}a_{2}i+(b_{1}i)\cdot (b_{2}i)  \\& =a_{1}a_{2}+a_{1}b_{2}i+b_{1}a_{2}i-b_{1}b_{2} \\& =a_{1}a_{2}-b_{1}b_{2}+\big(a_{1}b_{2}+b_{1}a_{2}\big)i\end{align*}

Another important concept that we need to introduce is the concept of the conjugate of a complex number. This concept is introduced in the sequel.

Conjugate of a complex number: Let z=a+bi be a complex number. Then its conjugate is denoted by \bar{z} and is defined as follows

(19)   \begin{align*}\bar{z}=a-bi \end{align*}

In other words, the complex number and its conjugate have equal real parts and the imaginary parts have opposite signs.

Also, in books and in papers, you will also see a bar over a complex number. For example if you see \overline{a+bi} this is computed as follows

(20)   \begin{align*}\overline{a+bi}=a-bi\end{align*}

That is, the overline notation denotes the conjugate operation performed on the complex number.

To practice complex number operations, let us do two examples.

Example 1: Calculate the complex number expression

(21)   \begin{align*}(2+3i)(-1+2i) & = \\& =  2\cdot (-1) +2(2i)+3i(-1)+(3i)(2i) \\& = -2 +6i^{2}+4i-3i \\& = -2-6+i\\& = -8+i\end{align*}

Example 2: Calculate the complex number expression

(22)   \begin{align*}(\overline{2+i})i & = \\& = (2-i)i \\& =2i-i^{2} \\& =1+2i\end{align*}