Quant Memo
Core

Fourier Series

The idea that any reasonably well-behaved repeating signal can be broken down into a sum of simple sine and cosine waves of different frequencies, each with its own weight.

Think of a musical chord: it sounds like one complicated sound, but it's actually several pure notes played at once, each at its own frequency and volume. A Fourier series applies the same idea to any repeating (periodic) signal — daily seasonality in trading volume, an intraday volatility pattern, or a noisy oscillating sensor reading — by expressing it as a sum of pure sine and cosine waves of different frequencies, each scaled by a coefficient that says how much of that frequency is present.

Formally, a periodic function f(t)f(t) with period TT can be written as

f(t)=a0+k=1[akcos ⁣(2πktT)+bksin ⁣(2πktT)],f(t) = a_0 + \sum_{k=1}^{\infty} \left[ a_k \cos\!\left(\frac{2\pi k t}{T}\right) + b_k \sin\!\left(\frac{2\pi k t}{T}\right) \right],

where a0a_0 is the average level of the signal, and each ak,bka_k, b_k measures how strongly a wave that repeats kk times per period contributes to the shape of ff. In plain terms: any repeating pattern is a mixture of a constant plus waves that wiggle once per cycle, twice per cycle, three times per cycle, and so on, each weighted by how prominent that particular wiggle is in the data.

A trading desk analyzing intraday volume might find that the k=1k=1 term (one full cycle per day) captures the broad U-shape of higher volume at the open and close, while smaller higher-kk terms capture finer bumps around scheduled data releases — decomposing one messy curve into a short list of clean, interpretable frequency components.

A Fourier series expresses any periodic signal as a weighted sum of sine and cosine waves at multiples of the base frequency, turning a complicated repeating pattern into a short list of simple, interpretable frequency components and their weights.

Related concepts

Practice in interviews

Further reading

  • Stein & Shakarchi, Fourier Analysis: An Introduction
ShareTwitterLinkedIn