User:IssaRice/Extreme value theorem

From Machinelearning

Working through the proof in Pugh's book by filling in the parts he doesn't talk about.

For , define to be the values that takes on as the input ranges from to (inclusive).

Let (this number exists by the boundedness theorem) and .[note 1]

Our goal now is to find some such that . The idea now is to locate the leftmost point where attains by taking the supremum of . But we have a small problem, which is that might be empty (it is however always bounded, so we don't need to worry about that part). This can happen if , in which case . But if that's the case, we have already found a point where equals , so we're actually done!

So now suppose . Then . We already know that is bounded above, for instance by the number . We can thus take the least upper bound of , say . We already know , so if we can just eliminate the possibility that , we will be done.

So suppose for sake of contradiction that . Choose with .[note 2] Continuity of at implies that there exists such that implies . Now, cannot be an upper bound of , so there exists some such that . Thus for we have . Also, for we have . So is bounded above by on , which means .[note 3] If , then there are points to the right of where continues to stay below , which contradicts the fact that is an upper bound of . So , which means , a contradiction. The assumption that was false, and we conclude .

Takeaways

  • "less than" vs "bounded away from". If we have a sequence like , then we can say this is greater than 0. but we cannot say it is "bounded away from zero", because it gets closer and closer to it in the limit. similarly, in the proof above, we wanted the values of f to be less than M even after taking the supremum of values of f, which meant that we had to bound f from above, not by M, but by something less than M (say m). That way, we could say that , so that even after taking sup, we are strictly less than M.
  • there are "easier" ways to prove this theorem, for instance by using the machinery of sequences. but the nice thing about this proof is that it uses only the least upper bound property of real numbers. so you get to see how facts about continuity are derived "by hand".

Notes

  1. If we had used "" in the definition of , then when we take the supremum we would just end up with , regardless of where achieves the maximum.
  2. It is important here that does not equal ; choosing this would be too weak and we would not be able to conclude , rather only that .
  3. This part of the proof uses quite a bit of "low-level" argumentation, so it can be easy to miss the broader point. The reason we split the interval into two parts is that we know two facts about : (1) near , continuity shows that must be close to the value of ; since we assumed , this means we can find a neighborhood around where is bounded away from . (2) up to , our choice of means the value of is bounded away from . Then we pick as a "handing off point" to pass from one side to the other.