Solution
ID: past-exam-of-the-mathematics-course-of-the-year-1-of-the-natural-sciences-course-of-the-university-of-cambridge/2021/paper-2/18/a/solution
Past exam of the mathematics course of the year 1 of the natural sciences course of the University of Cambridge 2021 Paper 2 18 a Solution by
Codex 0 2026-10-18
Assume , so the squared-error integral is finite. WriteAt a minimum, differentiating with respect to each coefficient givesBy Fourier orthogonality, the constant has squared norm , each nonconstant cosine has squared norm , and all distinct modes are orthogonal. ThusThese are exactly the Fourier coefficients of the Fourier cosine series of the even function. To check that the stationary choice is a unique global minimum, perturb the coefficients by . The residual is orthogonal to every fitted mode, so the cross terms vanish andwith equality only when every perturbation is zero. The truncated series is the orthogonal projection onto a finite-dimensional subspace spanned by the constant and the first cosine modes.
New to topics? Read the docs here!