# What is the derivative of #x^(cosx)#?

##### 1 Answer

Jul 29, 2015

We shall attack this problem by logarithmic differentiation.

#### Explanation:

Let,

Taking natural logarithm on both the sides, we obtain

Now, differentiating with respect to

In the last step, I used chain rule on the LHS and the product rule on the RHS.

Thus,