Solution:
Key idea: The function y is a sum. The first term (sinx)x needs logarithmic differentiation; the second term sin−1x needs the chain rule.
Step 1 — Differentiate u=(sinx)x.
Taking the natural logarithm (where sinx>0) brings the power x down.
logu=xlogsinx
By the product rule, the derivative of xlogsinx is logsinx+x⋅sinxcosx.
u1dxdu=xcotx+logsinx
dxdu=(sinx)x(xcotx+logsinx)
Step 2 — Differentiate sin−1x.
By the chain rule, the derivative of sin−1t is 1−t21, and here t=x has derivative 2x1. Since t2 is x:
dxdsin−1x=1−x1⋅2x1
Step 3 — Add the two derivatives.
The derivative of the sum is the sum of the results of Steps 1 and 2.
dxdy=(sinx)x(xcotx+logsinx)+2x1−x1
Therefore, dxdy=(sinx)x(xcotx+logsinx)+2x1−x1.