Let be a continuous function then must assume an absolute maximum value and an absolute minimum value.
That is compact is essential in the proof .
Note: , where , assumes neither a maximum nor a minimum but is bounded above and below.
We will focus on functions on the Real Line, or a closed interval on the Real Line, but we will use "Open Ball" notation to indicate that much of what we will discuss generalizes to Compact Metric Spaces.
We will write for or, in the case of a closed interval,
for
A few formalities about sequences:
A sequence in a set is a function . We will denote this in the usual way as
Given a function then If is strictly increasing, that is for all , then we will
call a subsequence. We will be a bit informal an just write something like
Let . We write if for any there exists an such that
With the same meaning we sometimes write " converges to ."
If then either is the unique limit point of or there exists an such
that for all
Suppose that the sequence does not become constant. That is a limit point follows from the fact that indeed all we have to show is that at least one member of is in . But, in fact, we are given To see that the limit point is unique, let be some other point and it follows from the definition of "" that
can only contain a finite number of points of and hence cannot be a limit point of that set. Why?
Show that if is a continuous function and is such that then
is continuous at means that for any there is a such that
means that for any there is an such that
Combining these we have that for any there is an such that
Which means
In a closed interval every infinite set contains a subset that can be indexed as a sequence that converges to some .
We will define a nested sequence of intervals beginning with
Begin by choosing any Since is infinite either or contains an infinite subset . Letting be that interval, choose
By induction we can find such that contains an infinite subset
and Choose and repeat the induction step.
Let It is straight forward to show since
We show assumes an absolute maximum value. To find an absolute minimum value ,one finds an absolute maximum of and takes its negative.
Let Since we know that is bounded, let
We show that there exists an such that . We know that either or is a limit point of or both. To show that choose a sequence such that and for each choose such that Let Applying the previous Theorem we can find a subsequence and some such that To complete the proof one shows that:
It is still the case that
As we defined it, a subsequence of a convergent sequence is also convergent, to the the same value.
and hence by continuity
and implies