How do I do integration by parts?

Say we have an equation with the product of two subjects in the form f(x) = u(x)v(x).

Differentiating is simple, we would just multiply the differential* of u(x) by v(x) and add the differential of v(x) times by u(x). i.e f'(x) = u'(x)v(x)+v'(x)u(x).

Now, integrating is slight trickier. It can involve more than one step. We again have an equation of the product of two subjects. But this time, we write it as f(x) = u(x)v'(x). To find the integral we first need to differentiate u(x) and integrate v'(x). This will give us the following relevant terms (v'(x) is now not needed):




The integral is:

∫ f(x) dx = u(x)v(x) - ∫ v(x)u'(x) dx.

The last term which I have bolded and underlined is the term you need to reduce to a single subject of x e.g. x or x2 not xcos(x) to make it easily integratable. To do this, you need to choose which part is your u(x) and which your v'(x) These may take two of three times of repeating the same integration by parts but you should nomrally get there.

*Note: I am denoting differentials as f'(x), known as prime.

Doug A. GCSE Maths tutor, A Level Maths tutor

2 years ago

Answered by Doug, an A Level Maths tutor with MyTutor

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


£20 /hr

Maisie J.

Degree: Mathematics (G100) (Bachelors) - Warwick University

Subjects offered: Maths, Further Mathematics

Further Mathematics

“Hi! My name is Maisie and I'm studying Mathematics at Warwick University. My aim is to share my passion of maths with my students and to boost my students' self-confidence and self-esteem.  I am friendly, patient and I will adapt the ...”

MyTutor guarantee

£22 /hr

Daniel S.

Degree: Philosophy, Politics and Economics (Bachelors) - Oxford, Christ Church University

Subjects offered: Maths, History+ 5 more

Extended Project Qualification
.TSA. Oxford.
-Personal Statements-
-Oxbridge Preparation-

“I am a Philosophy, Politics and Economics student at the University of Oxford. I am a very versatile tutor, with my degree affording me the skills to aid students with both scientific problems, as well as being able to help those with...”

MyTutor guarantee

£20 /hr

Alexandra F.

Degree: Archaeology (Bachelors) - Glasgow University

Subjects offered: Maths, Religious Studies+ 2 more

Religious Studies

“I am currently a student at the University of Glasgow studying Maths and Archaeology. I am extremely passionate about science in general but more specifically, maths. I was lucky enough to have several excellent maths teachers through...”

MyTutor guarantee

About the author

£20 /hr

Doug A.

Degree: Mathematics with Finance (Bachelors) - Leeds University

Subjects offered: Maths


“Top tutor from the renowned Russell university group, ready to help you improve your grades.”

MyTutor guarantee

You may also like...

Other A Level Maths questions

What is the dot product of two vectors?

What is the integral of sin^2(x)?

Solve for 0<=θ<π, the equation sin3θ-(sqrt3)cosθ=0 (C2)

How do you integrate (sinx)^2?

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