Euler's helix

eiθ = cos θ + i sin θ, drawn along a time axis: a helix whose shadows are a cosine and a sine, and the reason I/Q signals, negative frequencies and aliasing work the way they do.

–Angle θ
–z = Re + i Im
–Magnitude |z|
1

The helix

As time runs, the point eiθ with θ = 2πft + φ goes round the unit circle in the complex plane, f times a second. Stretch that motion out along a time axis and the point traces a helix. Look at it end-on and you see the circle; look from the side or from above and you see a sine and a cosine. Drag the view to turn it.

z(t) in 3-D

Helix z(t)Real part (floor): cosineImaginary part (back wall): sineEnd-on: the circle

Current point

Jump to an angle

2

Cosine and sine are the shadows

The real part of the helix is A·eσt·cos θ and the imaginary part is A·eσt·sin θ. A quarter turn separates them: the sine is the cosine 90° later. That pair is exactly what a radio's I and Q channels carry.

Real and imaginary parts against time

Real part (I): cosImaginary part (Q): sinEnvelope ±A·eσt
3

Negative frequency

A helix that turns the other way, e−iθ, has a negative frequency. Add the two and the imaginary parts cancel: cos θ = (eiθ + e−iθ) / 2. A real cosine is two counter-rotating helices, which is why the spectrum of a real signal is always mirrored about 0 Hz, and why it takes I and Q together to tell +f from −f.

eiθ, e−iθ and their average drag to rotate

e+iθ: frequency +fe−iθ: frequency −fAverage: the real cosine, flat in the real plane
4

Sampling

Sample the helix fs times a second and you only see the point once per sample. Between samples it turns 2πf/fs radians, but any turn more than half a revolution looks like a smaller turn the other way. So a complex signal can show only −fs/2 to +fs/2, and everything else folds into that range. A real signal can't tell the two directions apart, so it only has 0 to fs/2. Turn the frequency past half the sample rate in the side panel and watch it fold.

Samples in the complex plane

Numbers show the order of the first samples. The arc is the apparent turn from one sample to the next.

Real part, sampled

True signalSamplesWhat the samples look like: the alias
5

Spectrum

The FFT of N samples, from −fs/2 to +fs/2. A complex helix shows one line, at its (folded) frequency. A real cosine shows two half-height lines at ±f, the two helices from section 3. Growth or decay (σ ≠ 0) widens the line, because the helix isn't a single steady frequency any more.

Magnitude spectrum, dB

Amplitude-calibrated: a steady helix of amplitude A on a bin centre reads 20 log₁₀ A dB. Each half of a real cosine reads 6 dB lower.