Homepage › Solution manuals › Walter Rudin › Principles of Mathematical Analysis › Exercise 5.21
Exercise 5.21
Exercise 21: Let be a closed subset of . We saw in Exercise 4.22 that there is a real continuous function on whose zero set is . Is it possible, for each closed set , to find such an which is differentiable on , or one which is times differentiable, or even one which has derivatives for all orders on ?
Answers
I’m going to show this for the infinitely differentiable case (and even that won’t be complete). Cauchy’s function for , , is the classic counterexample of a non-constant, infinitely differentiable real function such that for all orders (you can easily find a proof of this, or you can try it yourself). We can use this to define a function for , for , which is infinitely differentiable everywhere on and whose zero set is . Finally, for let , an infinitely differentiable function on whose zero set is .
The complement of a closed set of is an open set consisting of a (possibly infinite) collection of open intervals . The function is well-defined since at most one of the terms in the sum is non-zero for any given , infinitely differentiable everywhere on , and has zero set .