Jump to content

Integration by parts

From Wikiversity

Integration by parts (IBP) is a method of integration with the formula:

:∫abu(x)v′(x)dx=[u(x)v(x)]ab−∫abu′(x)v(x)dx=u(b)v(b)−u(a)v(a)−∫abu′(x)v(x)dx.


Or more compactly,

∫abudv=uv|ab−∫abvdu       or without bounds       ∫udv=uv−∫vdu

where u and v are functions of a variable, for instance, x, giving u(x) and v(x).

ddxu(x)→dudx=u′(x)→u′(x)dx=du       and       ∫dv=∫v(x)=v
Note: dv is whatever terms are not included as u.

ILATE Rule

[edit | edit source]

A rule of thumb has been proposed, consisting of choosing u as the function that comes first in the following list:

I – inverse trigonometric functions: arctan⁡(x), arcsec⁡(x), etc.
L – logarithmic functions: ln⁡(x), logb(x), etc.
A – polynomials: x2, 3x50, etc.
T – trigonometric functions: sin⁡(x), tan⁡(x), etc.
E – exponential functions: ex, 19x, etc.

Derivation

[edit | edit source]

The theorem can be derived as follows. For two continuously differentiable functions u(x) and v(x), the product rule states:

(u(x)v(x))′ = v(x)u′(x)+u(x)v′(x).

Integrating both sides with respect to x,

∫(u(x)v(x))′dx = ∫u′(x)v(x)dx+∫u(x)v′(x)dx,

and noting that an indefinite integral is an antiderivative gives

u(x)v(x) = ∫u′(x)v(x)dx+∫u(x)v′(x)dx,

where we neglect writing the constant of integration. This yields the formula for integration by parts:

∫u(x)v′(x)dx = u(x)v(x)−∫u′(x)v(x)dx,

or in terms of the differentials  du=u′(x)dx,  dv=v′(x)dx,

∫u(x)dv = u(x)v(x)−∫v(x)du.

This is to be understood as an equality of functions with an unspecified constant added to each side. Taking the difference of each side between two values x = a and x = b and applying the fundamental theorem of calculus gives the definite integral version:

∫abu(x)v′(x)dx = u(b)v(b)−u(a)v(a)−∫abu′(x)v(x)dx.

Examples

[edit | edit source]

Functions multiplied by one and itself

[edit | edit source]

Given I=∫ln⁡(x)⋅1 dx 

[edit | edit source]

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

I=∫ln⁡(x)⋅1 dx .

Let:

u=ln⁡(x) ⇒ du=dxx
dv=dx ⇒ v=x

then:

∫ln⁡(x) dx=xln⁡(x)−∫xx dx=xln⁡(x)−∫1 dx=xln⁡(x)−x+C

where C is the constant of integration.

Given I=∫arctan⁡(x) dx.

[edit | edit source]

The second example is the inverse tangent function arctan(x):

I=∫arctan⁡(x) dx.

Rewrite this as

∫arctan⁡(x)⋅1 dx.

Now let:

u=arctan⁡(x) ⇒ du=dx1+x2
dv=dx ⇒ v=x

then

∫arctan⁡(x) dx=xarctan⁡(x)−∫x1+x2 dx=xarctan⁡(x)−ln⁡(1+x2)2+C

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

Polynomials and trigonometric functions

[edit | edit source]

In order to calculate

I=∫xcos⁡(x) dx ,

let:

u=x ⇒ du=dx
dv=cos⁡(x) dx ⇒ v=∫cos⁡(x) dx=sin⁡(x)

then:

∫xcos⁡(x) dx=∫u dv=u⋅v−∫vdu=xsin⁡(x)−∫sin⁡(x) dx=xsin⁡(x)+cos⁡(x)+C,

where C is a constant of integration.

For higher powers of x in the form

∫xnex dx, ∫xnsin⁡(x) dx, ∫xncos⁡(x) dx ,

repeatedly using integration by parts can evaluate integrals such as these; each application of the theorem lowers the power of x by one.

Exception to LIATE

[edit | edit source]
∫x3ex2dx,

one would set

u=x2,dv=x⋅ex2dx,

so that

du=2xdx,v=ex22.

Then

∫x3ex2dx=∫(x2)(xex2)dx=∫udv=uv−∫vdu=x2ex22−∫xex2dx.

Finally, this results in

∫x3ex2dx=ex2(x2−1)2+C.

Performing IBP twice

[edit | edit source]
I=∫excos⁡(x) dx.

Here, integration by parts is performed twice. First let

u=cos⁡(x) ⇒ du=−sin⁡(x) dx
dv=ex dx ⇒ v=∫ex dx=ex

then:

∫excos⁡(x) dx=excos⁡(x)+∫exsin⁡(x) dx.

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

u=sin⁡(x) ⇒ du=cos⁡(x) dx
dv=ex dx ⇒ v=∫ex dx=ex.

Then:

∫exsin⁡(x) dx=exsin⁡(x)−∫excos⁡(x) dx.

Putting these together,

∫excos⁡(x) dx=excos⁡(x)+exsin⁡(x)−∫excos⁡(x) dx.

The same integral shows up on both sides of this equation. The integral can simply be added to both sides to get

2∫excos⁡(x) dx=ex[sin⁡(x)+cos⁡(x)]+C,

which rearranges to

∫excos⁡(x) dx=12ex[sin⁡(x)+cos⁡(x)]+C′

Problem Set

[edit | edit source]

1) ∫2xcos⁡(5−13x)dx

2) ∫xcos⁡(x)dx

3) ∫x3sin⁡(3x)dx

4) ∫e2xcos⁡(3x)dx

5) ∫e−x(2x2−3x+5)dx

6) ∫4tan−1(3x)dx

7) ∫xtan⁡(x−4x2)dx

8) ∫x5cos−1(3x)dx

9) ∫e2x3x−2dx

10) ∫xln⁡(3x)dx