Skip to main content

Mathematical Infrastructure

Complex Numbers for Fourier

The minimum complex-number machinery you need to read Fourier-domain pages: the field C, the imaginary unit i, modulus and argument, polar form, Euler's formula, and roots of unity. Not complex analysis, just the grounders.

CoreTier 2Stable~18 min
0

Why This Matters

The Fast Fourier Transform, the Fourier Neural Operator, and the spectral theory of operators are all written in the language of complex exponentials. If you don't know what eiθe^{i\theta} means, the page that tells you the FFT decomposes a sequence into "frequency components" reads as ritual.

This page exists to ground that ritual. It is not complex analysis. There is no Cauchy-Riemann, no contour integration, no residue theorem. The goal is narrower: enough vocabulary and a few identities so that eiωte^{i\omega t}, z|z|, and arg(z)\arg(z) all parse without friction.

The Field

Definition

Complex Numbers

The complex numbers C\mathbb{C} are the set of formal expressions z=a+biz = a + b i with a,bRa, b \in \mathbb{R}, equipped with addition and multiplication that extend the real-number rules subject to the single relation i2=1i^2 = -1. Concretely, for z1=a1+b1iz_1 = a_1 + b_1 i and z2=a2+b2iz_2 = a_2 + b_2 i: z1+z2=(a1+a2)+(b1+b2)i,z_1 + z_2 = (a_1 + a_2) + (b_1 + b_2) i, z1z2=(a1a2b1b2)+(a1b2+a2b1)i.z_1 \cdot z_2 = (a_1 a_2 - b_1 b_2) + (a_1 b_2 + a_2 b_1) i. Here aa is the real part Re(z)\mathrm{Re}(z) and bb is the imaginary part Im(z)\mathrm{Im}(z).

The symbol ii is the imaginary unit. It is defined by the property i2=1i^2 = -1. Nothing else. It is not a "number you can't see"; it is a formal symbol that, once you adjoin it to R\mathbb{R} with this single rule, gives you a field. That field happens to be algebraically closed: every nonconstant polynomial with complex coefficients has a root in C\mathbb{C}. This is the fundamental theorem of algebra and is why C\mathbb{C}, not R\mathbb{R}, is the natural setting for spectra of matrices.

Definition

Modulus and Argument

For z=a+biz = a + b i:

  • The conjugate is zˉ=abi\bar{z} = a - b i.
  • The modulus (absolute value) is z=a2+b2=zzˉ|z| = \sqrt{a^2 + b^2} = \sqrt{z \bar{z}}.
  • The argument arg(z)\arg(z) is the angle θ(π,π]\theta \in (-\pi, \pi] such that z=z(cosθ+isinθ)z = |z|(\cos\theta + i \sin\theta), defined for z0z \neq 0.

Identities: z1z2=z1ˉz2ˉ\overline{z_1 z_2} = \bar{z_1} \bar{z_2}, z1z2=z1z2|z_1 z_2| = |z_1||z_2|, and arg(z1z2)=arg(z1)+arg(z2)(mod2π)\arg(z_1 z_2) = \arg(z_1) + \arg(z_2) \pmod{2\pi}.

Geometrically, C\mathbb{C} is R2\mathbb{R}^2 with extra structure. The modulus is the Euclidean norm. The argument is the angle from the positive real axis. Multiplication by a complex number ww rotates by arg(w)\arg(w) and scales by w|w|. This rotation-and-scaling picture is the source of all the geometric intuition you will ever need.

Polar Form and Euler's Formula

The polar form z=r(cosθ+isinθ)z = r(\cos\theta + i \sin\theta), with r=zr = |z| and θ=arg(z)\theta = \arg(z), makes multiplication trivial: z1z2=r1r2(cos(θ1+θ2)+isin(θ1+θ2))z_1 z_2 = r_1 r_2 \big(\cos(\theta_1 + \theta_2) + i \sin(\theta_1 + \theta_2)\big). The compact form is Euler's formula.

Theorem

Euler's Formula

Statement

For every θR\theta \in \mathbb{R}, eiθ=cosθ+isinθ.e^{i\theta} = \cos\theta + i \sin\theta. In particular eiπ=1e^{i\pi} = -1, and eiθ=1|e^{i\theta}| = 1 for all θ\theta.

Intuition

Define f(θ)=cosθ+isinθf(\theta) = \cos\theta + i \sin\theta. Differentiate: f(θ)=sinθ+icosθ=if(θ)f'(\theta) = -\sin\theta + i \cos\theta = i \cdot f(\theta), with f(0)=1f(0) = 1. The unique solution to y=iyy' = i y, y(0)=1y(0) = 1 is y(θ)=eiθy(\theta) = e^{i\theta}, where the complex exponential is defined by its power series. So f(θ)=eiθf(\theta) = e^{i\theta}.

