Integration by Parts

Last Updated: July 2026

Curriculum Hub → Maths Lessons → Algebra → Integration → Integration by Parts

Integration by parts is a technique for integrating the product of two functions — the reverse of the product rule for differentiation.

This A-Level guide covers the formula and its proof, how to choose u and dv/dx, repeated and cyclic applications, and five exam-style questions with worked solutions. Download the free PDF worksheet or watch the video tutorial to teach or revise the topic.

Published: June 2026  |  Last updated: July 2026

Year 2 Pure: Integration Scheme of Work →

What is integration by parts?

Integration by parts lets you integrate a product of two functions by relating it to a simpler integral. It is the integration counterpart of the product rule: If y = uv then

\frac{dy}{dx}=u\frac{dv}{dx}+v\frac{du}{dx}

Rearranging and integrating both sides gives the integration by parts formula.

At A-Level, integration by parts is used for products such as a polynomial multiplied by an exponential or trigonometric function, logarithmic integrals like ∫ ln x dx, and more advanced types including cyclic integrals where the original integral reappears after two applications.

The integration by parts formula

The standard formula is:

\int u \frac{dv}{dx} \, dx = uv - \int v \frac{du}{dx} \, dx

Teacher’s Guide

A-Level maths lesson graphic titled Integration by Parts showing the product rule y equals uv on the left and a prompt to prove the integration by parts formula on the right, with a blue Proof ribbon and the Mr Mathematics logo.
Deriving the formula from the product rule. From the Integration by Parts Lesson Pack available to members.

It is important for students to derive the integration by parts formula. Too often, the formula is given with little explanation of where it comes from and how it is a natural extension of the product rule of differentiation. In my experience, students really appreciate taking the time to prove the formula as it helps them understand its usefulness when finding the integral of two products of x.

As we work through the examples in the lesson pack we take the time to discuss which function of x should map onto the u or dv/dx term. Taking the time at the start of the question saves a lot of time and effort later on.

When students can apply the formula for basic integrals we quickly move on to integrating functions that need to be integrated more than once, for example:

∫x^2sinx dx

and using integration by parts to find the area under a curve. There are some really interesting integrals that can be evaluated through integration by parts — my favourites are included in the exam style questions below.

I give students a printed handout from the lesson pack of the example I am modelling. Working alongside rather than copying from the board keeps the focus on choosing u and dv/dx correctly before any algebra begins. By the end of a worked example, students have a correctly annotated solution to reference during independent practice.

Video: integration by parts

Watch the tutorial below to see integration by parts modelled step by step: deriving the formula from the product rule, choosing u and dv/dx, and working through examples including repeated and cyclic applications.

Want to practise alongside the video? Download the lesson pack and pause after each example to try the next question before the worked solution.

What the video covers

  • Deriving the formula — starting from the product rule d(uv)/dx = u(dv/dx) + v(du/dx) and rearranging to obtain ∫ u (dv/dx) dx = uv − ∫ v (du/dx) dx.
  • Choosing u and dv/dx — using the LATE or LIATE acronym (Logarithmic, Algebraic, Trigonometric, Exponential — with Inverse trig added for LIATE) to decide which part of the product becomes u.
  • Basic application — integrating a polynomial multiplied by an exponential, such as ∫ (5x − 3)e3x dx.
  • Repeated and cyclic integration by parts — applying the formula twice for integrals like ∫ (ex sin x) dx, where the original integral reappears and can be collected algebraically.

The written step-by-step guide below follows the same order as the video. Use the video for live modelling in class, or the text sections for independent revision.

How to use integration by parts (step by step)

Follow these four steps to integrate any product using integration by parts. The worked example integrates ∫ (5x − 3)e3x dx, matching Question 1 in the exam section below.

Step 1: Choose u and dv/dx

Identify the two factors in the integrand. You can use the LATE or LIATE acronym to easily remember the order of priority for choosing u: Logarithmic, Algebraic, Trigonometric, Exponential (LIATE also includes Inverse trig before Algebraic). Choose which factor becomes u (the part you differentiate) and which becomes dv/dx (the part you integrate). The goal is to make the remaining integral ∫ v (du/dx) dx simpler than the original.

For ∫ (5x − 3)e3x dx: let u = 5x − 3 (algebraic) and dv/dx = e3x (exponential).

Step 2: Differentiate u and Integrate dv/dx

Find du/dx by differentiating u, and find v by integrating dv/dx. Do not add a constant of integration when finding v for an indefinite integral — the constant is absorbed into C at the end.

