All worked examples

Integration by parts

Integration
A-level Maths (9MA0)
ORIGINAL

Choose u to be the part that simplifies when you differentiate it — then it's just the formula.

Verified against Edexcel 9MA0 (2026 spec)

Question

Find xexdx\displaystyle\int x e^x \, dx.

Every step worked, with the reasoning.

  1. 1
    Let u=xu = x and dvdx=ex\dfrac{dv}{dx} = e^x.

    Pick u=xu = x because differentiating it simplifies to 1 (LATE/LIATE).

  2. 2
    dudx=1\dfrac{du}{dx} = 1 and v=exv = e^x

    Differentiate uu; integrate dvdx\frac{dv}{dx}.

  3. 3
    xexdx=uvvdudxdx=xexexdx\int x e^x\,dx = uv - \int v\,\dfrac{du}{dx}\,dx = x e^x - \int e^x\,dx

    Apply udvdxdx=uvvdudxdx\int u\,\frac{dv}{dx}\,dx = uv - \int v\,\frac{du}{dx}\,dx.

  4. 4
    =xexex+C=ex(x1)+C= x e^x - e^x + C = e^x(x - 1) + C

    Integrate exe^x and add the constant.

Answer: ex(x1)+Ce^x(x - 1) + C

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