A-level Maths guide

Integration by parts: the formula, choosing u and worked examples

What the formula means, where each England exam board prints it, how to choose u and dv/dx with LATE, and worked examples for products, ln x, repeated parts and definite integrals, plus the sign errors examiners see most.

Where AQA, Edexcel and OCR print the formula

The Department for Education’s A-level Mathematics subject content (statement H5) asks you to carry out simple cases of integration by parts and to understand it as the inverse of the product rule. It includes using the method more than once, but excludes reduction formulae. The DfE list of formulae you must recall without being given them includes the product rule and standard integrals, but not the integration by parts formula, which is why every board provides it.

AQA and Pearson Edexcel print the integration by parts formula unlabelled in their formula booklets; OCR A and OCR MEI print it labelled on the formulae sheet in each paper. Specification references are AQA H5, Edexcel 8.5, OCR H240 1.08i and MEI H640 c29.

SpecificationWhere the formula is printedLabelled?Specification reference

AQA A-level Mathematics (7357)

Formulae for A-level Mathematics booklet, Pure mathematics, under “Integration”

No: the formula appears without a name

H5

Pearson Edexcel A level Mathematics (9MA0)

Mathematical Formulae and Statistical Tables (the green booklet), A Level Mathematics, Pure Mathematics, “Integration (+ constant)”; it is not in the AS section

No: the formula appears without a name

Topic 8.5, which states that ∫ ln x dx is required

OCR A Level Mathematics A (H240)

No separate booklet: a formulae sheet on pages 2 and 3 of each question paper

Yes: “Integration by parts”

1.08i, which names repeated use for integrals such as x² sin x, and ln x

OCR A Level Mathematics B (MEI) (H640)

A formulae sheet printed in each question paper

Yes: “Integration by parts”

c29, which names x eˣ, more than one application, and ln x

Integration by parts formula and specification reference for each England A-level Mathematics specification

How to do integration by parts, step by step

Use this order every time. Writing out the four parts before you substitute is what stops most sign and copying errors.

  • Check for a simpler method first

    If the integrand is a function of g(x) multiplied by g′(x), such as x e^(x²), use the reverse chain rule. If a substitution or expanding the brackets works, use that. See the method comparison.

  • Choose u and dv/dx

    u should get simpler when you differentiate it; dv/dx must be something you can integrate. If there is a logarithm, it is almost always u.

  • Write all four parts down

    u, du/dx, dv/dx and v, each on its own line. You need no constant when you find v.

  • Substitute into the formula

    uv − ∫ v (du/dx) dx. Put brackets around v (du/dx) so a minus sign inside it is not lost.

  • Integrate the new integral

    It should be simpler than the one you started with. If it is still a product, such as 2x eˣ, apply integration by parts again with the same choice of type for u.

  • Finish correctly

    For an indefinite integral, add + c once at the end. For a definite integral, substitute both limits into the whole answer, including the uv term, and show the subtraction.

  • Check by differentiating

    Differentiate your answer with the product rule. You should get back the original integrand. This takes under a minute and catches most sign errors.

How to choose u: the LATE order

LATE is a memory aid for choosing u. Go down the list and make u the first type that appears in the integrand; the other factor becomes dv/dx. It comes from LIATE, which Herbert Kasube published in 1983 in The American Mathematical Monthly. LATE drops the I (inverse trigonometric functions), which the A-level Mathematics specifications do not name for this method.

LATE is a guide, not an exam-board rule: none of the four specifications mentions it. Pearson’s Summer 2024 examiners’ report noted that writing LATE on the script seemed to help candidates pick which function to differentiate.

LATE order: logarithmic first, then algebraic, trigonometric and exponential. The first type present is usually u and the later type is usually dv/dx.

LetterFunction typeExamplesUsual role and why

L

Logarithmic

ln x, ln(3 − 2x)

u: it differentiates to 1/x, but you cannot integrate it directly, so it cannot be dv/dx

A

Algebraic

x, x², 4x, x³ − 2x²

Usually u: each differentiation lowers the power until it disappears

T

Trigonometric

sin x, cos 2x

Usually dv/dx when paired with an algebraic factor: it integrates to another sine or cosine that is no harder

E

Exponential

eˣ, e^(2x)

dv/dx: it integrates to itself (or a multiple), so it is the easiest factor to integrate

The LATE order for choosing u in integration by parts

When LATE does not give the answer

The real test is whether the new integral, ∫ v (du/dx) dx, is simpler than the one you started with. LATE does not settle these cases:

Both factors are algebraic

In Pearson’s Summer 2025 Paper 1 (Question 13), an integral of the form ∫ x(2x + 1)⁻³ dx needed u = x and dv/dx = (2x + 1)⁻³. Examiners reported that students relying on LATE found it did not help, and that a substitution was used about as often as parts. Pick the factor whose derivative is simpler.

ln x on its own

There is only one factor, so write ln x as 1 × ln x. Then u = ln x and dv/dx = 1. Official OCR mark schemes take the logarithm as u in exactly this way.

Part of the product only integrates as a pair

