What is the chain rule?

A special rule, the chain rule, exists for differentiating a function of another function (finding dy/dx).

Consider the expression cos x2 . We call such an expression a ‘function of a function’.  We could identify them more mathematically by saying that f(x) = cos x and g(x) = x2, such that f(g(x)) = f(x2) = cos x2.

How to use the chain rule:

  1. substitute u = g(x), which gives y = f(u)

  2. Use the chain rule: dy/dx= dy/du × du7dx. 

Example: differentiate y = cos x2

Let u = x2  and  y = cos u

du/dx = 2x and dy/du = -sin u.

Use the chain rule: dy/dx = dy/du × du/dx = -sin u × 2x = -2x sin x2

DM
Answered by Diego M. Maths tutor

3579 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

How do you integrate ln(x) with respect to x?


By completing the square, find the values of x that satisfy x^4 -8x^2 +15 = 0


if f(x) = 7x-1 and g(x) = 4/(x-2), solve fg(x) = x


Figure 1 shows a sector AOB of a circle with centre O and radius r cm. The angle AOB is θ radians. The area of the sector AOB is 11 cm2 Given that the perimeter of the sector is 4 times the length of the arc AB, find the exact value of r.


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning