Question
Question: The maximum value of the function \[y = 2\tan x - {\tan ^2}x\] over \[\left[ {0,\dfrac{\pi }{2}} \ri...
The maximum value of the function y=2tanx−tan2x over [0,2π] is
A. ∞
B. 1
C. 3
D. 2
Solution
Hint: Here, we will first calculate the first order derivative dxdy of the given function y and then take it equal to 0 to find the critical point. Then we will find the sign of the second order derivative dx2d2y at the obtained critical point. If the sign of second differentiation is negative, then the function has a point of maxima.
Complete step-by-step solution:
Given that the function
y=2tanx−tan2x ......(1)
We know that the point of maxima is calculated by taking the differentiation dxdy of the given function y equals to 0 and then finding the sign of the second differentiation dx2d2y. If the second differentiation is negative, the function has a point of maxima.
Differentiating the above function, we get
dxdy=2sec2x−2tanx⋅sec2x =2sec2x(1−tanx) ......(2)Taking dxdy=0 to find the critical point in the above equation, we get
⇒2sec2x(1−tanx)=0
⇒sec2x=0 or 1−tanx=0
Simplifying the above equations, we get
⇒x=2π or x=4π
Here x=2π is not possible because it is not in the domain of the function.
Therefore, x=4π is the critical point.
Differentiating the equation (2) using the product rule, we get
Replacing 4π for x in the above equation, we get
dx2d2yx=4=4sec24πtan4π−4sec24πtan24π−2sec44π
Using the trigonometric values tan4π=1 and sec4π=2 in the above equation, we get
⇒4(2)2⋅1−4(2)2⋅(1)2−2⋅(2)4 ⇒8−8−8 ⇒−8Since −8 is negative, the given function has a point of maxima at x=4π.
We will now find the maximum value of function at point x=4π by substituting it in the given equation.
y∣x=4π=2tan4π−tan24π =2⋅1−1 =2−1 =1Thus, the maximum value of the given function is 1.
Hence, the option B is correct.
Note: In solving these types of questions, you should be familiar with the steps to find the point of maxima. Then use the given conditions and values given in the question, and substitute in the steps to find the point of maxima of the function. Also, we are supposed to write the values properly to avoid any miscalculation.