Fourier Transform
1 Sept 2022
Last updated
Table of Contents
Intro
Mathematical transformation that decomposes functions depending on space or time into functions depending on spatial frequency or temporal frequency.
The transform of function at frequency ξ is given by the complex number . Evaluating this equation for all values of ξ produces the frequency-domain function. The Fourier transform is denoted here by adding a circumflex to the symbol of the function.
When the independent variable represents time (often denoted by instead of ), the transform variable represents frequency (often denoted by instead of ξ). E.g. if time is measured in seconds, then frequency is in hertz (1/s).
From 3b1b’s video:
Essentially, we are winding up our function and plotting the values of the function in a 2D-complex plane. We wind up our function around the origin at some frequency. These frequencies correspond to ξ. Whenever the frequency ξ matches somehow with the frequencies that our signal may be composed of, this will return high values in this integral.
What we are measuring, step by step is:
’s rotation
This piece of the equation allows us to rotate around the origin on the complex plane. is the angle measured in radians. When applied, this will just output a complex number pointing at that angle in the unit circle.
Adding 2π to this, means giving it a full spin:
and adding the frequencies that we want to analyze over time: where and ξ are used interchangeably, as well as and .
This rotates our function clockwise, and the convention states the opposite, so we throw a minus sign in there:
Scaling of the value
Now, this allows us to rotate at our specific frequency that we want to analyze, but the magnitude is still invariant. Every complex number lies on the unit circle. To scale the vector, we just multiply all that by our function at that point in time!
And this will give us a single complex number for a given .
Final integration/sumation
We are now going to evaluate this function for every (or ξ) in the real number plane .
Computationally, this would mean to sample our function at regular intervals, evaluating those samples and taking the average.
where just means the moment in time we are sampling at, and is the value of our function at that time.
Mathematically, this means taking the integral of as much as we can, that means from to ! Sample infinitely many points! In this case we don’t divide by the number of points sampled since it… well… is infinite!
With all this setup, outputs a complex number, that corresponds to the strength of a given frequency in the original signal, and we evaluate that for all possible frequencies. (or, at least, those that we are interested in :P)
The domain now is frequency, not time.
That brings us to the balance between knowing when a particular frequency appears in our signals rather than knowing what frequencies our signal is composed of, ruled by Heisenberg’s uncertainty principle.