10.1 The Chain Rule
AQA A-level Maths Year 2 · 7357 · Chapter 10: Further Differentiation
What is in the full lesson (17 activities)
Every item below opens free in the course.
- Video: Chain rule: Ex:1
- Video: Chain rule: Ex:2
- Video: Chain rule: Ex:3
- Video: Chain rule: Ex:4
- Video: Chain rule: Ex:5
- Video: Chain rule: Ex:6
- Video: Chain rule: Ex:7
- Video: Chain rule: Ex:8
- Video: Chain rule: Ex:9
- Video: Chain rule: Ex:10
- Video: Chain rule: Ex:11
- Notes: Lesson notes: The Chain Rule
- Interactive lesson: Interactive lesson: Chain Rule Machine
- Interactive lesson: Interactive practice: The Chain Rule Practice
- Practice questions: Practice questions (9 questions, 18 marks)
- Worksheet: Worksheet: The Chain Rule
- Answers: Answers and mark scheme of the Worksheet: The Chain Rule
A free AQA A-level Maths Year 2 lesson for AQA A-level Mathematics (7357) from OBA School: differentiating composite functions, reciprocal trigonometric functions and connected rates of change (AQA 7357: G4). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.
What you will learn
- Use the chain rule dy/dx = dy/du × du/dx to differentiate composite functions
- Differentiate [f(x)]ⁿ, eᶠ⁽ˣ⁾, ln f(x) and trig functions of f(x) quickly
- Differentiate sec x, cosecx and cot x
- Solve problems with tangents, stationary points and connected rates of change
Key words
- Composite function: A function of a function, such as sin (x²): square first, then take sine.
- Inner function: The function applied first; in sin (x²) it is u = x².
- Outer function: The function applied last; in sin (x²) it is sin u.
- Reciprocal trig functions: sec x = 1/(cos x), cosecx = 1/(sin x), cot x = 1/(tan x).
- Connected rates of change: Two rates linked through a third variable, often time.
The chain rule
If y depends on u, and u depends on x, then a small change in x changes u, which changes y. The rates multiply. In practice: name the inner function u, differentiate the outer function with respect to u, then multiply by du/dx.
Chain rule: If y = f(u) and u = g(x), then dy/dx = dy/du × du/dx
Worked example: a power of a linear function
Differentiate y = (5x − 2)⁴
u = 5x − 2, y = u⁴. dy/du = 4u³, du/dx = 5
Answer: dy/dx = 20(5x − 2)³
Worked example: a root
Differentiate y = √(x² + 9)
y = u¹ᐟ² with u = x² + 9: dy/dx = (1/2)u⁻¹ᐟ² × 2x
Answer: dy/dx = x/(√(x² + 9))
Quick patterns
With practice you can skip writing u. Differentiate the outside, leave the inside alone, then multiply by the derivative of the inside.
- [f(x)]ⁿ; dy/dx nf ′(x)[f(x)]ⁿ⁻¹
- eᶠ⁽ˣ⁾; dy/dx f ′(x)eᶠ⁽ˣ⁾
- ln f(x); dy/dx (f ′(x))/(f(x))
- sin f(x); dy/dx f ′(x) cos f(x)
- cos f(x); dy/dx −f ′(x) sin f(x)
Worked example: exponential and logarithm
(a) y = exp(x² − 3x): dy/dx = (2x − 3)exp(x² − 3x)
(b) y = ln (cos x): dy/dx = (−sin x)/(cos x)
Answer: (a) (2x − 3)exp(x² − 3x) (b) −tan x
Worked example: two layers
Differentiate y = sin ² 3x = (sin 3x)²
2 sin 3x × (cos 3x × 3)
Answer: dy/dx = 6 sin 3x cos 3x = 3 sin 6x
Reciprocal trigonometric functions
Each reciprocal function is a power of sin x, cos x or tan x, so the chain rule handles it. The results below are worth learning, but you must be able to derive them.
Worked example: show that (d/dx)(sec x) = sec x tan x
sec x = (cos x)⁻¹, so (d/dx)(cos x)⁻¹ = −(cos x)⁻² × (−sin x)
= (sin x)/(cos ² x) = 1/(cos x) × (sin x)/(cos x)
Answer: sec x tan x
- sec x; dy/dx sec x tan x
- cosecx; dy/dx −cosecx cot x
- cot x; dy/dx −cosec² x
Worked example: a gradient
Find the gradient of y = cosec2x at x = π/8
dy/dx = −2cosec2x cot 2x. At π/8: cosec(π/4) = √2, cot π/4 = 1
Answer: gradient = −2√2
Stationary points
The chain rule often gives a product of factors. Set each factor to zero, and remember that a power such as (x² − 1)² does not change sign, which tells you about the nature of the point.
Worked example: y = (x² − 1)³
dy/dx = 3(x² − 1)² × 2x = 6x(x² − 1)²
= 0 when x = 0 or x = ± 1
At x = 0 the sign changes from - to +: a minimum. At x = ± 1 the sign does not change
Answer: minimum (0, −1); points of inflection (−1, 0) and (1, 0)
Connected rates of change
When two quantities both change with time, link their rates with the chain rule. Write down the formula connecting them, differentiate it, then multiply or divide by the known rate.
Rates: dV/dt = dV/dr × dr/dt and dr/dt = dV/dt ÷ dV/dr
Worked example: a growing cube
The edge of a cube, x cm, increases at 0.5 cm per second. Find the rate of increase of the volume when x = 4
V = x³, dV/dx = 3x² = 48. dV/dt = 48 × 0.5
Answer: 24 cm³ per second
Worked example: working backwards
An oil patch is a circle whose area grows at 20 m² per minute. Find how fast the radius grows when r = 10 m
A = π r², dA/dr = 2π r = 20π. dr/dt = 20/20π
Answer: 1/π = 0.318 m per minute
Common mistakes
- Forgetting to multiply by the derivative of the inside: (d/dx)(3x² + 1)⁵ ≠ 5(3x² + 1)⁴.
- Changing the inside when differentiating the outside: (d/dx)sin (x²) = 2x cos (x²), not 2x cos 2x.
- Writing (d/dx)exp(sin x) = exp(cos x). The exponent stays the same: cos x exp(sin x).
- Mixing up which rate to multiply and which to divide by in connected rates. Check the units cancel.
Revision questions
Try these, then check your answers below each one.
Question 1. Differentiate y = (3x² + 1)⁵. (Choose from: 30x(3x² + 1)⁴; 5(3x² + 1)⁴; 6x(3x² + 1)⁴; 5(6x)⁴.)
Answer: 30x(3x² + 1)⁴
Working: 5u⁴ × 6x = 30x(3x² + 1)⁴.
Question 2. Find the gradient of y = √(4x + 1) at the point where x = 2.
Answer: 2/3
Working: dy/dx = (1/2)(4x + 1)⁻¹ᐟ² × 4 = 2/(√(4x + 1)). At x = 2: 2/3.
Question 3. Differentiate y = ln (x² + 5). (Choose from: 2x/(x² + 5); 1/(x² + 5); 1/2x; 2x/(ln (x² + 5)).)
Answer: 2x/(x² + 5)
Working: The inner function x² + 5 has derivative 2x, so dy/dx = 2x/(x² + 5).
Related lessons
- Previous lesson: 9.2 Integration
- Next lesson: 10.2 The Product Rule
- In this chapter: 10.3 The Quotient Rule
- In this chapter: 10.4 Implicit Differentiation
- In this chapter: 10.5 Differentiating Inverse Functions
Continue in the full course
This lesson is section 10.1 of our free AQA A-level Maths Year 2 course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved.
Continue lesson 10.1 in the free course →