Integration by substitution

From Wikipedia, the free encyclopedia

(Redirected from Change of variables formula)
Jump to: navigation, search
Topics in calculus

Fundamental theorem
Limits of functions
Continuity
Vector calculus
Tensor calculus
Mean value theorem

Differentiation

Product rule
Quotient rule
Chain rule
Implicit differentiation
Taylor's theorem
Related rates
Table of derivatives

Integration

Lists of integrals
Improper integrals
Integration by: parts, disks,
cylindrical shells, substitution,
trigonometric substitution

In calculus, the substitution rule is a tool for finding antiderivatives and integrals. Using the fundamental theorem of calculus often requires finding an antiderivative. For this and other reasons, the substitution rule is a relatively important tool for mathematicians. It is the counterpart to the chain rule of differentiation.

Suppose f(x) is an integrable function, and g(t) is a continuously differentiable function which is defined on the interval [a,b] and whose image (also known as range) is contained in the domain of f.

Suppose the derivative g'(t) is integrable on [a,b] and


g'(t) \ne 0 \; \forall t \in [a,b]

Then


\int_{a}^{b} f(g(t)) g'(t)\,dt  = \int_{g(a)}^{g(b)} f(x)\,dx .

The formula is best remembered using Leibniz notation: the substitution x = g(t) yields dx / dt = g'(t) and thus formally dx = g'(t)\,dt, which is precisely the required substitution for dx. (In fact, one may view the substitution rule as a major 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 used from left to right or from right to left in order to simplify a given integral. When used in the latter manner, it is sometimes known as u-substitution.

Contents

We will now prove the substitution rule for definite integrals. Let F be an antiderivative of f so F '(x) = f(x). By the fundamental theorem of calculus,

 \int_c^d f(u) du = F(d) - F(c).

Next we define a function G by the rule

 G(x) = F(u(x))\, ,

where u satisfies the same hypotheses as the above φ and u(a) = c, u(b) = d.


Then by the Chain rule G is differentiable with derivative

 G'(x) = F'(u(x)) u'(x)= f(u(x)) u'(x)\,.

Integrating both sides with respect to x and using the Fundamental Theorem of Calculus we get

 \int_a^b f(u(x)) u'(x)dx =\int_a^b G'(x) dx = G(b) - G(a).

But by the definition of F this equals

 G(b) - G(a) =  F(u(b)) - F(u(a)) = F(d) - F(c) = \int_c^d f(u) du.

Hence

\int_a^b f(u(x)) u'(x)dx = \int_c^d f(u) du.

which is the substitution rule for definite integrals.

Consider the integral


\int_{0}^2 x \cos(x^2+1) \,dx

By using the substitution u = x2 + 1, we obtain du = 2x dx and

\int_{0}^2 x \cos(x^2+1) \,dx  = \frac{1}{2} \int_{0}^2 \cos(x^2+1) 2x \,dx
= \frac{1}{2} \int_{1}^5\cos(u)\,du
= \frac{1}{2}(\sin(5)-\sin(1)).

Here we used the substitution rule from right to left. Note how the lower limit x = 0 was transformed into u = 02 + 1 = 1 and the upper limit x = 2 into u = 22 + 1 = 5.

For the integral


\int_0^1 \sqrt{1-x^2}\; dx

the formula needs to be used from left to right: the substitution x = sin(u), dx = cos(u) du is useful, because √(1-sin2(u)) = cos(u):


\int_0^1 \sqrt{1-x^2}\; dx = \int_0^\frac{\pi}{2} \sqrt{1-\sin^2(u)} \cos(u)\;du = \int_0^\frac{\pi}{2} \cos^2(u)\;du

The resulting integral can be computed using integration by parts or a double angle formula followed by one more substitution.

The substitution rule 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.

Similar to our first example above, we can determine the following antiderivative with this method:

\int u \cos(u^2+1) \,du = \frac{1}{2} \int \cos(u^2+1) 2u \,du
\qquad = \frac{1}{2} \int\cos(x)\,dx = \frac{1}{2}\sin(x) + C = \frac{1}{2}\sin(u^2+1) + C

where C is an arbitrary constant of integration.

Note that there were no integral boundaries to transform, but in the last step we had to revert the original substitution x = u2 + 1.

One may also use substitution when integrating functions of several variables. Here the substitution function (v1,...,vn) = φ(u1,...,un ) needs to be one-to-one and continuously differentiable, and the differentials transform as

dv_1\cdots dv_n = |\det(\operatorname{D}\phi)(u_1, \ldots, u_n)| \, du_1\cdots du_n

where det(Dφ)(u1,...,un ) denotes the determinant of the Jacobian matrix containing the partial derivatives of φ . This formula expresses the fact that the absolute value of the determinant of given vectors equals the volume of the spanned parallelepiped.

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

Theorem. Let U, V  be open sets in Rn and φ : UV  an injective differentiable function with continuous partial derivatives, the Jacobian of which is nonzero for every x in U. Then for any real-valued, compactly supported, continuous function f, with support connected in φ(U),

 \int_{\phi(U)} f(\mathbf{v}) d \mathbf{v} = \int_U f(\phi(\mathbf{u}))   \left|\det(\operatorname{D}\phi)(\mathbf{u})\right| d \mathbf{u}.

The substitution rule can be used to answer the following important question in probability: given a random variable X with probability density px and another random variable Y related to X by the equation y = Φ(x), what is the probability density for Y?

It is easiest to answer this question by first answering a slightly different question: what is the probability that Y takes a value in some particular subset S? Denote this probability P(Y \in S). Of course, if Y has probability density py then the answer is


P(Y \in S) = \int_S p_y(y)~dy ,

but this isn't really useful because we don't know py; it's what we're trying to find in the first place. We can make progress by considering the problem in the variable X. Y takes a value in S whenever X takes a value in Φ − 1(S), so


P(Y \in S) = \int_{\Phi^{-1}(S)} p_x(x)~dx .

Changing from variable x to y gives


P(Y \in S) = \int_{\Phi^{-1}(S)} p_x(x)~dx = \int_S p_x(\Phi^{-1}(y)) ~ |\frac{d\Phi^{-1}}{dy}|~dy.

Combining this with our first equation gives


\int_S p_y(y)~dy = \int_S p_x(\Phi^{-1}(y)) ~ |\frac{d\Phi^{-1}}{dy}|~dy

so


p_y(y) = p_x(\Phi^{-1}(y)) ~ |\frac{d\Phi^{-1}}{dy}|.

In the case where X and Y depend on several uncorrelated variables, ie. p_x=p_x(x_1\ldots x_n), and y = Φ(x), py can be found by use of the substitution rule in several variables discussed above. The result is


p_y(y) = p_x(\Phi^{-1}(y)) ~ |\det \left[ D\Phi ^{-1}(y) \right] |.
Wikibooks
Wikibooks Calculus has a page on the topic of
Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.