Integrate functions resulting in inverse trigonometric functions.
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[g(x)]g′(x)dx. For example, in the integral ∫(x2−3)32xdx, we have f(x)=x3,g(x)=x2−3, and g‘(x)=2x. Then,
f[g(x)]g′(x)=(x2−3)3(2x),
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′(x) 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,
∫f[g(x)]g′(x)dx=∫f(u)du=F(u)+C=F(g(x))+C.
Proof
Let f, g, u, and F be as specified in the theorem. Then
dxdF(g(x))=F′(g(x))g′(x)=f[g(x)]g′(x).
Integrating both sides with respect to x, we see that
∫f[g(x)]g′(x)dx=F(g(x))+C.
If we now substitute u=g(x), and du=g‘(x)dx, we get
∫f[g(x)]g′(x)dx=∫f(u)du=F(u)+C=F(g(x))+C.
□
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′(x) is also part of the integrand.
Substitute u=g(x) and du=g′(x)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).
Evaluating an inDefinite Integral Using Substitution
Use substitution to find the antiderivative of ∫6x(3x2+4)4dx.
Answer:
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.
Answer:
∫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.
Answer:
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.
Answer:
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.
Answer:
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.
Answer:
−sint1+C
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.
Answer:
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.
Answer:
−4cos4t+C
Integrals of Exponential Functions
The exponential function is perhaps the most efficient function in terms of the operations of calculus. The exponential function, y=ex, is its own derivative and its own integral.
Rule: Integrals of Exponential Functions
Exponential functions can be integrated using the following formulas.
∫exdx∫axdx==ex+Clnaax+C
Finding an Antiderivative of an Exponential Function
Find the antiderivative of the exponential function e−x.
Answer:
Use substitution, setting u=−x, and then du=−1dx. Multiply the du equation by −1, so you now have −du=dx. Then,
∫e−xdx=−∫eudu=−eu+C=−e−x+C.
Find the antiderivative of the function using substitution: x2e−2x3.
Answer:
∫x2e−2x3dx=−61e−2x3+C
Hint
Let u equal the exponent on e.
A common mistake when dealing with exponential expressions is treating the exponent on e the same way we treat exponents in polynomial expressions. We cannot use the power rule for the exponent on e. This can be especially confusing when we have both exponentials and polynomials in the same expression, as in the previous checkpoint. In these cases, we should always double-check to make sure we’re using the right rules for the functions we’re integrating.
Square Root of an Exponential Function
Find the antiderivative of the exponential function ex1+ex.
Answer:
First rewrite the problem using a rational exponent:
∫ex1+exdx=∫ex(1+ex)1/2dx.
Using substitution, choose u=1+ex.u=1+ex. Then, du=exdx. We have ((Figure))
∫ex(1+ex)1/2dx=∫u1/2du.
Then
∫u1/2du=3/2u3/2+C=32u3/2+C=32(1+ex)3/2+C.
Figure 1. The graph shows an exponential function times the square root of an exponential function.
Find the antiderivative of ex(3ex−2)2.
∫ex(3ex−2)2dx=91(3ex−2)3
Hint
Let u=3ex−2u=3ex−2.
Using Substitution with an Exponential Function
Use substitution to evaluate the indefinite integral ∫3x2e2x3dx.
Answer:
Here we choose to let u equal the expression in the exponent on e. Let u=2x3 and du=6x2dx.. Again, du is off by a constant multiplier; the original function contains a factor of 3x2, not 6x2. Multiply both sides of the equation by 21 so that the integrand in u equals the integrand in x. Thus,
∫3x2e2x3dx=21∫eudu.
Integrate the expression in u and then substitute the original expression in x back into the u integral:
21∫eudu=21eu+C=21e2x3+C.
Evaluate the indefinite integral ∫2x3ex4dx.
Answer:
∫2x3ex4dx=21ex4
Hint
Let u=x4.
Integrals Involving Logarithmic Functions
Integrating functions of the form f(x)=x−1 result in the absolute value of the natural log function, as shown in the following rule. Integral formulas for other logarithmic functions, such as f(x)=lnx and f(x)=logax, are also included in the rule.
Follow the pattern from (Figure) to solve the problem.
Finding an Antiderivative of a Rational Function
Find the antiderivative of x4+3x22x3+3x.
This can be rewritten as ∫(2x3+3x)(x4+3x2)−1dx. Use substitution. Let u=x4+3x2, then du=4x3+6x. Alter du by factoring out the 2. Thus,
du21du===(4x3+6x)dx2(2x3+3x)dx(2x3+3x)dx.
Rewrite the integrand in u:
∫(2x3+3x)(x4+3x2)−1dx=21∫u−1du.
Then we have
21∫u−1du=21ln∣u∣+C=21ln∣x4+3x2∣+C.
Finding an Antiderivative of a Logarithmic Function
Find the antiderivative of the log function log2x.
Answer:
Follow the format in the formula listed in the rule on integration formulas involving logarithmic functions. Based on this format, we have
∫log2xdx=ln2x(lnx−1)+C.
Find the antiderivative of log3x.
Answer:
ln3x(lnx−1)+C
Hint
Follow (Figure) and refer to the rule on integration formulas involving logarithmic functions.
Next, we will focus on integrals that result in inverse trigonometric functions. We have worked with these functions before. Recall from Functions and Graphs that trigonometric functions are not one-to-one unless the domains are restricted. When working with inverses of trigonometric functions, we always need to be careful to take these restrictions into account. Also in Derivatives, we developed formulas for derivatives of inverse trigonometric functions. The formulas developed there give rise directly to integration formulas involving inverse trigonometric functions.
Integrals that Result in Inverse Sine Functions
Let us begin with the three formulas. Along with these formulas, we use substitution to evaluate the integrals. We prove the formula for the inverse sine integral.
Rule: Integration Formulas Resulting in Inverse Trigonometric Functions
The following integration formulas yield inverse trigonometric functions:
∫a2−u2du=sin−1au+C
∫a2+u2du=a1tan−1au+C
∫uu2−a2du=a1sec−1au+C
Proof
Let y=sin−1ax. Then asiny=x. Now let’s use implicit differentiation. We obtain
dxd(asiny)acosydxdydxdy===dxd(x)1acosy1.
For −2π≤y≤2π,cosy≥0. Thus, applying the Pythagorean identity sin2y+cos2y=1, we have cosy=1=sin2y. This gives
acosy1=a1−sin2y1=a2−a2sin2y1=a2−x21.
Then for −a≤x≤a, we have
∫a2−u21du=sin−1(au)+C.
□
Find the antiderivative of ∫1−16x2dx.
Answer: 41sin−1(4x)+C
Hint
Substitute u=4x
Finding an Antiderivative Involving an Inverse Trigonometric Function
Find the indefinite integral using an inverse trigonometric function and substitution for ∫9−x2dx.
Answer:
sin−1(3x)+C
Hint
Use the formula in the rule on integration formulas resulting in inverse trigonometric functions.
Integrals Resulting in Other Inverse Trigonometric Functions
There are six inverse trigonometric functions. However, only three integration formulas are noted in the rule on integration formulas resulting in inverse trigonometric functions because the remaining three are negative versions of the ones we use. The only difference is whether the integrand is positive or negative. Rather than memorizing three more formulas, if the integrand is negative, simply factor out −1 and evaluate the integral using one of the formulas already provided. To close this section, we examine one more formula: the integral resulting in the inverse tangent function.
Finding an Antiderivative Involving the Inverse Tangent Function
Find an antiderivative of ∫1+4x21dx.
Answer:
Comparing this problem with the formulas stated in the rule on integration formulas resulting in inverse trigonometric functions, the integrand looks similar to the formula for tan−1u+C. So we use substitution, letting u=2x, then du=2dx and 1/2du=dx. Then, we have
21∫1+u21du=21tan−1u+C=21tan−1(2x)+C.
Use substitution to find the antiderivative of ∫25+4x2dx.
Answer:
101tan−1(52x)+C
Hint
Use the solving strategy from (Figure) and the rule on integration formulas resulting in inverse trigonometric functions.
Applying the Integration Formulas
Find the antiderivative of ∫9+x21dx.
Apply the formula with a=3. Then,
∫9+x2dx=31tan−1(3x)+C.
Find the antiderivative of ∫16+x2dx.
Answer:
41tan−1(4x)+C
Hint
Follow the steps in (Figure).
Key Concepts
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.
Key Equations
Substitution with Indefinite Integrals∫f[g(x)]g′(x)dx=∫f(u)du=F(u)+C=F(g(x))+C
Substitution with Definite Integrals∫abf(g(x))g‘(x)dx=∫g(a)g(b)f(u)du
1. Why is u-substitution referred to as change of variable?
2. If f=g∘h, when reversing the chain rule, dxd(g∘h)(x)=g′(h(x))h′(x), should you take u=g(x) or u=h(x)?
Answer:
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.
3. ∫xx+1dx=152(x+1)3/2(3x−2)+C;u=x+1
4. ∫x−1x2dx(x>1)=152x−1(3x2+4x+8)+C;u=x−1
Answer:
f(u)=u(u+1)2
5. ∫x4x2+9dx=121(4x2+9)3/2+C;u=4x2+9
6. ∫4x2+9xdx=414x2+9+C;u=4x2+9
Answer:
du=8xdx;f(u)=8u1
7. ∫(4x2+9)2xdx=−8(4x2+9)1;u=4x2+9
In the following exercises, find the antiderivative using the indicated substitution.
8. ∫(x+1)4dx;u=x+1
Answer:
51(x+1)5+C
9. ∫(x−1)5dx;u=x−1
10. ∫(2x−3)−7dx;u=2x−3
Answer:
−12(3−2x)61+C
11. ∫(3x−2)−11dx;u=3x−2
12. ∫x2+1xdx;u=x2+1
Answer:
x2+1+C
13. ∫1−x2xdx;u=1−x2
14. ∫(x−1)(x2−2x)3dx;u=x2−2x
Answer:
81(x2−2x)4+C
15. ∫(x2−2x)(x3−3x2)2dx;u=x3=3x2
16. ∫cos3θdθ;u=sinθ(Hint:cos2θ=1−sin2θ)
Answer:
sinθ−3sin3θ+C
17. ∫sin3θdθ;u=cosθ(Hint:sin2θ=1−cos2θ)
In the following exercises, use a suitable change of variables to determine the indefinite integral.
18. ∫x(1−x)99dx
Answer:
101(1−x)101−100(1−x)100+C
19. ∫t(1−t2)10dt
20. ∫(11x−7)−3dx
Answer:
−22(7−11x2)1+C
21. ∫(7x−11)4dx
22. ∫cos3θsinθdθ
Answer:
−4cos4θ+C
23. ∫sin7θcosθdθ
24. ∫cos2(πt)sin(πt)dt
Answer:
−3πcos3(πt)+C
25. ∫sin2xcos3xdx(Hint:sin2x+cos2x=1)
26. ∫tsin(t2)cos(t2)dt
Answer:
−41cos2(t2)+C
27. ∫t2cos2(t3)sin(t3)dt
28. ∫(x3−3)2x2dx
Answer:
−3(x3−3)1+C
29. ∫1−x2x3dx
30. ∫(1−y3)3/2y5dy
Answer:
−31−y32(y3−2)
31. ∫cosθ(1−cosθ)99sinθdθ
32. ∫(1−cos3θ)10cos2θsinθdθ
Answer:
331(1−cos3θ)11+C
33. ∫(cosθ−1)(cos2θ−2cosθ)3sinθdθ
34. ∫(sin2θ−2sinθ)(sin3θ−3sin2θ)3cosθdθ
Answer:
121(sin3θ−3sin2θ)4+C
35. ∫e2xdx
36. ∫e−3xdx
Answer:
3−1e−3x+C
37. ∫2xdx
38. ∫3−xdx
Answer:
−ln33−x+C
39. ∫2x1dx
40. ∫x2dx
Answer:
ln(x2)+C
41. ∫x21dx
42. ∫x1dx
Answer:
2x+C
In the following exercises, find each indefinite integral by using appropriate substitutions.
43. ∫xlnxdx
44. ∫x(lnx)2dx
Answer:
−lnx1+C
45. ∫xlnxdx(x>1)
46. ∫xlnxln(lnx)dx
Answer:
ln(ln(lnx))+C
47. ∫tanθdθ
48. ∫xcosxcosx−xsinxdx
Answer: ln(xcosx)+C
49. ∫tanxln(sinx)dx
50. ∫ln(cosx)tanxdx
Answer: −21(ln(cos(x)))2+C
51. ∫xe−x2dx
52. ∫x2e−x3dx
Answer:
3−e−x3+C
53. ∫esinxcosxdx
54. ∫etanxsec2xdx
Answer:
etanx+C
55. ∫elnxxdx
56. ∫1−teln(1−t)dt
Answer:
t+C
In the following exercises, verify by differentiation that ∫lnxdx=x(lnx−1)+C, then use appropriate changes of variables to compute the integral.
57. ∫lnxdx(Hint:∫lnxdx=21∫xln(x2)dx)
58. ∫x2ln2xdx
Answer:
91x3(ln(x3)−1)+C
59. ∫x2lnxdx(Hint:Setu=x1.)
60. ∫xlnxdx(Hint:Setu=x.)
Answer:
2x(lnx−2)+C
61. Write an integral to express the area under the graph of y=t1 from t=1 to ex and evaluate the integral.
62. Write an integral to express the area under the graph of y=et between t=0 and t=lnx, and evaluate the integral.
Answer:
∫0lnxetdt=et∣0lnx=elnx−e0=x−1
In the following exercises, use appropriate substitutions to express the trigonometric integrals in terms of compositions with logarithms.
63. ∫tan(2x)dx
64. ∫sin(3x)+cos(3x)sin(3x)−cos(3x)dx
Answer:
−31ln(sin(3x)+cos(3x))
65. ∫cos(x2)xsin(x2)dx
66. ∫xcsc(x2)dx
Answer:
−21ln∣csc(x2)+cot(x2)∣+C
67. ∫ln(cosx)tanxdx
68. ∫ln(cscx)cotxdx
Answer:
−21(ln(cscx))2+C
69. ∫ex+e−xex−e−xdx
In the following exercises, evaluate the definite integral.
70. ∫123x+3x2+x31+2x+x2dx
Answer: 31ln(726)
In the following exercises, integrate using the indicated substitution.
71. ∫x−100xdx;u=x−100
72. ∫y+1y−1dy;u=y+1
Answer:
y−2ln∣y+1∣+C
73. ∫3x−x31−x2dx;u=3x−x3
74. ∫sinx−cosxsinx+cosxdx;u=sinx−cosx
Answer:
ln∣sinx−cosx∣+C
75. ∫e2x1−e2xdx;u=e2x
76. ∫ln(x)x1−(lnx)2dx;u=lnx
Answer:
−31(1−(lnx2))3/2+C
In the following exercises, find each indefinite integral, using appropriate substitutions.
77. ∫9−x2dx
Answer: sin−1(3x)+C
78. ∫1−16x2dx
79. ∫9+x2dx
Answer:
31tan−1(3x)+C
80. ∫25+16x2dx
81. ∫∣x∣x2−9dx
Answer:
31sec−1(3x)+C
82. ∫∣x∣4x2−16dx
83. Explain the relationship −cos−1t+C=∫1−t2dt=sin−1t+C. Is it true, in general, that cos−1t=−sin−1t?
Answer:
cos(2π−θ)=sinθ. So, sin−1t=2π−cos−1t. They differ by a constant.
84. Explain the relationship sec−1t+C=∫∣t∣t2−1dt=−csc−1t+C. Is it true, in general, that sec−1t=−csc−1t?
In the following exercises, compute the antiderivative using appropriate substitutions.
85.∫1−t2sin−1tdt
Answer:
21(sin−1t)2+C
86. ∫sin−1t1−t2dt
87. ∫1+4t2tan−1(2t)dt
Answer: 41(tan−1(2t))2
88. ∫1+t4ttan−1(t2)dt
89. ∫∣t∣t2−4sec−1(2t)dt
Answer:
41(sec−1(2t)2)+C
90. ∫t2t4−1tsec−1(t2)dt
In the following exercises, compute each integral using appropriate substitutions.
91. ∫1−e2texdt
Answer:
sin−1(et)+C
92. ∫1+e2tetdt
93. ∫t1−ln2tdt
Answer:
sin−1(lnt)+C
94. ∫t(1+ln2t)dt
95. ∫1−4t2cos−1(2t)dt
Answer:
−21(cos−1(2t))2+C
96. ∫1−e2tetcos−1(et)dt
97. For 1<B<∞, compute I(B)=∫1Btt2−1dt and evaluate B→∞limI(B), the area under the graph of tt2−11 over [1,∞).
98. Use the substitution u=2cotx and the identity 1+cot2x=csc2x to evaluate ∫1+cos2xdx. (Hint: Multiply the top and bottom of the integrand by csc2x.)
Answer:
Using the hint, one has ∫csc2x+cot2xcsc2xdx=∫1+2cot2xcsc2xdx. Set u=2cotx. Then, du=−2csc2x and the integral is −21∫1+u2du=−21tan−1u+C=21tan−1(2cotx)+C. If one uses the identity tan−1s+tan−1(s1)=2π, then this can also be written 21tan−1(2tanx)+C.
99. [T] Approximate the points at which the graphs of f(x)=2x2−1 and g(x)=(1+4x2)−3/2 intersect, and approximate the area between their graphs accurate to three decimal places.
100.[T] Approximate the points at which the graphs of f(x)=x2−1 and f(x)=x2−1 intersect, and approximate the area between their graphs accurate to three decimal places.
Answer:
x≈±1.13525. The left endpoint estimate with N=100 is 2.796 and these decimals persist for N=500.
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
Hint
Let u=x3−3.