Again the function is even, so all sine coefficients vanish. Its constant term is . With , an antiderivative is
Thus . In the requested factored notation,
This is the period-two specialization of the Fourier series of periodic hyperbolic sine and cosine. The function values match at the endpoints, although its derivative has a jump in the periodic extension.
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.