One fast carrier
Send 16 bits as 8 QPSK symbols on one carrier, one after another. Each symbol lasts 50 ns, so the carrier changes 20 million times a second. A fast carrier means short symbols.
Radio also bounces off walls. This echo travels about 30 m further, so it arrives 100 ns late: two whole symbols. Each symbol's echo lands on top of the symbol two places later. That smear is intersymbol interference (ISI).
Many slow carriers
Instead, give each symbol its own carrier and send all 8 at once. Now every symbol lasts 400 ns, 8 times longer. The same 100 ns echo now covers a quarter of a symbol, not two whole ones.
Carrier k makes exactly k cycles in T = 400 ns, so the carriers sit Δf = 1/T = 2.5 MHz apart. Their spectra overlap, yet each peak sits on the zeros of all the others. They are orthogonal.
Adding 8 carriers is exactly an inverse DFT: x[n] = (1/8)·Σ X[k]·e^(j2πkn/8). One inverse FFT turns the 8 symbols X[k] into 8 time samples, 50 ns apart.
Guarding against echoes
Copy the last 2 samples (100 ns) to the front. This cyclic prefix is a guard. The waveform just carries on, because x(t) repeats every 400 ns. The block is now 500 ns long.
The echo is 100 ns late, no longer than the 100 ns prefix. Its tail spills only into the next block's prefix, which is thrown away. In the 400 ns the receiver keeps, the echo is just x rotated in a circle.
Receiving
Drop the prefix and run an FFT. A circular echo only scales and turns each carrier, so Y[k] = H[k]·X[k]. Carrier 5 arrives as (1−j)(1−0.4j) = 0.6−1.4j. No carrier leaks into another.
The receiver measures H[k] from a known symbol at the start, then divides: X̂[k] = Y[k]/H[k]. One complex division per carrier, no long equaliser. All 8 points land back on QPSK, and the 16 bits come out.
In code and in the world
In Python with numpy: ifft builds the block, np.r_ adds the prefix, convolve applies the echo, and fft splits it again. Dividing by H = fft(h, 8) returns X exactly, because this example has no noise.
Wi-Fi (802.11a/g) does this with a 64-point FFT at 20 MHz: carriers 312.5 kHz apart, 3.2 µs symbols plus a 0.8 µs guard. LTE spaces its carriers 15 kHz apart; 5G NR uses 15 kHz up to 960 kHz.
The working
# step 1/11 · fast
bits 11 01 10 00 11 10 01 00
QPSK first bit -> sign of the real part
second bit -> sign of the imaginary part
(1 -> +, 0 -> −)
X[k] 1+j −1+j 1−j −1−j 1+j 1−j −1+j −1−j
one carrier: symbol k sent from k·50 ns
Ts = 50 ns -> 1/Ts = 20 million symbols/s
8 symbols take 400 ns
plot: real part of what is sent
The link is a toy: 8 carriers instead of Wi-Fi's 64, with Wi-Fi's 20 MHz sample rate and its 1/4 guard ratio. The bits, the echo gain 0.4 and the 30 m extra path are chosen examples. Every number and curve in the figure is computed from this model. The motion is slowed down enormously: a whole OFDM symbol here lasts 500 ns.