4. Complex numbers#

a point in the complex plane

This section covers the fundamentals of complex numbers, and should help give a sense of how and why they’re useful for modeling periodic phenomena such as audio signals.

Why use complex numbers?

Complex numbers were originally developed to solve polynomial equations (e.g., find \(x\) such that \(x^2 + x + 1 = 0\)), and it’s true that many of the things we do in signal processing involve exactly these kinds of equations. However, this isn’t a terribly satisfying motivation for using complex numbers to study signal processing, and this is the point at which many students start to get confused about why we need all of this math.

There is, however, a much deeper reason why complex numbers arise in signal processing, and it has to do with the link between arithmetic and geometry.

Think about what happens when you multiply one real number \(x\) by another \(y\). If \(y > 1\), then \(x\cdot y\) becomes bigger than \(x\), which you can think of as stretching the number line. If \(y < 1\), then \(x \cdot y\) becomes smaller, which embodies the opposite effect, compressing the number line. And if \(y < 0\), then the sign of \(x\cdot y\) flips from \(x\)’s (positive becomes negative, and vice versa), which you can think of as mirroring the number line horizontally. Stretching, compressing, and reflecting are all familiar geometric operations that happen to correspond to the arithmetic of real numbers.

Fig. 4.1 Multiplication on the real number line acts like stretching, compressing, or reflecting across the 0 point.#

But what if the numbers are complex instead of real? It turns out that you still get the same basic types of operations (stretching, compressing, and reflecting), but now in two dimensions instead of 1. But there’s an additional twist: complex multiplication also rotates points in the plane. Rotation is a one of the simplest models of periodicity, just ask any clock-maker.

Tip

Rotation models repetition.

Complex multiplication models rotation.