Explanation
1. Simplify the Function
To make differentiation easier, let's rewrite f(x) by expressing tanx as cosxsinx:
f(x)=1+xcosxsinxx=cosx+xsinxxcosx
For easier calculation, we can consider the reciprocal g(x)=f(x)1. The function f(x) is maximum when g(x) is minimum.
g(x)=xcosxcosx+xsinx=xcosxcosx+xcosxxsinx
2. Find the Derivative
Now, differentiate g(x) with respect to x:
3. Set the Derivative to Zero
To find the critical point (where the maximum or minimum occurs), set g′(x)=0:
Taking the square root on both sides (since x is in the first quadrant, values are positive):
4. Solve for x
Since secx=cosx1, we have:
Conclusion
The function reaches its extremum when x=cosx. By checking the second derivative, we can confirm this point provides the minimum for g(x), and consequently, the maximum for f(x).
Correct Option: B) x=cosx