Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2018/ii/paper-2/11f/a/solution

For , define its Bernstein polynomial
If , then
Let . By uniform continuity, for any choose such that whenever . Splitting the expectation according to that event and using Chebyshev's inequality gives, uniformly in ,
For sufficiently large this is below . Thus uniformly on . An affine change of variable treats every compact interval, proving the Weierstrass approximation theorem.

New to topics? Read the docs here!