The Fourier transform is of fundamental importance in science and engineering, yet it often fades from memory after final exams. After graduating, author Erik Fast rediscovered a love for learning and found the Fourier transform appearing in topics he was curious about, especially quantum mechanics, where it is crucial to understanding connections between position, momentum, time, and energy.
He begins in the discrete world, treating each row of an image as a finite signal. A pixel is a value between 0 and 1, where 0 is black and 1 is white. With an image 960 pixels wide, a row is a vector with n=960 entries. A cyclic shift matrix shifts each pixel one to the right, cycling back to the start, and satisfies S^n=I.
The vectors left unchanged or scaled by a matrix are its eigenvectors, with corresponding eigenvalues. For the cyclic shift matrix, the eigenvalues are the nth roots of unity: ω_k=e^{i2πk/n}. These are equally spaced points around the unit circle in the complex plane and are precisely the n distinct eigenvalues of S.
This discrete foundation provides an intuitive path toward understanding the continuous Fourier transform and its applications across science and engineering.
Source: Hacker News · Summarized by HeadlinesBriefing