In
calculus
Calculus, originally called infinitesimal calculus or "the calculus of infinitesimals", is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizati ...
, and more generally in
mathematical analysis
Analysis is the branch of mathematics dealing with continuous functions, limit (mathematics), limits, and related theories, such as Derivative, differentiation, Integral, integration, measure (mathematics), measure, infinite sequences, series (m ...
, integration by parts or partial integration is a process that finds the
integral
In mathematics, an integral assigns numbers to functions in a way that describes displacement, area, volume, and other concepts that arise by combining infinitesimal data. The process of finding integrals is called integration. Along with ...
of a
product of
functions in terms of the integral of the product of their
derivative
In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. ...
and
antiderivative
In calculus, an antiderivative, inverse derivative, primitive function, primitive integral or indefinite integral of a function is a differentiable function whose derivative is equal to the original function . This can be stated symbolically ...
. 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 thought of as an integral version of the
product rule of
differentiation.
The integration by parts formula states:
Or, letting
and
while
and
, the formula can be written more compactly:
Mathematician
Brook Taylor
Brook Taylor (18 August 1685 – 29 December 1731) was an English mathematician best known for creating Taylor's theorem and the Taylor series, which are important for their use in mathematical analysis.
Life and work
Brook Taylor w ...
discovered integration by parts, first publishing the idea in 1715.
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.
Theorem
Product of two functions
The theorem can be derived as follows. For two
continuously differentiable functions ''u''(''x'') and ''v''(''x''), the
product rule states:
Integrating both sides with respect to ''x'',
and noting that an
indefinite integral is an antiderivative gives
where we neglect writing the
constant of integration
In calculus, the constant of integration, often denoted by C (or c), is a constant term added to an antiderivative of a function f(x) to indicate that the indefinite integral of f(x) (i.e., the set of all antiderivatives of f(x)), on a connect ...
. This yields the formula for integration by parts:
or in terms of the
differentials ,
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
The fundamental theorem of calculus is a theorem that links the concept of differentiating a function (calculating its slopes, or rate of change at each time) with the concept of integrating a function (calculating the area under its graph, ...
gives the definite integral version:
The original integral ∫ ''uv''′ ''dx'' contains the
derivative
In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. ...
''v''′; to apply the theorem, one must find ''v'', the
antiderivative
In calculus, an antiderivative, inverse derivative, primitive function, primitive integral or indefinite integral of a function is a differentiable function whose derivative is equal to the original function . This can be stated symbolically ...
of ''v''
', then evaluate the resulting integral ∫ ''vu''′ ''dx''.
Validity for less smooth functions
It is not 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). (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 , but nevertheless
so long as
is taken to mean the limit of
as
and so long as the two terms on the right-hand side are finite. This is only true if we choose
Similarly, if
''v''′ is not Lebesgue integrable on the interval , 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
denotes 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
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
Visualization
Consider a parametric curve by (''x'', ''y'') = (''f''(''t''), ''g''(''t'')). Assuming that the curve is locally
one-to-one
One-to-one or one to one may refer to:
Mathematics and communication
*One-to-one function, also called an injective function
*One-to-one correspondence, also called a bijective function
*One-to-one (communication), the act of an individual comm ...
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
In mathematics, the logarithm is the inverse function to exponentiation. That means the logarithm of a number to the base is the exponent to which must be raised, to produce . For example, since , the ''logarithm base'' 10 of ...
and
inverse trigonometric functions. In fact, if
is a differentiable one-to-one function on an interval, then integration by parts can be used to derive a formula for the integral of
in terms of the integral of
. This is demonstrated in the article,
Integral of inverse functions.
Applications
Finding antiderivatives
Integration by parts is a
heuristic
A heuristic (; ), or heuristic technique, is any approach to problem solving or self-discovery that employs a practical method that is not guaranteed to be optimal, perfect, or rational, but is nevertheless sufficient for reaching an immediat ...
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:
:
On the right-hand 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 , one makes (ln(''x'')) part ''u''; since the antiderivative of is −, one makes ''dx'' part ''dv''. The formula now yields:
:
The antiderivative of − can be found with the
power rule and is .
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
2x, then ''u'' differentiates to 1/ tan ''x'' using the
chain rule
In calculus, the chain rule is a formula that expresses the derivative of the Function composition, composition of two differentiable functions and in terms of the derivatives of and . More precisely, if h=f\circ g is the function such that h(x) ...
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
Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of numerical methods th ...
, 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
In order to calculate
:
let:
:
:
then:
:
where ''C'' is a
constant of integration
In calculus, the constant of integration, often denoted by C (or c), is a constant term added to an antiderivative of a function f(x) to indicate that the indefinite integral of f(x) (i.e., the set of all antiderivatives of f(x))