Homepage › Solution manuals › Walter Rudin › Principles of Mathematical Analysis › Exercise 4.5
Exercise 4.5
Exercise 5: If is a real continuous function defined on a closed set , prove that there exist continuous real functions on such that for all . Show that the result becomes false if the word “closed” is omitted. Extend the result to vector-valued functions.
Answers
By Exercise 2.29, the open complement of is a countable collection of disjoint open intervals . If define on to take the constant value . Similarly, if , define on to take the constant value . Otherwise, on , let be the linear function
Note that , , and the values of lie between and on .
Let for and for . It is clear that is continuous at any , so suppose and let . Then there is a such that for . If , then for some , and we can replace with . Similarly, if , we can replace with some . Hence, if any of the open intervals intersect , then both and must be in . By the construction of the , we must have for .
If , so that for some , then by the linearity of we can increase by an amount small enough so that for . Similarly, if so that for some , we can increase by an amount small enough so that for . Hence both and , so we can conclude that is continuous at .
Let for . There can be no extension of to all of since .
If is a continuous map from a closed set in into , then each of the component functions are continuous functions on by Theorem 4.10(a). Extend each of the to a continuous function defined on all of . Then, also by Theorem 4.10(a), the vector-valued function is a continuous extension of to all of .