All worked examples

The product rule

Differentiation
A-level Maths (9MA0)
ORIGINAL

Differentiate a product of two functions — then factorise, because the mark scheme wants it tidy.

Verified against Edexcel 9MA0 (2026 spec)

Question

Differentiate y=x2exy = x^2 e^x with respect to xx.

Every step worked, with the reasoning.

  1. 1
    Let u=x2u = x^2 and v=exv = e^x.

    It's a product of two functions of xx.

  2. 2
    u=2xu' = 2x and v=exv' = e^x

    Differentiate each factor.

  3. 3
    dydx=uv+uv=2xex+x2ex\dfrac{dy}{dx} = u'v + uv' = 2x\,e^x + x^2 e^x

    Product rule: uv+uvu'v + uv'.

  4. 4
    dydx=xex(x+2)\dfrac{dy}{dx} = x e^x(x + 2)

    Factor out xexx e^x.

Answer: dydx=xex(x+2)\dfrac{dy}{dx} = x e^x(x + 2)

This is how to revise a method, not just read it

Fade the steps out until you can do it cold. Want a set built around exactly what you keep slipping on? Your first lesson is free.

Book a free intro call