I need help to show that a set E of real numbers is closed and bounded if and only if every continuous function on E takes a maximum value.
I can use The Intermediate Value Theorem to prove if E is closed and bounded then every continuous function on E takes a maximum value. But converse part I do not know how to prove. Please help. Thanks
The other direction has a proof that can be found here
– Andres Mejia Feb 05 '17 at 08:44