Past exam of the mathematics course of the University of Cambridge 2021 ib Paper 3 5A Solution Created 2026-09-24 Updated 2026-10-14
Evaluating the series for at gives the Leibniz formula for π,Evaluating the continuous Fourier series for at givesand hence
At , the Fourier sum is , and only the odd cosine coefficients contribute. Therefore , givingAt , the sum is . All nonzero cosine terms vanish, and the sine terms have alternating signs over odd indices. Thus , soThis is the Leibniz formula for π obtained from the same Fourier series.