Use integration by parts to find ∫ (x^2)sin(x) dx. (A good example of having to use the by parts formula twice.)

Before we blindly start using the integration by parts formula, we can see that no matter how many times we differentiate or integrate sin(x) we will still have a trigonometric function. The aim of the 'by parts' formula is to reduce the complexity of the integral so right away we know we would want to be differentiating x^2, as this gets simpler. So we let u = x^2 , so u′ = 2x, then v′ = sin x and v = −cos x. Now we have I= ∫ (x^2)sin(x) dx = −x^2 cos x − ∫ −2x cos x dx = −x^2 cos x + ∫ 2x cos x dx!This second term is still pretty unpleasant so we can just repeat the process, now with u = 2x, u′ = 2, v′ = cos x, v = sin x. (Again we choose 2x as the term to differentiate so we can make it simpler.) This gives us I = −x^2 cos x (from before) + 2x sin x − ∫ 2 sin x dx. We can easily integrate this last term to -2cos x, the double negative then gives us a positive. So now the whole answer is...= −x^2 cos x + 2x sin x + 2 cos x + c (Never forget the plus c)

JC
Answered by Jack C. Maths tutor

6795 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Find the coordinates of the centre C and the length of the diameter of a circle with the equation (x-2)^2 + (y+5)^2 = 25


Differentiate x^2


A curve has the equation y = 4x^3 . Differentiate with respect to y.


I'm supposed to calculate the differential of f(x)= sin(x)*ln(x)*(x-4)^2 using the product rule. I know what the product rule is but I can't split this into two bits that are easy to differentiate. How do I do it?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning