How do you integrate by parts?

This is one of the trickier methods of integration, and it requires some practise. The basic idea is to split a function which would be difficult to integrate into two parts. Differentiating one part and integrating the other will then lead to a function which is much easier to integrate.

The formula is that the integral of u dv = uv - the integral of v du. It is best demonstrated with an example:

Let's integrate f(x) = xcos(x)

We can see that x will disppear if we differentiate it, so let's set x = u and cos(x) = dv.

Differentiating u and integrating dv then gives du = 1 and v = sin(x)

Now we substitute these into the formula: xsin(x) - integral of sin(x)

Sin(x) is easy to integrate, it is just -cos(x). Now we have our answer! The integral of xcos(x) = xsin(x) + cos(x) + c, where c is our unknown (and always necessary!) constant of integration.

Harry M. GCSE Maths tutor, A Level Maths tutor, GCSE Physics tutor, A...

1 year ago

Answered by Harry, an A Level Maths tutor with MyTutor

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


£20 /hr

Liam R.

Degree: Economics (Bachelors) - Durham University

Subjects offered:Maths


“I study Economics at Durham. I have a passion for maths and hope to share this with you! To find out more, click on my profile & book a free 15-minute meeting!”

Sam C. GCSE Maths tutor, 13 Plus  Maths tutor, 11 Plus Maths tutor, A...
£20 /hr

Sam C.

Degree: Physics (Masters) - Oxford, Trinity College University

Subjects offered:Maths, Physics+ 2 more

-Oxbridge Preparation-

“Maths and Physics hold the tools to unravelling the mysteries of the universe! I hope you enjoy unlocking these tools as much as I do!”

£24 /hr

Runzhi C.

Degree: Medicine (Bachelors) - Imperial College London University

Subjects offered:Maths, Chemistry+ 3 more

-Personal Statements-
-Medical School Preparation-

“Hi there, I am a first year medical student at Imperial College London and I have lived in the UK all my life. I enjoy studying medicine because it encompasses both scientific knowledge and social aspects. I am relatively new to tutor...”

About the author

Harry M.

Currently unavailable: for new students

Degree: Physics (Masters) - Exeter University

Subjects offered:Maths, Physics


“Hey everyone,If you're reading this, then I assume you're stuck on something physics-y or maths-y. If so, thenI can help! I'm a Physics student at Exeter University and I can be your guru. Physics reduces the complex world to somethi...”

You may also like...

Posts by Harry

Explain Newton's laws of motion

Explain Rutherford's atomic model experiment

How do you integrate by parts?

How do you multiply out brackets

Other A Level Maths questions

How to find out where 2 lines cross/simultaneous equations

Edexcel C1 2015 Q10. A curve with equation y = f (x) passes through the point (4, 9). Given that f′(x)=3x^(1/2)-9/(4x^(1/2))+2. Find f(x), giving each term in its simplest form.

Use integration by parts to find the integral of xsinx, with respect to x

How do you differentiate y = 5 x^3 + 1/2 x^2 + 3x -4

View A Level Maths tutors

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