← New search

Other meanings of Discrete Fourier transform

Mathematics

Discrete Fourier transform

The discrete Fourier transform (DFT) is a mathematical transform that converts a finite sequence of equally spaced samples of a function into a sequence of coefficients representing the amplitudes and phases of the frequency components of the original sequence. It is the discrete analog of the continuous Fourier transform and is widely used in digital signal processing, image analysis, and many other fields. The DFT is defined for a sequence of N complex numbers and produces N complex numbers, each corresponding to a specific frequency. Its efficient computation is achieved through the fast Fourier transform (FFT) algorithm, which reduces the complexity from O(N²) to O(N log N).

O(N log N)
Complexity of FFT
Computational complexity
N
Number of samples
Input length
1805
Year of Gauss's work
Historical origin
1

Definition and properties

The DFT of a sequence x0, x1, ..., xN−1 is defined as Xk = Σn=0N−1 xn e−2πi nk/N for k = 0, ..., N−1.1 The inverse DFT reconstructs the original sequence from the frequency components. Key properties include linearity, the shift theorem (a cyclic shift in time corresponds to a phase shift in frequency), and the convolution theorem, which states that the DFT of a cyclic convolution equals the pointwise product of the DFTs.2 The DFT is periodic in both domains, and for real-valued inputs, the spectrum exhibits conjugate symmetry, meaning only about half of the coefficients are independent.

2

Computational algorithms

The naive computation of the DFT requires O(N²) operations, which is impractical for large N. The fast Fourier transform (FFT), popularized by Cooley and Tukey in 1965, computes the DFT in O(N log N) time by recursively decomposing the transform into smaller transforms.3 However, the FFT's origins trace back to Carl Friedrich Gauss, who used a similar method in 1805 to interpolate asteroid orbits.4 Other algorithms include the Bluestein's algorithm for arbitrary N and the Rader's algorithm for prime N. For real-valued data, specialized FFT variants exploit symmetry to halve the computation time.

3

Applications

The DFT is fundamental in digital signal processing, enabling spectral analysis, filtering, and modulation. In telecommunications, it is used in OFDM (orthogonal frequency-division multiplexing) for high-speed data transmission, as in Wi-Fi and 4G/5G networks.5 In image processing, the 2D DFT is used for image compression (e.g., JPEG) and filtering. The DFT also underpins the fast convolution of large data sets, and it is used in solving partial differential equations via spectral methods. In audio processing, it is the basis for MP3 compression and speech recognition.

4

Lesser-known aspects

Beyond the standard definition, the DFT has several subtle aspects. The DFT assumes the input is periodic, which can cause spectral leakage when analyzing non-periodic signals; windowing functions mitigate this. The DFT is also related to the discrete cosine transform (DCT), which is used in JPEG because it has better energy compaction for typical images. The number-theoretic transform (NTT) is a variant over finite fields, used in cryptography and polynomial multiplication. The DFT can be computed using the chirp z-transform, which evaluates the transform on a spiral contour. Historically, the DFT was used by Gauss for celestial mechanics, and later by others for crystallography, before the FFT made it ubiquitous.6

Glossary

Fast Fourier transform (FFT)
An algorithm to compute the DFT efficiently in O(N log N) time.
Spectral leakage
The spreading of energy from one frequency bin to adjacent bins due to non-periodic sampling.
Windowing
Multiplying the input sequence by a window function to reduce spectral leakage.
Number-theoretic transform (NTT)
A DFT-like transform over finite fields, used in cryptography.

The DFT is a cornerstone of modern digital technology, from audio and image compression to wireless communications.