Exercise 11
Find the absolute maximum and minimum values of the function given by
Not cross-checked
This solution has not been cross-checked against the answer printed in NCERT.
NCERT’s answer
Absolute maximum \(\displaystyle =\frac{5}{4}\), Absolute minimum \(\displaystyle =1\)
\(\displaystyle f\) is continuous on the closed interval \(\displaystyle [0,\pi]\), so by the extreme value theorem the absolute extrema exist and occur either at an interior critical point or at an endpoint.\[f'(x)=2\cos x(-\sin x)+\cos x=\cos x\,(1-2\sin x). \]Set \(\displaystyle f'(x)=0\) on \(\displaystyle (0,\pi)\):
\[\cos x=0\Rightarrow x=\frac{\pi}{2};\qquad \sin x=\frac{1}{2}\Rightarrow x=\frac{\pi}{6}\ \text{or}\ x=\frac{5\pi}{6}. \]
(Both solutions of \(\displaystyle \sin x=\tfrac12\) lie in \(\displaystyle [0,\pi]\) — dropping \(\displaystyle \tfrac{5\pi}{6}\) is the usual slip.)Evaluate \(\displaystyle f\) at the critical points and endpoints, using \(\displaystyle \cos^{2}\dfrac{\pi}{6}=\cos^{2}\dfrac{5\pi}{6}=\dfrac{3}{4}\):
\[f(0)=1+0=1,\qquad f\!\left(\frac{\pi}{6}\right)=\frac{3}{4}+\frac{1}{2}=\frac{5}{4}, \]
\[f\!\left(\frac{\pi}{2}\right)=0+1=1,\qquad f\!\left(\frac{5\pi}{6}\right)=\frac{3}{4}+\frac{1}{2}=\frac{5}{4},\qquad f(\pi)=1+0=1. \]Absolute maximum value \(\displaystyle =\dfrac{5}{4}\), attained at \(\displaystyle x=\dfrac{\pi}{6}\) and \(\displaystyle x=\dfrac{5\pi}{6}\).Absolute minimum value \(\displaystyle =1\), attained at \(\displaystyle x=0,\ \dfrac{\pi}{2},\ \pi\).