How do you integrate xcos(x)?

Using integration by parts: split xcos(x) into x multiplied by cos(x). Differentiating x gives 1 and integrating cos(x) gives sin(x). The integral of xcos(x) can therefore be rewritten as xsin(x) - integral of 1*sin(x) using the formula for integration by parts. The integral of sin(x) is -cos(x), so the integral of xcos(x) becomes xsin(x) -(-cos(x)) which simplifies to xsin(x)+cos(x)+C where C is an arbitrary constant of integration.

AB

Related Maths A Level answers

All answers ▸

Find the equation of the tangent to the curve y=3x^3+x^2+5 at the point (1,9)


How to differentiate with respect to x, xsin2x.


Express '6cos(2x) +sin(x)' in terms of sin(x).


One important question type to be able to answer is integrating squared trig functions. like cos^2(x)