When and how do I use integration by parts?

Integration by parts is used when you would like to find the integral of a composite function made up of two functions of the same variable as which you're integrating with respect to. 

The formula for this technique is:

(Integral of f(x)g'(x)) = f(x)g(x) - (Integral of f'(x)g(x))

You will notice that we have labelled one of our functions in the expression that we want to integrate as f(x) and one as g'(x). Once we have decided which is which (more on that later) we differentiate f(x) to get f"(x) and integrate g'(x) to get g(x). We then have every component of the above formula and can plug in our values to get the answer.

There are a few things to note, however. The first thing to note is that we can make life much easier for ourselves by deciding carefully which function to label as f(x) and which to label as g'(x).

The thing to keep in mind here is that, if you look at the formula, the solution involves another integration: the integral of f'(x)g(x), so ideally we want this to be a simple integral that can be solved without the need for integration by parts. So, for example, if we have a composite function of xe-2x, it is in our best interest to pick f(x)=x and g'(x)=e-2x, this is because when we differentiate f(x) in this case we are left with f"(x)=1 simplifying our integral of f"(x)g(x) to just the integral of g(x). Note that it is never a good idea to make an exponential of euler's number f(x) because it will never disappear under differentiation.

Sadly it is not always possible to integrate a composite function using only one iteration of integration by parts. For example if we had a composite function of x2e-2x we would be left with the integral of f"(x)g(x) being equal to 2xe-2x which would need to be integrated by parts again. 

Craig  Y. A Level Maths tutor, A Level Physics tutor, GCSE Maths tuto...

7 months ago

Answered by Craig , an A Level Maths tutor with MyTutor

Still stuck? Get one-to-one help from a personally interviewed subject specialist


PremiumAran D. 13 plus  Maths tutor, A Level Maths tutor, GCSE Maths tutor, ...
View profile
£24 /hr

Aran D.

Degree: BSc Mathematics (Bachelors) - York University

Subjects offered: Maths, German+ 1 more

Further Mathematics

“I am a friendly and professional software engineer and maths graduate with first class honours. I have experience tutoring GCSE, A-level and undergraduate level maths, as well as key stage 3 Spanish. I also have four years' experience ...”

MyTutor guarantee

PremiumJames B. GCSE Maths tutor, GCSE ICT tutor, GCSE Physics tutor
View profile
£26 /hr

James B.

Degree: Management (Bachelors) - Bristol University

Subjects offered: Maths, Physics+ 2 more


“Hi there! I am currently a 2nd year Management student at the University of Bristol. I originally took Computer Science but switched to Management after 2 years of study. During my school life I was always very Science-based, studying...”

Victor T. A Level Economics tutor, GCSE Economics tutor, A Level Math...
View profile
£20 /hr

Victor T.

Degree: Economics (Bachelors) - Cambridge University

Subjects offered: Maths, Economics+ 2 more

-Personal Statements-
-Oxbridge Preparation-

“Hi I'm Victor and I am a second-year economist at Cambridge having achieved a First last year. I very much enjoy teaching and my aim to instil my passion and enthusiasm for Maths and Economics in my students. I got 12 A*s at GCSE and 5...”

MyTutor guarantee

About the author

Craig  Y. A Level Maths tutor, A Level Physics tutor, GCSE Maths tuto...
View profile

Craig Y.

Currently unavailable: for new students

Degree: Theoretical Physics (Masters) - Edinburgh University

Subjects offered: Maths, Physics


“Introductions Hi! My name is Craig Young and I am a 3rd year student in Theoretical Physics at the University of Edinburgh.  Science, and especially maths and physics, has been a major passion of mine since I was about 13 years old a...”

You may also like...

Other A Level Maths questions

Prove that the derivative of tan(x) is sec^2(x).

Differentiate with respect to x and write in its simpliest form, Y=(2x-3)/x^2?

What is a geometric series?

What is the equation of the curve that has gradient dy/dx=(4x-5) and passes through the point (3,7)?

View A Level Maths tutors


We use cookies to improve our service. By continuing to use this website, we'll assume that you're OK with this. Dismiss