Extreme value theorem · Exercise-EXTREME-VALUE-THEOREM-015
Step-by-step solved exercise: Continuity
Let \(\displaystyle f(x)=\cos x\) on \(\displaystyle [0,\pi]\). At which points does it attain its maximum and minimum?
Extreme value theorem · Exercise-EXTREME-VALUE-THEOREM-015
Let \(\displaystyle f(x)=\cos x\) on \(\displaystyle [0,\pi]\). At which points does it attain its maximum and minimum?
We compute the derivative: \(\displaystyle \cos\) is decreasing on \(\displaystyle [0,\pi]\).
Since it decreases, its extreme values lie at the two endpoints of the interval.
Therefore, the maximum is attained at \(\displaystyle x=0\) and the minimum at \(\displaystyle x=\pi\).
Maximum at \(\displaystyle x=0\), minimum at \(\displaystyle x=\pi\)