Question
Question: The maximum value of function \[f(x)=\sin x(1+\cos x)\] \[x\in R\] is: A. \(\dfrac{{{\text{3}}^{\d...
The maximum value of function f(x)=sinx(1+cosx) x∈R is:
A. 4323
B. 4335
C. 23
D. 4357
Solution
Firstly multiply the entire function then apply the first derivative test then equate the obtained term to zero to find the values of x.Then apply the second derivative test to find the maximum value and then put the obtained value in the given solution to check which option is correct.
Complete step by step answer:
In our daily life, there are some situations where the greatest and least values of a function are required. The value of a function f(x) of x is said to be maximum when it is greater than the value which the function can assume immediately preceding or following. If the value of a function will increase when the value of the independent variable x will increase. After retaining maximum value its value will start to decrease, then the points at which the functions will start to decrease is called maxima of the function. In a similar way the point at which the value of the function will start to increase, is called minima of the function.
For maxima : At x=a, the value of dx2d2y should be negative that is dx2d2y<0
For minima : At x=a, the value of dx2d2y should be positive that is dx2d2y>0
Now according to the question:
f(x)=sinx(1+cosx)
Now we are multiplying the entire function we will get:
f(x)=sinx+sinx⋅cosx
Now differentiating the function f(x) with respect to x on both sides we get:
dxdf(x)=dxdsinx+dxdsinx⋅cosx
The product rule always says that the derivative of fg=fg′+f′g
Hence,f′(x)=cosx+sinxdxdcosx+cosxdxdsinx
f′(x)=cosx+sinx(−sinx)+cosx(cosx)
f′(x)=cosx−sin2x+cos2x
Now we know that cos2x=cos2x−sin2x
So, f′(x)=cosx+cos2x
We also know that cos2x=2cos2x−1, putting the value we will get:
f′(x)=cosx+2cos2x−1
We may write cosx as 2cosx−cosx
So, f′(x)=2cosx−cosx+2cos2x−1
f′(x)=2cosx+2cos2x−cosx−1
Taking 2cosx and −1 in common we get:
f′(x)=2cosx(cosx+1)−1(cosx+1)
f′(x)=(2cosx−1)(cosx+1)
Equating each term to zero we get:
2cosx−1=0
cosx=21
And cosx+1=0
cosx=−1
Value of x at cosx=21
cos3π=cos21
cosx=cos3π
x=3π
Value of x at cosx=−1
cosπ=−1
cosx=cosπ
x=π
⇒x=3π,π
Again differentiating f′(x) with respect to xon both sides
dxdf′(x)=dxd(2cos2x+cosx−1)
dxdf′(x)=dxd2cos2x+dxdcosx−dxd1
f′′(x)=−4cos(x)sinx−sinx
Putting the values of x in f′′(x)
f′′(x)∣x=3π=−4cos(3π)sin(3π)−sin(3π)
=−4×21×23−23
=−233
f′′(x)∣x=π=−4cos(π)sin(π)−sin(π)
=−4×(−1)×0−0
=0
Hence it is cleared that the function has maximum value at x=3π, as f′′(x) is negative at x=3π.
Hence putting the value of x=3π in the given equation f(x)=sinx(1+cosx)
So, f(3π)=sin3π(1+cos3π)
=23(1+21)
=433
=431×321
=431+21
=4323
So, the correct answer is “Option A”.
Note: You must remember that a function can have various maximum and minimum values and between every two maximum values there exists a minimum value or vice versa and if you want to identify the local maxima or minima of the given function, at first you should try to apply the first derivative test.