Fourier series in Linear Analysis
For an $L$-periodic function $f: \R\to\C$, define the complex Fourier series $$ \begin{align*} \sum_{n\in\Z} \hat f_n e^{2\pi in\theta/L} \end{align*} $$ where $$ \begin{align*} \hat f_n = \frac{1}{L} \int_{0}^{L} f(\theta) e^{-2\pi in\theta/L} \d \theta \end{align*} $$ and we call $\set{\hat f_n}$ the complex Fourier coefficients of $f$.
We write $$ \begin{align*} f(\theta) \sim \sum_{n\in\Z} \hat f_n e^{2\pi in\theta/L} \end{align*} $$ to mean the series on the right is the complex Fourier series of the $L$-periodic function on the left.
Define the Dirichlet kernel $$ \begin{align*} D_N(t) := \sum_{n=-N}^{N} e^{int} = \begin{cases} \displaystyle\frac{\sin(N + \frac{1}{2})t}{\sin \frac{1}{2}t}, &t\not\in 2π\Z, \\ 2N+1, &t\in 2π\Z \end{cases} \end{align*} $$ so that writing $\hat f_n = \frac{1}{2π} \int_{-π}^{π} f(t)e^{-int} \d t$ for the Fourier coefficients, $$ \begin{align*} S_N(f) := \sum_{n=-N}^{N} \hat f_n e^{int} = \frac{1}{2π}\int_{-π}^{π} f(s) D_N(t-s) \d s \equiv f * D_N \end{align*} $$ where $f\in C(\mathbb{T})$ and $\mathbb{T} = \R/\Z \isom \sb{z\in \C}{|z|=1}$.
Then $$ \begin{align*} T_N: C(\mathbb{T}) &\to \C \\ f & \mapsto S_N(f)(0) = \frac{1}{2π} \int_{-π}^{π} f(s) D_N(-s) \d s \end{align*} $$ is a bounded linear functional, and $$ \begin{align*} \|T_N\| = \frac{1}{2π}\int_{-π}^{π} |D_N(s)| \d s \to \infty. \end{align*} $$
Therefore by the principle of uniform boundedness, there exists $f\in C(\mathbb{T})$ such that $(T_N(f))_{N\geq 1}$ does not converge.
Define the Fejér kernel $$ \begin{align*} K_N(t) := \frac{1}{N+1} \sum_{n=0}^{N} D_n(t) = \begin{cases} \displaystyle\frac{1}{N+1} \left(\frac{\sin \frac{N+1}{2}t}{\sin \frac{1}{2}t}\right)^2, &t\not\in 2π\Z, \\ N+1, &t\in 2π\Z \end{cases} \end{align*} $$ where $D_n$ is the $n$-th Dirichlet kernel, and write for $f\in C(\mathbb{T})$ $$ \begin{align*} σ_N(f) := f * K_N = \frac{1}{N+1}\sum_{n=0}^{N} S_n(f) = \frac{1}{N+1}\sum_{n=0}^{N} \sum_{k=-n}^{n} \hat f_k e^{ikt}. \end{align*} $$
Then $K_N$ is an approximate identity, so $$ \begin{align*} σ_N(f) \tto f \qquad \text{in $C(\mathbb{T})$}. \end{align*} $$
This demonstrates the Stone-Weierstrass theorem: the trigonometric polynomials $\set{\sum_{n=-N}^{N} a_n e^{int}}$ is dense in $C(\mathbb{T})$.
Taking the Fourier coefficients gives rise to a well-defined bounded linear map $$ \begin{align*} \mathcal{F}: C(\mathbb{T}) &\to c_0(\Z) := \sb{\text{sequence $(a_n)_{n\in \Z}$ in $\C$}}{a_n\to 0 \text{ as $|n|\to \infty$}} \\ f &\mapsto (\hat f_n)_{n\in \Z}, \end{align*} $$ known as the Fourier transform. The fact $\mathcal{F}(f) \in c_0(\Z)$ is known as the Riemann-Lebesgue lemma.
It has norm $\|\mathcal{F}\| = 1$. $\mathcal{F}$ is injective but not surjective.