Question
Question: Differentiate \[{x^{\sin x}}\],\[x > 0\] with respect to x....
Differentiate xsinx,x>0 with respect to x.
Solution
We use the concept of log in this question. Write the value given equal to a different variable and apply logarithm on both sides of the equation. Use the property of log and break the right hand side. Differentiate using product rule of differentiation.
- logmn=nlogm
- logm+logn=logmn
- Product rule of differentiation:dxd(ab)=adxd(b)+bdxd(a)
- Chain rule of differentiation:dxdg(f(x))=dxdg(f(x))×dxdf(x)
Complete step-by-step answer:
We have to finddxd(xsinx)
Here the function is xsinx
Let us assume the function equal to a variable y.
Lety=xsinx … (1)
Now we apply log function on both sides of the equation.
⇒logy=log(xsinx)
Use the propertylogmn=nlogmwhere m is x and n is x.
⇒logy=sinx(logx)
Now differentiate both sides of the equation with respect to x
⇒dxd(logy)=dxd(sinx(logx))
Apply chain rule of differentiation in LHs of the equation
Chain rule gives usdxdg(f(x))=dxdg(f(x))×dxdf(x).
Hereg(f(x))=log(y),f(x)=y, then the equation becomes
⇒dxd(logy)×dxdy=dxd(sinx(logx))
We know dxdlogx=x1
⇒y1×dxdy=dxd(sinx(logx))
Now apply product rule of differentiation in RHS of the equation
Product rule gives usdxd(ab)=adxd(b)+bdxd(a)
Herea=sinx,b=logx, then the equation becomes
⇒y1×dxdy=sinxdxdlogx+logxdxdsinx
Substitute the valuesdxdlogx=x1anddxdsin=cosxin RHS of the equation
⇒y1×dxdy=sinx×x1+logx×cosx
Multiply the terms in RHS of the equation
⇒y1×dxdy=xsinx+logx.cosx
Multiply both sides of the equation by y
⇒y×y1×dxdy=y×(xsinx+logx.cosx)
Cancel same function from numerator and denominator in LHS of the equation
⇒dxdy=y(xsinx+logx.cosx)
Substitute the value of y=xsinxfrom equation (1)
⇒dxd(xsinx)=xsinx(xsinx+logx.cosx)
Take LCM in right side of the equation
⇒dxd(xsinx)=xsinx(xsinx+xlogxcosx)
Since we can write x1=x−1
⇒dxd(xsinx)=xsinx.x−1(sinx+xlogxcosx)
We have x as same base so we can add the powers
⇒dxd(xsinx)=xsinx−1(sinx+xlogxcosx)
∴Differentiation of xsinxwith respect to x is xsinx−1(sinx+xlogxcosx)
Note:
Students many times make the mistake of writing the final answer of differentiation without shifting or removing the value of y from the left hand side of the equation. Keep in mind we only need the value of differentiation of y with respect to x i.e. differentiation of the given function with respect to x.