MathsGenie logo
RevisionResourcesBlog
  1. Home
  2. /
  3. Blog
  4. /
  5. Integration by Parts: A-level Maths Revision Guide

Integration by Parts: A-level Maths Revision Guide

Learn integration by parts for A-level Maths with the formula, clear worked examples, common mistakes, revision advice and exam questions with answers.

MathsGenie Team
•Last updated: 20 Nov 2026
Share
Add as a preferred source on Google

Integration by parts is an A-level integration method used mainly for products of functions, including expressions involving polynomials, exponentials, logarithms and trigonometric functions. It reverses the product rule for differentiation and replaces an awkward integral with one that should be easier to evaluate.

This integration by parts A-level Maths guide explains how the formula is obtained, how to choose uuu and dvdx\frac{dv}{dx}dxdv​, and when the method needs to be repeated. It also includes step-by-step worked examples, common mistakes and integration by parts exam questions with answers.

The integration by parts formula

The formula is

∫udvdx dx=uv−∫vdudx dx.\int u\frac{dv}{dx}\,dx=uv-\int v\frac{du}{dx}\,dx.∫udxdv​dx=uv−∫vdxdu​dx.

It is often written more compactly as

∫u dv=uv−∫v du.\int u\,dv=uv-\int v\,du.∫udv=uv−∫vdu.

Both forms mean the same thing. The first version makes the differentiation and integration operations more explicit, which can be helpful when learning the method.

Where the formula comes from

Start with the product rule:

ddx(uv)=udvdx+vdudx.\frac{d}{dx}(uv)=u\frac{dv}{dx}+v\frac{du}{dx}.dxd​(uv)=udxdv​+vdxdu​.

Integrating both sides gives

uv=∫udvdx dx+∫vdudx dx.uv=\int u\frac{dv}{dx}\,dx+\int v\frac{du}{dx}\,dx.uv=∫udxdv​dx+∫vdxdu​dx.

Rearranging produces the integration by parts formula:

∫udvdx dx=uv−∫vdudx dx.\int u\frac{dv}{dx}\,dx=uv-\int v\frac{du}{dx}\,dx.∫udxdv​dx=uv−∫vdxdu​dx.

This derivation matters because it explains the minus sign. Integration by parts is not an isolated rule to memorise; it is the inverse process of applying the product rule.

What the method is designed to achieve

Integration by parts does not immediately remove an integral. Instead, it transforms the original problem into a product, uvuvuv, and a new integral. The method is useful only when that new integral is simpler or can eventually be related back to the original one.

For a polynomial multiplied by an exponential or trigonometric function, differentiating the polynomial usually reduces its degree. For logarithmic functions, differentiation changes ln⁡x\ln xlnx into the simpler algebraic expression 1x\frac{1}{x}x1​. Thinking about this transformation is more reliable than applying the formula without considering what the remaining integral will contain.

When to use integration by parts

Integration by parts is particularly useful when the integrand is a product of two different types of function. Common forms include:

  • xexx e^xxex
  • xsin⁡xx\sin xxsinx
  • x2cos⁡xx^2\cos xx2cosx
  • xln⁡xx\ln xxlnx
  • exsin⁡xe^x\sin xexsinx

It is also required for ∫ln⁡x dx\int \ln x\,dx∫lnxdx, even though the integrand does not initially appear to be a product. Write it as

∫1×ln⁡x dx.\int 1\times\ln x\,dx.∫1×lnxdx.

Do not assume that every product requires integration by parts. For example, 2x(x2+1)52x(x^2+1)^52x(x2+1)5 is better handled by substitution because 2x2x2x is the derivative of x2+1x^2+1x2+1.

UK A-level specifications commonly include simple applications, repeated integration by parts and the integral of ln⁡x\ln xlnx. Reduction formulae are generally treated separately and are not part of the standard integration by parts requirement in the AQA and Pearson Edexcel specifications.

Comparing integration methods

Before committing to integration by parts, inspect the structure of the integrand.

