The Fourier Transform Is Just a Change of Basis

Where Does the Fourier Transform Come From?

Starting with a single row of pixels, Erik Fast builds the discrete Fourier transform from scratch: the cyclic shift matrix, its eigenvectors (the roots of unity), and the Fourier basis they form. The key insight is that the DFT is nothing more than a change of basis, and that every circulant matrix — every circular convolution — is diagonalized by it. From there he works gradually toward the continuous case.

As we've seen, these operations are just a change of basis.
  1. SyzygyRhythm

    I found the explanation interesting, but it was quite alien compared to the usual one. I value seeing alternate explanations and motivations for things. It helps gain perspective. I'd not made the connection before with the cyclic shift matrix before, and now I wonder if there's a connection with the e^D operator (the exponential of the derivative), which can act as a shift operator for continuous functions.

    That said, I'd argue that "where X comes from" is a factual claim about the history, and it doesn't seem like this is what motivated Fourier or others. They started with the idea/observation that functions could be decomposed into a sin/cos basis. It didn't arise as a side effect of the eigenvalues of a shift matrix.

  2. prewett

    This is a strange explanation, compared to the standard explanation that a Fourier transform converts time-domain to frequency domain (that is, the x-axis goes from time to freq), and it comes from the observation that a (possibly infinite) sum of sin/cosines of different frequencies can make any curve. A discrete Fourier transform would change the integral into a summation.

    I guess you could consider the sines as basis functions and use matrices, but I suspect that a series of sines varying only by frequency and amplitude aren’t orthogonal basis functions, although linear algebra isn’t my strong suite.

  3. bananaflag

    > Everything we’ve covered so far has been linear algebra, which is the theory of finite-dimensional vector spaces. The generalization of this theory to infinite dimensions is known as functional analysis.

    I've seen this a lot of times and I don't like it. Linear algebra means you just study vector spaces (over arbitrary fields). Functional analysis means you study Banach or Hilbert spaces and generalizations thereof. In both cases the spaces can be finite or infinite dimensional.

  4. anigbrowl

    The best resource for understanding Fourier transforms is https://www.dspguide.com, a free textbook that is now >20 years old.

  5. novia

    Beautiful visualizations. Anyone know how they were made?

More from this day

2026-12-04