The Chain Rule: Differentiating a Function of a Function | OCR 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 and you can differentiate . So surely you can differentiate ? Try 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 for a given x, first you find , 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 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 changes 3 times as fast as x.
- : y changes times as fast as u.
- So y changes times as fast as x. Rates of change multiply, like gears turning gears.

What the picture shows
- Take near x = 1, with .
- Nudge x by 0.001. Then u moves 3 times as much, and y moves 5 times as much as u.
- So y moves times as much as x: .
๐ก In plain words
- is the derivative of the outside function (treating u as the variable).
- is the derivative of the inside function.
- Multiply them.
๐ Watch me do it: differentiate
| What I write | Why I do it |
|---|---|
| Name the inside. | |
| Differentiate each layer. | |
| Multiply. | |
| Always 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.

What the picture shows
- Both lines try to be the tangent to at (1, 1).
- forgets the derivative of the inside and gives 5. The line is too shallow.
- Multiplying by 3 gives , which is 15 at x = 1. That line just touches.
โ๏ธ YOUR TURN 1
Try this first:
Differentiate (a) (b)
Answer:
- (a) .
- (b) . Don't lose the minus sign from the inside.
โ๏ธ YOUR TURN 2
Try this first:
Differentiate with the chain rule. Then expand the bracket, differentiate again, and check you get the same answer.
Answer:
- Chain rule: , , so .
- Expanding: , so . โ The same.
- Here the inside has derivative 1, so forgetting it would not show. With it would: the chain rule gives , and expanding gives 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
- The Gradient of a Curve: Tangents, Chords and dy/dx
- Differentiation from First Principles for Powers of x
- Differentiating Powers of x: Rational Indices, Sums and Multiples
- Sketching Gradient Functions and the Second Derivative
- Equations of Tangents and Normals to a Curve
- Increasing and Decreasing Functions and Stationary Points
- Classifying Stationary Points and Solving Optimisation Problems
- Differentiating sin x and cos x from First Principles
- Derivatives of Exponentials, Logarithms and Trigonometric Functions
- The Chain Rule: Differentiating a Function of a Function
- The Product and Quotient Rules for Differentiation
- Connected Rates of Change and Differentiating Inverse Functions
- Convex and Concave Curves and Points of Inflection
- Implicit Differentiation: Finding dy/dx Without Making y the Subject
- Differentiating Parametric Equations
- Forming Differential Equations from Rates of Change
- Move Up a Grade: A Level Maths Differentiation
- Tricky Bits: A Level Maths Differentiation
Video
What's inside for this topic
18 teacher notes, 198 practice questions, 68 flashcards, 7 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Derivatives of Exponentials, Logarithms and Trigonometric Functions Next note: The Product and Quotient Rules for Differentiation