Homepage › Solution manuals › Walter Rudin › Principles of Mathematical Analysis › Exercise 4.18
Exercise 4.18
Exercise 18: Every rational can be written in the form , where and and are integers without any common divisors. When , we take . Consider the function defined on by
Prove that is continuous at every irrational point, and that has a simple discontinuity at every rational point.
Answers
(Matt “frito” Lundy)
Because every point
is a limit point of
, we can show that for
, we have
and for
, we have
.
Fix . Let be a sequence in such that and as .
If has only finitely many , then there exists some such that implies that , because each is irrational after some finite number of terms. If has infinitely many , let be a subsequence of consisting of all the rational . must converge to because converges to .
Each where , and . We claim that , as , so that
Suppose that , then there exists some such that for all . Then we have:
If is unbounded, then, bounded means that (3) is unbounded. If is bounded, then there are finitely many values of and . means that for any , so let then:
So,
leads to
not converging to
, a contradiction. So
, and for any
,
, and thus
is continuous at every irrational
, and discontinuous at every rational
.