Home›Study Resources›Maths›
How do you differentiate using the chain rule?
Maths
A-Level

How do you differentiate using the chain rule?

The chain rule differentiates a function of a function: if y = f(g(x)), then dy/dx = f′(g(x)) × g′(x). Differentiate the outside function, keep the inside unchanged, then multiply by the derivative of the inside. AQA A Level Maths (7357) says you must know this rule. Example: Differentiate y = (3x + 1)⁵. Outside: 5(3x + 1)⁴. Inside: 3. Multiply: 5(3x + 1)⁴ × 3 Answer: dy/dx = 15(3x + 1)⁴

Quick answer: Differentiate the outside function, keep the inside, then multiply by the derivative of the inside: dy/dx = f′(g(x)) × g′(x).

What the specification expects

The chain rule is covered in 3.8 G: Differentiation (G4) of the AQA A-level Mathematics specification (7357). You need to know:

  • differentiate using the product rule, the quotient rule and the chain rule, including problems involving connected rates of change and inverse functions (G4)
  • Appendix B lists f(g(x)) with derivative f′(g(x))g′(x) as a result you must know without it being given
  • differentiate xn, ekx, sin kx, cos kx, tan kx and the derivative of ln x (G2), which you combine with the chain rule
  • the chain rule is the inverse process of integration by substitution (H5)

Method

  1. Identify the inside function g(x) and the outside function f.
  2. Differentiate the outside function, leaving the inside unchanged.
  3. Multiply by the derivative of the inside function.
  4. Simplify and check the inside derivative.

Worked example 1: power of a bracket

Differentiate y = (3x + 1)⁵.

  1. Outside: 5(3x + 1)⁴.
  2. Inside: d/dx(3x + 1) = 3.
  3. Multiply: 5(3x + 1)⁴ × 3.

Answer: dy/dx = 15(3x + 1)⁴

Worked example 2: a root

Differentiate y = √(5x − 2).

  1. Write y = (5x − 2)1/2.
  2. dy/dx = ½(5x − 2)−1/2 × 5.
  3. Rewrite the negative power as a root.

Answer: dy/dx = 5 ÷ (2√(5x − 2))

Worked example 3: a trigonometric function

Differentiate y = sin(x²).

  1. Outside: sin u gives cos u, so cos(x²).
  2. Inside: d/dx(x²) = 2x.
  3. Multiply.

Answer: dy/dx = 2x cos(x²)

Worked example 4: a logarithm

Differentiate y = ln(4x + 3).

  1. The derivative of ln u is 1/u, so 1/(4x + 3).
  2. Inside: d/dx(4x + 3) = 4.
  3. Multiply.

Answer: dy/dx = 4/(4x + 3)

Common mistakes

  • Forgetting to multiply by the derivative of the inside function.
  • Differentiating the inside as well as the outside before substituting.
  • Writing the derivative of (3x + 1)⁵ as 5(3x + 1)⁴ only.

FAQs

Is the chain rule given in the exam?

Appendix B of the specification lists it among the formulae you must know, so learn it. Check the formulae booklet for your exam series.

When do I use the chain rule instead of the product rule?

Use the chain rule for a function of a function. Use the product rule for two functions multiplied together.

Want one-to-one help? Find an online Maths tutor with ExpertTutor.

Reviewed by

Want one-to-one support?

One-to-one online tuition can help you build confidence in your subject. Find a tutor who teaches your course.

Find a Tutor

Learn face to face in Glasgow

Prefer in-person lessons? Visit the ExpertTutor Glasgow Southside centre.

See the centre