All Topics  
Integration by parts

 

   Email Print
   Bookmark   Link






 

Integration by parts



 
 
In calculus
Calculus

Calculus is a branch of mathematics that includes the study of limit , derivatives, integrals, and infinite series, and constitutes a major part of modern university education....
, and more generally in mathematical analysis
Mathematical analysis

Mathematical analysis, which mathematicians refer to simply as analysis, has its beginnings in the rigorous formulation of calculus. It is the branch of mathematics most explicitly concerned with the notion of a limit , whether the limit of a sequence or the limit of a function....
, integration by parts is a rule that transforms the integral
Integral

Integration is an important concept in mathematics, specifically in the field of calculus and, more broadly, mathematical analysis. Given a function ƒ of a Real number variable x and an interval [ab] of the real line, the integral...
 of products of functions into other, hopefully simpler, integrals. The rule arises from the product rule
Product rule

In calculus, the product rule is a formula used to find the derivatives of products of functions.It may be stated thus:or in the Leibniz notation thus:...
 of differentiation
Derivative

In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point....
.

If u = f(x), v = g(x), and the differentials du = f '(xdx and dv = g'(xdx; then in its simplest form the product rule is:
The rule
Suppose f(x) and g(x) are two continuously differentiable functions
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
.






Discussion
Ask a question about 'Integration by parts'
Start a new discussion about 'Integration by parts'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In calculus
Calculus

Calculus is a branch of mathematics that includes the study of limit , derivatives, integrals, and infinite series, and constitutes a major part of modern university education....
, and more generally in mathematical analysis
Mathematical analysis

Mathematical analysis, which mathematicians refer to simply as analysis, has its beginnings in the rigorous formulation of calculus. It is the branch of mathematics most explicitly concerned with the notion of a limit , whether the limit of a sequence or the limit of a function....
, integration by parts is a rule that transforms the integral
Integral

Integration is an important concept in mathematics, specifically in the field of calculus and, more broadly, mathematical analysis. Given a function ƒ of a Real number variable x and an interval [ab] of the real line, the integral...
 of products of functions into other, hopefully simpler, integrals. The rule arises from the product rule
Product rule

In calculus, the product rule is a formula used to find the derivatives of products of functions.It may be stated thus:or in the Leibniz notation thus:...
 of differentiation
Derivative

In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point....
.

If u = f(x), v = g(x), and the differentials du = f '(xdx and dv = g'(xdx; then in its simplest form the product rule is:

The rule


Suppose f(x) and g(x) are two continuously differentiable functions
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
. The product rule
Product rule

In calculus, the product rule is a formula used to find the derivatives of products of functions.It may be stated thus:or in the Leibniz notation thus:...
 states

Integrating both sides gives

Rearranging terms

From above one can derive integration by parts rule which states that given an interval
Interval (mathematics)

In mathematics, a interval is a set of real numbers with the property that any number that lies between two numbers in the set is also included in the set....
 with endpoints a, b, one has

where we use the common notation

The rule is shown to be true by using the product rule
Product rule

In calculus, the product rule is a formula used to find the derivatives of products of functions.It may be stated thus:or in the Leibniz notation thus:...
 for derivatives and the fundamental theorem of calculus
Fundamental theorem of calculus

The fundamental theorem of calculus specifies the relationship between the two central operations of calculus: derivative and integral.The first part of the theorem, sometimes called the first fundamental theorem of calculus, shows that an antiderivative can be reversed by a differentiation....
. Thus



In the traditional calculus curriculum, this rule is often stated using indefinite integrals in the form

or in an even shorter form, if we let u = f(x), v = g(x) and the differentials du = f ′(xdx and dv = g′(x) dx, then it is in the form in which it is most often seen:

Note that the original integral contains the derivative of g; in order to be able to apply the rule, the antiderivative
Antiderivative

In calculus, an antiderivative, primitive or indefinite integralof a function f is a function F whose derivative is equal to f, i.e., F ′ = f....
 g must be found, and then the resulting integral ?g f′ dx must be evaluated.

One can also formulate a discrete analogue for sequences, called summation by parts
Summation by parts

In mathematics, summation by parts transforms the summation of products of sequences into other summations, often simplifying the computation or estimation of certain types of sums....
.

An alternative notation has the advantage that the factors of the original expression are identified as f and g, but has the twin drawbacks of a nested integral and total unsuitability for the definite integral case:

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

More general formulations of integration by parts exist for the Riemann-Stieltjes integral
Riemann-Stieltjes integral

In mathematics, the Riemann?Stieltjes integral is a generalization of the Riemann integral, named after Bernhard Riemann and Thomas Joannes Stieltjes....
 and Lebesgue-Stieltjes integral.

Note: More complicated forms such as the one below are also valid:

Strategy


Integration by parts is a heuristic
Heuristic

Heuristic is an adjective for methods that help in problem solving, in turn leading to learning and discovery. These methods in most cases employ experimentation and trial-and-error techniques....
 rather than a purely mechanical process for solving integrals; given a single function to integrate, the typical strategy is to carefully separate it into a product of two functions ƒ(x)g(x) such that the integral produced by the integration by parts formula is easier to evaluate than the original one. The following form is useful in illustrating the best strategy to take:

Note that on the right-hand side, ƒ is differentiated and g is integrated; consequently it is useful to choose ƒ as a function that simplifies when differentiated, and/or to choose g as a function that simplifies when integrated. As a simple example, consider:

Since ln x simplifies to 1/x when differentiated, we make this part of ƒ; since 1/x2 simplifies to −1/x when integrated, we make this part of g. The formula now yields:

The remaining integral of −1/x2 can be completed with the power rule and is 1/x.

Alternatively, we may choose ƒ and g such that the product simplifies due to cancellation. For example, suppose we wish to integrate:

If we choose ƒ(x) = ln(sin x) and g(x) = 1/(cos x)2, then ƒ differentiates to 1/tan x using the chain rule
Chain rule

In calculus, the chain rule is a formula for the derivative of the functional composition of two function .In intuitive terms, if a variable, y, depends on a second variable, u, which in turn depends on a third variable, x, then the rate of Mathematics#Change of y with respect to x can be computation as the rate of chan...
 and g integrates to tan x; so the formula gives:

The integrand simplifies to 1, so the antiderivative is x. Finding a simplifying combination frequently involves experimentation.

In some applications, it may not be necessary to ensure that the integral produced by integration by parts has a simple form; for example, in numerical analysis
Numerical analysis

Numerical analysis is the study of algorithms for the problems of continuous mathematics .One of the earliest mathematical writings is the Babylonian tablet YBC 7289, which gives a sexagesimal numerical approximation of , the length of the diagonal in a unit square....
, it may suffice that it has small magnitude and so contributes only a small error term. Some other special techniques are demonstrated in the examples below.

Examples


Integrands with powers of x or e x

In order to calculate:

Let:

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


Then:

where C is an arbitrary constant of integration
Arbitrary constant of integration

In calculus, the indefinite integral of a given function is always written with a constant, the constant of integration. This constant expresses an ambiguity inherent in the construction of antiderivatives....
.

By repeatedly using integration by parts, integrals such as

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:

where, strangely enough, the actual integral does not need to be evaluated.

This example uses integration by parts twice. First let:

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


Then:

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

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


Then:

  
Putting these together, we get

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

where, again, C (and C' = C/2) is an arbitrary constant of integration
Arbitrary constant of integration

In calculus, the indefinite integral of a given function is always written with a constant, the constant of integration. This constant expresses an ambiguity inherent in the construction of antiderivatives....
.

A similar trick is used to find the integral of secant cubed
Integral of secant cubed

One of the more challenging indefinite integrals of elementary calculus isThere are a number of reasons why this particular antiderivative is worthy of special attention:...
.

Interchange of the order of integration

The above formulation includes the technique of interchange of the order of integration, which is not usually viewed in this manner. Consider the iterated integral: In the order written above, the strip of width dx is integrated first over the y-direction as shown in the left panel of the figure, which is inconvenient especially when function h(y) is not easily integrated. The integral can be reduced to a single integration by reversing the order of integration as shown in the right panel of the figure. To accomplish this interchange of variables, the strip of width dy is first integrated from the line x = y to the limit x = z, and then the result is integrated from y = a to y = z, resulting in: This result can be seen to be an example of the above formula for integration by parts, repeated below: Substitute:  and  However, exchange of the order of integration has the merit that it generates the function f in a natural manner.

More examples

Two other well-known examples are when integration by parts is applied to a function expressed as a product of 1 and itself. This works if the derivative of the function is known, and the integral of this derivative times x is also known.

The first example is ? ln(xdx. We write this as:

Let:

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


Then:

  
  


where, again, C is the constant of integration.

The second example is ? arctan(xdx, where arctan(x) is the inverse tangent function. Rewrite this as

Now let:

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


Then

  
  


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

Here is an example:


The LIATE rule

A rule of thumb
Rule of thumb

A rule of thumb is a principle with broad application that is not intended to be strictly accurate or reliable for every situation. It is an easily learned and easily applied procedure for approximately calculating or recalling some value, or for making some determination....
 developed in 1983 for choosing which of two functions is to be u is the LIATE rule. According to the rule, whichever function comes first in this list is to be u:

L: logarithmic functions: ln x, log2(x), etc.
I: inverse trigonometric function
Inverse trigonometric function

In mathematics, the inverse trigonometric functions or cyclometric functions are the inverse functions of the trigonometric functions. The principal inverses are listed in the following table....
s: arctan x, arcsec x, etc.
A: algebraic functions
Polynomial

In mathematics, a polynomial is an expression constructed from variables and constants, using the operations of addition, subtraction, multiplication, and constant non-negative whole number exponents....
: , , etc.
T: trigonometric functions: sin x, tan x, etc.
E: exponential function
Exponential function

The exponential function is a function in mathematics. The application of this function to a value x is written as exp. Equivalently, this can be written in the form ex, where e is the mathematical constant that is the base of the natural logarithm and that is also known as Euler's number....
s: , , etc.


The function which is to be dv by whichever function comes last in the list. You can remember the list by the mnemonic
Mnemonic

A mnemonic device is a memory aid. Commonly met mnemonics are often verbal, something such as a very short poem or a special word used to help a person remember something, particularly lists, but may be visual, kinesthetic or auditory....
 LIATE. The reason for this is that functions lower on the list have easier antiderivative
Antiderivative

In calculus, an antiderivative, primitive or indefinite integralof a function f is a function F whose derivative is equal to f, i.e., F ′ = f....
s than the functions above them. This rule is sometimes seen reversed and written as DETAIL, with the D standing for dv and the following letters indicating the order in which the function dv should be chosen.

To demonstrate this rule, consider the integral

Following the LIATE rule, u = x and dv = cos x dx , hence du = dx and v = sin x , which makes the integral become which equals

In general, one tries to choose u and dv such that du is simpler than u and dv is easy to integrate. If instead cos x was chosen as u and x as dv, we would have the integral

which, after recursive application of the integration by parts formula, would clearly result in an infinite recursion and lead nowhere.

Although a useful rule of thumb, there are exceptions to the LIATE rule. A common alternative is to consider the rules in the "ILATE" order instead. Also, in some cases, polynomial terms need to be split in non-trivial ways. For example, to integrate

we would set

This results in

Recursive integration by parts


Integration by parts can often be applied recursive
Recursion

Recursion, in mathematics and computer science, is a method of defining Function in which the function being defined is applied within its own definition....
ly on the term to provide the following formula

Here, is the first derivative of and is the second derivative of . Further, is a notation to describe its nth derivative (with respect to the variable u and v are functions of). Another notation has been adopted:

There are n + 1 integrals.

Note that the integrand above differs from the previous equation. The factor has been written as purely for convenience.

The above mentioned form is convenient because it can be evaluated by differentiating the first term and integrating the second (with a sign reversal each time), starting out with . It is very useful especially in cases when becomes zero for some k + 1. Hence, the integral evaluation can stop once the term has been reached.

Tabular integration by parts

While the aforementioned recursive
Recursion

Recursion, in mathematics and computer science, is a method of defining Function in which the function being defined is applied within its own definition....
 definition is correct, it is often tedious to remember and implement. A much easier visual representation of this process is often taught to students and is dubbed either "the tabular method," "rapid repeated integration" or "the tic-tac-toe method." This method works best when one of the two functions in the product is a polynomial, that is, after differentiating it several times one obtains zero. It may also be extended to work for functions that will repeat themselves.

For example, consider the integral

Let u = x3. Begin with this function and list in a column all the subsequent derivatives until zero is reached. Secondly, begin with the function v (in this case cos(x) and list each integral of v until the size of the column is the same as that of u. The result should appear as follows.

Derivatives of u (Column A) Integrals of v (Column B)


Now simply pair the 1st entry of column A with the 2nd entry of column B, the 2nd entry of column A with the 3rd entry of column B, etc... with alternating signs (beginning with the positive sign). Do so until further pairing is impossible. The result is the following (notice the alternating signs in each term):

Which, with simplification, leads to the result

With proper understanding of the tabular method, it can be extended. Consider

Derivatives of u (Column A) Integrals of v (Column B)


In this case in the last step it is necessary to integrate the product of the two bottom cells obtaining:

which leads to

and gives the result.

Higher dimensions


The formula for integration by parts can be extended to functions of several variables. Instead of an interval one needs to integrate over a n-dimensional set. Also, one replaces the derivative with a partial derivative
Partial derivative

In mathematics, a partial derivative of a function of several variables is its derivative with respect to one of those variables with the others held constant ....
.

More specifically, suppose O is an open
Open set

In metric topology and related fields of mathematics, a Set U is called open if, intuitively speaking, starting from any point x in U one can move by a small amount in any direction and still be in the set U....
 bounded subset
Bounded set

In mathematical analysis and related areas of mathematics, a Set is called bounded, if it is, in a certain sense, of finite size. Conversely a set which is not bounded is called unbounded....
 of with a piecewise smooth boundary
Boundary (topology)

In topology, the boundary of a subset S of a topological space X is the set of points which can be approached both from S and from the outside of S....
 ?O. If u and v are two continuously differentiable
Smooth function

In mathematical analysis, a differentiability class is a classification of function according to the properties of their derivatives. Higher order differentiability classes correspond to the existence of more derivatives....
 functions on the closure
Closure (mathematics)

In mathematics, a Set is said to be closed under some operation if the Operation on members of the set produces a member of the set. For example, the real numbers are closed under subtraction, but the natural numbers are not: 3 and 7 are both natural numbers, but the result of 3 − 7 is not....
 of O, then the formula for integration by parts is where is the outward unit surface normal
Surface normal

A surface normal, or simply normal, to a Flatness is a vector which is perpendicular to that surface. A normal to a non-flat surface at a Point P on the surface is a vector perpendicular to the Tangent space to that surface at P....
 to ?O, ?i is its i-th component, and i ranges from 1 to n. Replacing v in the above formula with vi and summing over i gives the vector formula where v is a vector-valued function with components v1, ..., vn.

Setting u equal to the constant function 1 in the above formula gives the divergence theorem
Divergence theorem

In vector calculus, the divergence theorem, also known as Gauss?s theorem , Ostrogradsky?s theorem , or Gauss-Ostrogradsky theorem is a result that relates the flow of a vector field through a surface to the behavior of the vector field inside the surface....
. For where , one gets which is the first Green's identity
Green's identities

In mathematics, Green's identities are a set of three identities in vector calculus. They are named after the mathematician George Green, who discovered Green's theorem....
.

The regularity requirements of the theorem can be relaxed. For instance, the boundary ?O need only be Lipschitz continuous. In the first formula above, only is necessary (where H1 is a Sobolev space
Sobolev space

In mathematics, a Sobolev space is a vector space of functions equipped with a normed space that is a combination of Lp norm of the function itself as well as its derivatives up to a given order....
); the other formulas have similarly relaxed requirements.

External links