#%config InlineBackend.figure_format = 'svg'
from pylab import *
Periodic functions can be approximated by a series of sine and cosine functions. This leads us to the Fourier transform of a function defined on a bounded interval and we can think of this function being extended periodically to R.
Uniform convergence is the strongest property, and it implies pointwise and mean square convergence Tveito & Winther, 2005.
Clearly we need ∣f^k∣→0 as ∣k∣→∞ for the series to converge and the rate of decay needs to be sufficiently fast. The rate of decay of f^k depends on the smoothness of the function.
The term piecewise continuous can be replaced with bounded variation. The proof is based on an adaptation of Gander & Kwok, 2018, Theorem 4.2.
Tveito, A., & Winther, R. (2005). Introduction to Partial Differential Equations (Vol. 29). Springer-Verlag. 10.1007/b138016
Davis, P. J. (1963). Interpolation and Approximation. Dover Publications.
Shen, J., Tang, T., & Wang, L.-L. (2011). Spectral Methods: Algorithms, Analysis and Applications (Vol. 41). Springer Berlin Heidelberg. 10.1007/978-3-540-71041-7
Gander, M. J., & Kwok, F. (2018). Numerical Analysis of Partial Differential Equations Using Maple and MATLAB. Society for Industrial. 10.1137/1.9781611975314
Rudin, W. (1976). Principles of Mathematical Analysis (3rd ed.). McGraw Hill.