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

Related Maths A Level answers

All answers ▸

Consider f(x)=x/(x^2+1). Find the derivative f'(x)


Find stationary points of curve y = x^3+3x-2


Show how you can rewrite (x+1)(x-2)(x+3) into the form of ax^3 + bx^2 + cx + d


How do you find the gradient of a line at a certain point when f(x) is in the form of a fraction, where both the numerator and denominator are functions of x?