Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2004/iii/paper-71/3/b/solution

The coefficient sum is finite, so the Weierstrass M-test makes the cosine series uniformly convergent and continuous. Put and . The indicated partial sum belongs to because its largest frequency is . Its tail satisfies
and equality holds at . Thus its supremum norm error is exactly .
At the points , , every omitted frequency is an odd integer multiple of . Indeed for ,
Uniform convergence permits summing these values, giving
These are cyclically alternating extrema. Since , there are of them, so the trigonometric Chebyshev alternation theorem proves that the partial sum is the unique best approximant. Consequently the positive lacunary trigonometric series has
The positivity of every tail coefficient makes the same tail attain its full coefficient sum with alternating signs; a triangle bound alone would not establish optimality.

New to topics? Read the docs here!