Foundations to Frontier
Tests
A. Mathematical Foundations › A10 Signal Processing

The Fourier Transform, DFT and FFT

The Fourier transform rewrites a signal as a sum of frequencies. This topic connects its four flavours (continuous transform, Fourier series, DTFT and DFT) and works through the properties engineers use daily: linearity, time shift, modulation, differentiation, convolution and duality, the classic transform pairs, and the time–frequency uncertainty principle. It then turns to practical spectral estimation: why a raw periodogram is hopelessly noisy and how Welch averaging fixes it. In the research exercise you estimate a gyroscope's angle-random-walk noise from its power spectral density.

Level 0: Foundation

★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.

Recipes for signals

A smoothie can be described by its ingredients: so much strawberry, so much banana. The Fourier transform does the same for a signal: it lists how much of each pure frequency the signal contains. A short click contains a bit of almost every frequency; a pure hum contains just one. Anything squeezed in time is spread out in frequency. That trade-off turns out to be a law of nature.

Short in time ⇔ wide in frequency
x(t), t ∈ [−2, 2] s|X(f)|, f ∈ [−30, 30] Hz
envelope σ_t = 0.1061 s · σ_f = 0.750 Hz · product 0.0796 (bound 1/4π = 0.0796, attained)
Squeeze a pulse in time and its spectrum spreads out, and vice versa: the product of RMS durations can never be below 1/(4π), and only the Gaussian reaches it. Sharp edges (rect) produce slowly decaying sinc sidelobes. Multiplying by a carrier cos(2πf₀t) copies the spectrum to ±f₀ without changing its shape: the modulation theorem behind every radio.
Why engineers care

Engineers use spectra to characterize sensor noise (IMU datasheets quote noise densities straight from the PSD), find vibration modes, design filters and modulate radio signals. Spectral estimation done carelessly gives noisy, biased answers. Done properly, it underpins every sensor qualification test.

📝 Quick check (Level 0)
0/3 answered
  1. 1. The Fourier transform tells you…
  2. 2. A very short click contains…
  3. 3. A pure hum at 50 Hz has a spectrum that is…

Level 1: Beginner

★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.

The transform pair

X(f)=∫−∞∞x(t)e−j2πftdt,x(t)=∫−∞∞X(f)ej2πftdfX(f) = \int_{-\infty}^{\infty}x(t)e^{-j2\pi ft}dt,\qquad x(t) = \int_{-\infty}^{\infty}X(f)e^{j2\pi ft}df

Four flavours

Time Frequency Name
continuous, aperiodic continuous Fourier transform
continuous, periodic discrete Fourier series
discrete, aperiodic continuous, periodic DTFT
discrete, finite N discrete, N bins DFT (computed by the FFT)

The DFT samples the DTFT of one period. Sampling in one domain makes the other periodic.

Classic pairs

  • rect⁡(t)↔sinc⁡(f)=sin⁡πfπf\operatorname{rect}(t)\leftrightarrow\operatorname{sinc}(f) = \frac{\sin\pi f}{\pi f};
  • Gaussian ↔ Gaussian;
  • δ(t)↔1\delta(t)\leftrightarrow1;
  • cos⁡(2πf0t)↔12[δ(f−f0)+δ(f+f0)]\cos(2\pi f_0t)\leftrightarrow\frac12[\delta(f - f_0) + \delta(f + f_0)].
📝 Quick check (Level 1)
0/3 answered
  1. 1. The FT of rect(t) (width 1) is…
  2. 2. The FT of δ(t) is…
  3. 3. The DFT is…

Level 2: Intermediate

★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.

Properties

Time Frequency
x(t−t0)x(t - t_0) e−j2πft0X(f)e^{-j2\pi ft_0}X(f) (phase ramp)
x(t)ej2πf0tx(t)e^{j2\pi f_0t} X(f−f0)X(f - f_0) (modulation)
x′(t)x'(t) j2πfX(f)j2\pi fX(f)
x∗hx * h XHXH
x(at)x(at) 1∣a∣X(f/a)\frac1{\lvert a\rvert}X(f/a)
X(t)X(t) x(−f)x(-f) (duality)

Uncertainty principle

With RMS widths σt\sigma_t of ∣x∣2\lvert x\rvert^2 and σf\sigma_f of ∣X∣2\lvert X\rvert^2, we have σtσf≥14π\sigma_t\sigma_f\ge\frac1{4\pi}, with equality only for Gaussians (Gabor, 1946). You can’t have a pulse that is both very short and very narrowband.

Power spectral density (PSD)

For a stationary random signal, S(f)S(f) is the Fourier transform of its autocorrelation (Wiener–Khinchin), and ∫S df=Var⁡\int S\,df = \operatorname{Var}. The raw periodogram ∣Xk∣2/(Nfs)\lvert X_k\rvert^2/(Nf_s) is unbiased in the limit but its scatter stays ≈ 100% however long the record. Welch’s method averages K windowed, overlapping segments and cuts the scatter by about K\sqrt K, at the cost of frequency resolution.

