Discrete Fourier transform
Motivation
See several coupled oscillators#Transformation to Normal Coordinates via Discrete Fourier Transform, to see it in the context of a discrete chain of oscillators.
In coupled oscillator systems, we seek to decouple the equations of motion by transforming to normal coordinates:
where:
is the matrix of eigenvectors of the system, contains the time-dependent normal coordinates, - Each
evolves independently:
Key point: After the transformation, we still need to solve differential equations for the time evolution of the system, but they are simpler (decoupled).
On the other hand, in image processing, an image (e.g. a 3×3 array
where:
are the pixel values (grey levels), are the frequency components.
Key point: The DFT expresses the image as a sum of spatial frequency patterns (sinusoids), but no time evolution is involved. We simply compute these coefficients once:
Nuance: The analogy with normal modes of oscillators rests on an assumed or implicit spatial coupling between neighboring pixels—similar to how springs couple oscillators. In oscillators, the normal mode basis arises from diagonalizing a specific coupling matrix (spring forces); in images, the DFT basis is meaningful because we assume or model that nearby pixel values are correlated (as if coupled), making spatial sinusoids a natural basis for decomposition. Without this assumption, applying the DFT to static data is just a mathematical choice, not one tied to any physical coupling.
Note: The Fast Fourier Transform (FFT) is a fast algorithm to compute the DFT. The mathematical meaning is the same; FFT just makes it computationally feasible.
Definition
Let
The standard basis of
for
Define the Fourier basis
for
The Discrete Fourier Transform (DFT) of
Thus,
and the inverse DFT recovers
Given a vector
The change of basis is given by:
where
For example, for
Related: Fourier transform.
Related: Fourier series expansion.
Related: convolution (discrete)