Use substitution to evaluate indefinite integrals.
Use substitution to evaluate definite integrals.
The Fundamental Theorem of Calculus gave us a method to evaluate integrals without using Riemann sums. The drawback of this method, though, is that we must be able to find an antiderivative, and this is not always easy. In this section we examine a technique, called integration by substitution, to help us find antiderivatives. Specifically, this method helps us find antiderivatives when the integrand is the result of a chain-rule derivative.
At first, the approach to the substitution procedure may not appear very obvious. However, it is primarily a visual task—that is, the integrand shows you what to do; it is a matter of recognizing the form of the function. So, what are we supposed to see? We are looking for an integrand of the form f\left[g\left(x\right)\right]{g}^{\prime }\text{(}x\right)dx. For example, in the integral ∫(x2−3)32xdx, we have f(x)=x3,g(x)=x2−3, and g’(x)=2x. Then,
and we see that our integrand is in the correct form.
The method is called substitution because we substitute part of the integrand with the variable u and part of the integrand with du. It is also referred to as change of variables because we are changing variables to obtain an expression that is easier to work with for applying the integration rules.
Substitution with Indefinite Integrals
Let u=g(x),, where {g}^{\prime }\text{(}x\right) is continuous over an interval, let f(x) be continuous over the corresponding range of g, and let F(x) be an antiderivative of f(x). Then,
Returning to the problem we looked at originally, we let u=x2−3 and then du=2xdx. Rewrite the integral in terms of u:
∫u(x2−3)3du(2xdx)=∫u3du.
Using the power rule for integrals, we have
∫u3du=4u4+C.
Substitute the original expression for x back into the solution:
4u4+C=4(x2−3)4+C.
We can generalize the procedure in the following Problem-Solving Strategy.
Problem-Solving Strategy: Integration by Substitution
Look carefully at the integrand and select an expression g(x) within the integrand to set equal to u. Let’s select g(x). such that {g}^{\prime }\text{(}x\right) is also part of the integrand.
Substitute u=g(x) and du={g}^{\prime }\text{(}x\right)dx. into the integral.
We should now be able to evaluate the integral with respect to u. If the integral can’t be evaluated we need to go back and select a different expression to use as u.
Evaluate the integral in terms of u.
Write the result in terms of x and the expression g(x).
Using Substitution to Find an Antiderivative
Use substitution to find the antiderivative of ∫6x(3x2+4)4dx.
The first step is to choose an expression for u. We choose u=3x2+4. because then du=6xdx., and we already have du in the integrand. Write the integral in terms of u:
∫6x(3x2+4)4dx=∫u4du.
Remember that du is the derivative of the expression chosen for u, regardless of what is inside the integrand. Now we can evaluate the integral with respect to u:
∫u4du=5u5+C=5(3x2+4)5+C.
Analysis
We can check our answer by taking the derivative of the result of integration. We should obtain the integrand. Picking a value for C of 1, we let y=51(3x2+4)5+1. We have
y=51(3x2+4)5+1,
so
y′=(51)5(3x2+4)46x=6x(3x2+4)4.
This is exactly the expression we started with inside the integrand.
Use substitution to find the antiderivative of ∫3x2(x3−3)2dx.
∫3x2(x3−3)2dx=31(x3−3)3+C
Hint
Let u=x3−3.
Sometimes we need to adjust the constants in our integral if they don’t match up exactly with the expressions we are substituting.
Using Substitution with Alteration
Use substitution to find the antiderivative of ∫zz2−5dz.
Rewrite the integral as ∫z(z2−5)1/2dz. Let u=z2−5 and du=2zdz. Now we have a problem because du=2zdz and the original expression has only zdz. We have to alter our expression for du or the integral in u will be twice as large as it should be. If we multiply both sides of the du equation by 21. we can solve this problem. Thus,
udu21du=z2−5=2zdz=21(2z)dz=zdz.
Write the integral in terms of u, but pull the 21 outside the integration symbol:
Use substitution to find the antiderivative of ∫x2(x3+5)9dx.
30(x3+5)10+C
Hint
Multiply the du equation by 31.
Using Substitution with Integrals of Trigonometric Functions
Use substitution to evaluate the integral ∫cos3tsintdt.
We know the derivative of cost is −sint, so we set u=cost. Then du=−sintdt. Substituting into the integral, we have
∫cos3tsintdt=−∫u3du.
Evaluating the integral, we get
−∫u3du=−∫u−3du=−(−21)u−2+C.
Putting the answer back in terms of t, we get
∫cos3tsintdt=2u21+C=2cos2t1+C.
Use substitution to evaluate the integral ∫sin2tcostdt.
−sint1+C
Hint
Use the process from [link] to solve the problem.
Sometimes we need to manipulate an integral in ways that are more complicated than just multiplying or dividing by a constant. We need to eliminate all the expressions within the integrand that are in terms of the original variable. When we are done, u should be the only variable in the integrand. In some cases, this means solving for the original variable in terms of u. This technique should become clear in the next example.
Finding an Antiderivative Using u-Substitution
Use substitution to find the antiderivative of ∫x−1xdx.
If we let u=x−1, then du=dx. But this does not account for the x in the numerator of the integrand. We need to express x in terms of u. If u=x−1, then x=u+1. Now we can rewrite the integral in terms of u:
∫x−1xdx=∫uu+1du=∫u+u1du=∫(u1/2+u−1/2)du.
Then we integrate in the usual way, replace u with the original expression, and factor and simplify the result. Thus,
Use substitution to evaluate the indefinite integral ∫cos3tsintdt.
−4cos4t+C
Hint
Use the process from [link] to solve the problem.
Substitution for Definite Integrals
Substitution can be used with definite integrals, too. However, using substitution to evaluate a definite integral requires a change to the limits of integration. If we change variables in the integrand, the limits of integration change as well.
Substitution with Definite Integrals
Let u=g(x) and let g′ be continuous over an interval [a,b], and let f be continuous over the range of u=g(x). Then,
Although we will not formally prove this theorem, we justify it with some calculations here. From the substitution rule for indefinite integrals, if F(x) is an antiderivative of f(x), we have
Substitution may be only one of the techniques needed to evaluate a definite integral. All of the properties and rules of integration apply independently, and trigonometric functions may need to be rewritten using a trigonometric identity before we can apply substitution. Also, we have the option of replacing the original expression for u after we find the antiderivative, which means that we do not have to change the limits of integration. These two approaches are shown in [link].
Using Substitution to Evaluate a Trigonometric Integral
Use substitution to evaluate ∫0π/2cos2θdθ.
Let us first use a trigonometric identity to rewrite the integral. The trig identity cos2θ=21+cos2θ allows us to rewrite the integral as
We can evaluate the first integral as it is, but we need to make a substitution to evaluate the second integral. Let u=2θ. Then, du=2dθ, or 21du=dθ. Also, when θ=0,u=0, and when θ=π/2,u=π. Expressing the second integral in terms of u, we have
Substitution is a technique that simplifies the integration of functions that are the result of a chain-rule derivative. The term ‘substitution’ refers to changing variables or substituting the variable u and du for appropriate expressions in the integrand.
When using substitution for a definite integral, we also have to change the limits of integration.
Why is u-substitution referred to as change of variable?
2. If f=g∘h, when reversing the chain rule, \frac{d}{dx}\left(g\circ h\right)\left(x\right)={g}^{\prime }\text{(}h\left(x\right)\right){h}^{\prime }\text{(}x\right), should you take u=g(x) or u=h(x)?
u=h(x)
In the following exercises, verify each identity using differentiation. Then, using the indicated u-substitution, identify f such that the integral takes the form ∫f(u)du.
∫xx+1dx=152(x+1)3/2(3x−2)+C;u=x+1
∫x−1x2dx(x>1)=152x−1(3x2+4x+8)+C;u=x−1
f(u)=u(u+1)2
∫x4x2+9dx=121(4x2+9)3/2+C;u=4x2+9
∫4x2+9xdx=414x2+9+C;u=4x2+9
du=8xdx;f(u)=8u1
∫(4x2+9)2xdx=−8(4x2+9)1;u=4x2+9
In the following exercises, find the antiderivative using the indicated substitution.
∫(x+1)4dx;u=x+1
51(x+1)5+C
∫(x−1)5dx;u=x−1
∫(2x−3)−7dx;u=2x−3
−12(3−2x)61+C
∫(3x−2)−11dx;u=3x−2
∫x2+1xdx;u=x2+1
x2+1+C
∫1−x2xdx;u=1−x2
∫(x−1)(x2−2x)3dx;u=x2−2x
81(x2−2x)4+C
∫(x2−2x)(x3−3x2)2dx;u=x3=3x2
∫cos3θdθ;u=sinθ(Hint:cos2θ=1−sin2θ)
sinθ−3sin3θ+C
∫sin3θdθ;u=cosθ(Hint:sin2θ=1−cos2θ)
In the following exercises, use a suitable change of variables to determine the indefinite integral.
∫x(1−x)99dx
101(1−x)101−100(1−x)100+C
∫t(1−t2)10dt
∫(11x−7)−3dx
−22(7−11x2)1+C
∫(7x−11)4dx
∫cos3θsinθdθ
−4cos4θ+C
∫sin7θcosθdθ
∫cos2(πt)sin(πt)dt
−3πcos3(πt)+C
∫sin2xcos3xdx(Hint:sin2x+cos2x=1)
∫tsin(t2)cos(t2)dt
−41cos2(t2)+C
∫t2cos2(t3)sin(t3)dt
∫(x3−3)2x2dx
−3(x3−3)1+C
∫1−x2x3dx
∫(1−y3)3/2y5dy
−31−y32(y3−2)
∫cosθ(1−cosθ)99sinθdθ
∫(1−cos3θ)10cos2θsinθdθ
331(1−cos3θ)11+C
∫(cosθ−1)(cos2θ−2cosθ)3sinθdθ
∫(sin2θ−2sinθ)(sin3θ−3sin2θ)3cosθdθ
121(sin3θ−3sin2θ)4+C
In the following exercises, use a calculator to estimate the area under the curve using left Riemann sums with 50 terms, then use substitution to solve for the exact answer.
[T]y=3(1−x)2 over [0,2]
[T]y=x(1−x2)3 over [−1,2]
L50=−8.5779. The exact area is 8−81
[T]y=sinx(1−cosx)2 over [0,π]
[T]y=(x2+1)2x over [−1,1]
L50=−0.006399 … The exact area is 0.
In the following exercises, use a change of variables to evaluate the definite integral.
∫01x1−x2dx
∫011+x2xdx
u=1+x2,du=2xdx,21∫12u−1/2du=2−1
∫025+t2tdt
∫011+t3tdt
u=1+t3,du=3t2,31∫12u−1/2du=32(2−1)
∫0π/4sec2θtanθdθ
∫0π/4cos4θsinθdθ
u=cosθ,du=−sinθdθ,∫1/21u−4du=31(22−1)
In the following exercises, evaluate the indefinite integral ∫f(x)dx with constant C=0 using u-substitution. Then, graph the function and the antiderivative over the indicated interval. If possible, estimate a value of C that would need to be added to the antiderivative to make it equal to the definite integral F(x)=∫axf(t)dt, with a the left endpoint of the given interval.
[T]∫(2x+1)ex2+x−6dx over [−3,2]
[T]∫xcos(ln(2x))dx on [0,2]
The antiderivative is y=sin(ln(2x)). Since the antiderivative is not continuous at x=0, one cannot find a value of C that would make y=sin(ln(2x))−C work as a definite integral.
[T]∫x3+x2+x+43x2+2x+1dx over [−1,2]
[T]∫cos3xsinxdx over [−3π,3π]
The antiderivative is y=21sec2x. You should take C=−2 so that F(−3π)=0.
[T]∫(x+2)e−x2−4x+3dx over [−5,1]
[T]∫3x22x3+1dx over [0,1]
The antiderivative is y=31(2x3+1)3/2. One should take C=−31.
If h(a)=h(b) in ∫abg’(h(x))h(x)dx, what can you say about the value of the integral?
Is the substitution u=1−x2 in the definite integral ∫021−x2xdx okay? If not, why not?
No, because the integrand is discontinuous at x=1.
In the following exercises, use a change of variables to show that each definite integral is equal to zero.
∫0πcos2(2θ)sin(2θ)dθ
∫0πtcos(t2)sin(t2)dt
u=sin(t2); the integral becomes 21∫00udu.
∫01(1−2t)dt
∫01(1+(t−21)2)1−2tdt
u=(1+(t−21)2); the integral becomes −∫5/45/4u1du.
Show that the average value of f(x) over an interval [a,b] is the same as the average value of f(cx) over the interval [ca,cb] for c>0.
Setting u=cx and du=cdx gets you cb−ca1∫a/cb/cf(cx)dx=b−ac∫u=au=bf(u)cdu=b−a1∫abf(u)du.
Find the area under the graph of f(t)=(1+t2)at between t=0 and t=x where a>0 and a=1 is fixed, and evaluate the limit as x→∞.
Find the area under the graph of g(t)=(1−t2)at between t=0 and t=x, where 0<x<1 and a>0 is fixed. Evaluate the limit as x→1.
∫0xg(t)dt=21∫u=1−x21uadu=2(1−a)1u1−a∣u=1−x21=2(1−a)1(1−(1−x2)1−a). As x→1 the limit is 2(1−a)1 if a<1, and the limit diverges to +∞ if a>1.
The area of a semicircle of radius 1 can be expressed as ∫−111−x2dx. Use the substitution x=cost to express the area of a semicircle as the integral of a trigonometric function. You do not need to compute the integral.
The area of the top half of an ellipse with a major axis that is the x-axis from x=−1 to a and with a minor axis that is the y-axis from y=−b to b can be written as ∫−aab1−a2x2dx. Use the substitution x=acost to express this area in terms of an integral of a trigonometric function. You do not need to compute the integral.
∫t=π0b1−cos2t×(−asint)dt=∫t=0πabsin2tdt
[T] The following graph is of a function of the form f(t)=asin(nt)+bsin(mt). Estimate the coefficients a and b, and the frequency parameters n and m. Use these estimates to approximate ∫0πf(t)dt.
[T] The following graph is of a function of the form f(x)=acos(nt)+bcos(mt). Estimate the coefficients a and b and the frequency parameters n and m. Use these estimates to approximate ∫0πf(t)dt.
Let u=x3−3.