Integration by substitution

From testwiki
Revision as of 17:32, 11 October 2024 by imported>Mpdebell (Substitution for multiple variables)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#invoke:sidebar|collapsible | class = plainlist | titlestyle = padding-bottom:0.25em; | pretitle = Part of a series of articles about | title = Calculus | image = abf(t)dt=f(b)f(a) | listtitlestyle = text-align:center; | liststyle = border-top:1px solid #aaa;padding-top:0.15em;border-bottom:1px solid #aaa; | expanded = integral | abovestyle = padding:0.15em 0.25em 0.3em;font-weight:normal; | above =

Template:Startflatlist

Template:EndflatlistTemplate:Startflatlist

Template:Endflatlist

| list2name = differential | list2titlestyle = display:block;margin-top:0.65em; | list2title = Template:Bigger | list2 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | heading1 = Definitions
 | content1 =
 | heading2 = Concepts
 | content2 =
 | heading3 = Rules and identities
 | content3 =
}}

| list3name = integral | list3title = Template:Bigger | list3 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | content1 =

| heading2 = Definitions

 | content2 =
 | heading3 = Integration by
 | content3 =
}}

| list4name = series | list4title = Template:Bigger | list4 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | content1 =
 | heading2 = Convergence tests
 | content2 =
}}

| list5name = vector | list5title = Template:Bigger | list5 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | content1 =
 | heading2 = Theorems
 | content2 =
}}

| list6name = multivariable | list6title = Template:Bigger | list6 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | heading1 = Formalisms
 | content1 =
 | heading2 = Definitions
 | content2 =
}}

| list7name = advanced | list7title = Template:Bigger | list7 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | content1 =
}}

| list8name = specialized | list8title = Template:Bigger | list8 =

| list9name = miscellanea | list9title = Template:Bigger | list9 =

}} Template:Short description

In calculus, integration by substitution, also known as u-substitution, reverse chain rule or change of variables,[1] is a method for evaluating integrals and antiderivatives. It is the counterpart to the chain rule for differentiation, and can loosely be thought of as using the chain rule "backwards."

Substitution for a single variable

Introduction (indefinite integrals)

Before stating the result rigorously, consider a simple case using indefinite integrals.

Compute (2x3+1)7(x2)dx.[2]

Set u=2x3+1. This means dudx=6x2, or as a differential form, du=6x2dx. Now: (2x3+1)7(x2)dx=16(2x3+1)7u7(6x2)dxdu=16u7du=16(18u8)+C=148(2x3+1)8+C, where C is an arbitrary constant of integration.

This procedure is frequently used, but not all integrals are of a form that permits its use. In any event, the result should be verified by differentiating and comparing to the original integrand. ddx[148(2x3+1)8+C]=16(2x3+1)7(6x2)=(2x3+1)7(x2). For definite integrals, the limits of integration must also be adjusted, but the procedure is mostly the same.

Statement for definite integrals

Let g:[a,b]I be a differentiable function with a continuous derivative, where I is an interval. Suppose that f:I is a continuous function. Then:[3] abf(g(x))g(x)dx=g(a)g(b)f(u) du.

In Leibniz notation, the substitution u=g(x) yields: dudx=g(x). Working heuristically with infinitesimals yields the equation du=g(x)dx, which suggests the substitution formula above. (This equation may be put on a rigorous foundation by interpreting it as a statement about differential forms.) One may view the method of integration by substitution as a partial justification of Leibniz's notation for integrals and derivatives.

The formula is used to transform one integral into another integral that is easier to compute. Thus, the formula can be read from left to right or from right to left in order to simplify a given integral. When used in the former manner, it is sometimes known as u-substitution or w-substitution in which a new variable is defined to be a function of the original variable found inside the composite function multiplied by the derivative of the inner function. The latter manner is commonly used in trigonometric substitution, replacing the original variable with a trigonometric function of a new variable and the original differential with the differential of the trigonometric function.

Proof

Integration by substitution can be derived from the fundamental theorem of calculus as follows. Let f and g be two functions satisfying the above hypothesis that f is continuous on I and g is integrable on the closed interval [a,b]. Then the function f(g(x))g(x) is also integrable on [a,b]. Hence the integrals abf(g(x))g(x) dx and g(a)g(b)f(u) du in fact exist, and it remains to show that they are equal.

Since f is continuous, it has an antiderivative F. The composite function Fg is then defined. Since g is differentiable, combining the chain rule and the definition of an antiderivative gives: (Fg)(x)=F(g(x))g(x)=f(g(x))g(x).

Applying the fundamental theorem of calculus twice gives: abf(g(x))g(x) dx=ab(Fg)(x) dx=(Fg)(b)(Fg)(a)=F(g(b))F(g(a))=g(a)g(b)f(u)du, which is the substitution rule.

Examples: Antiderivatives (indefinite integrals)

Substitution can be used to determine antiderivatives. One chooses a relation between x and u, determines the corresponding relation between dx and du by differentiating, and performs the substitutions. An antiderivative for the substituted function can hopefully be determined; the original substitution between x and u is then undone.

Example 1

Consider the integral: xcos(x2+1) dx. Make the substitution u=x2+1 to obtain du=2x dx, meaning x dx=12 du. Therefore: xcos(x2+1)dx=122xcos(x2+1)dx=12cosudu=12sinu+C=12sin(x2+1)+C, where C is an arbitrary constant of integration.

Example 2: Antiderivatives of tangent and cotangent

