Definition (Fourier series)

For an $L$-periodic function $f: \R\to\C$, define the Fourier series $$ \begin{align*} \frac{1}{2} a_0 + \sum_{n=1}^\infty \left(a_n\cos \frac{2\pi n \theta}{L} + b_n \sin\frac{2\pi n\theta}{L}\right) \end{align*} $$ where, for each $n\in\N$, $$ \begin{align*} a_n &= \frac{2}{L}\int_{0}^{L} f(\theta) \cos \frac{2\pi n \theta}{L} \d \theta \\ b_n &= \frac{2}{L}\int_{0}^{L} f(\theta) \sin \frac{2\pi n \theta}{L} \d \theta \end{align*} $$ and we call $\set{a_n, b_n}_{n=1}^\infty$ the Fourier coefficients of $f$.

Derivation (Fourier series from complex Fourier series)