Differentiating Exponential & Logarithmic Functions (DP IB Analysis & Approaches (AA): HL): Revision Note

Paul

Written by: Paul

Reviewed by: Dan Finlay

Updated on

Differentiating exponential & logarithmic functions

What are exponential and logarithmic functions?

  • Exponential functions have term(s) where the variable (x) is in the power (exponent)

    • In general, these would be of the form y=ax

      • The special case of this is when a=e, i.e.  y=ex

  • Logarithmic functions have term(s) where logarithms of the variable (x) are involved

    • In general, these would be of the form y=logax

      • The special case of this is when a=e, i.e.  y=logex=ln x

What are the derivatives of exponential functions?

  • The first two results, of the special cases above, have been met before

    • f(x)=ex,  f'(x)=ex

    • f(x)=ln x,  f'(x)=1x

    • These are given in the exam formula booklet

  • For the general forms of exponentials and logarithms

    • f(x)=ax

      • f'(x)=ax(ln a)

    • f(x)=logax

      • f'(x)=1xln a

    • These are also given in the exam formula booklet

How do I show or prove the derivatives of exponential and logarithmic functions?

  • For y=ax

    • Take natural logarithms of both sides,  ln y=ln(ax)

    • Use the laws of logarithms,  ln y=xln a

    • Differentiate implicitly,  1ydydx=ln a

    • Rearrange,  dydx=yln a

    • Substitute for y,  dydx=axln a

  • For y=logax

    • Rewrite,  x=ay

    • Differentiate with respect to y, using the above result,  dxdy=aylna 

    • Use dydx=1dxdy dydx=1ayln a

    • Substitute for y dydx=1alogaxln a

    • Simplify,  dydx=1xln a

What do the derivatives of exponentials and logarithms look like with linear functions of x?

  • For linear functions of the form  px+q

    • f(x)=apx+q

      • f'(x)=papx+q(ln a)

    • f(x)=loga(px+q)

      • f'(x)=p(px+q)ln a

    • These are not in the formula booklet

      • they can be derived from chain rule

      • they are not essential to remember

Examiner Tips and Tricks

For questions that require the derivative in a particular format, you may need to use the laws of logarithms.

Be careful with the division law when ln appears in denominators:

  • ln (ab)=ln a  ln b

  • But  ln aln b  cannot be simplified (unless there is some numerical connection between a and b)

Worked Example

a) Find the derivative of a3x2.

Answer:

Chain rule or 'px+q shortcut' is required

ddx[a3x2]=a3x2 ln a×3

The derivative of  a3x2  is  3a3x2 ln a
 

b)       Find an expression for dydx given that y=log5(2x3)

Answer:

Chain rule is needed 

dydx=12x3 ln 5×6x2

Simplify by cancelling

 dydx=3x ln 5

Unlock more, it's free!

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

the (exam) results speak for themselves:

Build on this topic

Paul

Author: Paul

Expertise: Maths Content Creator

Paul has taught mathematics for 20 years and has been an examiner for Edexcel for over a decade. GCSE, A level, pure, mechanics, statistics, discrete – if it’s in a Maths exam, Paul will know about it. Paul is a passionate fan of clear and colourful notes with fascinating diagrams.

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.