🏡 Back Home

Lecture 1: Complex Numbers

Reading assignments

Quick Exercise -- Find the Roots

Find the roots of the following polynomials
a) ?
b) ?

The first polynomial has two real roots (one repeated twice). The second polynomial has two imaginary roots.
→ Recall the fundamental theorem of algebra

Complex Numbers

Complex numbers are a powerful way to represent signals

A complex number can be represented in the form

Pasted image 20220517210823.png

Note

Some polynomials have no real roots (e.g. ), but all order-N polynomials have N (possibly complex, possible repeated) roots.

An aside on j, the imaginary unit




Recall that this pattern repeats as power is incremented by 1

Operations with Complex Numbers

Complex Addition = Vector Addition

Exercise

Add to

Solution
Pasted image 20220517212326.png|300

Complex Multiply = Vector Rotation

Pasted image 20220517220408.png|400

Powers

Pasted image 20220517220545.png

Bottom line

Cartesian: add, subtract
Polar: multiply, divide, power

Euler’s Formula and Euler’s Identity

Consider: What is the most beautiful equation?

Polynomial Approximations

Pasted image 20220517211810.png

Additional proof using power-series expansions. Note for ECE2026, we prefer to use the notation

{\displaystyle {\begin{aligned}e^{ix}&=1+ix+{\frac {(ix)^{2}}{2!}}+{\frac {(ix)^{3}}{3!}}+{\frac {(ix)^{4}}{4!}}+{\frac {(ix)^{5}}{5!}}+{\frac {(ix)^{6}}{6!}}+{\frac {(ix)^{7}}{7!}}+{\frac {(ix)^{8}}{8!}}+\cdots \\[8pt]&=1+ix-{\frac {x^{2}}{2!}}-{\frac {ix^{3}}{3!}}+{\frac {x^{4}}{4!}}+{\frac {ix^{5}}{5!}}-{\frac {x^{6}}{6!}}-{\frac {ix^{7}}{7!}}+{\frac {x^{8}}{8!}}+\cdots \\[8pt]&=\left(1-{\frac {x^{2}}{2!}}+{\frac {x^{4}}{4!}}-{\frac {x^{6}}{6!}}+{\frac {x^{8}}{8!}}-\cdots \right)+i\left(x-{\frac {x^{3}}{3!}}+{\frac {x^{5}}{5!}}-{\frac {x^{7}}{7!}}+\cdots \right)\\[8pt]&=\cos x+i\sin x,\end{aligned}}}

Euler’s Formula: An Unexpected Triangle

The figure below depicts:

Pasted image 20220517213244.png|200
Graphical representation of a vector normalized to magnitude of 1. Applying trig to find components.

Euler’s formula

Generalized form with a general magnitude

Change of coordinates
Pasted image 20220517213447.png|200Pasted image 20220517213436.png

Changing to and from rectangular and polar forms. Note you need to be mindful of which quadrant the vector is in when using arctan

Polar and Rectangular Coordinates -- Exercise

Put these common values in polar and rectangular form.
Pasted image 20220517211732.png
Review unit circle if needed

Phase Ambiguity

Due to periodicity, values of phase that are apart are equivalent. For ECE2026, phase will be constrained to

Additionally, make magnitude a positive real number by adding/subtracting from the phase

Complex conjugate (z*)

Definition: Complex Conjugate

To obtain the complex conjugate of a vector , change the sign of all ‘s

Rectangular form

Polar form

Pasted image 20220517214012.png|300

Aside on cos() and sin()

Note how cosine is an even function. We can observe that the real component (obtained through cosine) is not affected when we find the complex conjugate.

Uses of Conjugation

Using Conjugates: Inverse Euler⭐⭐⭐

Pasted image 20220517215829.png|500
We can see the connection between sinusoids and complex numbers.

Important

In other words…

Magnitude and Magnitude Squared ⭐⭐⭐

Magnitude squared

Magnitude of complex exponential is one

Roots of Unity

Pasted image 20220517220545.png
Recall power operations (repeated multiplication – scaling and rotating)

How many solutions to ?

According to the funamental theorem of algebra, N solutions!

Note: As angles are periodic, we account for that using

Obtaining the result

Roots of Unity for N=6

Pasted image 20220517214202.png|300

Sum of Roots of Unity

Pasted image 20220517214309.png|400

Write as geometric sum
Pasted image 20220517214328.png|600

Roots of Unity – Example Problem

Find values of for which:

Hint: Let . We now have the equation to solve.

Roots of Unity – General Form of Solution

important ⭐⭐⭐

We now have the equation

Hooray we have both magnitude and phase

Example

Solve for , given

Answer: r = 1,


Next Lecture: 05.18 Lecture - ECE2026