Integration by Parts for A/L: When to Use It and How to Choose u

A clear guide to integration by parts for A/L Combined Maths: the formula, how to choose u and dv, worked examples and the mistakes to avoid.

By Rajika Wimalarathne · 27 September 2026 · 2 min read

Integration by parts is one of the most tested techniques in A/L pure mathematics. The formula is easy to remember; choosing the parts well is the real skill.

The formula

∫u dvdx dx=uv−∫v dudx dx\int u \, \frac{dv}{dx} \, dx = uv - \int v \, \frac{du}{dx} \, dx

It comes straight from the product rule for differentiation, which is a good way to remember it if you ever forget the signs.

When to use it

Use integration by parts when the integrand is a product of two different types of function, for example:

  • xexx e^{x} — a polynomial times an exponential
  • xsin⁡xx \sin x — a polynomial times a trigonometric function
  • ln⁡x\ln x — which you can treat as 1⋅ln⁡x1 \cdot \ln x

How to choose u

Choose uu to be the part that gets simpler when you differentiate it. A useful order of preference (often remembered as LIATE) is:

  1. Logarithms (ln⁡x\ln x)
  2. Inverse trigonometric functions
  3. Algebraic (polynomials such as xx, x2x^2)
  4. Trigonometric (sin⁡x\sin x, cos⁡x\cos x)
  5. Exponential (exe^{x})

Whichever appears first in the list is usually your uu.

Worked example 1

Find ∫xex dx\displaystyle \int x e^{x} \, dx.

Let u=xu = x and dvdx=ex\dfrac{dv}{dx} = e^{x}. Then dudx=1\dfrac{du}{dx} = 1 and v=exv = e^{x}.

∫xex dx=xex−∫ex dx=xex−ex+C\int x e^{x} \, dx = x e^{x} - \int e^{x} \, dx = x e^{x} - e^{x} + C

Worked example 2

Find ∫ln⁡x dx\displaystyle \int \ln x \, dx.

Write it as ∫1⋅ln⁡x dx\int 1 \cdot \ln x \, dx. Let u=ln⁡xu = \ln x and dvdx=1\dfrac{dv}{dx} = 1, so dudx=1x\dfrac{du}{dx} = \dfrac{1}{x} and v=xv = x.

∫ln⁡x dx=xln⁡x−∫x⋅1x dx=xln⁡x−x+C\int \ln x \, dx = x \ln x - \int x \cdot \frac{1}{x} \, dx = x \ln x - x + C

Common mistakes

  • Choosing u the wrong way round. If the new integral is harder than the original, swap your choice.
  • Sign errors in the minus between the two terms — write the formula out every time.
  • Forgetting +C+ C in indefinite integrals, or forgetting to apply the limits to the uvuv term in definite integrals.
  • Stopping too early. Some questions, like ∫x2ex dx\int x^2 e^{x} \, dx, need integration by parts twice.

Practise

Work through the integration questions from the last five years of past papers. If you keep getting stuck at the same step, a Math Power Slot in the MathCLINIC will find out why.

Keep reading