Fourier Series
The Fourier Series of a function over an interval is an infinite series that defines the function as a sum of sines and cosines.
Definition
where
Where represents the period of the function. The resulting series, if plotted beyond would be a periodic extension of the function.
Complex Definition
Using Euler's formula, (), we can rewrite the definition above as
where
Even and Odd Extension Variants
By default, the Fourier series simply duplicates the function on the interval and shifts it by for . Alternatively, even and odd periodic extensions can be constructed
Even Extension
In this case, the Fourier series simulates an even function. To accomplish this, we fix the left endpoint at the origin (i.e. ) and construct a Fourier series with the property . This series will involve only cosine terms.
where
Let be the even periodic extension of on the interval such that the image of on the interval is the image of on the interval mirrored about the -axis.
We will compute the Fourier series of . We begin by finding :
By the symmetry of described above, we know that for all and that for all .
Next we find :
Finally, we find with the same method as above:
Observe that is an even function by definition, and is an odd function. Therefore their product is odd, and by symmetry, the integral of their product over the symmetric interval is 0. Hence all sine terms in the series cancel.
Odd Extension
In this case, the Fourier series simulates an odd function. To accomplish this, we fix the left endpoint at the origin (i.e. ) and construct a Fourier series with the property . This series will involve only sine terms.
where
Let be the odd periodic extension of on the interval such that the image of on the interval is the image of on the interval rotated 180 degrees about the origin
We will compute the Fourier series of . We notice right away that and because they are integrals of an odd function over a symmetric interval. Therefore, only the terms need to be computed:
This time, observe that both and are odd functions, so and .
Simplified Interval
On the interval , the formulas simplify to