Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2025/ia/paper-1/10e/e/i/solution

Let and let be the Dirichlet function, equal to on rationals and on irrationals. Then is continuous exactly on : the distance factor squeezes it to zero on , while away from it is a positive continuous factor times an everywhere-discontinuous function.

New to topics? Read the docs here!