Skip to the formula

Chain rule: dy/dx = dy/du × du/dx

The chain rule is dy/dx = dy/du × du/dx.

What each letter means

When to use it

In IB AA and AI HL to differentiate composite functions such as e²ˣ⁺¹, sin 3x or √(x² + 1), and in AA HL related rates, where dV/dt = dV/dr × dr/dt.

Worked example

Differentiate \(y=(3x^2+1)^5\).

  1. Let \(u=3x^2+1\), so \(y=u^5\)
  2. \(\dfrac{dy}{du}=5u^4\), \(\dfrac{du}{dx}=6x\)

Answer: \(\dfrac{dy}{dx}=30x(3x^2+1)^4\)

Common mistake

In a related rates question, substituting the value of r before differentiating. Differentiate first, then put in the value at that moment.

Fix it with practice: Skill Builder: Rules of Differentiation (free account).

Try one yourself

One quick IB Maths question on the chain rule. No sign-in needed.

Find \(\frac{dy}{dx}\) when \(x = 4\) for \(y = \left(2 x - 5\right)^{2}\).
Choose your answer · keys 1–4

On your IB Maths course

CourseIn the exam
AA SL
All IB AA SL formulas by topic
In the IB formula booklet
AA HL
All IB AA HL formulas by topic
In the IB formula booklet
AI HL
All IB AI HL formulas by topic
In the IB formula booklet

From our own IB Maths formula sheets, in our words. The IB gives its booklet to schools, so we checked against our own copy: your teacher has the official one. Official: IB DP Mathematics page.

Practise and revise

Chain rule formula card: dy/dx = dy/du × du/dx. IB Math Revision
Chain rule card for IB Maths: download (PNG).

IB Maths FAQ

Is the chain rule in the IB formula booklet?

AA SL: in the IB formula booklet. AA HL: in the IB formula booklet. AI HL: in the IB formula booklet.

How is the chain rule used in IB related rates questions?

Link the rate you want to the rate you know. For a sphere, V = (4/3)πr³, so dV/dt = 4πr² × dr/dt; then substitute the value of r.

Our own wording, examples and card, checked by IB Math Revision. Not produced or endorsed by the International Baccalaureate Organization.