Definition:Half-Range Fourier Cosine Series

Definition
Let $f \left({x}\right)$ be a real function defined on the interval $\left[{0 \,.\,.\, l}\right]$.

Then the  half-range Fourier cosine series of $f \left({x}\right)$ over $\left[{0 \,.\,.\, l}\right]$ is the series:


 * $\displaystyle f \left({x}\right) \sim \frac {a_0} 2 + \sum_{n \mathop = 1}^\infty a_n \cos \frac {n \pi x} l$

where for all $n \in \Z_{\ge 0}$:
 * $a_n = \displaystyle \frac 2 l \int_0^l f \left({x}\right) \cos \frac {n \pi x} l \rd x$

Also see

 * Fourier Series for Even Function over Symmetric Range, which justifies the definition