How do you find the derivative of #y=x^cosx#?

1 Answer
Aug 20, 2016

Answer:

#dy/dx = x^(cosx)(-sinxlnx + cosx/x)#

Explanation:

Take the natural logarithm of both sides:

#lny = ln(x^(cosx))#

#lny = cosx(ln(x))#

Now, take the derivative of both sides.

#1/y(dy/dx) = -sinxlnx + cosx/x#

#dy/dx = (-sinxlnx + cosx/x)/(1/y)#

#dy/dx = x^(cosx)(-sinxlnx + cosx/x)#

Hopefully this helps!