Differentiating Exponential & Logarithmic Functions (DP IB Analysis & Approaches (AA)): 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 equals a to the power of x

      • The special case of this is when a equals straight e, i.e.  y equals straight e to the power of x

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

    • In general, these would be of the form y equals log subscript a x

      • The special case of this is when a equals straight e, i.e.  y equals log subscript straight e x equals ln space x

What are the derivatives of exponential functions?

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

    • f left parenthesis x right parenthesis equals straight e to the power of x comma space space f to the power of apostrophe left parenthesis x right parenthesis equals straight e to the power of x

    • f left parenthesis x right parenthesis equals ln space x comma space space f to the power of apostrophe left parenthesis x right parenthesis equals 1 over x

    • These are given in the exam formula booklet

  • For the general forms of exponentials and logarithms

    • f left parenthesis x right parenthesis equals a to the power of x

      • f to the power of apostrophe left parenthesis x right parenthesis equals a to the power of x left parenthesis ln space a right parenthesis

    • f left parenthesis x right parenthesis equals log subscript a x

      • f to the power of apostrophe left parenthesis x right parenthesis equals fraction numerator 1 over denominator x ln space a end fraction

    • These are also given in the exam formula booklet

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

  • For y equals a to the power of x

    • Take natural logarithms of both sides, space ln space y equals ln open parentheses a to the power of x close parentheses

    • Use the laws of logarithms, space ln space y equals x ln space a

    • Differentiate implicitly, space 1 over y fraction numerator straight d y over denominator straight d x end fraction equals ln space a

    • Rearrange, space fraction numerator straight d y over denominator straight d x end fraction equals y ln space a

    • Substitute for y, space fraction numerator straight d y over denominator straight d x end fraction equals a to the power of x ln space a

  • For y equals log subscript a x

    • Rewrite, space x equals a to the power of y

    • Differentiate with respect to y, using the above result, space fraction numerator straight d x over denominator straight d y end fraction equals a to the power of y ln a space

    • Use fraction numerator straight d y over denominator straight d x end fraction equals fraction numerator 1 over denominator begin display style fraction numerator straight d x over denominator straight d y end fraction end style end fractionspace fraction numerator straight d y over denominator straight d x end fraction equals fraction numerator 1 over denominator a to the power of y ln space a end fraction

    • Substitute for yspace fraction numerator straight d y over denominator straight d x end fraction equals fraction numerator 1 over denominator a to the power of log subscript a x end exponent ln space a end fraction

    • Simplify, space fraction numerator straight d y over denominator straight d x end fraction equals fraction numerator 1 over denominator x ln space a end fraction

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

  • For linear functions of the form space p x plus q

    • f left parenthesis x right parenthesis equals a to the power of p x plus q end exponent

      • f to the power of apostrophe left parenthesis x right parenthesis equals p a to the power of p x plus q end exponent open parentheses ln space a close parentheses

    • f left parenthesis x right parenthesis equals log subscript a left parenthesis p x plus q right parenthesis

      • f to the power of apostrophe left parenthesis x right parenthesis equals fraction numerator p over denominator open parentheses p x plus q close parentheses ln space a end fraction

    • 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 space stretchy left parenthesis a over b stretchy right parenthesis equals ln space a space minus space ln space b

  • But  fraction numerator ln space a over denominator ln space b end fraction  cannot be simplified (unless there is some numerical connection between a and b)

Worked Example

a) Find the derivative of a to the power of 3 x minus 2 end exponent.

Chain rule or 'p x plus q shortcut' is required

fraction numerator straight d over denominator straight d x end fraction open square brackets a to the power of 3 x minus 2 end exponent close square brackets equals a to the power of 3 x minus 2 end exponent space ln space a cross times 3

bold therefore The derivative of  bold italic a to the power of bold 3 bold x bold minus bold 2 end exponent  is  bold 3 bold italic a to the power of bold 3 bold x bold minus bold 2 end exponent bold space bold ln bold space bold italic a
 

b)       Find an expression for fraction numerator straight d y over denominator straight d x end fraction given that y equals log subscript 5 open parentheses 2 x cubed close parentheses

Chain rule is needed 

fraction numerator straight d y over denominator straight d x end fraction equals fraction numerator 1 over denominator 2 x cubed space ln space 5 end fraction cross times 6 x squared

Simplify by cancelling

bold therefore fraction numerator bold space bold d bold italic y over denominator bold d bold italic x end fraction bold equals fraction numerator bold 3 over denominator bold italic x bold space bold ln bold space bold 5 end fraction

You've read 0 of your 5 free revision notes this week

Unlock more, it's free!

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

the (exam) results speak for themselves:

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: Maths Subject 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.