Proof Sketch

The complex exponential is defined by the absolutely convergent series ez=n=0zn/n!e^{z} = \sum_{n=0}^{\infty} z^n / n! for zCz \in \mathbb{C}. Substituting z=iθz = i\theta and grouping by parity, the even powers contribute the Taylor series of cosθ\cos\theta and the odd powers contribute isinθi \sin\theta. This proves eiθ=cosθ+isinθe^{i\theta} = \cos\theta + i\sin\theta termwise.

Why It Matters

Every sinusoid is the real part of a complex exponential: cos(ωt)=Re(eiωt)\cos(\omega t) = \mathrm{Re}(e^{i\omega t}). Linear time-invariant systems acting on sinusoids become diagonal in the basis of complex exponentials, which is the entire reason Fourier methods exist. The eigenfunction property ddteiωt=iωeiωt\frac{d}{dt} e^{i\omega t} = i\omega \cdot e^{i\omega t} is also why differentiation becomes multiplication in the Fourier domain, the trick the Fourier Neural Operator exploits.

The polar form is then z=reiθz = r e^{i\theta}. Multiplication is r1r2ei(θ1+θ2)r_1 r_2 e^{i(\theta_1 + \theta_2)}, division flips the sign of the angle, and powers are zn=rneinθz^n = r^n e^{i n \theta} (de Moivre).

Roots of Unity

The equation zN=1z^N = 1 has exactly NN complex solutions, called the NNth roots of unity: ωNk=e2πik/N,k=0,1,,N1.\omega_N^k = e^{2\pi i k / N}, \quad k = 0, 1, \ldots, N-1. They lie on the unit circle, evenly spaced. The DFT matrix is built entirely out of these roots: the (j,k)(j, k) entry of the N×NN \times N DFT is ωNjk\omega_N^{j k}, scaled by 1/N1/\sqrt{N} in the unitary convention. Every fact about the FFT, and the O(NlogN)O(N \log N) divide-and-conquer that makes it tractable, comes from the multiplicative structure ωNjk=ωNj(kmodN)\omega_N^{j k} = \omega_N^{j(k \bmod N)}.

Worked Example: Multiplying Two Complex Numbers

Let z1=1+iz_1 = 1 + i and z2=3+iz_2 = \sqrt{3} + i. Then z1=2|z_1| = \sqrt{2}, arg(z1)=π/4\arg(z_1) = \pi/4, and z2=2|z_2| = 2, arg(z2)=π/6\arg(z_2) = \pi/6. By the polar identities z1z2=22|z_1 z_2| = 2\sqrt{2} and arg(z1z2)=5π/12\arg(z_1 z_2) = 5\pi/12. Direct multiplication gives z1z2=(31)+(3+1)iz_1 z_2 = (\sqrt{3} - 1) + (\sqrt{3} + 1) i. Check: z1z22=(31)2+(3+1)2=4+4=8|z_1 z_2|^2 = (\sqrt{3} - 1)^2 + (\sqrt{3} + 1)^2 = 4 + 4 = 8, so z1z2=22|z_1 z_2| = 2\sqrt{2}. The two computations agree, as they must.

Common Confusions

Watch Out

i is not 'sqrt(-1)'

The notation 1\sqrt{-1} is misleading because the square-root function on the negative reals is not single-valued: both ii and i-i square to 1-1. The correct definition is the rule i2=1i^2 = -1, treating ii as a formal symbol. Writing ab=ab\sqrt{a}\sqrt{b} = \sqrt{ab} for negative reals leads to contradictions like 1=1=(1)(1)=11=11 = \sqrt{1} = \sqrt{(-1)(-1)} = \sqrt{-1}\sqrt{-1} = -1. The identity ab=ab\sqrt{a}\sqrt{b} = \sqrt{ab} holds only when a,b0a, b \geq 0.

Watch Out

The argument is multivalued

For z0z \neq 0, the angles θ\theta and θ+2πk\theta + 2\pi k for any integer kk all describe the same point. The convention arg(z)(π,π]\arg(z) \in (-\pi, \pi] is the principal value. This matters when you take logarithms (logz=logz+iarg(z)\log z = \log|z| + i \arg(z)) or fractional powers, where branch choices change the answer.

Exercises

ExerciseCore

Problem

Verify Euler's formula at four checkpoints by direct computation: θ=0\theta = 0, π/2\pi/2, π\pi, 3π/23\pi/2. State each value of eiθe^{i\theta} in standard form a+bia + b i.

ExerciseCore

Problem

Show that the NN roots of unity sum to zero: k=0N1e2πik/N=0\sum_{k=0}^{N-1} e^{2\pi i k / N} = 0 for N2N \geq 2.

References

Related Topics

Last reviewed: April 18, 2026

Prerequisites

Foundations this topic depends on.

Next Topics