Fourier analysis represents periodic functions by exponential series and functions on \(\mathbb{R}\) by Fourier transforms. Convergence depends on the function space.
For \(2\pi\)-periodic \(f\in L^1([0,2\pi])\), set \[\widehat{f}(k)=\frac{1}{2\pi}\int_0^{2\pi}f(x)e^{-ikx}\,dx,\qquad S_Nf(x)=\sum_{|k|\leq N}\widehat{f}(k)e^{ikx}.\]
Dirichlet kernel:
\[D_N(x)=\sum_{k=-N}^Ne^{ikx}=\frac{\sin((N+1/2)x)}{\sin(x/2)}.\]
Then \(S_Nf(x)=\frac{1}{2\pi}\int_0^{2\pi}D_N(x-y)f(y)\,dy\).
Fejér kernel: \(F_N(x)=\frac{1}{N+1}\left(\frac{\sin((N+1)x/2)}{\sin(x/2)}\right)^2\) gives the averages \(\frac{1}{N+1}\sum_{j=0}^NS_jf\). These converge uniformly for continuous periodic \(f\). Kernel values at multiples of \(2\pi\) are defined by continuity.
Series convergence: \(S_Nf\to f\) in \(L^2\) for \(f\in L^2\). For piecewise \(C^1\) periodic \(f\), \(S_Nf(x)\to(f(x^-)+f(x^+))/2\).
For \(f\in L^1(\mathbb{R})\), \[\widehat{f}(\xi)=\int_{\mathbb{R}}f(x)e^{-2\pi i x\xi}\,dx.\] If also \(\widehat{f}\in L^1\), then \(f(x)=\int_{\mathbb{R}}\widehat{f}(\xi)e^{2\pi i x\xi}\,d\xi\) almost everywhere, and at every continuity point of \(f\).