Homepage › Solution manuals › Walter Rudin › Principles of Mathematical Analysis › Exercise 4.13
Exercise 4.13
Exercise 13: Let be a dense subset of a metric space , and let be a uniformly continuous real function defined on . Prove that has a continuous extension from to . Could the range space be replaced by ? By any compact metric space? By any complete metric space? By any metric space?
Answers
Following the hint, for let be the set of such that . By Exercise 9, there is an integer such that so the closure of for is a compact subset of . Since , the intersection is nonempty by Theorem 2.36. This intersection consists of a single point. For suppose and . Let be large enough so that if then . Since both and are in , they have open neighborhoods of radius which intersect , let such that and are in these neighborhoods of and , respectively. Then
which is a contradiction.
Let be this single point in . If , then for all , so , hence is an extension of to all of . To show that is continuous, let . Since is uniformly continuous on , there is so that if and . Let such that , and let be a large enough integer so that and large enough so that, if and , then and . Then
so that
Hence is uniformly continuous on .
The only topological property of that was used was that closed and bounded sets are compact, so the assertion can probably also be extended to . Also, the will also be compact if the target space is compact, so the assertion is probably also true for that case. For a complete metric space, the assertion was proved in the answer to Exercise 11. The assertion is probably not true for a general metric space, but I can’t come up with an example.