Solveeit Logo

Question

Question: The maximum value of \(\sin \theta +\cos \theta \) is A. 1 B. 2 C. 3 D. \(\sqrt{2}\)...

The maximum value of sinθ+cosθ\sin \theta +\cos \theta is
A. 1
B. 2
C. 3
D. 2\sqrt{2}

Explanation

Solution

Hint: We will find the derivative of the given function sinθ+cosθ\sin \theta +\cos \theta and equate the result of the first derivative with zero to get the critical point. In the final step we will find the second derivative of the function and find out if it is positive, negative or zero to get the maximum value of the function. If f(x)<0f''\left( x \right)<0, then it is the positive point.

Complete step-by-step answer:
In the question, we have been given f(x)=sinθ+cosθf\left( x \right)=\sin \theta +\cos \theta and we have to find the maximum possible value for this function. We will use the derivative method to solve this question. In the derivative method, we will find the derivative of the given function by differentiating it. In the next step we will equate the result of the first derivative with zero to get the critical point. (Critical point is the point on which the function equates to zero) In the third step we will find the second derivative of the given function and check if it is positive or negative. If the value of the second derivative is less than zero, then it is the maxima point of the function and if the value is greater than zero, then it is the minima point of the given function.
f(x)<0 (maxima)f''\left( x \right)<0\text{ }\left( \text{maxima} \right)
f(x)>0 (minima)f''\left( x \right)>0\text{ }\left( \text{minima} \right)
On differentiating the given function f(x)f\left( x \right), we get,
f(x)=sinθ+cosθf\left( x \right)=\sin \theta +\cos \theta
We know that d(sinθ)dθ=cosθ\dfrac{d\left( \sin \theta \right)}{d\theta }=\cos \theta
And, d(cosθ)dθ=sinθ\dfrac{d\left( \cos \theta \right)}{d\theta }=-\sin \theta
So, we get f(x)=cosθsinθf'\left( x \right)=\cos \theta -\sin \theta
Now, we will equate f(x)f'\left( x \right) with zero to get the critical point.
cosθsinθ=0\cos \theta -\sin \theta =0
On dividing both sides by cosθ\cos \theta , we get,
cosθcosθsinθcosθ=0 1tanθ=0 tanθ=1 tanθ=1 \begin{aligned} & \dfrac{\cos \theta }{\cos \theta }-\dfrac{\sin \theta }{\cos \theta }=0 \\\ & 1-\tan \theta =0 \\\ & -\tan \theta =-1 \\\ & \tan \theta =1 \\\ \end{aligned}
We know that the value of θ\theta at which the value of tanθ=1\tan \theta =1 is 4545{}^\circ . So, we get θ=45\theta =45{}^\circ .
It means the critical point of the function is 4545{}^\circ .
Now, we will check if the given function sinθ+cosθ\sin \theta +\cos \theta is the maxima or minima at that point. By double differentiating the function, we get,
f(x)=cosθsinθ f(x)=d(cosθ)dθd(sinθ)dθ f(x)=sinθcosθ \begin{aligned} & f'\left( x \right)=\cos \theta -\sin \theta \\\ & f''\left( x \right)=\dfrac{d\left( \cos \theta \right)}{d\theta }-\dfrac{d\left( \sin \theta \right)}{d\theta } \\\ & f''\left( x \right)=-\sin \theta -\cos \theta \\\ \end{aligned}
Taking -1 common from RHS, we get,
f(x)=(sinθ+cosθ)f''\left( x \right)=-\left( \sin \theta +\cos \theta \right)
Now, we will check if f(x)f''\left( x \right) is greater or smaller than zero.
(sinθ+cosθ)<0 f(x)<0 \begin{aligned} & -\left( \sin \theta +\cos \theta \right)<0 \\\ & \Rightarrow f''\left( x \right)<0 \\\ \end{aligned}
Which means that θ=45\theta =45{}^\circ is the point of maxima because f(x)<0f''\left( x \right)<0. So, x=45x=45 is the point of maxima. Hence the maximum value of the function f(x)f\left( x \right) at x=45x=45{}^\circ is,
=sin45+cos45 =12+12 =22 =2 \begin{aligned} & =\sin 45{}^\circ +\cos 45{}^\circ \\\ & =\dfrac{1}{\sqrt{2}}+\dfrac{1}{\sqrt{2}} \\\ & =\dfrac{2}{\sqrt{2}} \\\ & =\sqrt{2} \\\ \end{aligned}
Therefore the maximum value of f(x)=sinθ+cosθf\left( x \right)=\sin \theta +\cos \theta is 2\sqrt{2} and option D is the correct answer.

Note: The value of cosθ\cos \theta and sinθ\sin \theta lie between -1 and 1. We can represent it graphically as shown below,

The value of sinθ\sin \theta will increase from 0 to 2π2\pi and the value of cosθ\cos \theta will decrease from 0 to 2π2\pi .
Thus the maximum value of sinθ+cosθ\sin \theta +\cos \theta will lie only in the first quadrant at 4545{}^\circ .
f(x)=sinθ+cosθ =sin45+cos45 =12+12 =22 \begin{aligned} & f\left( x \right)=\sin \theta +\cos \theta \\\ & =\sin 45{}^\circ +\cos 45{}^\circ \\\ & =\dfrac{1}{\sqrt{2}}+\dfrac{1}{\sqrt{2}} \\\ & =\dfrac{2}{\sqrt{2}} \\\ \end{aligned}