Solution

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

For , extend the restriction of the continuous function to to a continuous function on by making it constant on each of the two remaining intervals. The Weierstrass approximation theorem supplies a polynomial with . Every compact set is eventually contained in , where . Hence eventually. This proves uniform convergence on every compact subset, without assuming any endpoint limits of . The first two polynomials can be chosen arbitrarily.

New to topics? Read the docs here!