Structure of the integrandLikely method
A function and a multiple of its derivativeSubstitution
A product that simplifies when one factor is differentiatedIntegration by parts
A rational expression with factorisable denominatorsPartial fractions, then integration
A standard exponential, power or trigonometric formApply the relevant standard integral

These are guides rather than absolute rules. Some questions require more than one method, such as partial fractions followed by standard integration. In an examination, identifying the structure first prevents unnecessary algebra and makes the intended method easier to recognise.

How to choose uuu and dvdx\frac{dv}{dx}dxdv​

A successful choice should make dudx\frac{du}{dx}dxdu​ simpler while leaving dvdx\frac{dv}{dx}dxdv​ easy to integrate.

The mnemonic LIATE is sometimes used as a guide:

  1. Logarithmic functions
  2. Inverse trigonometric functions
  3. Algebraic functions
  4. Trigonometric functions
  5. Exponential functions

Choose uuu from the function type appearing earliest in the list. The remaining factor becomes dvdx\frac{dv}{dx}dxdv​.

For ∫xex dx\int x e^x\,dx∫xexdx, this suggests u=xu=xu=x and dvdx=ex\frac{dv}{dx}=e^xdxdv​=ex. For ∫xln⁡x dx\int x\ln x\,dx∫xlnxdx, it suggests u=ln⁡xu=\ln xu=lnx and dvdx=x\frac{dv}{dx}=xdxdv​=x.

LIATE is revision advice, not an official mathematical rule. The real test is whether differentiating uuu simplifies the expression and integrating dvdx\frac{dv}{dx}dxdv​ is manageable.

A reliable step-by-step method

Use the following process whenever integration by parts is required:

  1. Identify the two factors in the integrand.
  2. Choose uuu and dvdx\frac{dv}{dx}dxdv​.
  3. Differentiate uuu to find dudx\frac{du}{dx}dxdu​.
  4. Integrate dvdx\frac{dv}{dx}dxdv​ to find vvv.
  5. Substitute into the formula.
  6. Simplify the remaining integral.
  7. Repeat the method if necessary.
  8. Add +C+C+C for an indefinite integral.
  9. Differentiate the final answer to check it.

A small setup table can reduce errors:

Chosen partResult
uuuDifferentiate to obtain dudx\frac{du}{dx}dxdu​
dvdx\frac{dv}{dx}dxdv​Integrate to obtain vvv

Integration by parts worked examples

Example 1: A polynomial multiplied by an exponential

Find

∫xe2x dx.\int xe^{2x}\,dx.∫xe2xdx.

Choose

u=x,dvdx=e2x.u=x,\qquad \frac{dv}{dx}=e^{2x}.u=x,dxdv​=e2x.

Then

dudx=1,v=12e2x.\frac{du}{dx}=1,\qquad v=\frac{1}{2}e^{2x}.dxdu​=1,v=21​e2x.

Substitute into the formula:

∫xe2x dx=x(12e2x)−∫12e2x dx.\int xe^{2x}\,dx=x\left(\frac{1}{2}e^{2x}\right)-\int \frac{1}{2}e^{2x}\,dx.∫xe2xdx=x(21​e2x)−∫21​e2xdx.

Therefore,

∫xe2x dx=x2e2x−14e2x+C.\int xe^{2x}\,dx=\frac{x}{2}e^{2x}-\frac{1}{4}e^{2x}+C.∫xe2xdx=2x​e2x−41​e2x+C.

This can also be factorised as

e2x4(2x−1)+C.\frac{e^{2x}}{4}(2x-1)+C.4e2x​(2x−1)+C.

The factor of 12\frac{1}{2}21​ in vvv is essential because ∫e2x dx=12e2x\int e^{2x}\,dx=\frac{1}{2}e^{2x}∫e2xdx=21​e2x.

Example 2: Integrating ln⁡x\ln xlnx

Find

∫ln⁡x dx.\int \ln x\,dx.∫lnxdx.

Insert a factor of 111 and choose

