Extreme value theorem · Exercise-EXTREME-VALUE-THEOREM-008

Step-by-step solved exercise: Continuity

Which of these functions shows that the theorem fails when the function is not continuous?

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. For the theorem to fail because of continuity, there must be a discontinuity inside the closed interval.

    \[\displaystyle [0,1]\]
  2. Consider \(\displaystyle f(x)=x\) for \(\displaystyle 0\le x<1\) and \(\displaystyle f(1)=0\): as we approach 1, the values tend to 1.

    \[\displaystyle \lim_{x\to1^-}f(x)=1\]
  3. Since \(\displaystyle f(1)=0\), the value 1 is never attained and there is no maximum.

    \[\displaystyle \sup f=1\notin f([0,1])\]
  4. Therefore, that piecewise function shows the theorem fails without continuity.

Answer

\(\displaystyle f(x)=x\) if \(\displaystyle 0\le x<1\), \(\displaystyle f(1)=0\), on \(\displaystyle [0,1]\)

🎯 Build my path to this exercise