0

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

Vui Tinh
  • 285
  • 1
    If $E$ isn't closed, let $a$ be a limit point of $E$ not in $E$, and consider the function $x \mapsto 1/(x-a)$ and $x \mapsto -1/(x-a)$. If $E$ is unbounded, then consider $x \mapsto x$ and $x \mapsto - x$. – user404961 Feb 05 '17 at 08:15
  • 1
    I guess the theorem you wanted to use was the extreme value theorem, not the intermediate value theorem. –  Feb 05 '17 at 08:16
  • One direction is known as the extreme value theorem. A proof can be found here.

    The other direction has a proof that can be found here

    – Andres Mejia Feb 05 '17 at 08:44

0 Answers0