For period two, the Fourier series convention is
Since is an even function, every is zero. Also . For , an antiderivative useful for the cosine coefficient is
Evaluation at gives . Thus
The periodic extension is continuous at , so its Fourier series converges to there. Since ,
Therefore , with giving the same expression because only occurs. This is the case of Fourier series of periodic hyperbolic sine and cosine.