hn.today

Where Does the Fourier Transform Come From?

fasterik.net56 points42 comments
Screenshot of Where Does the Fourier Transform Come From?

The Fourier transform is derived from the eigenvectors of a cyclic shift. Treating an image row as a finite vector, a one-pixel cyclic shift is represented by a matrix whose eigenvalues are the complex nth roots of unity. Its eigenvectors are complex waves of different frequencies, and together they form a basis for representing any pixel row. Changing from pixel values to coefficients in this Fourier basis gives the discrete Fourier transform (DFT); the inverse transform reconstructs the original row. The transform is therefore a change of basis, with normalization conventions affecting only scaling.

The same basis explains why Fourier methods are useful for convolution and blurring. Any operation that applies the same kernel at every position can be represented by a circulant matrix, and applying that matrix is circular convolution. Fourier basis vectors are eigenvectors of every circulant matrix, so the DFT turns convolution into element-by-element multiplication by the transformed kernel. The transform is thus the basis that simultaneously diagonalizes circular convolutions. The discussion then begins extending this reasoning from finite vectors to functions over the real line: sums become integrals, and the finite-dimensional standard basis’s Kronecker delta is replaced by the Dirac delta. This frames the continuous Fourier transform as an infinite-dimensional analogue of the discrete construction.

Read on fasterik.net42 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Science

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.