Derivatives of Exponentials and Logarithms (College Board AP® Calculus AB): Revision Note

Jamie Wood

Written by: Jamie Wood

Reviewed by: Dan Finlay

Updated on

Derivative of the exponential function

How do I differentiate the exponential function?

  • It can be shown that:

    • limh0ex+hexh=ex for all real x

    • limxaexeaxa=ea for all real a

Examiner Tips and Tricks

You do not need to learn how to derive this result as it is beyond the scope of this course.

  • This means that f(x)=ex is an important function because its rate of change is equal to itself

    • f'(x)=ex

  • For the function g(x)=ekx, its rate of change is proportional to itself

    • g'(x)=kekx

    • This occurs as a result of applying the chain rule

  • If there is a constant multiple of the exponential, the same approach used for powers of x can be applied

    • If h(x)=aekx then h'(x)=akekx

Worked Example

Given that f(x)=ex+e2x4e7x, find f'(x).

Answer:

ex differentiates to itself
ekx differentiates to kekx
aekx differentiates to akekx

f'(x)=ex+2e2x4·7e7x

Simplify

f'(x)=ex+2e2x28e7x

How do I differentiate a number raised to the power of x?

  • For a positive constant raised to the power of x,

    • If f(x)=ax where a>0 then f'(x)=ax ln a

  • This can be shown by using the identity ax=exlna

    • f'(x)=exlna·lna=axlna

  • If the power is a multiple of x,

    • g(x)=akx

    • g'(x)=akx k ln a

    • This occurs as a result of applying the chain rule

Worked Example

Given that g(x)=3x+32x, find g'(x).

Answer:

ax differentiates to ax ln a
akx differentiates to akx k ln a

g'(x)=3x ln 3 + 32x·2·ln 3

g'(x)=3x ln 3 + 2·32xln3

Derivative of the natural logarithmic function

How do I differentiate a natural logarithm?

  • For a natural logarithm, it can be shown using inverse functions that

    • If f(x)=ln x for x>0 then f'(x)=1x

Examiner Tips and Tricks

In Unit 3, you learn how to differentiate inverse functions using the rule:

ddx(f1(x))=1f'(f1(x))

lnx is the inverse of ex. And the derivative of ex is ex. Therefore,

ddx(lnx)=1elnx=1x

  • This means that:

    • limh0ln(x+h)lnxh=1x for all x>0

    • limxalnxlnaxa=1a for all a>0

  • If there is a constant multiple of the logarithm, the same approach used for powers of x can be applied

    • If h(x)=a ln x then h'(x)=a (1x)=ax

  • If there is a constant multiple of x inside the logarithm,

    • g(x)=ln kx

    • This can be rewritten using the laws of logarithms

      • g(x)= ln k + ln x

    • ln k is a constant, which means it has a derivative of zero

    • Therefore g'(x)=1x

Examiner Tips and Tricks

Don't forget that the derivative of  lnkx  is 1x

  • I.e. it is exactly the same as the derivative for lnx

  • Differentiating  lnkx  as kx is a common mistake on the exam!

Worked Example

Find the derivative of the following function

f(x)=ln(2x5)+ln(2x)

Answer:

Rewrite both logarithms using the laws of logarithms

f(x)=ln 2 + ln x5 + ln2 + ln xf(x)=ln 2 + 5ln x + ln2 + ln x

Simplify

f(x)=2ln 2+6ln x

2ln 2 is a constant so differentiates to zero
ln x differentiates to 1x

f'(x)=6·1x

f'(x)=6x

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Jamie Wood

Author: Jamie Wood

Expertise: Curriculum Expert

Jamie graduated in 2014 from the University of Bristol with a degree in Electronic and Communications Engineering. He has worked as a teacher for 8 years, in secondary schools and in further education; teaching GCSE and A Level. He is passionate about helping students fulfil their potential through easy-to-use resources and high-quality questions and solutions.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.