Jump to content

Integration by parts

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 18.87.0.115 (talk) at 01:23, 8 January 2003. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In calculus, integration by parts is a rule that transforms the integral of products of functions into other integrals. The objective is that these are simpler. The rule arises from the product rule of differentiation.

Suppose u(x) and v(x) are two continuously differentiable functions. Then the rule states

or in a shorter form, in which it is most often seen:

Note that the original integral contains the derivative of v; in order to be able to apply the rule, you need to find its antiderivative v and then you still have to evalutate the resulting integral of ∫v u ' dx.

An alternative notation has the advantage that the factors of the original expression are identified as f and g, but the drawback of a nested integral:

This formula is valid whenever f is continuously differentiable and g is continuous.

Application

The rule is helpful whenever you need to integrate a function h(x) and you are able to break it up into a product of two functions, h(x) = f(x)g(x), in such a way that you know how to differentiate f, how to integrate g, and how to deal with the resulting integral of f ' times the integral of g.

Examples

In order to calculate:

x cos(x) dx

Put:

u = x, so that du = dx,
dv = cos(x) dx, so that v = sin(x).

Then:

xcos(x) dx = ∫ u dv = uv - ∫ v du
= x sin(x) - ∫ sin(x) dx = x sin(x) + cos(x) + C.

where C is an arbitrary constant of integration.

By repeatedly using integration by parts, integrals such as

x3 sin(x) dx    and    ∫ x2 ex dx

can be computed in the same fashion: each application of the rule lowers the power of x by one.

An interesting example that is commonly seen is:

∫ excos(x) dx

where, strangely enough, in the end, you don't have to do the actual integration.

This example uses integration by parts twice. First put:

u = ex; thus du/dx = ex
v = sin(x); thus dv/dx = cos(x)

Then:

∫ excos(x) dx = exsin(x) - ∫ exsin(x) dx

Now, to evaluate the remaining integral, we use integration by parts again, with:

u = ex; du/dx = ex
v = -cos(x); dv/dx = sin(x)

Then:

∫ exsin(x) dx = -excos(x) - ∫ -excos(x) dx = -excos(x) + ∫ excos(x) dx

Putting these togeter, we get

∫ excos(x) dx = exsin(x) + excos(x) - ∫ excos(x) dx

Notice that the same integral shows up on both sides of this equation. So you can simply add the integral to both sides to get:

2∫ excos(x) dx = ex(sin(x) + cos(x))
∫ excos(x) dx = ex(sin(x)+cos(x))/2

The other two famous examples are when you take something which isn't a product as a product of 1 and itself, and use integration by parts. This works if you know how to differentiate the function you want to integrate, and you also know how to integrate this derivative times x.

The first example is ∫ ln(x) dx. Write this as:

∫ ln(x)·1 dx

Put:

u = ln(x); du/dx = 1/x
v = x; dv/dx = 1

Then:

∫ ln(x) dx = xln(x) - ∫ x/x dx = xln(x) - ∫ 1 dx = xln(x) - x + C = x(ln(x) - 1) + C

where, again, C is the arbitrary constant of integration

The second example is ∫ arctan(x) dx, where arctan(x) is the inverse tangent function. Re-write this as:

∫ 1·arctan(x) dx

Now put:

u = arctan(x); du/dx = 1/(1+x2)
v = x; dv/dx = 1

Then:

∫ arctan(x) dx = xarctan(x) - ∫ x/(1+x2) dx = xarctan(x) - ln(1+x2)/2

using a combination of the inverse chain rule method and the natural logarithm integral condition.

Justification of the rule

Integration by parts follows from the product rule of differentiation: If the two continuously differentiable functions u(x) and v(x) are given, the product rule states that

(uv)' = uv ' + vu'

By integrating both sides, we get

uv = ∫ (uv ' + vu') dx

The latter integral can be written as the sum of two integrals since integration is linear:

uv = ∫ uv ' dx + ∫ vu' dx

(the fact that u and v are continuously differentiable ensures that the two individual integrals exist.) Subtracting ∫ uv' dx from both sides yields the desired formula of integration by parts.

Connection to distributions

When defining distributions, integration rather then differentiation is the fundamental operation. The derivatives of distributions are then defined so as to make integration by parts work.