Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2018/ia/paper-1/10f/d/solution

At a nonzero rational in lowest terms, irrational points approach with function value zero, whereas , so is discontinuous. At zero, for nonzero , hence and continuity follows.
At an irrational , given , only finitely many rationals in a bounded neighbourhood have reduced denominator . Choose a neighbourhood avoiding those points; throughout it, . Consequently the continuity set is . This is a variant of the Thomae function.

New to topics? Read the docs here!