The Chain Rule: Differentiating a Function of a Function | OCR B (MEI) A Level Maths notes

Free preview: The Chain Rule: Differentiating a Function of a Function

Functions Inside Functions

Year 2 (A level only)

Watch: 1-minute explainer

Here's a puzzle. You can differentiate u5 and you can differentiate 3x−2. So surely you can differentiate (3x−2)5? Try 5(3x−2)4 and check it against a graph, and you'll find it's wrong by a factor of 3. This note explains where that 3 comes from, and gives you the single most useful rule in A level calculus.

A function of a function

  • To work out y=(3x−2)5 for a given x, first you find 3x−2, then you raise the answer to the power 5.
  • One function sits inside another. This is a composite function, or a "function of a function".
  • You could expand the bracket, but that takes ages. For x2+5 it is impossible.

Give the inside its own letter

  • Call the inside part u. Then y is a simple function of u, and u is a simple function of x.

u=3x−2,y=u5

  • dudx=3: u changes 3 times as fast as x.
  • dydu=5u4: y changes 5u4 times as fast as u.
  • So y changes 5u4×3 times as fast as x. Rates of change multiply, like gears turning gears.

Diagram: Take y = (3x - 2)^5 near x = 1, with u = 3x - 2.

What the picture shows

  • Take y=(3x−2)5 near x = 1, with u=3x−2.
  • Nudge x by 0.001. Then u moves 3 times as much, and y moves 5 times as much as u.
  • So y moves 5×3=15 times as much as x: dydx=15.

dydx=dydu×dudx

๐Ÿ’ก In plain words

  • dydu is the derivative of the outside function (treating u as the variable).
  • dudx is the derivative of the inside function.
  • Multiply them.

๐Ÿ‘€ Watch me do it: differentiate y=(3x−2)5

What I writeWhy I do it
u=3x−2, y=u5Name the inside.
dudx=3, dydu=5u4Differentiate each layer.
dydx=5u4×3=15u4Multiply.
=15(3x−2)4Always finish by writing u back in terms of x. The question was about x, so the answer must be too.

๐Ÿ’ก The quick way to say it

  • Differentiate the outside (leaving the inside alone), then multiply by the derivative of the inside.
  • Once you are confident you can skip writing u.

Diagram: Both lines try to be the tangent to y = (3x - 2)^5 at (1, 1).

What the picture shows

  • Both lines try to be the tangent to y=(3x−2)5 at (1, 1).
  • 5(3x−2)4 forgets the derivative of the inside and gives 5. The line is too shallow.
  • Multiplying by 3 gives 15(3x−2)4, which is 15 at x = 1. That line just touches.

โœ๏ธ YOUR TURN 1

Try this first:

Differentiate (a) (2x+7)3 (b) (1−4x)6

Answer:

  • (a) 3(2x+7)2×2=6(2x+7)2.
  • (b) 6(1−4x)5×(−4)=−24(1−4x)5. Don't lose the minus sign from the inside.

โœ๏ธ YOUR TURN 2

Try this first:

Differentiate y=(x+4)2 with the chain rule. Then expand the bracket, differentiate again, and check you get the same answer.

Answer:

  • Chain rule: u=x+4, dudx=1, so dydx=2(x+4)×1=2x+8.
  • Expanding: y=x2+8x+16, so dydx=2x+8. โœ“ The same.
  • Here the inside has derivative 1, so forgetting it would not show. With (3x+4)2 it would: the chain rule gives 6(3x+4)=18x+24, and expanding 9x2+24x+16 gives 18x+24 too.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in ยท Subscribe ยท Start free trial

All notes in Differentiation

  1. The Gradient of a Curve: Tangents, Chords and dy/dx
  2. Differentiation from First Principles for Powers of x
  3. Differentiating Powers of x: Rational Indices, Sums and Multiples
  4. Sketching Gradient Functions and the Second Derivative
  5. Equations of Tangents and Normals to a Curve
  6. Increasing and Decreasing Functions and Stationary Points
  7. Classifying Stationary Points and Solving Optimisation Problems
  8. Differentiating sin x and cos x from First Principles
  9. Derivatives of Exponentials, Logarithms and Trigonometric Functions
  10. The Chain Rule: Differentiating a Function of a Function
  11. The Product and Quotient Rules for Differentiation
  12. Connected Rates of Change and Differentiating Inverse Functions
  13. Convex and Concave Curves and Points of Inflection
  14. Implicit Differentiation: Finding dy/dx Without Making y the Subject
  15. Differentiating Parametric Equations
  16. Forming Differential Equations from Rates of Change
  17. Move Up a Grade: A Level Maths Differentiation
  18. Tricky Bits: A Level Maths Differentiation

Video

What's inside for this topic

18 teacher notes, 207 practice questions, 68 flashcards, 7 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp ยท Try one live lesson

Previous note: Derivatives of Exponentials, Logarithms and Trigonometric Functions Next note: The Product and Quotient Rules for Differentiation

The Chain Rule: Differentiating a Function of a Function on other exam boards

All OCR B (MEI) A Level Maths topics ยท A Level Maths