u=ln⁡x,dvdx=1.u=\ln x,\qquad \frac{dv}{dx}=1.u=lnx,dxdv​=1.

Then

dudx=1x,v=x.\frac{du}{dx}=\frac{1}{x},\qquad v=x.dxdu​=x1​,v=x.

Applying the formula gives

∫ln⁡x dx=xln⁡x−∫x(1x)dx.\int \ln x\,dx=x\ln x-\int x\left(\frac{1}{x}\right)dx.∫lnxdx=xlnx−∫x(x1​)dx.

Hence

∫ln⁡x dx=xln⁡x−x+C.\int \ln x\,dx=x\ln x-x+C.∫lnxdx=xlnx−x+C.

For real-valued logarithms, this example assumes x>0x>0x>0.

Example 3: Repeated integration by parts

Find

∫x2sin⁡x dx.\int x^2\sin x\,dx.∫x2sinxdx.

First choose

u=x2,dvdx=sin⁡x.u=x^2,\qquad \frac{dv}{dx}=\sin x.u=x2,dxdv​=sinx.

Therefore,

dudx=2x,v=−cos⁡x.\frac{du}{dx}=2x,\qquad v=-\cos x.dxdu​=2x,v=−cosx.

Apply the formula:

∫x2sin⁡x dx=−x2cos⁡x+∫2xcos⁡x dx.\int x^2\sin x\,dx=-x^2\cos x+\int 2x\cos x\,dx.∫x2sinxdx=−x2cosx+∫2xcosxdx.

The remaining integral still contains a product, so integration by parts is needed again. For ∫2xcos⁡x dx\int 2x\cos x\,dx∫2xcosxdx, take

u=2x,dvdx=cos⁡x.u=2x,\qquad \frac{dv}{dx}=\cos x.u=2x,dxdv​=cosx.

Then

dudx=2,v=sin⁡x.\frac{du}{dx}=2,\qquad v=\sin x.dxdu​=2,v=sinx.

It follows that

∫2xcos⁡x dx=2xsin⁡x−∫2sin⁡x dx=2xsin⁡x+2cos⁡x.\int 2x\cos x\,dx=2x\sin x-\int 2\sin x\,dx=2x\sin x+2\cos x.∫2xcosxdx=2xsinx−∫2sinxdx=2xsinx+2cosx.

The final answer is

∫x2sin⁡x dx=−x2cos⁡x+2xsin⁡x+2cos⁡x+C.\int x^2\sin x\,dx=-x^2\cos x+2x\sin x+2\cos x+C.∫x2sinxdx=−x2cosx+2xsinx+2cosx+C.

When the algebraic factor has degree 222 or more, repeated application is often necessary because each differentiation lowers its degree by one.

Definite integrals by parts

Use the same formula, but apply the limits to the complete antiderivative:

∫abudvdx dx=[uv]ab−∫abvdudx dx.\int_a^b u\frac{dv}{dx}\,dx=\left[uv\right]_a^b-\int_a^b v\frac{du}{dx}\,dx.∫ab​udxdv​dx=[uv]ab​−∫ab​vdxdu​dx.

There is no +C+C+C in a final definite-integral answer because the constants cancel when the limits are applied.

Embedded exam-style question

Evaluate exactly

∫01xe2x dx.\int_0^1 xe^{2x}\,dx.∫01​xe2xdx.

From Example 1,

∫xe2x dx=x2e2x−14e2x.\int xe^{2x}\,dx=\frac{x}{2}e^{2x}-\frac{1}{4}e^{2x}.∫xe2xdx=2x​e2x−41​e2x.

Apply the limits:

∫01xe2x dx=[x2e2x−14e2x]01.\int_0^1 xe^{2x}\,dx=\left[\frac{x}{2}e^{2x}-\frac{1}{4}e^{2x}\right]_0^1.∫01​xe2xdx=[2x​e2x−41​e2x]01​.

At x=1x=1x=1, the expression equals 14e2\frac{1}{4}e^241​e2. At x=0x=0x=0, it equals −14-\frac{1}{4}−41​. Therefore,

∫01xe2x dx=e2+14.\int_0^1 xe^{2x}\,dx=\frac{e^2+1}{4}.∫01​xe2xdx=4e2+1​.

Try 4 more integration by parts exam questions.

Integration by parts exam questions

Attempt these without looking at the answers. Show your choices for uuu, dvdx\frac{dv}{dx}dxdv​, dudx\frac{du}{dx}dxdu​ and vvv, as method marks may be available even if the final expression is incorrect.

  1. Find ∫xcos⁡(3x) dx\int x\cos(3x)\,dx∫xcos(3x)dx.
  2. Find ∫x2ex dx\int x^2e^x\,dx∫x2exdx.
  3. Evaluate exactly ∫1eln⁡x dx\int_1^e \ln x\,dx∫1e​lnxdx.
  4. Find ∫exsin⁡x dx\int e^x\sin x\,dx∫exsinxdx.

Answers

  1. x3sin⁡(3x)+19cos⁡(3x)+C\frac{x}{3}\sin(3x)+\frac{1}{9}\cos(3x)+C3x​sin(3x)+91​cos(3x)+C
  2. ex(x2−2x+2)+Ce^x(x^2-2x+2)+Cex(x2−2x+2)+C
  3. 111
  4. ex2(sin⁡x−cos⁡x)+C\frac{e^x}{2}(\sin x-\cos x)+C2ex​(sinx−cosx)+C

Question 4 requires a cyclic method. After applying integration by parts twice, the original integral reappears on the right-hand side. Move that integral to the left and solve the resulting equation.

Understanding the cyclic method

Let

I=∫exsin⁡x dx.I=\int e^x\sin x\,dx.I=∫exsinxdx.

After applying integration by parts twice and simplifying, the result is

I=exsin⁡x−excos⁡x−I.I=e^x\sin x-e^x\cos x-I.I=exsinx−excosx−I.

The reappearance of III is useful rather than a sign that the method has failed. Add III to both sides:

2I=ex(sin⁡x−cos⁡x).2I=e^x(\sin x-\cos x).2I=ex(sinx−cosx).

Dividing by 222 gives

I=ex2(sin⁡x−cos⁡x)+C.I=\frac{e^x}{2}(\sin x-\cos x)+C.I=2ex​(sinx−cosx)+C.

Cyclic examples occur because repeated differentiation and integration of sine, cosine and exponential functions return related functions. When the original integral reappears, collect all occurrences of it on one side and solve algebraically. Do not continue applying integration by parts indefinitely.

For further structured teaching and worked solutions, use the MathsGenie integration by parts lesson and practice questions. Students following Cambridge International A Level can use the corresponding CIE integration by parts resource.

Common mistakes

Losing the minus sign

The formula contains

uv−∫vdudx dx.uv-\int v\frac{du}{dx}\,dx.uv−∫vdxdu​dx.

If vvv is already negative, subtracting the new integral can create a positive sign. Write the substitution line before simplifying to make the signs visible.

Integrating exponential or trigonometric functions incorrectly

For example,

∫e3x dx=13e3x+C\int e^{3x}\,dx=\frac{1}{3}e^{3x}+C∫e3xdx=31​e3x+C

and

∫sin⁡(2x) dx=−12cos⁡(2x)+C.\int \sin(2x)\,dx=-\frac{1}{2}\cos(2x)+C.∫sin(2x)dx=−21​cos(2x)+C.

Missing these scale factors leads to an incorrect answer even when the integration by parts structure is sound.

Choosing uuu badly

For ∫xex dx\int xe^x\,dx∫xexdx, choosing u=exu=e^xu=ex leaves another integral involving xexxe^xxex, so no progress is made. Choosing u=xu=xu=x reduces the algebraic factor to 111.

Stopping too early

An expression such as

−x2cos⁡x+∫2xcos⁡x dx-x^2\cos x+\int 2x\cos x\,dx−x2cosx+∫2xcosxdx

is not a completed answer. The remaining integral must also be evaluated.

Adding +C+C+C to intermediate lines repeatedly

For an indefinite integral, one constant at the end is sufficient. Multiple arbitrary constants combine into a single constant.

Applying limits to only one term

In a definite integral, substitute each limit into the entire antiderivative. Brackets are useful because they show exactly what the limits apply to.

Exam technique and revision advice

Before using integration by parts, check whether substitution, partial fractions or a standard integral would be more direct. If the question explicitly says use integration by parts, your working must demonstrate that method.

Differentiate your final expression whenever time permits. If differentiating it does not reproduce the original integrand, inspect the minus sign and any scale factors first.

Revise integration by parts alongside differentiation using the product rule. The connection between the two methods makes the formula easier to reconstruct under exam pressure.

Use topic questions before moving to mixed papers. The Edexcel A-level Maths revision page provides topic resources, past papers and mark schemes, while the International A Level integration question set gives broader integration practice.

If algebraic manipulation, indices or trigonometric notation still cause difficulty, repair those gaps before attempting longer calculus questions. The GCSE Maths topics by exam board and tier guide can help identify the relevant Higher-tier foundations.

Conclusion

Integration by parts reverses the product rule and is most useful when differentiating one factor simplifies it. Choose uuu carefully, calculate vvv accurately, retain the minus sign and repeat the process when the remaining integral is still a product.

Strong revision should combine direct skills practice with definite integrals, repeated applications and cyclic examples. Use the MathsGenie integration by parts lesson and practice questions first, then test the method in mixed past papers and check your work against the mark schemes.

Sources and referenced URLs

  • https://mathsgenie.co.uk/a-level/maths/edexcel/a-level-pure-mathematics-11-6-integration-by-parts
  • https://mathsgenie.co.uk/international-a-level/maths/cie/a-level-pure-mathematics-11-6-integration-by-parts
  • https://mathsgenie.co.uk/a-level/maths/edexcel
  • https://mathsgenie.co.uk/international-a-level/maths/edexcel/a-level-pure-mathematics-question-set-11-integration
  • https://mathsgenie.co.uk/blog/gcse-maths-topics-by-exam-board-and-tier
  • The integration by parts formula
  • When to use integration by parts
  • How to choose $u$ and $\frac{dv}{dx}$
  • A reliable step-by-step method
  • Integration by parts worked examples
  • Definite integrals by parts
  • Integration by parts exam questions
  • Common mistakes
  • Exam technique and revision advice
  • Conclusion
  • Sources and referenced URLs

Frequently Asked Questions

How helpful was this article?
Add as a preferred source on Google

More from the blog

20 Nov 2026

Sequences and the Nth Term GCSE Maths Guide

Learn sequences and the nth term for GCSE Maths with step-by-step methods, worked examples, common mistakes, exam-style questions and clear answers.

20 Nov 2026

Marks Needed for Grade 4 AQA GCSE Maths

Find the marks needed for grade 4 in AQA GCSE Maths Foundation, why grade boundaries change, and which topics to revise to reach grade 4.

20 Nov 2026

Marks Needed for Grade 9 AQA GCSE Maths

Understand the marks needed for grade 9 AQA GCSE Maths, how Higher-tier boundaries work, and how to use topic revision and past papers to improve your scores.

20 Nov 2026

Marks Needed for Grade 5 Edexcel GCSE Maths

Find the marks needed for grade 5 in Edexcel GCSE Maths Foundation, understand changing grade boundaries, and plan focused revision with practical exam advice.

1m+ Students Can't Be Wrong

What GCSE and A-level students say after revising with MathsGenie.

Harvey B. avatar

Harvey B.

Student

“This is such an amazing platform, it offers everything needed to improve your grade in a time efficient manor. Personally I love the videos as I am able to find areas that I am weak at in the practice papers.”
Tameem R. avatar

Tameem R.

