Chain Rule (DP IB Analysis & Approaches (AA): HL): Revision Note

Chain rule

What is the chain rule?

  • The chain rule states that if y is a function of u and u is a function of x 

    • i.e. if y=g(u), where u=f(x)

    • then

      dydx=dydu×dudx

      • This is given in the formula booklet

  • In function notation this could be written

 y=g(f(x))

 dydx=g'(f(x))f'(x)

How do I know when to use the chain rule?

  •  Use the chain rule when you are trying to differentiate a composite function

    • i.e. a “function of a function”

  • These can be identified as the variable (usually x) does not ‘appear alone’

    • sinx is not a composite function, because x ‘appears alone’

    • sin(3x+2) is a composite function

      • x is tripled and has 2 added to it before the sine function is applied

How do I use the chain rule?

  • STEP 1
    Identify the two functions

    Rewrite y as a function of u;  y=g(u)

    Write u as a function of x u=f(x)
     

  • STEP 2
    Differentiate y with respect to u to get dydu
    Differentiate u with respect to x to get dudx
     

  • STEP 3
    Obtain dydx by applying the formula dydx=dydu×dudx and substituting  f(x) back in for u

Examiner Tips and Tricks

In trickier problems the chain rule may have to be applied more than once.

Are there any standard results for using chain rule?

  • There are five general results that can be useful

If...

then...

y=(f(x))n

dydx=nf'(x)(f(x))n1

y=ef(x)

dydx=f'(x)e f(x)

y=ln(f(x))

dydx=f'(x)f(x)

y=sin(f(x))

 dydx=f'(x)cos(f(x))

y=cos(f(x))

 dydx=f'(x)sin(f(x))

Examiner Tips and Tricks

You should aim to be able to spot and carry out the chain rule mentally (rather than writing out the substitution).

Every time you use it, you can say to yourself in your head “Differentiate the first function ignoring the second, then multiply by the derivative of the second function".

Worked Example

a) Find the derivative of y=(x25x+7)7.

Answer:

5-2-2-ib-sl-aa-only-chain-we-soltn-a

b) Find the derivative of y=sin(e2x).

Answer:

5-2-2-ib-sl-aa-only-chain-we-soltn-b

Unlock more, it's free!

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

the (exam) results speak for themselves:

Build on this topic

Lucy Kirkham

Author: Lucy Kirkham

Expertise: Content Creator

Lucy has been a passionate Maths teacher for over 12 years, teaching maths across the UK and abroad helping to engage, interest and develop confidence in the subject at all levels.Working as a Head of Department and then Director of Maths, Lucy has advised schools and academy trusts in both Scotland and the East Midlands, where her role was to support and coach teachers to improve Maths teaching for all.

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.