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) has maximum value at x =
A . 0
B . π
C . 3π
D . 1
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=sin2a 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).
Now multiplying sin x and (1 + cos x), we get-
f(x)=sinx+sinxcosx
Multiplying and dividing by 2 –
f(x)=sinx+22sinxcosx
Now using the trigonometric formula, 2sinxcosx=sin2x , we get-
f(x)=sinx+21sin2x
On differentiating w.r.t x, and putting it equal to zero to find the maximum-
f′(x)=cosx+21.2cos2x=cosx+cos2x
Now, we know cos2x=2cos2x−1 , we get-
To find maxima we put f’(x) = 0, we get-
2cos2x+cosx−1=0
Adding and subtracting cos x in the given equation-
2cos2x+cosx+cosx−cosx−1=0 ⇒2cos2x+2cosx−cosx−1=0 ⇒2cosx(cosx+1)−1(cosx+1)=0 ⇒(2cosx−1)(cosx+1)=0
Equating each term to zero we get-
2cosx−1=0 cosx=21
And cosx+1=0 cosx=−1
So, the value of x at cosx=21 is-