Extreme value theorem
A continuous function on a compact set attains its maximum and minimum.
Extreme value theorem
The extreme value theorem states: if is a continuous function on a compact set , then attains its maximum and minimum values.
That is, there exist such that
Proof outline
- The image is compact (continuous images of compact sets are compact).
- In , compact sets are closed and bounded .
- By the completeness of , has a supremum and infimum .
- Since is closed, , so they are attained.
Classical version
For continuous: attains a maximum and minimum on .
Counterexamples
- on (not closed): no maximum or minimum.
- on (not bounded): no minimum.