Extreme value theorem · Exercise-EXTREME-VALUE-THEOREM-019
Step-by-step solved exercise: Continuity
Let \(\displaystyle f(x)=x\) if \(\displaystyle 0\le x<1\) and \(\displaystyle f(1)=0\), defined on \(\displaystyle [0,1]\). Which hypothesis of the theorem fails and what happens?
Step by step with comments, a check and common mistakes.
Step-by-step solution
The interval \(\displaystyle [0,1]\) is closed and bounded, so that hypothesis holds.
\[\displaystyle [0,1]\]
At \(\displaystyle x=1\) the left-hand limit is 1, but \(\displaystyle f(1)=0\): \(\displaystyle f\) is not continuous there.
\[\displaystyle \lim_{x\to1^-}f(x)=1\neq0=f(1)\]
The supremum of \(\displaystyle f\) is 1, but it is not attained, because \(\displaystyle f(x)<1\) for all \(\displaystyle x<1\) and \(\displaystyle f(1)=0\).
\[\displaystyle \sup f=1\notin f([0,1])\]
Therefore, continuity fails at \(\displaystyle x=1\), and \(\displaystyle f\) does not attain its supremum.
Answer
\(\displaystyle f\) is not continuous at \(\displaystyle 1\); it does not attain its supremum \(\displaystyle 1\)