Integration by parts: Difference between revisions

From testwiki
Jump to navigation Jump to search
Problem Set: Fixed problem 10 ln formatting
 
(No difference)

Latest revision as of 17:44, 16 October 2024

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


Or more compactly, Template:Align

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

Template:Align

Template:Align

ILATE Rule

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

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

Functions multiplied by one and itself

Given I=ln(x)1 dx 

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.

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

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=uvvdu=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

x3ex2dx,

one would set

u=x2,dv=xex2dx,

so that

du=2xdx,v=ex22.

Then

x3ex2dx=(x2)(xex2)dx=udv=uvvdu=x2ex22xex2dx.

Finally, this results in

x3ex2dx=ex2(x21)2+C.

Performing IBP twice

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

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

which rearranges to

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

Problem Set

1) 2xcos(513x)dx

2) xcos(x)dx

3) x3sin(3x)dx

4) e2xcos(3x)dx

5) ex(2x23x+5)dx

6) 4tan1(3x)dx

7) xtan(x4x2)dx

8) x5cos1(3x)dx

9) e2x3x2dx

10) xln(3x)dx