Roots of Unity Filter Part 1 - Complex Numbers
Note
This is a three part series I wrote back in 2019 on a technique applicable to certain competitive math problems: roots of unity filters. The first two parts are just a recap of complex numbers and roots of unity respectively. If you're already comfortable with both of these topics, feel free to skip to Part 3.
Overview
Definition
A complex number is a number that can be expressed in the form , where and are real numbers, and .
and are known as the real and imaginary components of respectively.
All complex numbers can be graphed on the coordinate plane, where the x-axis represents the real component of the complex number, while the y-axis represents the imaginary component of the complex number.
For instance, the complex number can be graphed as shown below:
(1, 2) on Coordinate Plane
The method of representing a complex number as is known as rectangular form since we use a rectangular coordinate system. When we graph a complex number , we can derive actually derive a different way of representing that complex number: polar form.
To express a complex number in polar form, we use the angle it makes with the positive x-axis and the positive distance from the origin. If we have a complex number , then we can derive these two parameters with a bit of trigonometry. The angle is known as the argument of , or . The distance is known as the magnitude of , or .
Theorem
For a complex number , the angle that makes with the positive x-axis can be expressed as:
The magnitude can be expressed as:
However, we can also go from polar form back to rectangular form with the following relationship:
Theorem
For a complex number with argument and magnitude can be expressed in rectangular form with:
This implies that can be expressed in the following manner, which i sknown as the polar form of .
We use as a shorthand for writing
There is one final form of a complex number, the complex exponential form. The proof for this relationship is beyond the scope of this document, but there are plenty of excellent tutorials by people like 3Blue1Brown who have covered this topic in detail.
Theorem
For a complex number with argument and magnitude can be expressed as:
de Moivre's Theorem
One super important theorem about complex numbers and their exponents is de Moivre's Theorem.
Theorem
This theorem can be proven by considering the complex exponential form of .
Arithmetic Operations
Complex numbers, much like real numbers, can be added, subtracted, and multiplied. The rules for applying these arithmetic operations to complex numbers are the same as what one would expect as long as it is remembered that when doing multiplication.
Example
Multiplication
When multiplying complex numbers, we obtain an interesting property regarding the magnitude and angle of the resulting product.
Theorem
When and are two complex numbers, we can obtain the following information about their product :
We can prove this pretty easily once again with the complex exponential form:
With this theorem, we can make multiplying numbers in polar form very easy, since all we have to do is multiply the magnitudes and add the arguments.
Example
Note that applying this principle to exponentiation is what led us to de Moivre's theorem earlier.
Division
Division of complex numbers is a bit more interesting, and there are two ways to approach it. The first involves complex conjugates to make the denominator real, similar to how one would rationalize a denominator with radicals in it. We will go over conjugates in-depth soon.
Example
The other method is to use de Moivre's theorem above with regards to the argument and the magnitude. If we have two complex numbers and and we want to perform , we can write it as .
We can then see from de Moivre's theorem that will be the same as but it will have a magnitude of and an argument of . Then, we just need to multiply the two numbers with the same process as above.
As a result, you can think of division as dividing the magnitudes and subtracting the arguments.
Example
Conjugates
Definition
The conjugate of a complex number is denoted as
There are a few important theorems that you can use with complex conjugates.
Theorem
We can prove this pretty easily by considering the rectangular form of .
Theorem
We can also prove this by realizing that the complex conjugate just reflects the complex coordinate over the x-axis, which in turn just multiplies the angle by .
Theorem
The complex conjugate operator is distributive.
We can prove all of these pretty easily with rectangular coordinates, so they are omitted.
Theorem
If a complex number is a root of a polynomial with real coefficients, then is also a root of that polynomial.
We can prove this by applying the operations above while also making use of the fact that the conjugate of a real number is equal to .
Side Note
With complex exponentials, you can actually derive the formulas for sine and cosine addition. Additionally, you can derive the formulas for the sine and cosine of large multiples of angles with de Moivre's theorem. Look forward to another post that will go over this in depth!