HOME

TheInfoList



OR:

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: \begin \int_a^b u(x) v'(x) \, dx & = \Big (x) v(x)\Biga^b - \int_a^b u'(x) v(x) \, dx\\ & = u(b) v(b) - u(a) v(a) - \int_a^b u'(x) v(x) \, dx. \end Or, letting u = u(x) and du = u'(x) \,dx while v = v(x) and dv = v'(x) \, dx, the formula can be written more compactly: \int u \, dv \ =\ uv - \int v \, du. 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: \Big(u(x)v(x)\Big)' = v(x) u'(x) + u(x) v'(x). Integrating both sides with respect to ''x'', \int \Big(u(x)v(x)\Big)'\,dx = \int u'(x)v(x)\,dx + \int u(x)v'(x) \,dx, and noting that an indefinite integral is an antiderivative gives u(x)v(x) = \int u'(x)v(x)\,dx + \int u(x)v'(x)\,dx, 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: \int u(x)v'(x)\,dx = u(x)v(x) - \int u'(x)v(x) \,dx, or in terms of the differentials du=u'(x)\,dx, dv=v'(x)\,dx, \quad \int u(x)\,dv = u(x)v(x) - \int 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 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: \int_a^b u(x) v'(x) \, dx = u(b) v(b) - u(a) v(a) - \int_a^b u'(x) v(x) \, dx . 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(x)= e^x/x^2, \, v'(x) =e^ ''u'' is not absolutely continuous on the interval , but nevertheless \int_1^\infty u(x)v'(x)\,dx = \Big (x)v(x)\Big1^\infty - \int_1^\infty u'(x)v(x)\,dx so long as \left (x)v(x)\right1^\infty is taken to mean the limit of u(L)v(L)-u(1)v(1) as L\to\infty and so long as the two terms on the right-hand side are finite. This is only true if we choose v(x)=-e^. Similarly, if u(x)= e^,\, v'(x) =x^\sin(x) ''v''′ is not Lebesgue integrable on the interval , but nevertheless \int_1^\infty u(x)v'(x)\,dx = \Big (x)v(x)\Big1^\infty - \int_1^\infty u'(x)v(x)\,dx with the same interpretation. One can also easily come up with similar examples in which ''u'' and ''v'' are ''not'' continuously differentiable. Further, if f(x) is a function of bounded variation on the segment ,b and \varphi(x) is differentiable on ,b then \int_^f(x)\varphi'(x)\,dx=-\int_^ \widetilde\varphi(x)\,d(\widetilde\chi_(x)\widetilde f(x)), where d(\chi_(x)\widetilde f(x)) denotes the signed measure corresponding to the function of bounded variation \chi_(x)f(x), and functions \widetilde f, \widetilde \varphi are extensions of f, \varphi to \R, 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: \int_a^b u v \, dw \ =\ \Big v w\Bigb_a - \int_a^b u w \, dv - \int_a^b v w \, du. In general, for ''n'' factors \left(\prod_^n u_i(x) \right)' \ =\ \sum_^n u_j'(x)\prod_^n u_i(x), which leads to \left \prod_^n u_i(x) \righta^b \ =\ \sum_^n \int_a^b u_j'(x) \prod_^n u_i(x).


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 :x(y) = f(g^(y)) :y(x) = g(f^(x)) The area of the blue region is :A_1=\int_^x(y) \, dy Similarly, the area of the red region is :A_2=\int_^y(x)\,dx 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: :\overbrace^+\overbrace^\ =\ \biggl.x \cdot y(x)\biggl, _^ \ =\ \biggl.y \cdot x(y)\biggl, _^ Or, in terms of ''t'', :\int_^x(t) \, dy(t) + \int_^y(t) \, dx(t) \ =\ \biggl. x(t)y(t) \biggl, _^ Or, in terms of indefinite integrals, this can be written as :\int x\,dy + \int y \,dx \ =\ xy Rearranging: :\int x\,dy \ =\ xy - \int y \,dx 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 f 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 f^in terms of the integral of f. 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: :\int uv\ dx = u \int v\ dx - \int\left(u' \int v\ dx \right)\ dx. 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: :\int\frac\ dx\ . 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: :\int\frac\ dx = -\frac - \int \biggl(\frac1\biggr) \biggl(-\frac1\biggr)\ dx\ . 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: :\int\sec^2(x)\cdot\ln\Big(\bigl, \sin(x)\bigr, \Big)\ dx. If we choose ''u''(''x'') = ln(, sin(''x''), ) and ''v''(''x'') = sec2x, 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: :\int\sec^2(x)\cdot\ln\Big(\bigl, \sin(x)\bigr, \Big)\ dx = \tan(x)\cdot\ln\Big(\bigl, \sin(x)\bigr, \Big)-\int\tan(x)\cdot\frac1 \, dx\ . 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 :I=\int x\cos(x)\ dx\ , let: :u = x\ \Rightarrow\ du = dx :dv = \cos(x)\ dx\ \Rightarrow\ v = \int\cos(x)\ dx = \sin(x) then: :\begin \int x\cos(x)\ dx & = \int u\ dv \\ & = u\cdot v - \int v \, du \\ & = x\sin(x) - \int \sin(x)\ dx \\ & = x\sin(x) + \cos(x) + C, \end 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))