How to integrate by parts

Sometimes while integrating, we may come across an expression that is not a polynomial, and thus we cannot use the convenient power rule to integrate. Consider the function y=xcos(x). It is not immediately clear how we should start we this one, however upon further inspection, we may introduce the technique of Integrating by Parts. Essentially we split the function into two parts, say u and v, and then employ a formula which allows us to integrate them together:

∫u·dv = u·v − ∫v·du

Applying this to our function, we obtain

∫x·cos(x) dx = u·v − ∫v·du

Here we note that integrating cos(x) is a lot simpler than integrating x, and differentiating x is also simpler than differentiating cos(x), so it would make sense to set

u = x and dv = cos(x)

This in turn gives us

du = 1 and v = sin(x)

Thus plugging these values back into our original formula, we get

∫x·cos(x)= x·sin(x) - ∫sin(x)·1

So now, all we need to do is integrate sin(x), which is definitely easier than what we started with. Thus, the end product gives us 

∫x·cos(x)= x·sin(x) + cos(x) + C

where C of course is the constant of integration.

DL
Answered by Dennis L. Maths tutor

4250 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Show that 12coshx - 4sinhx = 4e^x + 8e^-x


Consider the unit hyperbola, whose equation is given by x^2 - y^2 = 1. We denote the origin, (0, 0) by O. Choose any point P on the curve, and label its reflection in the x axis P'. Show that the line OP and the tangent line to P' meet at a right angle.


A hollow sphere of radius r is being filled with water. The surface area of a hemisphere is 3pi*r^2. Question: When the water is at height r, and filling at a rate of 4cm^3s^-1, what is dS/dT?


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


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:

© 2025 by IXL Learning