How do you differentiate #y=(sin(3x))^(ln(x))#?

1 Answer
Sep 29, 2017

#y' = (sin 3x)^(ln x) * ((ln x)(3 cot 3x) + (ln (sin 3x))/x)#

Explanation:

One way you can do this is by using logarithms in the beginning to rewrite the formula without the exponent, and then proceed with implicit differentiation. This will require you to substitute back at the end to eliminate #y# from your derivative result.

Begin by taking the log of both sides of the equation:

#ln y = ln ( (sin 3x)^(ln x) ) #
#ln y = (ln x)(ln (sin 3x)) " " [A] #

In [A] we used the logarithm rule #ln a^b = b ln a#.

Now we perform implicit differentiation. For brevity, I will use the notation #y'# to represent #dy/dx#:

#1/y y' = (ln x)( 1/(sin 3x) * (cos 3x) * 3) + (ln (sin 3x))(1/x) " " [B] #

#1/y y' = (ln x)(3 cot 3x) + (ln (sin 3x))/x #

#y' = y * ((ln x)(3 cot 3x) + (ln (sin 3x))/x) #
#y' = (sin 3x)^(ln x) * ((ln x)(3 cot 3x) + (ln (sin 3x))/x)" " [C]#

Notes:

In [B] the Product Rule is combined with the Chain Rule to determine the derivative of the right side.

In [C] the original equation is substituted for #y# in the right hand side in order to get a full derivative in terms of #x# only.