🐍 Exercise 1: transform pairs and uncertainty
Approximate the continuous FT with the FFT and verify rect ↔ sinc and Gaussian ↔ Gaussian. Measure σ_t·σ_f for a Gaussian (the bound) and a triangle (above it), and check the modulation and differentiation properties.
📝 Quick check (Level 2)
0/3 answered
  1. 1. A time delay t₀ changes the spectrum's…
  2. 2. Which pulse achieves σ_t σ_f = 1/(4π)?
  3. 3. Welch averaging over K segments reduces PSD scatter by about…

Level 3: Advanced

★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.

Shift and modulation

∫x(t−t0)e−j2πftdt=e−j2πft0X(f)\int x(t - t_0)e^{-j2\pi ft}dt = e^{-j2\pi ft_0}X(f) (substitute u=t−t0u = t - t_0). Modulation is the dual statement. ∎

Differentiation

Integrate by parts: ∫x′e−j2πftdt=j2πf∫xe−j2πftdt\int x'e^{-j2\pi ft}dt = j2\pi f\int xe^{-j2\pi ft}dt (boundary terms vanish). So differentiation amplifies high frequencies, which is why derivative estimates are noisy. ∎

Gaussian transform

Complete the square: ∫e−t2/(2σ2)e−j2πftdt=σ2πe−2π2σ2f2\int e^{-t^2/(2\sigma^2)}e^{-j2\pi ft}dt = \sigma\sqrt{2\pi}e^{-2\pi^2\sigma^2f^2}, a Gaussian with σf=1/(2πσ)\sigma_f = 1/(2\pi\sigma) in amplitude. For the energy densities, σtσf=14π\sigma_t\sigma_f = \frac1{4\pi}. ∎

Periodogram variance

For Gaussian white noise, each periodogram bin is S⋅χ22/2S\cdot\chi^2_2/2, an exponential distribution with standard deviation equal to its mean, independent of N. Averaging K independent segments gives χ2K2\chi^2_{2K} with relative standard deviation 1/K1/\sqrt K. ∎

Exercise 3.1: spectral width of a 10 ms Gaussian pulse (σ_t of the amplitude = 0.01 s)

The amplitude spectrum has σf=1/(2π⋅0.01)≈15.9\sigma_f = 1/(2\pi\cdot0.01)\approx15.9 Hz.

📝 Quick check (Level 3)
0/3 answered
  1. 1. Differentiation multiplies the spectrum by…
  2. 2. A raw periodogram bin for white noise is distributed as…
  3. 3. Wiener–Khinchin: the PSD is the Fourier transform of the…

Level 4: Expert

★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.

Characterizing gyro noise from its spectrum

A gyroscope’s white rate noise integrates into angle random walk (ARW), quoted in datasheets in deg/√h. Ten minutes of 200 Hz data from a gyro with ARW = 0.15 deg/√h are analysed in the exercise. The raw periodogram scatters by 100% at every frequency. A 60-segment Welch average (119 half-overlapping segments) reduces the scatter to 10%, and its flat level recovers ARW = 0.150 deg/√h. Parseval confirms that the PSD area equals the signal variance. Allan variance (IEEE Std 952) complements the PSD for slower terms such as bias instability.

🐍 Exercise 2 (research): gyro angle random walk from the PSD
Simulate white gyro rate noise with a known ARW. Estimate its one-sided PSD with a raw periodogram and with Welch averaging, compare their scatter, recover the ARW in deg/√h, and check Parseval.

Fourier analysis in AI, robotics and aerospace

  • Sensor qualification: IMU noise PSDs and Allan variance; vibration test spectra (random-vibration qualification uses PSD profiles in g²/Hz).
  • Communications: modulation and demodulation; OFDM; spectrum monitoring on SDR payloads.
  • Imaging: MRI and radio interferometry measure Fourier coefficients directly; optical systems are described by their transfer functions.
  • Learning: spectral bias of neural networks (they learn low frequencies first); Fourier features and Fourier neural operators.

References

  1. R. Bracewell (2000). The Fourier Transform and Its Applications, 3rd ed. McGraw-Hill.
  2. D. Gabor (1946). “Theory of communication.” J. IEE, 93(26).
  3. P. Welch (1967). “The use of fast Fourier transform for the estimation of power spectra.” IEEE Trans. Audio and Electroacoustics, 15(2).
  4. IEEE (1997/2008). IEEE Standard Specification Format Guide and Test Procedure for Single-Axis Interferometric Fiber Optic Gyros, IEEE Std 952.
  5. N. El-Sheimy, H. Hou, X. Niu (2008). “Analysis and modeling of inertial sensors using Allan variance.” IEEE Trans. Instrumentation and Measurement, 57(1).
  6. P. Stoica, R. Moses (2005). Spectral Analysis of Signals. Prentice Hall.
  7. N. Rahaman et al. (2019). “On the spectral bias of neural networks.” ICML.