Integration by parts
Part of a series of articles about  
Calculus  





Specialized 

In calculus, and more generally in mathematical analysis, integration by parts or partial integration is a process that finds the integral of a product of functions in terms of the integral of their derivative and antiderivative. It is frequently used to transform the antiderivative of a product of functions into an antiderivative for which a solution can be more easily found. The rule can be derived in one line simply by integrating the product rule of differentiation.
If u = u(x) and du = u′(x) dx, while v = v(x) and dv = v′(x) dx, then integration by parts states that:
or more compactly:
Mathematician Brook Taylor discovered integration by parts, first publishing the idea in 1715.^{[1]}^{[2]} More general formulations of integration by parts exist for the Riemann–Stieltjes and Lebesgue–Stieltjes integrals. The discrete analogue for sequences is called summation by parts.
Contents
Theorem[edit]
Product of two functions[edit]
The theorem can be derived as follows. Suppose u(x) and v(x) are two continuously differentiable functions. The product rule states (in Leibniz's notation):
Integrating both sides with respect to x (and using also Lagrange's notation),
then applying the definition of indefinite integral,
yields the formula for integration by parts:
Taking du and dv as differentials of functions of one variable x,
 and
The original integral ∫uv′ dx contains v′ (derivative of v); in order to apply the theorem, v (antiderivative of v′) must be found, and then the resulting integral ∫vu′ dx must be evaluated.
Extension to other cases[edit]
It is not actually necessary for u and v to be continuously differentiable. Integration by parts works if u is absolutely continuous and the function designated v' is Lebesgue integrable (but not necessarily continuous).^{[3]} (If v' has a point of discontinuity then its antiderivative v may not have a derivative at that point.)
If the interval of integration is not compact, then it is not necessary for u to be absolutely continuous in the whole interval or for v ' to be Lebesgue integrable in the interval, as a couple of examples (in which u and v are continuous and continuously differentiable) will show. For instance, if
u is not absolutely continuous on the interval [1, +∞), but nevertheless
so long as is taken to mean the limit of as and so long as the two terms on the righthand side are finite. This is only true if we choose Similarly, if
v' is not Lebesgue integrable on the interval [1, +∞), but nevertheless
with the same interpretation.
One can also easily come up with similar examples in which u and v are not continuously differentiable.
Further, if is a function of bounded variation on the segment and is differentiable on then
where by I denoted the signed measure corresponding to the function of bounded variation , and functions are extensions of to which are respectively of bounded variation and differentiable.
Product of many functions[edit]
Integrating the product rule for three multiplied functions, u(x), v(x), w(x), gives a similar result:
In general, for n factors
which leads to
where the product is of all functions except for the one differentiated in the same term.
Visualization[edit]
Consider a parametric curve by (x, y) = (f(t), g(t)). Assuming that the curve is locally onetoone and integrable, we can define
The area of the blue region is
Similarly, the area of the red region is
The total area A_{1} + A_{2} is equal to the area of the bigger rectangle, x_{2}y_{2}, minus the area of the smaller one, x_{1}y_{1}:
Or, in terms of t,
Or, in terms of indefinite integrals, this can be written as
Rearranging:
Thus integration by parts may be thought of as deriving the area of the blue region from the area of rectangles and that of the red region.
This visualization also explains why integration by parts may help find the integral of an inverse function f^{−1}(x) when the integral of the function f(x) is known. Indeed, the functions x(y) and y(x) are inverses, and the integral ∫x dy may be calculated as above from knowing the integral ∫y dx. In particular, this explains use of integration by parts to integrate logarithm and inverse trigonometric functions.
Applications[edit]
Strategy[edit]
Integration by parts is a heuristic rather than a purely mechanical process for solving integrals; given a single function to integrate, the typical strategy is to carefully separate this single function into a product of two functions u(x)v(x) such that the residual integral from the integration by parts formula is easier to evaluate than the single function. The following form is useful in illustrating the best strategy to take:
Note that on the righthand side, u is differentiated and v is integrated; consequently it is useful to choose u as a function that simplifies when differentiated, or to choose v as a function that simplifies when integrated. As a simple example, consider:
Since the derivative of ln(x) is 1/x, one makes (ln(x)) part u; since the antiderivative of 1/x^{2} is 1/x, one makes 1/x^{2}dx part dv. The formula now yields:
The antiderivative of −1/x^{2} can be found with the power rule and is 1/x.
Alternatively, one may choose u and v such that the product u' (∫v dx) simplifies due to cancellation. For example, suppose one wishes to integrate:
If we choose u(x) = ln(sin(x)) and v(x) = sec^{2}x, then u differentiates to 1/ tan x using the chain rule and v 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, 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.
Polynomials and trigonometric functions[edit]
In order to calculate
let:
then:
where C is a constant of integration.
For higher powers of x in the form
repeatedly using integration by parts can evaluate integrals such as these; each application of the theorem lowers the power of x by one.
Exponentials and trigonometric functions[edit]
An example commonly used to examine the workings of integration by parts is
Here, integration by parts is performed twice. First let
then:
Now, to evaluate the remaining integral, we use integration by parts again, with:
Then:
Putting these together,
The same integral shows up on both sides of this equation. The integral can simply be added to both sides to get
which rearranges to:
where again C (and C' = C/2) is a constant of integration.
A similar method is used to find the integral of secant cubed.
Functions multiplied by unity[edit]
Two other wellknown 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(x) dx. We write this as:
Let:
then:
where C is the constant of integration.
The second example is the inverse tangent function arctan(x):
Rewrite this as
Now let:
then
using a combination of the inverse chain rule method and the natural logarithm integral condition.
LIATE rule[edit]
A rule of thumb proposed by Herbert Kasube advises that whichever function comes first in the following list should be chosen as u:^{[4]}
 L – logarithmic functions: etc.
 I – inverse trigonometric functions: etc.
 A – algebraic functions: etc.
 T – trigonometric functions: etc.
 E – exponential functions: etc.
The function which is to be dv is whichever comes last in the list: functions lower on the list have easier antiderivatives than the functions above them. The rule is sometimes written as "DETAIL" where D stands for dv.
To demonstrate the LIATE 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 dx 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 nontrivial ways. For example, to integrate
one would set
so that
Then
Finally, this results in
Integration by parts is often used as a tool to prove theorems in mathematical analysis.
Use in special functions[edit]
The gamma function is an example of a special function, defined as an improper integral for z > 0. Integration by parts illustrates it to be an extension of the factorial:
Since
for integer z, applying this formula repeatedly gives the factorial (denoted by the !):
Use in harmonic analysis[edit]
Integration by parts is often used in harmonic analysis, particularly Fourier analysis, to show that quickly oscillating integrals with sufficiently smooth integrands decay quickly. The most common example of this is its use in showing that the decay of function's Fourier transform depends on the smoothness of that function, as described below.
Fourier transform of derivative[edit]
If f is a ktimes continuously differentiable function and all derivatives up to the kth one decay to zero at infinity, then its Fourier transform satisfies
where f^{(k)} is the kth derivative of f. (The exact constant on the right depends on the convention of the Fourier transform used.) This is proved by noting that
so using integration by parts on the Fourier transform of the derivative we get
Applying this inductively gives the result for general k. A similar method can be used to find the Laplace transform of a derivative of a function.
Decay of Fourier transform[edit]
The above result tells us about the decay of the Fourier transform, since it follows that if f and f^{(k)} are integrable then
 , where .
In other words, if f satisfies these conditions then its Fourier transform decays at infinity at least as quickly as 1/ξ^{k}. In particular, if k ≥ 2 then the Fourier transform is integrable.
The proof uses the fact, which is immediate from the definition of the Fourier transform, that
Using the same idea on the equality stated at the start of this subsection gives
Summing these two inequalities and then dividing by 1 + 2πξ^{k} gives the stated inequality.
Use in operator theory[edit]
One use of integration by parts in operator theory is that it shows that the ∆ (where ∆ is the Laplace operator) is a positive operator on L^{2} (see L^{p} space). If f is smooth and compactly supported then, using integration by parts, we have
Other applications[edit]
 For determining boundary conditions in Sturm–Liouville theory
 Deriving the Euler–Lagrange equation in the calculus of variations
Repeated integration by parts[edit]
Considering a second derivative of in the integral on the LHS of the formula for partial integration suggests a repeated application to the integral on the RHS:
Extending this concept of repeated partial integration to derivatives of degree n leads to
This concept may be useful when the successive integrals of are readily available (e.g., plain exponentials or sine and cosine, as in Laplace or Fourier transforms), and when the nth derivative of vanishes (e.g., as a polynomial function with degree ). The latter condition stops the repeating of partial integration, because the RHSintegral vanishes.
In the course of the above repetition of partial integrations the integrals
 and and
get related. This may be interpreted as arbitrarily "shifting" derivatives between and within the integrand, and proves useful, too (see Rodrigues' formula).
Tabular integration by parts[edit]
The essential process of the above formula can be summarized in a table; the resulting method is called "tabular integration"^{[5]} and was featured in the film Stand and Deliver.^{[6]}
For example, consider the integral
 and take
Begin to list in column A the function and its subsequent derivatives until zero is reached. Then list in column B the function and its subsequent integrals until the size of column B is the same as that of column A. The result is as follows:
# i Sign A: derivatives u^{(i)} B: integrals v^{(n−i)} 0 + 1 − 2 + 3 − 4 +
The product of the entries in row i of columns A and B together with the respective sign give the relevant integrals in step i in the course of repeated integration by parts. Step i = 0 yields the original integral. For the complete result in step i > 0 the ith integral must be added to all the previous products (0 ≤ j < i) of the jth entry of column A and the (j + 1)st entry of column B (i.e., multiply 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 the given jth sign. This process comes to a natural halt, when the product, which yields the integral, is zero (i = 4 in the example). The complete result is the following (notice the alternating signs in each term):
This yields
The repeated partial integration also turns out useful, when in the course of respectively differentiating and integrating the functions and their product results in a multiple of the original integrand. In this case the repetition may also be terminated with this index i.This can happen, expectably, with exponentials and trigonometric functions. As an example consider
# i Sign A: derivatives u^{(i)} B: integrals v^{(n−i)} 0 + 1 − 2 +
In this case the product of the terms in columns A and B with the appropriate sign for index i = 2 yields the negative of the original integrand (compare rows i = 0 and i = 2).
Observing that the integral on the RHS can have its own constant of integration , and bringing the abstract integral to the other side, gives
and finally:
where C = C′/2.
Higher dimensions[edit]
The formula for integration by parts can be extended to functions of several variables. These derivations are analogous to the one given above: a fundamental theorem of calculus is substituted into an appropriate product rule. There are several such pairings possible in multivariate calculus.^{[7]} For example, we may begin with a product rule for divergence followed by the divergence theorem.
A product rule for divergence:
Instead of an interval we integrate over an ndimensional domain :
After substitution using the divergence theorem we arrive at:
More specifically, suppose Ω is an open bounded subset of ℝ^{n} with a piecewise smooth boundary Γ. If u and v are two continuously differentiable functions on the closure of Ω, then the formula for integration by parts is
where is the outward unit surface normal to Γ, is its ith component, and i ranges from 1 to n. In vector form, the equation reads
Replacing v in the component formula with v_{i} and summing over i gives the vector formula
where v is a vectorvalued function with components v_{1}, ..., v_{n.}
For where , one gets
which is the first Green's identity.
The regularity requirements of the theorem can be relaxed. For instance, the boundary Γ need only be Lipschitz continuous. In the first formula above, only u, v ∈ H^{1}(Ω) is necessary (where H^{1} is a Sobolev space); the other formulas have similarly relaxed requirements.
See also[edit]
 Integration by parts for the Lebesgue–Stieltjes integral
 Integration by parts for semimartingales, involving their quadratic covariation.
 Integration by substitution
 Legendre transformation
Notes[edit]
 ^ "Brook Taylor". History.MCS.StAndrews.ac.uk. Retrieved May 25, 2018.
 ^ "Brook Taylor". Stetson.edu. Retrieved May 25, 2018.
 ^ "Integration by parts". Encyclopedia of Mathematics.
 ^ Kasube, Herbert E. (1983). "A Technique for Integration by Parts". The American Mathematical Monthly. 90 (3): 210–211. doi:10.2307/2975556. JSTOR 2975556.
 ^ Khattri, Sanjay K. (2008). "FOURIER SERIES AND LAPLACE TRANSFORM THROUGH TABULAR INTEGRATION" (PDF). The Teaching of Mathematics. XI (2): 97–103.
 ^ Horowitz, David (1990). "Tabular Integration by Parts" (PDF). The College Mathematics Journal. 21 (4): 307–311. doi:10.2307/2686368. JSTOR 2686368.
 ^ Rogers, Robert C. (September 29, 2011). "The Calculus of Several Variables" (PDF).
References[edit]
 Evans, Lawrence C. (1998). Partial Differential Equations. Providence, Rhode Island: American Mathematical Society. ISBN 0821807722.
 Arbogast, Todd; Bona, Jerry (2005). Methods of Applied Mathematics (PDF).
 Horowitz, David (September 1990). "Tabular Integration by Parts". The College Mathematics Journal. 21 (4): 307–311. doi:10.2307/2686368. JSTOR 2686368.
External links[edit]
The Wikibook Calculus has a page on the topic of: Integration by parts 
 Hazewinkel, Michiel, ed. (2001) [1994], "Integration by parts", Encyclopedia of Mathematics, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 9781556080104
 Integration by parts—from MathWorld