Section 12.3 Integrals and the Method of Substitution
¶Every rule for differentiation has a corresponding rule for integrals or antidifferentiation. This section focuses on the integration rule that corresponds to the chain rule.
Recall that the chain rule states that if \(F(x)\) is a function with a derivative \(F'(x)\) and \(u\) is any expression (or function), then
The corresponding antidifferentiation rule says that if we have a function \(f(x)\) with an antiderivative \(F(x)\) (\(F'(x)=f(x)\)), then
Usually, the integrand does not appear so obviously in the form of the chain rule. The method of substitution provides a formalized method to guide the process. The method relies on transforming the integral from an integrand in terms of the independent variable, say \(x\text{,}\) as a new integral with an integrand in terms of the chain variable \(u\text{.}\) For the transformation to be valid, we must account for the chain rule factor \(\frac{du}{dx} = u'\text{.}\) We use the substitution rule for differentials
Subsection 12.3.1 Substitution and Antiderivatives
To apply the method of substitution, we start with an integral whose integrand is a function the independent variable (\(x\)) which appears to involve a composition (suggesting a chain rule). Define \(u\) to be the formula in the composition and compute \(u'\text{.}\) We then substitute \(\displaystyle dx = \frac{du}{u'}\) in the integral and attempt to rewrite the entire integrand in terms of only \(u\text{.}\) We then find antiderivatives in terms of \(u\) and express the result in terms of the orignal variable.
Example 12.3.1.
Use the method of substitution to find \(\displaystyle \int e^{3x} \, dx\text{.}\)
The integrand \(e^{3x}\) involves composition with \(u=3x\text{.}\) This is our substitution variable. Because \(u'=3\text{,}\) we have \(du = 3 dx\) so that \(\displaystyle dx = \frac{du}{3}\text{.}\) We rewrite the integral in terms of the substitution variable \(u\text{.}\) After antidifferentiation using the variable \(u\text{,}\) we back-substitute our original formula for \(u=3x\text{.}\) The work is shown below.
Example 12.3.2.
Use the method of substitution to find \(\displaystyle \int \sqrt{3x+5} \, dx\text{.}\)
The integrand \(\sqrt{3x+5}=(3x+5)^{1/2}\) involves composition with \(u=3x+5\text{.}\) Because \(u'=3\text{,}\) we have \(du = 3 dx\) and \(\displaystyle dx = \frac{du}{3}\text{.}\) We rewrite the integral in terms of \(u\text{,}\) find an antiderivative, and then back-substitute to find a formula in terms of \(x\text{.}\)
Example 12.3.3.
Use the method of substitution to find \(\displaystyle \int x\sin(x^2) \, dx\text{.}\)
The integrand \(x \sin(x^2)\) is a product with the composition involving \(u=x^2\text{.}\) We hope that the product is a result of the chain rule. Because \(u'=\frac{du}{dx} = 2x\text{,}\) we have \(\displaystyle du = 2x \, dx\) or \(\displaystyle dx = \frac{du}{2x}\text{.}\) We rewrite the integral
This problem relied on the factor \(x\) and the formula for \(u'=2x\) having \(x\) cancel so that the transformed integral involves only the substitution variable \(u\text{.}\)
Example 12.3.4.
Use the method of substitution to find \(\displaystyle \int \tan(x) \, dx\text{.}\)
The integrand \(\tan(x)\) can be rewritten as a quotient, or as a product involving a negative power,
Once we have the negative power, we see the composition variable \(u=\cos(x)\text{.}\) Because \(u'=\frac{du}{dx} = -\sin(x)\text{,}\) we have \(\displaystyle du = -\sin(x) \, dx\) or \(\displaystyle dx = \frac{-du}{\sin(x)}\text{.}\) We rewrite the integral
Sometimes, after substitution, the integrand still involves the original variable. If the formula can be rewritten using only the substitution variable, then we may still be able to find an antiderivative.
Example 12.3.5.
Use the method of substitution to find \(\displaystyle \int x \sqrt{1-x} \, dx\text{.}\)
The integrand \(x \sqrt{1-x} = x (1-x)^{1/2}\) is a product with the composition involving \(u=1-x\text{.}\) Because \(u'=\frac{du}{dx} = -1\text{,}\) we have \(\displaystyle du = -dx\) or \(\displaystyle dx = -du\text{.}\) We rewrite the integral
If we start with the substitution equation \(u=1-x\) and solve for \(x\text{,}\) we find \(x=1-u\) and can use this substitution in the integral.
As currently written in a product, the antiderivative can not be found. However, if we multiply this out we can find antiderivatives using the power rule.
The method of substitution does not work (or at least does not help) if the transformed integral is no closer to finding an antiderivative than the original.
Example 12.3.6.
Use the method of substitution to rewrite \(\displaystyle \int e^{-x^2}\, dx\text{.}\)
The integrand \(e^{-x^2}\) has a composition involving \(u=x^2\) and \(u'=2x\text{.}\) For \(x \gt 0\) we have the back-substitution
The method of substitution allows us to rewrite this integral.
While these integrals are equivalent for \(x \gt 0\text{,}\) the new integral is no easier to evaluate than the original. It happens that this integral does not have an elementary antiderivative formula.
Subsection 12.3.2 Substitution and Definite Integrals
When using definite integrals, the Fundamental Theorem of Calculus allows us to compute a definite integral as the change in an antiderivative. If the method of substitution is used, our antiderivative will be a function of the substitution variable \(u\) which is a function of the independent variable. Rather than rewrite the antiderivative in terms of the original variable and then compute the change of the antiderivative, we can compute the change in the antiderivative in terms of the variable \(u\text{.}\)
Suppose that \(F(x)\) is an antiderivative of \(f(x)\text{.}\) Now, suppose that \(u\) is a function of \(x\) so that \(u(a)=c\) and \(u(b)=d\text{.}\) If we have an integral involving composition and the chain rule, we find
This is identical to the integral we would get for the related definite integral
Consequently, using the method of substitution on a definite integral can be performed by changing the limits of integration to the values of the substitution variable.
Example 12.3.7.
Compute \(\displaystyle \int_1^3 (2x+1)^4 \, dx\text{.}\)
The substitution variable is \(u=2x+1\text{.}\) When \(x=1\text{,}\) \(u=2(1)+1=3\text{,}\) and when \(x=3\text{,}\) \(u=2(3)+1=7\text{.}\) The substitution step involves \(u'=\frac{du}{dx}=2\) so that \(du = 2dx\) or \(\displaystyle dx=\frac{du}{2}\text{.}\) In order to keep track of whether the limit of integration refers to \(x\) or \(u\text{,}\) we need to clearly indicate this when both variables are involved.
Sometimes the substitution variable is a decreasing function of the independent variable. This will cause the apparent order of the limits to reverse. Be careful that the limits of integration remain in the same starting and ending position as the original.
Example 12.3.8.
Compute \(\displaystyle \int_3^4 \frac{x\,dx}{25-x^2}\text{.}\)
The composition may not be apparent until we think of division as multiplication by a negative power:
This suggests a substitution \(u=25-x^2\text{.}\)