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

3428 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Why is there more than one solution to x^2 = 4?


Find two positive numbers whose sum is 100 and whose product is a maximum.


Sketch the curve y = (x^2 - 9)(x - 2)


What is the remainder when you divide 2x^3+7x^2-4x+7 by x^2+2x-1?


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