Skip to main content

Discrete and Fast Fourier Transform

Short answer

DFT transforms N time samples to N complex frequency components via X_k = sum x_n exp(−i2πkn/N), needing N² operations. FFT recursively splits even/odd samples, reducing work to (N/2)log₂N. Used for spectral analysis of earthquake records, vibration, and wave data.

Describe briefly the Discrete Fourier Transform (DFT) and the Fast Fourier Transform (FFT).

Discrete Fourier Transform (DFT)

The DFT converts NN equally spaced samples xnx_n of a signal in the time domain into NN complex frequency components XkX_k:

Xk=∑n=0N−1xn e−i2πkn/N,k=0,…,N−1X_k=\sum_{n=0}^{N-1}x_n\,e^{-i2\pi kn/N},\quad k=0,\dots,N-1

and the inverse is

xn=1N∑k=0N−1Xk ei2πkn/Nx_n=\frac{1}{N}\sum_{k=0}^{N-1}X_k\,e^{i2\pi kn/N}

∣Xk∣|X_k| gives the amplitude and arg⁡Xk\arg X_k the phase of the component at frequency fk=k/(NΔt)f_k=k/(N\Delta t). Direct evaluation needs N2N^2 complex multiplications.

Fast Fourier Transform (FFT)

The FFT (Cooley and Tukey, 1965) is an efficient algorithm for computing the DFT. For N=2mN=2^m it repeatedly splits the sum into even- and odd-numbered samples:

Xk=Ek+WNk Ok,Xk+N/2=Ek−WNk Ok,WN=e−i2π/NX_k=E_k+W_N^{k}\,O_k,\qquad X_{k+N/2}=E_k-W_N^{k}\,O_k,\qquad W_N=e^{-i2\pi/N}

This "butterfly" operation reduces the work to N2log⁡2N\tfrac{N}{2}\log_2N multiplications, so N=1024N=1024 needs about 5,000 operations instead of about 10610^6.

Uses in civil engineering: frequency content of earthquake records, vibration of bridges and buildings, spectral analysis of waves, and signal filtering.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Computational Techniques in Civil Engineering chapter 2 questions →