u sidedv/dx side
Givenu = 5x − 3dv/dx = e3x
Resultdu/dx = 5v = ⅓e3x

Step 3: Apply the formula

Substitute into ∫ u (dv/dx) dx = uv − ∫ v (du/dx) dx:

∫ (5x − 3)e3x dx = (5x − 3)(⅓e3x) − ∫ ⅓e3x · 5 dx

Step 4: Evaluate the new integral

The remaining integral should be straightforward. Integrate, simplify, and add C for indefinite integrals.

= ⅓(5x − 3)e3x − ⁵⁄₉e3x + C = (15x − 14)e3x⁄9 + C

How to apply integration by parts

Once the basic four-step method is secure, A-Level questions test three harder variations: applying the formula more than once, cyclic integrals where the original reappears, and definite integrals used to find areas.

Repeated integration by parts

When the new integral ∫ v (du/dx) dx is still a product, apply integration by parts again. Each application should simplify the algebraic part of u. For ∫ x² sin x dx, two applications reduce x² to a constant.

For ∫ (ln x)² dx, the first application gives a term involving ∫ ln x dx, which itself requires a second application of integration by parts (with u = ln x, dv/dx = 1).

Cyclic integrals

Some integrals, such as ∫ ex sin x dx, produce the original integral after two applications of integration by parts. Label the first result as equation (1), apply parts again to the new integral to get equation (2), then substitute (2) into (1). The original integral appears on both sides — collect terms and solve algebraically.

Definite integrals and area

For definite integrals, evaluate [ uv ] between the limits before integrating the remaining term. When finding a shaded area bounded by a curve and a normal line, split the region into parts: the area under the curve (found by definite integration) plus any triangular or trapezoidal section found using coordinate geometry.

Common mistakes with integration by parts

  • Choosing u and dv/dx the wrong way round — if the new integral is harder than the original, swap your choices and start again.
  • Forgetting the minus sign in the formula — it is uv minus ∫ v (du/dx) dx, not plus.
  • Adding a constant when finding v — only add C at the very end of an indefinite integral.
  • Sign errors when integrating trigonometric functions — ∫ sin x dx = −cos x, not +cos x. A sign error here propagates through the entire solution.
  • Not collecting cyclic terms — in integrals like ∫ ex sin x dx, students apply parts twice but forget to bring the repeated integral to one side and solve.
  • Dropping the boundary term in definite integrals — remember to evaluate uv at both limits before integrating the remaining part.
  • Stopping after one application when two are needed — integrals involving (ln x)² or x² sin x require a second application of the formula.

A-Level integration by parts checklist

Use this list to check you can tackle any integration by parts question on an A-Level paper.

  • I can state the integration by parts formula from memory.
  • I can derive the formula from the product rule for differentiation.
  • I can use the LATE or LIATE acronym to choose u and dv/dx correctly.
  • I can integrate a polynomial multiplied by an exponential or trigonometric function.
  • I can integrate logarithmic functions such as ∫ ln x dx and ∫ (ln x)² dx.
  • I can apply integration by parts more than once when required.
  • I can solve cyclic integrals by collecting the repeated integral algebraically.
  • I can evaluate definite integrals using integration by parts, including the boundary term.
  • I can use integration by parts to find the area of a region bounded by a curve and a straight line.
  • I can express an answer in a required form, such as (px − q)erx⁄s + C.

Free integration by parts worksheet (PDF)

5 A-Level exam-style questions — print-ready PDF

Download the worksheet and use it for class practice, homework or revision. Same five questions as below, with space for full working.

  • Polynomial × exponential, definite integral with ln x, (ln x)², shaded area, and cyclic ex sin x
  • Worked solutions on this page — expand each accordion below
  • Suitable for Year 2 A-Level Pure Mathematics

Want the full lesson?

This PDF is a sample from the Integration by Parts Lesson Pack. Members get scaffolded PowerPoints, differentiated worksheets, and hundreds of ready-to-teach resources across KS3 to A-Level.

  • School membership — full departmental access for every maths teacher
  • Individual membership — unlimited personal access to the entire library

Practising alongside the video? Download the five questions as a print-ready PDF — ideal for classwork or homework.

Work through these five A-Level exam-style questions. Select each accordion to reveal the worked solution. The same questions are in the free PDF worksheet.

Exam Style Questions

