Question
Question: The maximum value of \[f\left( x \right) = 2\sin x + \cos 2x\] , \[0 \leqslant x \leqslant \dfrac{\p...
The maximum value of f(x)=2sinx+cos2x , 0⩽x⩽2π occurs at x is
(1) 0
(2) 6π
(3) 2π
(4) None of these
Solution
Hint : First differentiate the given function. Then let the first derivative equal to zero and find the critical numbers. Then find the second derivative of the given function and put those critical numbers in the second derivative. If the second derivative of the function is less than zero then the function is maximum at that value of x.
Complete step-by-step answer :
The value of the function at a maximum point is called the maximum value of the function.
It is given that f(x)=2sinx+cos2x .On differentiating it with respect to x we get
⇒f′(x)=2cosx−2sin2x ---------- (i)
Now let f′(x)=0 to find critical numbers. So,
⇒2cosx−2sin2x=0
We know that sin2x=2sinxcosx .Therefore by putting this value in the above equation we get
⇒2cosx−2(2sinxcosx)=0
On multiplying we get
⇒2cosx−4sinxcosx=0
By taking 2cosx common from the above equation we get
⇒2cosx(1−2sinx)=0
From here we have 2cosx=0 and 1−2sinx=0 .On further solving the equation 2cosx=0 we get
⇒cosx=0
We know that cos2π=0 .Therefore,
⇒cosx=cos2π
From the above equation we get the value of x=2π
On further solving the equation 1−2sinx=0 we get
⇒2sinx=1
⇒sinx=21
We know that sin6π=21 .Therefore the above equation becomes
⇒sinx=sin6π
sin on both sides will cancel out each other and we get
x=6π
Hence, the required critical values are x=2π and x=6π
Now to find the second derivative of the function, differentiate equation (i) with respect to x
f′′(x)=−2sinx−4cos2x
Now apply here the values of x that we find
At x=2π ,
⇒f′′(2π)=−2sin2π−4cos2(2π)
⇒f′′(2π)=−2sin2π−4cosπ
The value of sin2π is 1 and the value of cosπ is −1 .Therefore,
⇒f′′(2π)=−2−4(−1)
⇒f′′(2π)=−2+4
⇒f′′(2π)=2 which is ⩾0 that is function is minimum
At x=6π ,
⇒f′′(6π)=−2sin6π−4cos2(6π)
⇒f′′(6π)=−2sin6π−4cos3π
Value of sin6π is 21 and the value of cos3π is 21 .Therefore,
⇒f′′(6π)=−2(21)−4(21)
On further solving we get
⇒f′′(6π)=−1−2
⇒f′′(6π)=−3 which is ⩽0 that is here the function is maximum
Thus, the function is maximum at x=6π .
Hence, the correct option is (2) 6π
So, the correct answer is “Option 2”.
Note : Remember that the function f(x) is maximum when f’’(x) is less than zero and the function f(x) is minimum when f’’(x) is greater than zero. Remember the formula of Sin2x that we used in the solution. Keep in mind the trigonometric values at every angle or radian because it is important and is used in various questions.