Basic operations
Contents
4.2. Basic operations#
4.2.1. Addition and subtraction#
If we have two complex numbers \(\red{a} + \mathrm{j}\purple{b}\) and \(\red{c} + \mathrm{j}\purple{d}\), their sum is defined by independently summing the real parts (\(\red{a+c}\)) and the imaginary parts (\(\purple{b+d}\)):
Subtraction works similarly:
In the complex plane, addition and subtraction can be thought of as displacement. If you imagine drawing an arrows from the origin \(0\) to the positions of \(z\) and \(w\), then you can find the position of \(z+w\) by picking up one of the arrows and moving its tail to coincide with the head of the other arrow. Subtraction works the same way, except that you would turn the arrow around \(180^\circ\).
4.2.2. Conjugation#
Complex numbers have a new operation, which doesn’t exist for other systems like reals and integers, called conjugation. The complex conjugate of a number \(z = \red{a} + \mathrm{j}\purple{b}\), denoted as \(\overline{z}\), is computed by negating only the imaginary part, and is denoted by an over-line:
Visually, this operation reflects a point across the horizontal (real) axis in the complex plane, as seen below.
Conjugating a number twice reverts back to the original number (just like negating a number twice).
If a number is purely real (has \(\purple{b=0}\)), it lies exactly on the horizontal axis, and it is its own conjugate.
4.2.3. Multiplication (take 1)#
There are two ways to think about multiplication of complex numbers, depending on whether we use rectangular or polar form, which we’ll see below. Both are equally valid, and produce the same results, but sometimes one may be more convenient than the other. Let’s start with the rectangular form.
If we have two complex numbers \(z = \red{a} + \mathrm{j}\purple{b}\) and \(w = \red{c} + \mathrm{j}\purple{d}\), we can compute their product by using the rules of algebra and remembering that \(\mathrm{j}\cdot\mathrm{j} = -1\):
This looks complicated – and it is! The key things to take away here are:
The product is well-defined, even if the formula is messy;
When you multiply two complex numbers, their real and imaginary parts interact in a non-trivial way;
When two purely imaginary numbers are multiplied together, in this case \(\mathrm{j}\purple{b} \cdot \mathrm{j}\purple{d}\), the result is real: \(-\red{b\cdot d}\).
(Multiplying complex by real)
Let’s keep \(z = \red{a} + \mathrm{j}\purple{b}\) and multiply it by a purely real number \(\red{x}\). If we follow the rules above, we get
so the real \(\red{x}\) combines with both the real and imaginary parts of \(z\).
(Multiplying complex by imaginary)
What if we multiply \(z = \red{a} + \mathrm{j}\purple{b}\) a purely imaginary number \(\mathrm{j}\purple{x}\)? In this case, we get
In this case, the real and imaginary parts have exchanged places, and the new real part (\(\red{b \cdot x}\)) has been negated.
(Multiplying complex by its conjugate)
Finally, what if we multiply a number \(z = \red{a} + \mathrm{j}\purple{b}\) by its own conjugate \(\overline{z} = \red{a} - \mathrm{j}\purple{b}\)?
In this case, all of the imaginary components cancel each-other out, and the resulting product is purely real (and non-negative):
We could say more about complex multiplication, but as we’ll see, it’s easier to think about if we use the polar form. To see how that works, we’ll need to take a slight detour through the exponential function.