I am currently learning about Fourier series, and I am confused about a mismatch between two different results.
Let's take a square wave $\operatorname{x}\left(t\right)$ with period $1$ and amplitude $1$. The Fourier series is $$ \operatorname{x}\left(t\right) = \frac{4}{\pi}\sum_{n = 1}^{\infty} \frac{1}{2n - 1}\,\sin\left(2\pi\left[2n - 1\right]t\right) $$
- Each term in the summation is obviously continuous. Also, the sum of multiple continuous functions is continuous.
- Thus, I would expect the infinite sum to be continuous as well.
- However, the square wave clearly contains discontinuities, so I must be making a mistake somewhere. Is this a problem with infinity $?$. Is this some analysis concept I am unaware of $?$.
Thanks.
A sequence of continuous functions need not converge to a continuous function.
We can consider a simpler examples:
$$f_n(x)=x^n, x\in [0,1]$$
The limit is not a continuous function.
Forier-series allow us to construct many more such examples. Just take a piecewise continuous periodic function that is not continuous, the approximating polynomial is certainly continuous but the limit is not.