The tangent function can be integrated using substitution by expressing it in terms of the sine and cosine: tanx=sinxcosx.

Using the substitution u=cosx gives du=sinxdx and tanxdx=sinxcosxdx=duu=ln|u|+C=ln|cosx|+C=ln|secx|+C.

The cotangent function can be integrated similarly by expressing it as cotx=cosxsinx and using the substitution u=sinx,du=cosxdx: cotxdx=cosxsinxdx=duu=ln|u|+C=ln|sinx|+C.

Examples: Definite integrals

When evaluating definite integrals by substitution, one may calculate the antiderivative fully first, then apply the boundary conditions. In that case, there is no need to transform the boundary terms. Alternatively, one may fully evaluate the indefinite integral (see above) first then apply the boundary conditions. This becomes especially handy when multiple substitutions are used.

Example 1

Consider the integral: 02xx2+1dx. Make the substitution u=x2+1 to obtain du=2x dx, meaning x dx=12 du. Therefore: x=0x=2xx2+1 dx=12u=1u=5duu=12(2521)=51. Since the lower limit x=0 was replaced with u=1, and the upper limit x=2 with 22+1=5, a transformation back into terms of x was unnecessary.

For the integral 011x2dx, a variation of the above procedure is needed. The substitution x=sinu implying dx=cosudu is useful because 1sin2u=cosu. We thus have: 011x2 dx=0π/21sin2ucosu du=0π/2cos2u du=[u2+sin(2u)4]0π/2=π4+0=π4.

The resulting integral can be computed using integration by parts or a double angle formula, 2cos2u=1+cos(2u), followed by one more substitution. One can also note that the function being integrated is the upper right quarter of a circle with a radius of one, and hence integrating the upper right quarter from zero to one is the geometric equivalent to the area of one quarter of the unit circle, or π4.

Substitution for multiple variables

One may also use substitution when integrating functions of several variables.

Here, the substitution function Template:Math needs to be injective and continuously differentiable, and the differentials transform as: dv1dvn=|det(Dφ)(u1,,un)|du1dun, where Template:Math denotes the determinant of the Jacobian matrix of partial derivatives of Template:Math at the point Template:Math. This formula expresses the fact that the absolute value of the determinant of a matrix equals the volume of the parallelotope spanned by its columns or rows.

More precisely, the change of variables formula is stated in the next theorem:

Template:Math theorem

The conditions on the theorem can be weakened in various ways. First, the requirement that Template:Mvar be continuously differentiable can be replaced by the weaker assumption that Template:Mvar be merely differentiable and have a continuous inverse.[4] This is guaranteed to hold if Template:Mvar is continuously differentiable by the inverse function theorem. Alternatively, the requirement that Template:Math can be eliminated by applying Sard's theorem.[5]

For Lebesgue measurable functions, the theorem can be stated in the following form:[6]

Template:Math theorem

Another very general version in measure theory is the following:[7]

Template:Math theorem

In geometric measure theory, integration by substitution is used with Lipschitz functions. A bi-Lipschitz function is a Lipschitz function Template:Math which is injective and whose inverse function Template:Math is also Lipschitz. By Rademacher's theorem, a bi-Lipschitz mapping is differentiable almost everywhere. In particular, the Jacobian determinant of a bi-Lipschitz mapping Template:Math is well-defined almost everywhere. The following result then holds:

Template:Math theorem

The above theorem was first proposed by Euler when he developed the notion of double integrals in 1769. Although generalized to triple integrals by Lagrange in 1773, and used by Legendre, Laplace, and Gauss, and first generalized to Template:Mvar variables by Mikhail Ostrogradsky in 1836, it resisted a fully rigorous formal proof for a surprisingly long time, and was first satisfactorily resolved 125 years later, by Élie Cartan in a series of papers beginning in the mid-1890s.[8][9]

Application in probability

Substitution can be used to answer the following important question in probability: given a random variable Template:Mvar with probability density Template:Math and another random variable Template:Mvar such that Template:Mvar for injective (one-to-one) Template:Mvar what is the probability density for Template:Mvar?

It is easiest to answer this question by first answering a slightly different question: what is the probability that Template:Mvar takes a value in some particular subset Template:Mvar? Denote this probability Template:Math Of course, if Template:Mvar has probability density Template:Math, then the answer is: P(YS)=SpY(y)dy, but this is not really useful because we do not know Template:Math it is what we are trying to find. We can make progress by considering the problem in the variable Template:Mvar. Template:Mvar takes a value in Template:Mvar whenever Template:Mvar takes a value in ϕ1(S), so: P(YS)=P(Xϕ1(S))=ϕ1(S)pX(x)dx.

Changing from variable Template:Mvar to Template:Mvar gives: P(YS)=ϕ1(S)pX(x)dx=SpX(ϕ1(y))|dϕ1dy|dy. Combining this with our first equation gives: SpY(y)dy=SpX(ϕ1(y))|dϕ1dy|dy, so: pY(y)=pX(ϕ1(y))|dϕ1dy|.

In the case where Template:Mvar and Template:Mvar depend on several uncorrelated variables (i.e., pX=pX(x1,,xn) and y=ϕ(x)), pYcan be found by substitution in several variables discussed above. The result is: pY(y)=pX(ϕ1(y))|detDϕ1(y)|.

See also

Template:Portal

Notes

Template:Reflist

References

Template:Refbegin

Template:Refend

Template:Wikibooks Template:Wikiversity

Template:Calculus topics Template:Integrals

es:Métodos de integración#Método de integración por sustitución