5.1 A review of the complex plane

5.1 A review of the complex plane#

Sound exists in the real world, so why are we suddenly invoking the complex plane, with its “imaginary” numbers? The answer is that the complex plane is an exceptionally convenient analytical tool for modeling periodic phenomena, even thoroughly real-world ones like audio signals. The key connection, which we will make precise shortly, is that rotation is the fundamental periodic phenomenon, and multiplication in the complex plane models rotation [McF23].

This book assumes complex numbers as background knowledge, but we revisit the essentials here in case you are rusty, which is perfectly fine.

Tip

In this book, prefer to think of \(j\) as an analytical tool for better understanding real-valued signals, rather than as an “imaginary number”. This framing demystifies much of what follows.

We write the imaginary unit as \(j = \sqrt{-1}\), rather than \(i\), following the convention in engineering and digital signal processing (where \(i\) often denotes other quantities, such as electric current). A complex number \(z\) can be written in rectangular form (also called Cartesian form) as a pair of real coordinates \((x, y)\):

\[z = x + jy,\]

where \(x\) is the real part and \(y\) is the imaginary part.

Two complex numbers in rectangular form are added componentwise, and multiplied using the single rule \(j^2 = -1\). We collect both operations here for reference:

Definition 14 (Complex addition and multiplication (rectangular form))

For \(z_1 = x_1 + j y_1\) and \(z_2 = x_2 + j y_2\),

\[z_1 + z_2 = (x_1 + x_2) + j(y_1 + y_2),\]
\[z_1 \cdot z_2 = (x_1 x_2 - y_1 y_2) + j(x_1 y_2 + x_2 y_1).\]

Addition simply adds the real and imaginary parts separately. The multiplication rule looks more involved, but it follows from expanding the product like any pair of binomials and then applying \(j^2 = -1\):

\[\begin{split} \begin{aligned} z_1 \cdot z_2 &= (x_1 + j y_1)(x_2 + j y_2) \\ &= x_1 x_2 + j x_1 y_2 + j y_1 x_2 + j^2 y_1 y_2 \\ &= x_1 x_2 + j x_1 y_2 + j y_1 x_2 - y_1 y_2 && (j^2 = -1) \\ &= (x_1 x_2 - y_1 y_2) + j(x_1 y_2 + x_2 y_1). \end{aligned} \end{split}\]

A complex number can equivalently be written in polar form as a pair \((r, \theta)\), giving its magnitude (distance from the origin) \(r\) and its angle \(\theta\) from the real axis. Rectangular and polar are just two coordinate systems for the same point, related by basic trigonometry:

\[ r = \sqrt{x^2 + y^2}, \qquad \theta = \tan^{-1}\!\left(\frac{y}{x}\right), \]

and in the other direction,

\[ x = r\cos\theta, \qquad y = r\sin\theta. \]
A complex number z = x + jy plotted as a point in the first quadrant, with the real axis horizontal and the imaginary axis vertical. A vector from the origin to z has length r and makes angle theta with the real axis. Dashed lines show the projections x = r cos theta and y = r sin theta.

Fig. 18 A complex number \(z\) in the complex plane. Rectangular form \((x, y)\) gives its horizontal and vertical coordinates. Polar form \((r, \theta)\) gives its distance from the origin and its angle from the real axis.#

Polar form is especially convenient for multiplication, where magnitudes multiply and angles add. For \(z_1 = (r_1, \theta_1)\) and \(z_2 = (r_2, \theta_2)\) in polar form,

\[z_1 \cdot z_2 = (r_1 r_2, \; \theta_1 + \theta_2).\]

This is the precise sense in which multiplication models rotation: multiplying by a number of magnitude 1 and angle \(\theta\) rotates a point by \(\theta\) without changing its distance from the origin. Hold onto this idea, as it is the engine of everything that follows.

Finally, polar form connects back to rectangular form through one of the most important identities in all of mathematics, Euler’s formula:

\[e^{j\theta} = \cos\theta + j\sin\theta.\]

Reading it as a complex number, \(e^{j\theta}\) has real part \(\cos\theta\) and imaginary part \(\sin\theta\), so it is exactly the point on the unit circle at angle \(\theta\). A general complex number in polar form is therefore \(z = r e^{j\theta}\).