Derivative of a composite function?

potmobius
Messages
48
Reaction score
0

Homework Statement



Find the derivative of the function: cos(x)^(cos(cos(x)))

Homework Equations



The chain rule

The Attempt at a Solution



I know how the chain rule works, and I've done many problems with composite functions. However, I just don't know where to start with this one. I'm lost and confused :(
 
Physics news on Phys.org
Correct me if I am wrong. It seems that you are trying to find

\frac{d}{dx}\;(\cos x)^{\cos(\cos x)}

Any time you need to differentiate an expression that involves a variable base and exponent (as we have here) you need to use logarithms and implicit differentiation.

i.e.

y=f(x)^{g(x)}

\ln y = \ln \left (f(x)^{g(x)} \right)

\ln y = g(x) \cdot \ln (f(x))

\frac{d}{dx} \ln y = \frac{d}{dx} \left[ g(x) \cdot \ln (f(x)) \right]

\frac{y'}{y} = \frac{g(x) \cdot f'(x)}{f(x)} + g'(x) \cdot \ln (f(x))

y' = y \cdot \left[ \frac{g(x) \cdot f'(x)}{f(x)} + g'(x) \cdot \ln (f(x)) \right]

y' = \left( f(x)^{g(x)} \right) \cdot \left[ \frac{g(x) \cdot f'(x)}{f(x)} + g'(x) \cdot \ln (f(x)) \right]

Hopefully this will get you going in the right direction.

--Elucidus
 
I'm glad to hear you know how the chain rule works. Now prove it. cos(x) is exp(log(cos(x)). Does that help? Now use properties of exponents and the chain rule. You'll need some product rule as well.
 
Yes, that's exactly what I meant, and this clears it up! Thanks :)
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top