1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Derivative of a composite function?

  1. Aug 13, 2009 #1
    1. The problem statement, all variables and given/known data

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

    2. Relevant equations

    The chain rule

    3. 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 :(
     
  2. jcsd
  3. Aug 13, 2009 #2
    Correct me if I am wrong. It seems that you are trying to find

    [tex]\frac{d}{dx}\;(\cos x)^{\cos(\cos x)}[/tex]

    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.

    [tex]y=f(x)^{g(x)}[/tex]

    [tex]\ln y = \ln \left (f(x)^{g(x)} \right)[/tex]

    [tex]\ln y = g(x) \cdot \ln (f(x))[/tex]

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

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

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

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

    Hopefully this will get you going in the right direction.

    --Elucidus
     
  4. Aug 13, 2009 #3

    Dick

    User Avatar
    Science Advisor
    Homework Helper

    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.
     
  5. Aug 13, 2009 #4
    Yes, that's exactly what I meant, and this clears it up! Thanks :)
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook