Solution

ID: past-exam-of-the-mathematics-course-of-the-year-1-of-the-natural-sciences-course-of-the-university-of-cambridge/2022/paper-2/18/b/solution

Separate the already finite sine terms from the even part . Since is an even function, it has no sine coefficients. Its constant coefficient is
For , integration by parts gives
Therefore the cosine Fourier coefficients are
Only even frequencies survive: . The sine Fourier coefficients are , , with all others zero. Hence
The periodic function is continuous at zero and at its endpoint joins, and its coefficients are absolutely summable. Thus this Fourier series represents it everywhere, including those joins.

New to topics? Read the docs here!