For ∫ x³ e^(x²) dx, LATE suggests u = x³, but e^(x²) has no simple integral. Split it as u = x² and dv/dx = x e^(x²), because x e^(x²) integrates to ½ e^(x²). This goes beyond typical A-level questions, but it shows why LATE is only a first guess.

Exponential times sine or cosine

Either choice works, but you must keep the same type as u on the second application, or you undo the first step. See the cyclic example.

Worked example 1: ∫ x eˣ dx

A standard product of an algebraic and an exponential function. These worked examples were written for this guide; the method matches what mark schemes credit.

  • Choose u and dv/dx

    LATE puts algebraic before exponential, so u = x and dv/dx = eˣ.

  • Write the four parts

    u = x, du/dx = 1, dv/dx = eˣ, v = eˣ.

  • Substitute

    ∫ x eˣ dx = x eˣ − ∫ eˣ × 1 dx

  • Integrate and add the constant

    = x eˣ − eˣ + c, or eˣ(x − 1) + c.

  • Check

    d/dx[eˣ(x − 1)] = eˣ(x − 1) + eˣ = x eˣ. ✓

  • What happens the wrong way round

    With u = eˣ and dv/dx = x, you get v = x²/2 and the new integral ∫ (x²/2) eˣ dx, which is harder than the original. If the new integral gets worse, swap your choice.

Worked example 2: integrating ln x

Edexcel’s specification states that ∫ ln x dx is required, and OCR and MEI both list ln x. The trick is to treat ln x as a product.

  • Rewrite as a product

    ∫ ln x dx = ∫ 1 × ln x dx

  • Choose and write the parts

    u = ln x, du/dx = 1/x, dv/dx = 1, v = x.

  • Substitute

    = x ln x − ∫ x × (1/x) dx = x ln x − ∫ 1 dx

  • Integrate

    = x ln x − x + c

  • Check

    d/dx[x ln x − x] = ln x + 1 − 1 = ln x. ✓

  • The same idea with a function inside the log

    OCR’s June 2025 Paper 2 (Question 8) set a definite integral of ln(3 − 2x). With u = ln(3 − 2x) and v = x, du/dx = −2/(3 − 2x), so the result begins x ln(3 − 2x) + ∫ 2x/(3 − 2x) dx. The minus sign from the chain rule and the minus sign in the formula combine to make a plus; examiners reported sign errors here as very common.

Worked example 3: repeated integration by parts, ∫ x² eˣ dx

When the algebraic factor is x² or higher, one application reduces the power by one, so you apply the method again. DfE H5 includes more than one application; OCR names x² sin x as an example and MEI lists more than one application.

  • First application

    u = x², du/dx = 2x, dv/dx = eˣ, v = eˣ. ∫ x² eˣ dx = x² eˣ − ∫ 2x eˣ dx

  • Second application on ∫ 2x eˣ dx

    Keep algebraic as u: u = 2x, du/dx = 2, v = eˣ. ∫ 2x eˣ dx = 2x eˣ − ∫ 2eˣ dx = 2x eˣ − 2eˣ

  • Combine, keeping the bracket

    ∫ x² eˣ dx = x² eˣ − (2x eˣ − 2eˣ) + c = eˣ(x² − 2x + 2) + c. Dropping the bracket here gives −2eˣ instead of +2eˣ, the classic second-application sign error.

  • Check

    d/dx[eˣ(x² − 2x + 2)] = eˣ(x² − 2x + 2) + eˣ(2x − 2) = x² eˣ. ✓

Worked example 4: a definite integral, ∫ from 1 to e of x ln x dx

With limits, integrate first, then substitute the limits into the whole expression, including the uv term. Edexcel, AQA and MEI examiners have all reported lost marks where the limits were not visibly substituted.

  • Choose and write the parts

    u = ln x, du/dx = 1/x, dv/dx = x, v = x²/2.

  • Integrate

    ∫ x ln x dx = (x²/2) ln x − ∫ (x²/2)(1/x) dx = (x²/2) ln x − x²/4

  • Substitute both limits and show the subtraction

    [(x²/2) ln x − x²/4] from 1 to e = (e²/2 × 1 − e²/4) − (½ × 0 − ¼) = e²/4 + ¼

  • Simplify

    = (e² + 1)/4, about 2.10. ln e = 1 and ln 1 = 0 make the uv term easy to evaluate, but you must still write it.

Stretch: cyclic integration by parts, ∫ eˣ sin x dx

When the integrand is an exponential times sine or cosine, neither factor gets simpler, but two applications bring back the original integral, which you can then solve for. This fits the DfE wording on more than one application; treat it as stretch practice rather than a standard A-level question type.

  • Call the integral I

    I = ∫ eˣ sin x dx

  • First application

    u = sin x, dv/dx = eˣ: I = eˣ sin x − ∫ eˣ cos x dx

  • Second application, same type as u

    u = cos x, dv/dx = eˣ: ∫ eˣ cos x dx = eˣ cos x + ∫ eˣ sin x dx = eˣ cos x + I. If you switched to u = eˣ here, you would get back I = I.

  • Rearrange

    I = eˣ sin x − eˣ cos x − I, so 2I = eˣ(sin x − cos x).

  • Answer

    I = ½ eˣ(sin x − cos x) + c. Check: differentiating gives ½eˣ(sin x − cos x) + ½eˣ(cos x + sin x) = eˣ sin x. ✓

