Integration by substitution
From Wikipedia, the free encyclopedia
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.
Let be a real interval and a continuously differentiable function. Suppose that is a continuous function. Then
The formula is best remembered using Leibniz notation: the substitution x = g(t) yields dx / dt = g'(t) and thus formally , 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 |
[edit] Proof of the substitution rule
We will now prove the substitution rule for the Riemann integral. For this, let f and g be functions satisfying the above hypotheses. Then, since f, g and g' are all continuous, so is the function . Hence, the Riemann integrals
and
in fact exist, and it remains to show that they are equal.
Since f is continuous, it possesses an antiderivative . The composite function is then defined. Since F and g are differentiable, we moreover have
for all by the chain rule. Applying the fundamental theorem of calculus twice, we obtain
as desired.
[edit] Examples
Consider the integral
By using the substitution u = x2 + 1, we obtain du = 2x dx and
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
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):
The resulting integral can be computed using integration by parts or a double angle formula followed by one more substitution.
[edit] Antiderivatives
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:
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.
[edit] Substitution rule for multiple variables
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
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 φ : U → V 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),
[edit] Application in probability
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 . Of course, if Y has probability density py then the answer is
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
Changing from variable x to y gives
Combining this with our first equation gives
so
In the case where X and Y depend on several uncorrelated variables, ie. , and y = Φ(x), py can be found by use of the substitution rule in several variables discussed above. The result is