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...

11 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


£20 /hr

Max G.

Degree: Mathematics and Physics (Masters) - Durham University

Subjects offered: Maths, Physics+ 2 more


“I am a maths and physics student at the University of Durham, for as long as I can remember i have been obsessed with all things science! I am patient, friendly and most of all understanding to the fact that the sciences aren't for ev...”

£20 /hr

Martin L.

Degree: Chemistry (Bachelors) - Warwick University

Subjects offered: Maths, Chemistry


“About Me: I am currently a third-year student studying Chemistry at the University of Warwick; and have had tutor experience at my secondary school. I take a patient approach to tutoring and believe that a lot of the concepts they tea...”

£20 /hr

Felix A.

Degree: Mathematics with Finance (Bachelors) - Leeds University

Subjects offered: Maths


“About me! I am currently a Maths student at the University of Leeds, and I have always been passionate about Maths. I hope that after lessons with me you will feel the same and will have improved! I am communicative and friendly and ha...”

MyTutor guarantee

About the author

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

How can I improve my score?

How would you differentiate ln(sin(3x))?

How do I find the root of a quadratic equation?

Given that y = exp(2x) * (x^2 +1)^(5/2), what is dy/dx when x is 0?

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