Chain Rule (Cambridge (CIE) O Level Additional Maths): Revision Note

Exam code: 4037

Amber

Written by: Amber

Reviewed by: Dan Finlay

Updated on

Chain rule

What is the chain rule?

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

 y=f(u(x))

 dydx=dydu×dudx

  • In function notation this could be written

 y=f(g(x))

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

How do I know when to use the chain rule?

  •  The chain rule is used when we are trying to differentiate composite functions

    • “function of a function”

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

      •  sin x – not a composite function, 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=f(u)

 Write u as a function of x u=g(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 substitute u back in for g(x)

 

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

How do I differentiate (ax + b)n?

  • For n = 2 you will most likely expand the brackets and differentiate each term separately

  • If n > 2 this becomes time-consuming and if n is not a positive integer we need a different method completely

  • The chain rule allows us to use substitution to differentiate any function in the form y = (ax + b)n

    • Let u = ax + b, then y = un

    • Differentiate both parts separately

      • dudx=a and dydu=nun1

    • Put both parts into the chain rule

      • dydx= dydu × dudx=a × nun1 = anun1 

    • Substitute u = ax + b back into your answer

      • dydx=an(ax+ b)n1

How do I differentiate √(ax+b)?

  • The chain rule allows us to use substitution to differentiate any function in the form y=ax+b

  • Rewrite ax+b=(ax+b)12 

    • Let u = ax + b, then y = u½

    • Differentiate both parts separately

      • dudx=a and dydu=12u12

    • Put both parts into the chain rule

      • dydx= dydu × dudx=a × 12u12 = a2u12 

    • Substitute u = ax + b back into your answer

      • dydx= a2(ax+b)12 =a2ax+b

  • This method can be used for any fractional power of any linear or non-linear expression

    • Provided you know how to differentiate the non-linear expression

Are there any standard results for using chain rule?

  • The following general results are particularly useful

    • If y=(f(x))n then dydx=nf'(x)f(x)n1

  • If y=e f(x) then dydx=f'(x)e f(x)

    • If y=ln(f(x)) then dydx=f'(x)f(x)

    • If y=sin(f(x)) then dydx=f'(x)cos(f(x))

    • If y=cos(f(x)) then dydx=f'(x)sin(f(x))

    • If y=tan(f(x)) then dydx=f'(x)sec2(f(x))

Examiner Tips and Tricks

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

    • every time you use it, say it 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.

STEP 1   Identify the two functions and rewrite

y=u7           u=x25x+7

STEP 2   Find dydu and dudx

dydu=7u6         dudx=2x5

STEP 3   Apply the chain rule, dydx=dydu×dudx

dydx=7u6(2x5) 

Substitute u in terms of x back in

                               =7(x25x+7)6(2x5)

dydx=7(2x5)(x25x+7)6

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

(In this solution, we will be applying the mental method discussed in the Exam Tip above)

"... differentiate sin , ignore e2x"

dydx=cos(e2x)×         

"... multiply by the derivative of e2x": differentiate e2x using the result "if y=ef(x), then dydx=f'(x)ef(x)"

dydx=cos(e2x)×2e2x

dydx=2e2xcos(e2x)

 

Unlock more, it's free!

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

the (exam) results speak for themselves:

Build on this topic

Amber

Author: Amber

Expertise: Maths Content Creator

Amber gained a first class degree in Mathematics & Meteorology from the University of Reading before training to become a teacher. She is passionate about teaching, having spent 8 years teaching GCSE and A Level Mathematics both in the UK and internationally. Amber loves creating bright and informative resources to help students reach their potential.

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.