Question
Question: Differentiate the function \({{\left( \sin x \right)}^{x}}\) with respect to x....
Differentiate the function (sinx)x with respect to x.
Solution
We need to find the value of dxdy where y=(sinx)x. To make the equation more differentiable using different methods, we take logarithm on both sides of the equation to get logy=xlog(sinx). Then we take differentiation on both sides. Using the formula of differentiation of logx and the chain rule we find the differentiation value. We replace the value of y in the final answer to get the solution of the problem.
Complete step-by-step solution
Let’s assume y=(sinx)x. We need to differentiate y with respect to x. We are trying to find dxdy.
First, we change the form of “y” taking logarithms on both sides.
So, y=(sinx)x⇒logy=log(sinx)x.
We have a logarithmic operation logabn=nlogab. We apply that on logy=log(sinx)x.
logy=log(sinx)x⇒logy=xlog(sinx).
Now we apply differentiation on the equation logy=xlog(sinx).
dxd(logy)=dxd[xlog(sinx)].
Differentiation of logx is x1. We also apply chain rule to find the right-side differentiation of the equation.
dxd(logy)=dxd[xlog(sinx)]⇒y1dxdy=sinxx×cosx+log(sinx)⇒y1dxdy=xcotx+log(sinx).
We need to find the value of dxdy. So, we multiply with y on both sides and get
y1dxdy=xcotx+log(sinx)⇒dxdy=y[xcotx+log(sinx)].
We put the value of y in the equation.
dxdy=y[xcotx+log(sinx)]⇒dxdy=(sinx)x[xcotx+log(sinx)].
So, the differentiation of the given equation (sinx)x with respect to x is dxdy=(sinx)x[xcotx+log(sinx)].
Note: We need to remember that we could not have solved it using the differentiation of y=ax form as in the formula value of a has to be constant. Here the value of a was variable as a=sinx. So, we needed to change the form of the exponential into multiplication. That’s why we used the logarithm to find the simplified form.