Solveeit Logo

Question

Question: The trigonometric function \[f(x) = \sin x(1 + \cos x)\] has maximum value at x = \({\text{A }}{\t...

The trigonometric function f(x)=sinx(1+cosx)f(x) = \sin x(1 + \cos x) has maximum value at x =
A . 0{\text{A }}{\text{. 0}}
B . π{\text{B }}{\text{. }}\pi
C . π3{\text{C }}{\text{. }}\dfrac{\pi }{3}
D . 1{\text{D }}{\text{. 1}}

Explanation

Solution

Hint – Multiply sin x with the terms inside the bracket and multiply and divide by 2 in the equation, then by using the formula, 2sinacosa=sin2a2\sin a\cos a = \sin 2a and then differentiate it to find the maximum value.

Complete step-by-step solution -
We have been given the function, f(x)=sinx(1+cosx)f(x) = \sin x(1 + \cos x).
Now multiplying sin x and (1 + cos x), we get-
f(x)=sinx+sinxcosxf(x) = \sin x + \sin x\cos x
Multiplying and dividing by 2 –
f(x)=sinx+22sinxcosxf(x) = \sin x + \dfrac{2}{2}\sin x\cos x
Now using the trigonometric formula, 2sinxcosx=sin2x2\sin x\cos x = \sin 2x , we get-
f(x)=sinx+12sin2xf(x) = \sin x + \dfrac{1}{2}\sin 2x
On differentiating w.r.t x, and putting it equal to zero to find the maximum-
f(x)=cosx+12.2cos2x=cosx+cos2xf'(x) = \cos x + \dfrac{1}{2}.2\cos 2x = \cos x + \cos 2x
Now, we know cos2x=2cos2x1\cos 2x = 2{\cos ^2}x - 1 , we get-

f(x)=cosx+cos2x f(x)=cosx+2cos2x1 f(x)=2cos2x+cosx1  f'(x) = \cos x + \cos 2x \\\ \Rightarrow f'(x) = \cos x + 2{\cos ^2}x - 1 \\\ \Rightarrow f'(x) = 2{\cos ^2}x + \cos x - 1 \\\

To find maxima we put f’(x) = 0, we get-
2cos2x+cosx1=02{\cos ^2}x + \cos x - 1 = 0
Adding and subtracting cos x in the given equation-
2cos2x+cosx+cosxcosx1=0 2cos2x+2cosxcosx1=0 2cosx(cosx+1)1(cosx+1)=0 (2cosx1)(cosx+1)=0  2{\cos ^2}x + \cos x + \cos x - \cos x - 1 = 0 \\\ \Rightarrow 2{\cos ^2}x + 2\cos x - \cos x - 1 = 0 \\\ \Rightarrow 2\cos x(\cos x + 1) - 1(\cos x + 1) = 0 \\\ \Rightarrow (2\cos x - 1)(\cos x + 1) = 0 \\\
Equating each term to zero we get-
2cosx1=0 cosx=12  2\cos x - 1 = 0 \\\ \cos x = \dfrac{1}{2} \\\
And cosx+1=0 cosx=1  \cos x + 1 = 0 \\\ \cos x = - 1 \\\
So, the value of x at cosx=12\cos x = \dfrac{1}{2} is-

\because \cos \dfrac{\pi }{3} = \dfrac{1}{2} \\\ \Rightarrow \cos x = \cos \dfrac{\pi }{3} \\\ \Rightarrow x = \dfrac{\pi }{3} \\\ $$ Value of x at $\cos x = - 1$ is – $$ \cos x = - 1 \\\ \because \cos \pi = - 1 \\\ \Rightarrow \cos x = \cos \pi \\\ \Rightarrow x = \pi \\\ $$ $ \Rightarrow x = \dfrac{\pi }{3},\pi $ Again, differentiating f’(x), we get- $ f''(x) = 2.2\cos x.( - \sin x) + ( - \sin x) \\\ = - 4\cos x\sin x - \sin x = - \sin x(4\cos x + 1) \\\ $ Now, finding the value of f” (x) at $x = \dfrac{\pi }{3},\pi $ $f''(x){|_{x = \dfrac{\pi }{3}}} = - \sin \dfrac{\pi }{3}(4\cos \dfrac{\pi }{3} + 1) = - \dfrac{{\sqrt 3 }}{2}\left( {4.\dfrac{1}{2} + 1} \right) = - \dfrac{{\sqrt 3 }}{2}\left( {2 + 1} \right) = \dfrac{{ - 3\sqrt 3 }}{2}$ $f''(x){|_{x = \pi }} = - \sin \pi (4\cos \pi + 1) = 0$ So, clearly the function has maximum value at $x = \dfrac{\pi }{3}$ , as f” (x) is negative at $x = \dfrac{\pi }{3}$ Therefore, the value of x at which the given function has maximum is $x = \dfrac{\pi }{3}$ . Hence, the correct option is ${\text{C }}{\text{. }}\dfrac{\pi }{3}$ . Note - Whenever such types of questions appear to find the maximum value of the given function we use the concept of minima and maxima where we first, differentiate the given function and then put its derivative equal to zero, the value of variable will be critical point at which we find that the value of second derivative is positive or negative, For positive value we get minima and for negative value we get maxima at the critical point.