Ok so bear with me here. I am a computer/electrical engineering student who somehow got sucked into math land. Recently, I have been examining the Fourier series and it seems that there are two approaches to the determining coefficients for the Fourier series.
The following summation is referred to as the Fourier series on Wikipedia for a function with period $2\pi$.
- $f(t) = \frac{1}{2}a_0+\sum_{n=1}^\infty[a_n\cos(nt)+b_n\sin(nt)]$
I have encountered the following two integrals which allow us to extract the coefficients of the Fourier series.
- $a_n:=\frac{1}{\pi}\int_{-\pi}^\pi f(t)\cos(nt)\;dt$
and
- $b_n:=\frac{1}{\pi}\int_{-\pi}^\pi f(t)\sin(nt)\;dt$
I have also seen the following summation referred to as the exponential form of the Fourier series
- $f(t) = \sum_{n=-\infty}^\infty c_n\cdot e^{i nt}$
My question here is why are the limits of the summation in Eq. 1 $[0,\infty)$ whilst $(-\infty, \infty)$ in Eq. 2's summation?
I understand that there is a formula for converting the $c_n$ coefficients of Eq. 4 to the $a_n$ and $b_n$ coefficients of Eq. 1. I have not listed it here as it seems not to pertinent to my question.
I have another hunch; the Eq.1 representation of the Fourier series has two different coefficients, but the summation only spans half of the real line. Eq. 4 only has one coefficient, but the summation spans the entire real line.
It seems that the choice of limits can be justified by the following observations.
If the limits of the summation in Eq. 1 were extended to the entire real line, this might be redundant as one could choose to ignore $a_n$ solving instead for $-a_n$.
Truncating the limits of the summation for Eq. 2 to only half the real line makes it impossible to represent some signals, for example, real valued signals require that the imaginary parts of the complex exponential cancel out in the summation.
But is there a deeper more satisfying reason for the difference in these two representations?
The complex fourier series is obtained simply from using the formulas $\cos(nx)=\frac{e^{inx}+e^{-inx}}{2}$ and $\sin(nx)=\frac{e^{inx}-e^{-inx}}{2i}$. Just write a partial sum of the real fourier series and then write sine and cosine using exponentials. This way you will get a partial sum of the complex fourier series. As you can see from the formulas we do have negative powers as well.