Use integration by parts to evaluate: ∫xsin(x) dx.

Since our function is a product of two "mini-functions" of x, we are able to use integration by parts.The trick for this is to correctly set 'u' and 'dv'. 'u' should be labelled as the function which can reduce when differentiated. This means that the function should decrease in power. From our main function, we have both x, and sin(x). If we differentiate sin(x), we get cos(x), which hasn't decreased. However, if we differentiate x, we get 1, which has decreased in power.Using the integration by parts formula: ∫[udv] = uv - ∫[vdu].By setting u=x, and dv=sin(x), we can calculate 'du' and 'v' by differentiating u, and integrating dv respectively.u=x --> du=1, and dv=sin(x) --> v= -cos(x).Substituting this into the integration by parts formula stated above gives:∫[xsin(x)] = x*(-cos(x)) - ∫[(-cos(x)1)],Therefore ∫[xsin(x)] = -xcos(x) - ∫[(-cos(x)],And finally: ∫[xsin(x)] = -xcos(x) - (-sin(x)).This gives us our final answer of:∫[xsin(x)] = -xcos(x)+sin(x) + C, where C is the constant of integration.

BA
Answered by Bailey A. Maths tutor

3640 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Given that (2x + 11 )/(2x + 1)(x + 3) ≡ A /(2x + 1) + B /(x + 3) , find the values of the constants A and B. Hence show that the integral from 0 to 2 (2x + 11)/ (2x + 1)(x + 3) dx = ln 15.


When trying to solve inequalities (e.g. 1/(x+2)>x/(x-3)) I keep getting the wrong solutions even though my algebra is correct.


How many people in a room is required such that the probability of any two people sharing a birthday is over 50 percent?


Find the coordinates of the point of intersection of the lines 2x + 5y = 5 and x − 2y = 4.


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