Question
Question: Differentiate \({{x}^{\sin x}},x>0\) with respect to \(x\) ....
Differentiate xsinx,x>0 with respect to x .
Solution
Start by using y=xsinx and taking log of both the sides of the equation. Now use the identity that logab=bloga and differentiate both sides of the equation with respect to x. Use the uv rule of differentiation, i.e., dxd(uv)=vdxdu+udxdv .
Complete step-by-step solution -
Let us start the solution to the above question by letting xsinx,x>0 to be equal to y. So, we can say
y=xsinx............(i)
Now we know, if we take log of both sides of the equation, we know that the equation remains valid. So, we will take log of both sides of the equation. On doing so, we get
logy=logxsinx
Now, we know that logab=bloga . So, using this identity in our equation, we get
logy=sinxlogx
Now we will differentiate both sides of the equation with respect to x. On doing so, we get
dxd(logy)=dxd(sinxlogx)
Using the uv rule of differentiation, i.e., dxd(uv)=vdxdu+udxdv and dxd(logy)=y1dxdy , we get
y1dxdy=dxlogxd(sinx)+dxsinxd(logx)
Now, we know that the derivative of sinx is cosx and logx is x1 . So, using this in our equation, we get
y1dxdy=logx×cosx+sinx×x1
⇒dxdy=y(logx×cosx+sinx×x1)
Now, we will put the value of y from equation (i). On doing so, we get
dxdy=xsinx(cosxlogx+xsinx)
Therefore, we can conclude that the derivative of xsinx,x>0 is xsinx(cosxlogx+xsinx).
Note: Be careful with the signs and calculations as in such questions, the possibility of making a mistake is either of the sign or a calculation error. Also, remember that for taking log of both the sides of the equation, both the sides must be positive. In the above question the RHS is positive as it is given that x>0, if it was not mentioned, we could not have taken log of both the sides and solved the equation.