Intuition
The most important observation that allows Fourier series approximation is that given we have that
Form a infinitely dimensional orthonormal basis given the integral relations
And that
Proofs of the relations
In this section we quickly prove why the above equations hold. First we all agree that because their period divides and the sum of the area of a period is clearly 0. Or we can explicitly find the primitive and solve
Equivalently the other part with the cosine.
For the other relations we need to remember some trigonometric identities:
And if we solve now the integral we can see that
Same thing with the others but we use the identities
And
And then you can prove every relation.
Fourier Series
This allows us to define the projection of every function onto that basis. Defined as
Which is explicitely:
Which could be rewritten as follows (called Fourier Series):
With and equivalently. these are called Fourier coefficients of . We call nth Fourier sum
The above series can be written equivalently in:
Properties of the Fourier Series
Norm of the Fourier Series
We assert that
In this case the definition of the norm squared is as follows:
And then it is far easier to derive.
The Fourier transform
We used this to solve a differential equation in Diffusion Models.
The transformations
the Fourier transform of the function is
And it's inverse is