Join TSR now and get all your revision questions answeredSign up now

differentiating forms of a^x Watch

    • Thread Starter
    Offline

    2
    ReputationRep:
    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
    • Thread Starter
    Offline

    2
    ReputationRep:
    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.
    Offline

    2
    ReputationRep:
    (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.
    • Thread Starter
    Offline

    2
    ReputationRep:
    I meant 5^x not x^5 which of course is 5x^4...
    • Thread Starter
    Offline

    2
    ReputationRep:
    (Original post by steve2005)
    Take logs and then differentiate.
    can you show me I get stuck after taking logs?
    • Community Assistant
    Offline

    3
    ReputationRep:
    Are you taking logs and then using implicit differentiation?

    y=5^{x^2}

    \ln y = x^2 \ln 5

    and so on?
    • Thread Starter
    Offline

    2
    ReputationRep:
    (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
    Offline

    3
    ReputationRep:
    (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
    • PS Helper
    Offline

    2
    ReputationRep:
    (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)
    • Community Assistant
    Offline

    3
    ReputationRep:
    (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 = ...?
    • Thread Starter
    Offline

    2
    ReputationRep:
    ok i realised what i was doing wrong and understand how to do it in the form a^x without looking at the rule....
    Offline

    0
    ReputationRep:
    y=5^x
    lny=ln(5^x)
    lny=xln5

    differentiate both sides, remembering ln5 is constant
    Offline

    0
    ReputationRep:
    How will one apply chain rule when its related to a fraction in a square root?
 
 
 
Poll
Is GoT overrated?
Useful resources

Make your revision easier

Maths

Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

Equations

How to use LaTex

Writing equations the easy way

Student revising

Study habits of A* students

Top tips from students who have already aced their exams

Study Planner

Create your own Study Planner

Never miss a deadline again

Polling station sign

Thinking about a maths degree?

Chat with other maths applicants

Can you help? Study help unanswered threads

Groups associated with this forum:

View associated groups

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Quick reply
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.