differentiating forms of a^x

Maths and statistics discussion, revision, exam and homework help.

This thread is sponsored by:
Announcements Posted on
Important: please read these guidelines before posting about exams on The Student Room 28-04-2013
Sign in to Reply
  1. kingkongjaffa's Avatar
    • Exalted and Worshipped Member
    • Location: Manchester
    • Posts: 931
    differentiating forms of a^x
    hey guys I'm having trouble understanding how to differentiate a constant to the power of a variable, for example

    y=5^x
    I know
    dy/dx = 5^x ln(5)

    and this is the same for any integer, but I don't understand the mechanism and get stuck when it's something of the form

    5x^x or 5^x^2
  2. kingkongjaffa's Avatar
    • Exalted and Worshipped Member
    • Location: Manchester
    • Posts: 931
    Re: differentiating forms of a^x
    see I don't get how this follows :

    y = x^5
    ln Y = X ln (5)

    differntiate both sides,

    = 1/y = (x/5) + ln(5)

    and then i'm confused.
  3. steve2005's Avatar
    • TSR Demigod
    • Location: LONDON
    Re: differentiating forms of a^x
    (Original post by kingkongjaffa)
    hey guys I'm having trouble understanding how to differentiate a constant to the power of a variable, for example

    y=5^x
    I know
    dy/dx = 5^x ln(5)

    and this is the same for any integer, but I don't understand the mechanism and get stuck when it's something of the form

    5x^x or 5^x^2
    Take logs and then differentiate.
  4. kingkongjaffa's Avatar
    • Exalted and Worshipped Member
    • Location: Manchester
    • Posts: 931
    Re: differentiating forms of a^x
    I meant 5^x not x^5 which of course is 5x^4...
  5. kingkongjaffa's Avatar
    • Exalted and Worshipped Member
    • Location: Manchester
    • Posts: 931
    Re: differentiating forms of a^x
    (Original post by steve2005)
    Take logs and then differentiate.
    can you show me I get stuck after taking logs?
  6. Mr M's Avatar
    • Community Assistant
    • TSR Royalty
    • Location: Suffolk
    • Posts: 18,714
    Re: differentiating forms of a^x
    Are you taking logs and then using implicit differentiation?

    y=5^{x^2}

    \ln y = x^2 \ln 5

    and so on?
  7. kingkongjaffa's Avatar
    • Exalted and Worshipped Member
    • Location: Manchester
    • Posts: 931
    Re: differentiating forms of a^x
    (Original post by Mr M)
    Are you taking logs and then using implicit differentiation?

    y=5^{x^2}

    \ln y = x^2 \ln 5

    and so on?
    yeah i get stuck there the logs isn't a problem
  8. Blutooth's Avatar
    • Peer Of The TSR Realm
    • Location: London
    • Posts: 1,945
    Re: differentiating forms of a^x
    (Original post by kingkongjaffa)
    can you show me I get stuck after taking logs?
    Here's a quicker way to do it.
    1)Note that a^x=(e^{lna})^x=e^{lna\cdot x}
    2)Remember that e^{bx} \Rightarrow \frac{dy}{dx}=be^{bx}
    3) Letting b=ln(a) yields  \frac{dy}{dx}=ln(a) \cdot e^{lna\cdot x}=ln(a)\cdot a^x
    Last edited by Blutooth; 13-04-2012 at 12:22.
  9. The Polymath's Avatar
    • TSR Demigod
    Re: differentiating forms of a^x
    (Original post by kingkongjaffa)
    can you show me I get stuck after taking logs?
    As a general rule:

    y = a^x

    ln(y) = ln(a^x)

    ln(y) = x ln(a)

    Now differentiating - the differential of ln(x) is 1/x, so the differential of ln(y) is going to be 1/y times dy/dx:

    1/y * dy/dx = ln(a) <- differentiated the RHS by treating ln(a) as a constant, just as 3x goes to 3 when you diff.

    dy/dx = y ln(a)

    but y = a^x

    so dy/dx = a^x ln(a)
  10. Mr M's Avatar
    • Community Assistant
    • TSR Royalty
    • Location: Suffolk
    • Posts: 18,714
    Re: differentiating forms of a^x
    (Original post by kingkongjaffa)
    yeah i get stuck there the logs isn't a problem
    \ln y =x^2 \ln 5

    \frac{1}{y} \frac{dy}{dx} = (2\ln 5) x

    You know what y = ...?
  11. kingkongjaffa's Avatar
    • Exalted and Worshipped Member
    • Location: Manchester
    • Posts: 931
    Re: differentiating forms of a^x
    ok i realised what i was doing wrong and understand how to do it in the form a^x without looking at the rule....
  12. shawrie777's Avatar
    • Full Member
    • Posts: 140
    Re: differentiating forms of a^x
    y=5^x
    lny=ln(5^x)
    lny=xln5

    differentiate both sides, remembering ln5 is constant
  13. kingfisher's Avatar
    • New Member
    • Posts: 5
    Re: differentiating forms of a^x
    How will one apply chain rule when its related to a fraction in a square root?
Sign in to Reply
Share this discussion:  
Article updates
Moderators

We have a brilliant team of more than 60 volunteers looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

Reputation gems:
The Reputation gems seen here indicate how well reputed the user is, red gem indicate negative reputation and green indicates a good rep.
Post rating score:
These scores show if a post has been positively or negatively rated by our members.