Homepage › Solution manuals › James Munkres › Topology › Exercise 18.6
Exercise 18.6
Find a function that is continuous at precisely one point.
Answers
For any real define
We claim that this is continuous only at .
Proof. As it is easier to do so, we show this using the - definition of continuity, which we know implies the open set definition by Exercise 18.1. First we note that since is rational. Now consider any and let . Suppose real where . If is rational then so that . If is irrational then again. Since was arbitrary this shows that is continuous at .
Now consider any . Let , noting that since so that . Now consider any .
Case: . Then but there is clearly an irrational close enough to so that , and hence both and . We also have that . We then have that
so that
Case: . Then , and there is clearly a rational close enough to that . We then also have so that
since .
Hence in either case there is a such that but . This suffices to show that is not continuous at . □