How do you differentiate y=3^(cotx)y=3cotx?

1 Answer
Jul 21, 2016

This is an interesting problem.

There are different strategies of approaching this question, but I will take what I see simplest: use of the chain rule.

Let y = 3^uy=3u and u = cotxu=cotx. We have to differentiate both.

y = 3^uy=3u

ln(y) = ln(3^u)ln(y)=ln(3u)

lny = u(ln3)lny=u(ln3)

1/y(dy/(du)) = ln31y(dydu)=ln3

dy/du = yln3dydu=yln3

dy/(du) = 3^(u)ln3dydu=3uln3

Now for uu:

u = cosx/sinxu=cosxsinx

By the quotient rule:

u' = (-sinx xx sinx - cosx xx cosx)/(sinx)^2

u' = (-sin^2x - cos^2x)/(sin^2x)

u' = (-(sin^2x + cos^2x))/(sin^2x)

u' = (-1)/sin^2x

u' = -csc^2x

By the chain rule:

dy/dx = 3^(u)ln3 xx -csc^2x

dy/dx = -csc^2x xx 3^(cotx)xxln3

In summary, the derivative of y = 3^(cot(x)) is dy/dx = -csc^2x xx 3^(cotx)xxln3.

Hopefully this helps!