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,
∫abf(g(x))g′(x)dx=∫g(a)g(b)f(u)du.
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 (Figure).
Using Substitution to Evaluate a Trigonometric Integral
Use substitution to evaluate ∫0π/2cos2θdθ.
Answer:
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
Evaluating a Definite Integral Involving an Exponential Function
Evaluate the definite integral ∫12e1−xdx.
Answer:
Again, substitution is the method to use. Let u=1−x, so du=−1dx or −du=dx. Then ∫e1−xdx=−∫eudu. Next, change the limits of integration. Using the equation u=1−x, we have
Figure 2. The indicated area can be calculated by evaluating a definite integral using substitution.
Evaluate ∫02e2xdx.
Answer:
21∫04eudu=21(e4−1)
Hint
Let u=2x.
Evaluating a Definite Integral Using Substitution
Evaluate the definite integral using substitution: ∫12x2e1/xdx.
Answer:
This problem requires some rewriting to simplify applying the properties. First, rewrite the exponent on e as a power of x, then bring the x2 in the denominator up to the numerator using a negative exponent. We have
∫12x2e1/xdx=∫12ex−1x−2dx.
Let u=x−1, the exponent on e. Then
du−du=−x−2dx=x−2dx.
Bringing the negative sign outside the integral sign, the problem now reads
−∫eudu.
Next, change the limits of integration:
u=(1)−1=1u=(2)−1=21.
Notice that now the limits begin with the larger number, meaning we must multiply by −1 and interchange the limits. Thus,
−∫11/2eudu=∫1/21eudu=eu∣1/21=e−e1/2=e−e.
Evaluate the definite integral using substitution: ∫12x31e4x−2dx.
Answer:
∫12x31e4x−2dx=81[e4−e]
Hint
Let u=4x−2.
(Figure) is a definite integral of a trigonometric function. With trigonometric functions, we often have to apply a trigonometric property or an identity before we can move forward. Finding the right form of the integrand is usually the key to a smooth integration.
Evaluating a Definite Integral
Find the definite integral of ∫0π/21+cosxsinxdx.
Answer:
We need substitution to evaluate this problem. Let u=1+cosx,, so du=−sinxdx. Rewrite the integral in terms of u, changing the limits of integration as well. Thus,
Evaluating a Definite Integral Using Inverse Trigonometric Functions
Evaluate the definite integral ∫011−x2dx.
Answer: We can go directly to the formula for the antiderivative in the rule on integration formulas resulting in inverse trigonometric functions, and then evaluate the definite integral. We have
Follow the procedures from (Figure) to solve the problem.
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.
1. [T]y=3(1−x)2 over [0,2]
2. [T]y=x(1−x2)3 over [−1,2]
Answer:
L50=−8.5779. The exact area is 8−81
3. [T]y=sinx(1−cosx)2 over [0,π]
4. [T]y=(x2+1)2x over [−1,1]
Answer:
L50=−0.006399 … The exact area is 0.
In the following exercises, use a change of variables to evaluate the definite integral.
5. ∫01x1−x2dx
6. ∫011+x2xdx
Answer:
u=1+x2,du=2xdx,21∫12u−1/2du=2−1
7. ∫025+t2tdt
8. ∫011+t3tdt
Answer:
u=1+t3,du=3t2,31∫12u−1/2du=32(2−1)
9. ∫0π/4sec2θtanθdθ
10. ∫0π/4cos4θsinθdθ
Answer:
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.
11. [T]∫(2x+1)ex2+x−6dx over [−3,2]
12. [T]∫xcos(ln(2x))dx on [0,2]
Answer:
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.
13. [T]∫x3+x2+x+43x2+2x+1dx over [−1,2]
14. [T]∫cos3xsinxdx over [−3π,3π]
Answer:
The antiderivative is y=21sec2x. You should take C=−2 so that F(−3π)=0.
15. [T]∫(x+2)e−x2−4x+3dx over [−5,1]
16. [T]∫3x22x3+1dx over [0,1]
Answer:
The antiderivative is y=31(2x3+1)3/2. One should take C=−31.
17. If h(a)=h(b) in ∫abg‘(h(x))h(x)dx, what can you say about the value of the integral?
18. Is the substitution u=1−x2 in the definite integral ∫021−x2xdx okay? If not, why not?
Answer:
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.
19. ∫0πcos2(2θ)sin(2θ)dθ
20. ∫0πtcos(t2)sin(t2)dt
Answer:
u=sin(t2); the integral becomes 21∫00udu.
21. ∫01(1−2t)dt
22. ∫01(1+(t−21)2)1−2tdt
Answer:
u=(1+(t−21)2); the integral becomes −∫5/45/4u1du.
23. ∫0πsin((t−2π)3)cos(t−2π)dt
24. ∫02(1−t)cos(πt)dt
Answer:
u=1−t; the integral becomes
∫1−1ucos(π(1−u))du=∫1−1u[cosπcosu−sinπsinu]du=−∫1−1ucosudu=∫−11ucosudu=0
since the integrand is odd.
25. ∫π/43π/4sin2tcostdt
26. 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.
Answer:
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.
27. 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→∞.
28. 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.
Answer:
∫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.
29. 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.
30. 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.
Answer:
∫t=π0b1−cos2t×(−asint)dt=∫t=0πabsin2tdt
31. [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.
32. [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.
In the following exercises, does the right-endpoint approximation overestimate or underestimate the exact area? Calculate the right endpoint estimate R50 and solve for the exact area.
37. [T]y=ex over [0,1]
38. [T]y=e−x over [0,1]
Answer:
Exact solution: ee−1,R50=0.6258. Since f is decreasing, the right endpoint estimate underestimates the area.
39. [T]y=ln(x) over [1,2]
40. [T]y=x2+2x+6x+1 over [0,1]
Answer:
Exact solution: 22ln(3)−ln(6),R50=0.2033. Since f is increasing, the right endpoint estimate overestimates the area.
41. [T]y=2x over [−1,0]
42. [T]y=−2−x over [0,1]
Answer:
Exact solution: −ln(4)1,R50=−0.7164. Since f is increasing, the right endpoint estimate overestimates the area (the actual area is a larger negative number).
In the following exercises, f(x)≥0 for a≤x≤b. Find the area under the graph of f(x) between the given values a and b by integrating.
43. f(x)=xlog10(x);a=10,b=100
44. f(x)=xlog2(x);a=32,b=64
Answer:
211ln2
45. f(x)=2−x;a=1,b=2
46. f(x)=2−x;a=3,b=4
Answer:
ln(65,536)1
47. Find the area under the graph of the function f(x)=xe−x2 between x=0 and x=5.
48. Compute the integral of f(x)=xe−x2 and find the smallest value of N such that the area under the graph f(x)=xe−x2 between x=N and x=N+10 is, at most, 0.01.
Answer: ∫NN+1xe−x2dx=21(e−N2−e−(N+1)2). The quantity is less than 0.01 when N=2.
49. Find the limit, as N tends to infinity, of the area under the graph of f(x)=xe−x2 between x=0 and x=5.
50. Show that ∫abtdt=∫1/b1/atdt when 0<a≤b.
Answer:
∫abxdx=ln(b)−ln(a)=ln(a1)−ln(b1)=∫1/b1/axdx
51. Suppose that f(x)>0 for all x and that f and g are differentiable. Use the identity fg=eglnf and the chain rule to find the derivative of fg.
52. Use the previous exercise to find the antiderivative of h(x)=xx(1+lnx) and evaluate ∫23xx(1+lnx)dx.
Answer:
23
53. Show that if c>0, then the integral of 1/x from ac to bc(0<a<b) is the same as the integral of 1/x from a to b.
The following exercises are intended to derive the fundamental properties of the natural log starting from the Definition/em> ln(x)=∫1xtdt, using properties of the definite integral and making no further assumptions.
54. Use the identity ln(x)=∫1xtdt to derive the identity ln(x1)=−lnx.
Answer:
We may assume that x>1,sox1<1. Then, ∫11/xtdt. Now make the substitution u=t1, so du=−t2dt and udu=−tdt, and change endpoints: ∫11/xtdt=−∫1xudu=−lnx.
55. Use a change of variable in the integral ∫1xyt1dt to show that lnxy=lnx+lny for x,y>0.
56. Use the identity lnx=∫1xxdt to show that ln(x) is an increasing function of x on [0,∞) and use the previous exercises to show that the range of ln(x) is (−∞,∞). Without any further assumptions, conclude that ln(x) has an inverse function defined on (−∞,∞).
57. Pretend, for the moment, that we do not know that ex is the inverse function of ln(x), but keep in mind that ln(x) has an inverse function defined on (−∞,∞). Call it E. Use the identity lnxy=lnx+lny to deduce that E(a+b)=E(a)E(b) for any real numbers a, b.
58. Pretend, for the moment, that we do not know that ex is the inverse function of lnx, but keep in mind that lnx has an inverse function defined on (−∞,∞). Call it E. Show that E’(t)=E(t).
Answer:
x=E(ln(x)). Then, 1=xE’(lnx)orx=E’(lnx). Since any number t can be written t=lnx for some x, and for such t we have x=E(t), it follows that for any t,E’(t)=E(t).
59. The sine integral, defined as S(x)=∫0xtsintdt is an important quantity in engineering. Although it does not have a simple closed formula, it is possible to estimate its behavior for large x. Show that for k≥1,∣S(2πk)−S(2π(k+1))∣≤k(2k+1)π1.(Hint: sin(t+π)=−sint)
60. [T] The normal distribution in probability is given by p(x)=σ2π1e−(x−μ)2/2σ2, where σ is the standard deviation and μ is the average. The standard normal distribution in probability, ps, corresponds to μ=0 and σ=1. Compute the left endpoint estimates R10 and R100 of ∫−112π1e−x2/2dx.
Answer:
R10=0.6811,R100=0.6827
61. [T] Compute the right endpoint estimates R50 and R100 of ∫−3522π1e−(x−1)2/8.
In the following exercises, evaluate each integral in terms of an inverse trigonometric function.
62. ∫03/21−x2dx
Answer:
sin−1x∣03/2=3π
63. ∫−1/21/21−x2dx
64. ∫311+x2dx
Answer:
tan−1x∣31=−12π
65. ∫1/331+x2dx
66. ∫12∣x∣x2−1dx
Answer:
sec−1x∣12=4π
67. ∫12/3∣x∣x2−1dx
68. Explain what is wrong with the following integral: ∫121−t2dt.
Answer:
1−t2 is not defined as a real number when t>1.
69. Explain what is wrong with the following integral: ∫−11∣t∣t2−1dt.
In the following exercises, solve for the antiderivative ∫f of f with C=0, then use a calculator to graph f and the antiderivative over the given interval [a,b]. Identify a value of C such that adding C to the antiderivative recovers the definite integral F(x)=∫axf(t)dt.
70. [T]∫9−x21dx over [−3,3]
Answer:
The antiderivative is sin−1(3x)+C. Taking C=2π recovers the definite integral.
71. [T]∫9+x29dx over [−6,6]
72. [T]∫4+sin2xcosxdx over [−6,6]
Answer:
The antiderivative is 21tan−1(2sinx)+C. Taking C=21tan−1(2sin(6)) recovers the definite integral.
73. [T]∫1+e2xexdx over [−6,6]
In the following exercises, use a calculator to graph the antiderivative ∫f with C=0 over the given interval [a,b]. Approximate a value of C, if possible, such that adding C to the antiderivative gives the same value as the definite integral F(x)=∫axf(t)dt.
74. [T]∫xx2−41dx over [2,6]
Answer:
The antiderivative is 21sec−1(2x)+C. Taking C=0 recovers the definite integral over [2,6].
75. [T]∫(2x+2)x1dx over [0,6]
76. [T]∫1+x2sin2x(sinx+xcosx)dx over [−6,6]
The general antiderivative is tan−1(xsinx)+C. Taking C=−tan−1(6sin(6)) recovers the definite integral.
77. [T]∫1−e−4x2e−2xdx over [0,2]
78. [T]∫x+xln2x1 over [0,2]
The general antiderivative is tan−1(lnx)+C. Taking C=2π=tan−1∞ recovers the definite integral.
79. [T]∫1−x2sin−1x over [−1,1]
In the following exercises, compute each definite integral.
80. ∫01/21−t2tan(sin−1t)dt
Answer: 21ln(34)
81. ∫1/41/21−t2tan(cos−1t)dt
82. ∫01/21+t2sin(tan−1t)dt
Answer:
1−52
83. ∫01/21+t2cos(tan−1t)dt
84. For A>0, compute I(A)=∫−AA1+t2dt and evaluate a→∞limI(A), the area under the graph of 1+t21 on [−∞,∞].
Answer:
2tan−1(A)→π as A→∞
85. Use the following graph to prove that ∫0x1−t2dt=21x1−x2+21sin−1x.
Glossary
change of variables
the substitution of a variable, such as u, for an expression in the integrand
integration by substitution
a technique for integration that allows integration of functions that are the result of a chain-rule derivative
Licenses & Attributions
CC licensed content, Shared previously
Calculus I.Provided by: OpenStaxLocated at: https://openstax.org/books/calculus-volume-1/pages/1-introduction.License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License terms: Download for free at http://cnx.org/contents/8b89d172-2927-466f-8661-01abc7ccdba4@2.89.
Hint
Let u=2x.