How do you integrate by parts?

This is one of the trickiest methods of calculus on the course, but it's important to know, and is very doable if you set up the problem right and remember the steps. 

Integration by parts works when you have to integrate a function of the type f=u(dv/dx). All you have to remember is that, and the formula(dv/dx) dx = uv - ∫ (du/dx) dx

Ok, let's try an example. 

Say you're asked to integrate xsin(x). 

I find it makes it easiest to write out all the things I need for the formula before I plug them in. 

We'll choose x to be u, because differentiating x makes it more simple, while differentiating sin(x) doesn't really help that much. You always choose u to be the part that comes out simplest when differentiated.

So:                                                            u = x

Then, by differentiating,                du/d= 1

and also:                                               dv/dx = sin(x)

Then, integrating to find v,             v = -cos(x). 

Now, all we have to do is plug that back into the formula from earlier:

             ∫ xsin(x) dx = -xcos(x) - ∫ -cos(x) (1) dx.

Which is way easier! Integrating cos(x) gives sin(x) + c (always remember c!), so we end up with

             ∫ xsin(x) dx = -xcos(x) + sin(x) + c.

And that's your answer!

Isaac E. GCSE Physics tutor, A Level Physics tutor, GCSE Maths tutor,...

5 months ago

Answered by Isaac, who has applied to tutor A Level Maths with MyTutor

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


Jestin J. GCSE Maths tutor, A Level Maths tutor, GCSE Further Mathema...
View profile
£20 /hr

Jestin J.

Degree: Mechanical Engineering (Masters) - Edinburgh University

Subjects offered: Maths, Physics+ 1 more

Further Mathematics

“I’m an enthusiastic undergraduate studying Mechanical Engineering at the University of Edinburgh, I’m an organised individual who is efficient at keeping track of time and deadlines, as well as this I’m quick thinking and an easily ad...”

MyTutor guarantee

Sam M. A Level Maths tutor, GCSE Maths tutor, A Level Further Mathema...
View profile
£20 /hr

Sam M.

Degree: Mathematics (Masters) - Warwick University

Subjects offered: Maths, Further Mathematics

Further Mathematics

“Hi! I am a second year mathematics student at the University of Warwick, with a love for pure maths - in fact since 14 I've been set on becoming a mathematician. My intense fascination with this field not only motivated me to study ne...”

MyTutor guarantee

Sarah R. GCSE Economics tutor, A Level Physics tutor, GCSE Physics tu...
View profile
£20 /hr

Sarah R.

Degree: Physics (Bachelors) - Exeter University

Subjects offered: Maths, Physics+ 2 more

-Personal Statements-

“Hi! I'm Sarah and I'm a second year Physics student at the University of Exeter.  Maths and Physics have been a huge part of my education and general interests for a long time and I hope that I can pass on my knowledge and enthusiam t...”

About the author

Isaac E. GCSE Physics tutor, A Level Physics tutor, GCSE Maths tutor,...
View profile
£20 /hr

Isaac E.

Degree: Physics (Masters) - Durham University

Subjects offered: Maths, Physics


“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

Find the derivative of f(x)=x^2log(2x)

How do I differentiate "messy" functions?

Write sqrt(50) in the form Asqrt(50) where A is an integer

How does one find the inverse of a non-singular 3x3 matrix A?

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