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

11 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


£26 /hr

Matthew K.

Degree: General Engineering (Masters) - Warwick University

Subjects offered: Maths, Physics


“About MeI am a student studying a general engineering masters degree at Warwick University. I amfun and friendly and have a passion for maths and physics with a little bit of rugby on the side.I helped my brother whilst he was ...”

£20 /hr

Marco-Iulian G.

Degree: Mathematics&Computer Science (Masters) - Bristol University

Subjects offered: Maths, Further Mathematics + 2 more

Further Mathematics

“I'm in my first year at University of Bristol, studying Mathematics and Computer Science MEng. From an early age I started to participate in lots of contests and maths olympiads, and the experience I achieved along the way enriched bo...”

£30 /hr

Henri F.

Degree: Aerospace Engineering MEng (Masters) - Bristol University

Subjects offered: Maths, Physics+ 4 more

Further Mathematics

“About Me I am an Aerospace Engineer currently studying my MEng at the University of Bristol. I have always been fascinated with space, spacecraft and satellites. I intend on going on to complete a PhD specialising inSpacecraft Control...”

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 differentiation and why is it useful?

Differentiating (x^2)(sinx) Using the Product Rule

How do I solve equations like 3sin^2(x) - 2cos(x) = 2

Line AB has the equation 3x + 5y = 7. Find the gradient of Line AB.

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