Student

“Genuinely took me from a grade 4 in maths to achieving a grade 8 in my GCSE's in less than a few months. Best mathematics revision website for those who are aiming to get those high grades.”
Anyim P. avatar

Anyim P.

Student

“Genuinely I think every maths student should have this site. It takes you through the entire AS and A level Maths course, alongside exam questions with step by step solutions.”
Muhammad A. avatar

Muhammad A.

Student

“predicted papers are very useful and i believe there's not a better website for GCSE maths in the UK”
Rayan K. avatar

Rayan K.

Student

“Best Maths Resource out there! Absolutely amazing videos and very concise explantions on everything. Don't even get me started on the loads of exam question/worksheets that are so helpful. And it's all free!”
Dee avatar

Dee

Student

“The best Maths resource site in the world! They have it all and do a great job of keeping everything up to date. I still don't know how they are able to make this free for all. You are truly amazing.”
Hamid I. avatar

Hamid I.

Student

“They have helped me with my A level Maths performance significantly and I jumped from a grade U to a Grade A in only 2-3 months. I HIGHLY recommend to Maths students especially for A level.”
Sophie avatar

Sophie

Student

“MathsGenie's YouTube videos and worksheets are amazing. The videos go into such great depth but in a way that's simple to understand.”
Maria E. avatar

Maria E.

Student

“Amazing website! Truly helped with my GCSEs - I was a very poor student. Managed to go up and reach all grade 6-9's from U-4's. Would definitely recommend :)”
Justine K. avatar

Justine K.

Student

“Absolutely brilliant website with well organised, well written resources for learning or revising maths. I never hesitate to recommend mathsgenie to my students.”
Daryl G. avatar

Daryl G.

Student

“Took me a bit of getting used to but this new site is excellent. I found the old one really useful but this is next level. I share it with all my colleagues and students.”
Binuk J. avatar

Binuk J.

Student

“I used to be really bad at math. My first GCSE mocks I had a 2 but after I found MathsGenie I jumped from 2 to 4 under 3 months.”
Jourdie avatar

Jourdie

Student

“Improved my grade, I used to be borderline passing maths now I'm performing much better. There are videos, practice papers, solutions, exam questions, past GCSE papers all for free. This is really useful.”
Olla avatar

Olla

Student

“Honestly, it's super great. Easy, with the explanation on the side. Every topic also has more than 50 questions, making you feel more confident in doing different types f question in one topic. Try it!”

Ready to breeze through your GCSEs?IGCSEs?A-Levels?AS Levels?GCSEs?GCSEs?

Sign inStart studying for free

Footer

Quick links

  • GCSE past papers
  • GCSE question bank
  • GCSE worksheets
  • GCSE revision guides
  • GCSE lessons
  • Literary Hub
  • Free maths course
  • A Level past papers
  • A Level question bank
  • Old MathsGenie

Tools

  • Revision planner
  • Mock exam builder
  • Ask Genie AI
  • Answer marking
  • Grade calculator
  • Pricing

Company

  • About MathsGenie
  • Maths Genie on Google Play
  • Careers
  • Contact
  • For educators
  • For parents
  • Student ambassadors
  • More resources
  • Blog
  • Student questions
  • Sitemap
  • Privacy policy
  • Terms of Service
  • Cookie policy
  • Report a bug

GCSE

  • Biology
  • Chemistry
  • English Language
  • English Literature
  • Geography
  • Maths
  • Old Maths
  • Physics
  • Statistics

IGCSE

  • Biology
  • Business
  • Chemistry
  • Computer Science
  • English Language
  • English Literature
  • Geography
  • Maths
  • Physics

A Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Old Maths
  • Physics
  • Psychology
  • Sociology

AS Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Physics
  • Psychology
  • Religious Studies
  • Sociology
MathsGenie logo

© 2026 MyDojo, Inc. All rights reserved. MyDojo, Inc. does business as MathsGenie.

Exam board names are used for identification only and do not imply affiliation or endorsement.