Question 13 Marks
Find the maximum value of $\sin \theta+\cos \theta$.
Answer
View full question & answer→Given $ f(\theta)=\sin \theta+\cos \theta, \theta \in[0, \pi]$
$\therefore f^{\prime}(\theta)=\cos \theta-\sin \theta$
$f^{\prime}(\theta)=0$
$\Rightarrow \sin \theta-\cos \theta=0 $
$\Rightarrow \tan \theta=1$
$\therefore \theta=\frac{\pi}{4}$
hence $ f(0)=\sin 0+\cos 0=1$
$f\left(\frac{\pi}{4}\right)=\sin \frac{\pi}{4}+\cos \frac{\pi}{4}$
$=\frac{1}{\sqrt{2}}+\frac{1}{\sqrt{2}}=\sqrt{2}$
$f(\pi)=\sin \pi+\cos \pi=0-1=-1$
$\therefore \text { Absolute maximum value }=\sqrt{2}$
$\therefore f^{\prime}(\theta)=\cos \theta-\sin \theta$
$f^{\prime}(\theta)=0$
$\Rightarrow \sin \theta-\cos \theta=0 $
$\Rightarrow \tan \theta=1$
$\therefore \theta=\frac{\pi}{4}$
hence $ f(0)=\sin 0+\cos 0=1$
$f\left(\frac{\pi}{4}\right)=\sin \frac{\pi}{4}+\cos \frac{\pi}{4}$
$=\frac{1}{\sqrt{2}}+\frac{1}{\sqrt{2}}=\sqrt{2}$
$f(\pi)=\sin \pi+\cos \pi=0-1=-1$
$\therefore \text { Absolute maximum value }=\sqrt{2}$

