Integrate xcos(x) with respect to x

In order to do this question one has to first recognise that this is a product and thus has to be solved using Integration by parts. Firstly write out the formula: ∫u.dv/dx dx = uv - ∫v. du/dx dx (this is always provided in the formula booklet) Now we have the formula we have to assign values to each of the variables and their derivatives. Remeber that unless we are dealing with ln(x) we always assign u=x and therefore in this scenario dv/dx = cos(x). Next we calulate v and du/dx. As dv/dx = cos(x) we know v = sin(x) (as sin(x) is the integral of cos(x)), and the du/dx is simply 1. Now we simply sub these into our formula so therfore ∫xcosx dx = xsin(x) - ∫sin(x) dx We know the integral of sin(x) is simply -cos(x) and therefore our answer is xsin(x) + cos(x) + C (always remembering the constant as this will differentiate to 0) TIPS: I always like to write in a separate box the values I assign to the variables so as to keep it away from the main argument and to keep it tidy. To check you've done the integration correctly simply differentiate using the product rule. You should get the original equation.

DW
Answered by David W. Maths tutor

4916 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

What are the rules for decomposition of partial fractions?


A mass of 3kg rests on a rough plane inclined at 60 degrees to the horizontal. The coefficient of friction is 1/5. Find the force P acting parallel to the plane applied to the mass, in order to just prevent motion down the plane.


Find the equation of the tangent to the curve y=x^3 + 4x^2 - 2x - 3 where x = -4


How do you find the acute angle between two intersecting lines whos equations are given in vector form?


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