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 x^sin(x)

  1. Jan 17, 2014 #1
    This is not homework it's just an equation I pulled out of the air and have been trying to solve

    Derivative of x^sin(x)

    I know it has something to do with the "general power rule" but I cannot figure it out, I'd really love someone to explain it to me conceptually instead of just showing me some trick or short cut to solving it. Thanks ever so much!
     
  2. jcsd
  3. Jan 17, 2014 #2

    vanhees71

    User Avatar
    Science Advisor
    2016 Award

    Hint: Write (for [itex]x>0[/itex])
    [tex]x^{\sin x}=\exp(\ln x \cdot \sin x).[/tex]
     
  4. Jan 17, 2014 #3
    Hi noelo2014...

    The general approach to find derivative of functions of the form y=g(x)h(x) is to first take log on both the sides and then differentiate.

    y=g(x)h(x)
    logy = log{g(x)h(x)}
    logy = h(x)log{g(x)}
    (1/y)y' = h'(x)log{g(x)} + {h(x)/g(x)}g'(x)
    y' = g(x)h(x)[h'(x)log{g(x)} + {h(x)/g(x)}g'(x)]

    Hope this helps
     
  5. Jan 17, 2014 #4

    arildno

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

    I'd rather say that is a neat trick, Tanya Sharma, rather than a "general rule". The general rule is application of the chain rule in some manner.
    Here's a way to make use of the multi-variable chain rule, for a change.
    Consider the function [itex]g(x,y)=x^{y}, Y(x)=\sin(x),\to{f}(x)=g(x,Y(x))[/itex]
    Thus, we easily have:
    [tex]\frac{df}{dx}=\frac{\partial{g}}{\partial{x}}+ \frac{\partial{g}}{\partial{x}}\frac{dY}{dx}[/tex]
     
  6. Jan 17, 2014 #5

    SteamKing

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    Tanya Sharma's 'neat trick' is otherwise referred to as 'logarithmic differentiation'. It is SOP for taking the derivative of certain algebraically complicated expressions.

    http://en.wikipedia.org/wiki/Logarithmic_differentiation
     
  7. Jan 17, 2014 #6
    I think there should be a ∂y/∂x there, I think it should be

    [tex]\frac{df}{dx}=\frac{\partial{g}}{\partial{x}}+ \frac{\partial{g}}{\partial{y}}\frac{dY}{dx}[/tex]

    And thanks...
     
  8. Jan 17, 2014 #7

    arildno

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

    Aargh, yes. :smile:
     
  9. Feb 7, 2014 #8
    So, what's the answer for the first derivative of x^sin x ?

    [(1/x)sin x + (ln x)cos x](x^sin x)?
     
    Last edited: Feb 7, 2014
  10. Feb 7, 2014 #9

    vanhees71

    User Avatar
    Science Advisor
    2016 Award

    Just use
    [tex]f(x)=x^{\sin x}=\exp(\sin x \ln x)[/tex]
    which holds for [itex]x>0[/itex] (as a real function). Then you simply take the derivative, using the chain and product rule:
    [tex]f'(x)=\exp(\sin x \ln x) (\sin x \ln x)'=\exp(\sin x \ln x) \left (\cos x \ln x+\frac{\sin x}{x} \right )=x^{\sin x} \left (\cos x \ln x+\frac{\sin x}{x} \right ).[/tex]
     
  11. Feb 7, 2014 #10
    vanhees71 -

    Guess what? That's what I got (look at my post just above yours)

    I guess I am not as senile as I thought.

    Thanks for your input and help.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Derivative of x^sin(x)
  1. Derivative of (sin(x))^x (Replies: 11)

  2. X->0 (sin[x])/x (Replies: 3)

  3. Integral sin(x)/x (Replies: 2)

Loading...