An integration problem asking to show that the indefinite integral of the quantity 5x minus 3 multiplied by e to the power of 3x with respect to x can be written in the form of a fraction with the numerator the quantity px minus q multiplied by e to the power of 3x over the denominator r, plus a constant C. Includes the Mr Mathematics logo.

Reveal answer

Handwritten algebra steps solving the indefinite integral of the quantity 5x minus 3 multiplied by e to the power of 3x with respect to x. Uses integration by parts to arrive at the final simplified fraction form of e to the power of 3x multiplied by the quantity 15x minus 14, all over 9, plus c.
A calculus proof problem asking to show that the definite integral from 1 to e of x cubed multiplied by the natural log of x with respect to x is equal to a multiplied by the quantity b multiplied by e to the power of 4 plus c. Includes the Mr Mathematics logo.

Reveal answer

Handwritten worked solution for the definite integral from 1 to e of x cubed multiplied by natural log of x with respect to x. It shows integration by parts with u equals natural log of x and dv over dx equals x cubed, simplifying to 1 over 16 multiplied by the quantity 3 e to the power of 4 plus 1.
An integration problem asking to evaluate the indefinite integral of (ln x) squared with respect to x, where x is greater than 0. Includes the Mr Mathematics logo.

Reveal answer

Handwritten calculus steps demonstrating a nested integration by parts method to evaluate the integral of natural log of x squared. Labelled equation 1 shows the initial parts breakdown, and labelled equation 2 shows a secondary integration by parts to find the integral of natural log of x. The final substituted answer is x multiplied by natural log of x squared minus 2x natural log of x plus 2x.
A math coordinate geometry problem diagram showing a curve y equals x natural log of x intersecting with a straight line perpendicular to it at the point (e, e). A region under the line and curve is shaded in purple above the x-axis with a prompt to find the shaded area. Includes the Mr Mathematics logo.

Reveal answer

Comprehensive handwritten solution to find a shaded region. The page split shows integration by parts for the curve area from 1 to e, the product rule to find the tangent gradient at x equals e, the equation of the normal line to find the x-intercept at 2e, and a triangle area calculation. The final total area is shown as 5 over 4 multiplied by e squared plus 1 over 4.
A calculus problem asking to show that the indefinite integral of e to the power of x multiplied by sine of x with respect to x equals 1/2 e to the power of x multiplied by the quantity sine of x minus cosine of x plus c. Includes the Mr Mathematics logo.

Reveal answer

Handwritten worked solution for the indefinite integral of e to the power of x multiplied by sine of x with respect to x. Shows a cyclic integration by parts method where a second application of parts creates a matching integral term. The matching terms are collected on the left side of the equation to solve for the final answer of 1/2 e to the power of x multiplied by the quantity sine of x minus cosine of x plus c.

Frequently asked questions

What is integration by parts?

Integration by parts is a method for integrating the product of two functions. It reverses the product rule for differentiation and is especially useful when one factor becomes simpler when differentiated.

What is the integration by parts formula?

The formula is: ∫ u (dv/dx) dx = uv − ∫ v (du/dx) dx. For definite integrals, evaluate uv at the limits before integrating the remaining term.

How do you choose u and dv/dx?

Use the LATE or LIATE acronym: Logarithmic, Algebraic, Trigonometric, Exponential (LIATE adds Inverse trig). Choose u from the type that appears earliest so that du/dx simplifies the remaining integral.

When do you need to apply integration by parts twice?

Apply it again when the new integral is still a product, or when the first application produces an integral like ∫ ln x dx that itself requires integration by parts. Examples include ∫ x² sin x dx and ∫ (ln x)² dx.

What is a cyclic integral?

A cyclic integral is one where the original integral reappears after two applications of integration by parts, such as ∫ e^x sin x dx. Collect the repeated integral on one side and solve algebraically.

Where can I download integration by parts practice questions?

Download the free PDF worksheet from this page. It contains the same five exam-style questions shown in the Exam Style Questions section above, with worked solutions in the accordions on this page and in the video tutorial.


Mr Mathematics Blog

Developing Mathematical Thinking Beyond Procedural Fluency

A research-backed case exploring why over-reliance on automated math homework platforms and repetitive worksheets lowers student expectations, and how departments can build genuine mathematical thinking.

Converting Between Fractions, Decimals and Percentages

How to teach converting between fractions, decimals and percentages.

From Key Skills to Deep Connections: Problem Solving in Secondary Maths

Four problem solving lessons to develop student’s mathematical reasoning and communication skills.