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

The integration by parts rule looks like this:

∫ u * v' dx = u * v - ∫ ( v * u' ) dx

Hence in this example, we want to make our u = x and v' = sinx

So we now need to work out what u' and v are:

u' = 1 which is the easier of the two; to work out v, we should integrate v' = sinx, this will give us v = -cosx

Hence if we now subsititute these into the equations, we will find that:

∫ xsinx dx = -xcosx - ∫ (-cosx) dx

= -xcosx - (-sinx) + C (where C is the constant of integration)

= sinx - xcosx + C

Toby S. GCSE Maths tutor, A Level Maths tutor

12 months ago

Answered by Toby, an A Level Maths tutor with MyTutor

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


£20 /hr

Rhys M.

Degree: Economics (Bachelors) - Durham University

Subjects offered:Maths, History+ 2 more


“About Me I am currently studying Economics at Durham University. Economics is a very broad subject, so I am very passionate about many other subjects and do a lot of reading around my subject. I was delighted to be awarded the top spo...”

£20 /hr

Alvin S.

Degree: Centre for Doctoral Training in Soft Matter and Functional Interfaces (Doctorate) - Durham University

Subjects offered:Maths, Physics


“I graduated from the University of Edinburgh with a 1st class MPhys degree in Mathematical Physics, and currently studying a PhD at Durham University.”

MyTutor guarantee

£20 /hr

Aylin L.

Degree: Physics with Astrophysics (Bachelors) - Manchester University

Subjects offered:Maths, Physics+ 1 more


“Tutor studying in one of the best Physics departments in Europe. Here to help spread enthusiasm about Science and good marks in exams.”

MyTutor guarantee

About the author

Toby S.

Currently unavailable: for regular students

Degree: Mathematics (Bachelors) - Leeds University

Subjects offered:Maths


“Hello, my name is Toby.  I am a second year Mathematician at the University of Leeds, I am averaging a First Class degree at the moment and would love to be able to help out with whatever you need a hand with, GCSE and A-Level maths is...”

MyTutor guarantee

You may also like...

Posts by Toby

Differentiate y = (6x-13)^3 with respect to x

Solve this quadractic equation: x^2 - 8x + 15 = 0

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

Other A Level Maths questions

What is a geometric series?

A Definitive Guide to Differentiation

Integrate 1/(5-2x) for 3≤x≤4

Solve Inx + In3 = In6

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