Common integration by parts mistakes examiners report

These come from recent AQA, Pearson Edexcel, OCR and MEI examiners’ reports. Sign errors are reported more often than anything else.

Common mistakes: sign errors, u and dv/dx the wrong way round, differentiating instead of integrating, errors in the second integral, missing + c, limits not shown, and using parts where a simpler method was expected.

MistakeWhat it looks likeHow to avoid it

Sign errors

∫ x sin x dx: v = −cos x, so the answer is −x cos x + sin x + c. Writing −x cos x − sin x loses the sign from −∫(−cos x) dx. Reported by Edexcel, OCR and MEI, especially on second applications and with limits.

Bracket v (du/dx) before you simplify, and differentiate your answer to check.

u and dv/dx the wrong way round

Choosing u = cos 2x for 4x cos 2x (MEI 2023), or making ln x the dv/dx (AQA 2019).

Use LATE as a first guess; if the new integral is harder, swap.

Differentiating when you should integrate

Integrating cos x as −sin x, or differentiating dv/dx instead of integrating it to get v (AQA November 2021).

Write “u → differentiate, dv/dx → integrate” beside your working.

Errors in the second integral

Simplifying (x⁴/4)(1/x) wrongly (Edexcel 2022), or treating (ln x)² as 2 ln x (Edexcel November 2021).

Simplify v (du/dx) fully before integrating it.

Missing + c

Leaving the constant off an indefinite integral cost marks in AQA 2018 and 2019 and MEI 2019.

Add + c once, on the final line.

Limits not shown

Substituting limits into only part of the answer, or writing the final value without the substitution (Edexcel 2022 and 2024, AQA 2022, MEI 2023).

Write the bracket with both limits, then the two substituted expressions.

Using parts where a simpler method was expected

AQA’s 2019 report called parts “very inefficient” where a substitution fitted, and a “Hence” question answered by parts instead of the earlier result scored nothing.

Read the command words. If the question says “use integration by parts”, answers that avoid it cannot get full marks (OCR 2025).

Common integration by parts errors and how to avoid them

Integration by parts, substitution or the reverse chain rule?

Questions on integration by parts discriminate strongly. On Edexcel’s 2022 Paper 1 question (an x³ ln x type), 40% of candidates scored full marks while about 30% could not begin, and only about a quarter of OCR’s 2025 Paper 2 candidates produced a fully correct integration by parts. Recognising which method fits is a large part of the difficulty.

Use the reverse chain rule for f(g(x)) times g'(x), substitution when it produces an integrable function, and integration by parts for products of unrelated function types or ln x alone.

If the integrand looks likeTryExample

A function of g(x) multiplied by g′(x)

Reverse chain rule (a result you must recall)

∫ x e^(x²) dx = ½ e^(x²) + c

An expression that a substitution turns into something you can integrate

Substitution

∫ x(2x + 1)⁻³ dx: Edexcel 2025 found substitution and parts both worked and were used about equally

A product of two different function types with no derivative link

Integration by parts

x eˣ, x cos x, x³ ln x

ln x, or ln of a linear expression, on its own

Integration by parts with dv/dx = 1

∫ ln x dx = x ln x − x + c

Choosing between the reverse chain rule, substitution and integration by parts

Frequently asked questions

Is the integration by parts formula given in the A-level Maths exam?

Yes. AQA and Pearson Edexcel print it in their formula booklets, and OCR A and OCR MEI print it on the formulae sheet in each paper. AQA and Edexcel do not label it, so you need to recognise ∫ u (dv/dx) dx = uv − ∫ v (du/dx) dx on sight.

Is integration by parts on AS Maths?

No. It is in the full A-level content only (DfE statement H5, taught in Year 2). Pearson Edexcel’s booklet prints the formula in the A Level Mathematics section, not the AS section.

Do I add a constant when I integrate dv/dx to find v?

No. Any constant k you add to v cancels out: u(v + k) − ∫ (v + k)(du/dx) dx gives uv + ku − ∫ v (du/dx) dx − ku. Add a single + c at the end of an indefinite integral instead; examiners do take marks off when it is missing.

Can I use the DI or tabular method?

For Pearson Edexcel, yes: its marking guidance says the DI method earns full credit when used without error, and its 2024 report found DI users more successful. If you sit AQA or OCR, check with your teacher, and whichever layout you use, make u, du/dx, dv/dx and v clear to the examiner.

Do I need reduction formulae for A-level Maths?

No. The DfE content that every England board follows excludes reduction formulae from A-level Mathematics integration by parts, and Edexcel, OCR and MEI repeat the exclusion in their specifications. Repeated application on integrals such as x² eˣ is included.

Sources and references

Sources and references

Official guidance

Other sources