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

2 years ago

Answered by Harry, an A Level Maths tutor with MyTutor

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


£26 /hr

Prina S.

Degree: Environmental Geoscience (Masters) - Bristol University

Subjects offered:Maths, Physics+ 2 more


“Hello there! My name is Prina and I love studying and tutoring maths and science. Check out my profile for how I teach and previous students' feedback!”

£20 /hr

Sachin R.

Degree: Mathematics (Bachelors) - Bath University

Subjects offered:Maths, Further Mathematics

Further Mathematics

“Hi, I’m Sachin and I study Maths at the University of Bath. I’m looking forward to working with my students to enable them to reach their highest potential.”

£20 /hr

Harry C.

Degree: General Engineering (Masters) - Durham University

Subjects offered:Maths, Physics+ 1 more

Further Mathematics

“Second year Engineering student, I'm passionate, dedicated and personable. A- Level Maths and Physics (A*AA).”

MyTutor guarantee

About the author

£22 /hr

Harry M.

Degree: Physics (Masters) - Exeter University

Subjects offered:Maths, Physics


“I'm here to not just coax my students towards confidence and success, but also to enjoy the journey”

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

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

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

Use integration by parts to find the integral of sin(x)*exp(x)

The quadratic equation (k+1)x^2+12x+(k-4)=0 has real roots. (a) Show that k^2-3k-40<=0. (b) Hence find the possible values of k.

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