Explanation
Solution
To find where the function attains a maximum, we first find its derivative and set it to zero.
Step 1: Simplify the function
The given function is:
Multiplying the numerator and denominator by cosx:
Step 2: Differentiate with respect to x
Using the quotient rule dxd(vu)=v2vu′−uv′:
Let u=xcosx⟹u′=cosx−xsinx
Let v=cosx+xsinx⟹v′=−sinx+sinx+xcosx=xcosx
Now, calculate y′:
y′=(cosx+xsinx)2(cosx+xsinx)(cosx−xsinx)−(xcosx)(xcosx)
y′=(cosx+xsinx)2cos2x−x2sin2x−x2cos2x
y′=(cosx+xsinx)2cos2x−x2(sin2x+cos2x)
Since sin2x+cos2x=1:
y′=(cosx+xsinx)2cos2x−x2
Step 3: Set the derivative to zero for stationary points
For maxima or minima, y′=0:
Taking the square root:
Final Answer:
The curve attains a maximum when x=cosx. The correct option is (A).