I recently finished a proof for a problem that I found particularly interesting. The problem itself is about proving that if a continuous function is positive at some point , then there’s a closed interval around on which takes only positive values. In fact, there is a positive constant such that every value of on is at least . Or in other words, is a positive lower bound for on .
I like this problem for multiple reasons. First, the result is interesting. Informally, it means that continuity of implies we can select a neighborhood of that preserves a property of itself. In this case, that property is positivity. Given the density of real numbers, this result feels intuitive to me, but it’s still nice to see it proven formally.
Additionally, working through the problem was both challenging and fun. It forced me to invoke continuity in a way that was new to me, in that I had to come up with an and a ! You might say it forced me to use the claw of the hammer. Additionally, my first attempt at the proof—which I will share—was wrong; I chose an that was a little too slippery and ended up importing heavy machinery for a light problem.
Anyway, here’s the problem, formally stated.
The problem
Let be the set of real numbers and a continuous function. Suppose that for some , . Prove that there is a positive number and a closed interval for some such that for .
Proof - attempt 1
Let . Since is continuous, we may take such that whenever . Choose . Let and . Since for all , we have . Therefore . Since , it follows that and , as required.
Reflection
The problem with this proof is the choice of . It quietly assumes that the image of the closed interval contains a minimal value. In other words, it makes use of the Extreme Value Theorem. That’s not material I have covered in Mendelson.
Beyond that, if we’re smarter with our choices of and , we can avoid the need for such a heavy tool.
Proof - attempt 2
Let . Since is continuous, we may take such that whenever . Choose . Let and . Since for all , we have . Hence , as required.
Reflection
We end up proving a stronger statement than what the problem asks for, since we demonstrate . And I think that’s a nice takeaway. Prove the stronger statement if it’s easier.
But the real lesson here likely has to do with sharpening my sense for when something is justified. To me, taking seemed intuitive. I implicitly reasoned that a continuous function on a closed interval should attain a minimal value on that interval.
The problem is that my intuition was leaning on ideas that I had not yet earned the right to use.