Baby Rudin Chapter 4 Exercises 5 and 6: Solutions
At a glance
- 1. Use the intermediate value theorem
For Exercise 5, assume the function takes both positive and negative values; continuity then forces a zero between them.
- 2. Apply continuity to limits
For Exercise 6, take a convergent sequence of zeros and use continuity to show its limit is also a zero.
- 3. Check the domain
The zero set is closed relative to [a,b]; it need not be closed as a subset of all of R.
The exercise numbers below refer to the commonly used third edition of Walter Rudin’s Principles of Mathematical Analysis. Exercise numbering can differ across editions or printings, so check that your copy has the same statements.
Exercise 5 asks you to prove that the set of zeros of a continuous function on is closed. Exercise 6 asks you to show that a continuous real-valued function on with no zeros must be either positive everywhere or negative everywhere.
Exercise 5: The zero set is closed
Let
where is continuous. To prove that is closed in , use the sequence criterion for closed sets: show that whenever a sequence in converges to a point , that limit belongs to .
For every , membership in means . Since is continuous at and ,
Thus . Every convergent sequence in whose limit is in the domain has its limit in , so is closed relative to .
There is also a concise set-theoretic explanation. The singleton set is closed in , and . A continuous function has a closed preimage of every closed set, so is closed in its domain. The sequence proof makes the key role of continuity explicit.
Exercise 6: A continuous nonzero function has constant sign
Suppose is continuous and for every . We want to show that either for every , or for every .
Assume, toward a contradiction, that takes both positive and negative values. Then there are points such that and . If necessary, exchange their names so that . The function is continuous on , and lies strictly between and . By the intermediate value theorem, some satisfies . This contradicts the assumption that has no zeros.
Therefore cannot take both signs. Since it is nonzero at every point, all its values must be positive or all must be negative.
The interval condition matters: between any two points of an interval, every point between them is also in the domain. The same claim can fail on a disconnected domain. For example, define on . This function is continuous on its domain and never zero there, but it takes both signs; the missing point prevents the intermediate value theorem from applying across the two pieces.
A worked example
Take on . Its zero set is
which is closed in . For any sequence of zeros , every term must equal , so its limit is also , in agreement with the proof of Exercise 5.
For Exercise 6, instead take on . Since , it has no zeros and is positive everywhere. In contrast, takes both negative and positive values on ; the intermediate value theorem predicts a zero, and indeed .
Common mistakes
- Using continuity without an interval: The sign argument needs the intermediate value theorem on the segment between the two points. A disconnected domain may have a continuous, nonzero function with both signs.
- Forgetting relative closure: Exercise 5 proves that is closed as a subset of . It does not, by itself, say that a zero set restricted to an arbitrary domain is closed in all of .
- Assuming the zero set is nonempty: Exercise 5 allows . The empty set is closed, so no separate nonemptiness argument is needed.
- Claiming a zero set is always finite: It can contain infinitely many points, or even all of if is identically zero. Closedness is the conclusion, not finiteness.
References
- Walter Rudin, Principles of Mathematical Analysis, 3rd edition
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.