Printed Page 387
Printed Page 387
Indefinite integrals that cannot be found using the formulas in Table 1 on page 380 sometimes can be found using the method of substitution. In the method of substitution, we use a change of variables to transform the integrand so one of the formulas in the table applies.
Differentials are discussed in Section 3.4, pp. 230-232.
For example, to find ∫(x2+5)32xdx, we use the substitution u=x2+5. The differential of u=x2+5 is du=2xdx. Now we write (x2+5)32xdx in terms of u and du, and integrate the simpler integral.
When using the method of substitution, once the substitution u is chosen, we write the original integral in terms of u and du.
∫(x2+5⏟)3u2xdx⏟du=∫u3du=u44+C=↑u=x2+5(x2+5)44+C
388
We can verify the answer by differentiating using the Power Rule for Functions. ddx[(x2+5)44+C]=14[4(x2+5)3(2x)]=(x2+5)32x
The Chain Rule is discussed in Section 3.1, pp. 198-200.
The method of substitution is based on the Chain Rule, which states that if f and g are differentiable functions, then for the composite function f∘g, ddx(f∘g)=ddxf(g(x))=f′(g(x))g′(x)
The Chain Rule provides a template for finding integrals of the form ∫f′(g(x))g′(x)dx
If, in the integral, we let u=g(x), then the differential du=g′(x)dx, and we have ∫f′(g(x)⏟u)g′(x)dx⏟du=∫f′(u)du=f(u)+C=f(g(x))+C
Replacing g(x) by u and g′(x)dx by du is called substitution. Substitution is a strategy for finding antiderivatives when the integrand is a composite function.
Find:
Solution (a) Since we know ∫sinxdx, we let u=3x+2. Then du=3dx so dx=du3. ∫sin((3x+2)⏟udx⏟du2=∫sinudu3=13∫sinudu=13(−cosu)+C=↑u=3x+2−13cos(3x+2)+C
(b) We let u=x2+1. Then du=2xdx, so xdx=du2. ∫x√x2+1dx=∫√x2+1⏟uxdx⏟du2=∫√udu2=12∫u1/2du=12(u3/232)+C=(x2+1)3/23+C
(c) We let u=√x=x1/2. Then du=12x−1/2dx=dx2√x, so dx√x =2du. ∫e√x√xdx=∫e√x⋅dx√x=∫eu⋅2du=2eu+C=2e√x+C
When an integrand equals the product of an expression involving a function and its derivative (or a multiple of its derivative), then substitution isoften a good strategy. For example, for ∫e√x√xdx, we used the substitution u=√x, since dudx=ddx√x=12√x is a multiple of 1√x.
389
Similarly, in (b) the factor x in the integrand makes the substitution u=x2+1 work. On the other hand, if we try to use this same substitution to integrate ∫√x2+1dx, then ∫√x2+1dx=∫√udu2x=↑x=√u−1∫√u2√u−1du and the resulting integral is more complicated than the original integral.
The idea behind substitution is to obtain an integral ∫h(u)du that is simpler than the original integral ∫f(x)dx. When a substitution does not simplify the integral, try other substitutions. If none of these work, other integration methods should be applied. Some of these methods are explored in Chapter 7.
Find:
Solution (a) Notice that the numerator equals the derivative of the denominator, except for a constant factor. So, we try substitution. Let u=4x3−1. Then du=12x2dx so 5x2dx=512du. ∫5x2dx4x3−1=∫512duu=512∫duu=512ln|u|+C=512ln|4x3−1|+C
(b) Here, the numerator equals the derivative of the denominator. So, we use the substitution u=ex+4. Then du=exdx. ∫exex+4dx=∫1ex+4⋅exdx=∫1udu=ln|u|+C=↑u=ex+4>0ln(ex+4)+C
Show that:
Solution (a) Since \tan x=\dfrac{\sin x}{\cos x}, we let u=\cos x. Then du=-\sin x\, dx and \begin{eqnarray*} \int \tan x dx = \int \dfrac{\sin x}{\cos x}dx=\int -\dfrac{du}{u}=-\ln \left\vert u\right\vert +C=-\ln \left\vert \cos x\right\vert +C \\ \underset{ \underset{ \color{#0066A7}{\hbox{\(r\ln x=\ln x^{r}\)}} } {\color{#0066A7}{\uparrow}} } {=} \ln \left\vert \cos x\right\vert^{-1}+C =\ln \left\vert \dfrac{1}{\cos x}\right\vert + C =\ln \left\vert \sec x\right\vert +C \end{eqnarray*}
390
(b) To find \int \sec x dx, we multiply the integrand by \dfrac{\sec x+\tan x}{\sec x+\tan x}. \int \sec x dx=\int \sec x\cdot \dfrac{\sec x+\tan x}{\sec x+\tan x} dx=\int \dfrac{\sec ^{2}x+\sec x\tan x}{\sec x+\tan x} dx
Now the numerator equals the derivative of the denominator. So if u=\sec x+\tan x, then du=( \sec x\tan x+\sec ^{2}x) dx. \int \sec x dx=\int \dfrac{du}{u}=\ln \left\vert u\right\vert +C=\ln \left\vert \sec x+\tan x\right\vert +C
Examples 2 and 3 illustrate a basic integration formula:
If the numerator of the integrand equals the derivative of the denominator, then the integral equals a logarithmic function.
\bbox[5px, border:1px solid black, #F9F7ED]{\bbox[#FAF8ED,5pt]{ \int \dfrac{g^\prime (x) }{g(x) }dx=\ln \left\vert g(x) \right\vert +C }}\tag {1}
Notice that in formula (1) the integral equals the natural logarithm of the absolute value of the function g. The absolute value is necessary since the domain of the logarithm function is the set of positive real numbers. When g is known to be positive, as in Example 2(b), the absolute value is not required.
As we saw in Example 3(b), sometimes algebra is needed to transform an integral so that a basic integration formula can be used. Unlike differentiation, integration has no prescribed method; some ingenuity and a lot of practice are required. To illustrate, two different substitutions are used to solve Example 4.
Find \int {x\sqrt{4+x}}\,dx.
Solution Substitution I Let u = 4 + x. Then du = dx. Since u=4+x, x=u-4. Substituting gives \begin{eqnarray*} \int {x\sqrt{4+x}}\,dx \underset{\underset{{\color{#0066A7}{\hbox{\(u=x+4\)}}}}{\color{#0066A7}{\uparrow }}} =&& \int \underset{\color{#0066A7}{\hbox{\(x\)}}}{\underbrace{( u-4) }} \underset{\underset{{\color{#0066A7}{\hbox{\(4+x\)}}}}{\color{#0066A7}{\uparrow }}}{{\sqrt{u}}}\,\,\underset{\color{#0066A7}{\hbox{\(dx\)}}}{\underbrace{du}}\, =\int {({u^{3/2}-4u^{1/2}})}\,du \\ &=& {\dfrac{{u^{5/2}}}{{{\dfrac{{5}}{{2}}}}}}-4\cdot {\dfrac{{u^{3/2}}}{{{\dfrac{{3}}{{2}}} }}}+C \\ &=&{\dfrac{{2({4+x})^{5/2}}}{{5}}}-{\dfrac{{8({4+x})^{3/2}}}{{3}}}+C \end{eqnarray*}
Substitution II Let u = \sqrt{4\,{+}\,x}, so u^{2} = 4 + x and x = u^{2} - 4. Then dx=2u\,du and \begin{eqnarray*} \int {x\sqrt{4+x}}\,dx & = &\int {(}\underset{\color{#0066A7}{\hbox{\(x\)}}}{\underbrace{{u^{2}-4}}}{)(u)(}\underset{\color{#0066A7}{\hbox{\(dx\)}}}{\underbrace{{2u\,du}}}{)= 2 \int {(u^{4}-4u^{2})\,du}}=2\left[ {\dfrac{{u^{5}}}{{5}}}-{\dfrac{{4u^{3}}}{{3}}}\right] +C \\ &=&\dfrac{2}{5} \big(\sqrt{4+x}\,\big) ^{5} -\dfrac{8}{3} \big(\sqrt{4+x}\,\big) ^{3}+C= \dfrac{2(4+x)^{5/2}}{5} -\dfrac{8(4+x)^{3/2}}{3}+C \end{eqnarray*}
391
Find:
Solution (a) \int \dfrac{dx}{\sqrt{4-x^{2}}} resembles \int \dfrac{1}{\sqrt{1-x^{2}}}\,dx= \sin ^{-1}x+C. We begin by rewriting the integrand as \dfrac{1}{\sqrt{4-x^{2}}}=\dfrac{1}{\sqrt{4\left( 1-\dfrac{x^{2}}{4}\right) }}=\dfrac{1}{2\sqrt{1-\left( \dfrac{x}{2}\right) ^{2}}}
Now we let u=\dfrac{x}{2}. Then du=\dfrac{dx}{2}, so dx=2\,du. \begin{eqnarray*} \int \dfrac{dx}{\sqrt{4-x^{2}}}&=&\int \dfrac{dx}{2\sqrt{1-\left( \dfrac{x}{2}\right) ^{2}}} \underset{\underset{{\underset{{\color{#0066A7}{\hbox{\(dx=2du\)}}}}{\color{#0066A7}{\hbox{\(u=\tfrac{x}{2}\)}}}}}{\color{#0066A7}{\uparrow}}} = \int \dfrac{2 du}{2\sqrt{1-u^{2}}}=\int \dfrac{du}{\sqrt{1-u^{2}}}=\sin ^{-1}u+C \\ &=&\sin ^{-1}\left( \dfrac{x}{2}\right) +C \end{eqnarray*}
(b) \int \dfrac{dx}{9+4x^{2}} resembles \int \dfrac{1}{1+x^{2}}dx=\tan ^{-1}x+C. We rewrite the integrand as \dfrac{1}{9+4x^{2}}=\dfrac{1}{9\left( 1+\dfrac{4x^{2}}{9}\right) }=\dfrac{1}{9\left[ 1+\left( \dfrac{2x}{3}\right) ^{2}\right] }
Now let u=\dfrac{2x}{3}. Then du=\dfrac{2}{3}dx, so dx=\dfrac{3}{2} du. \begin{eqnarray*} \int \dfrac{dx}{9+4x^{2}}&=&\int \dfrac{dx}{9\left[ 1+\left( \dfrac{2x}{3} \right) ^{2}\right] }=\int \dfrac{\dfrac{3}{2}du}{9( 1+u^{2}) }=\dfrac{1}{6}\int \dfrac{du}{1+u^{2}} \\ &=& \dfrac{1}{6}\tan ^{-1}u+C=\dfrac{1}{6}\tan ^{-1}\left( \dfrac{2x}{3}\right) +C \end{eqnarray*}
Printed Page 391
Two approaches can be used to find a definite integral using substitution:
392
Find \int_{0}^{2}x\sqrt{4-x^{2}}\,dx.
Solution
Method 1: Use the related indefinite integral and then apply the Fundamental Theorem of Calculus. The related indefinite integral \int {x\sqrt{4-x^{2}}\,dx} can be found using the substitution u = 4 - x^{2}. Then du\,=-2x\,dx, so x\,dx=-\dfrac{du}{2}. \begin{eqnarray*} \int {x\sqrt{4-x^{2}}\,dx}&=&\int {\sqrt{u}\left( {-}{\dfrac{{du}}{{2}}}\right) }={-}{\dfrac{{1}}{{2}}}\int u^{1/2}du=-\dfrac{1}{2}\cdot {{\dfrac{{u^{3/2}}}{{{ \dfrac{{3}}{{2}}}}}}}+C \\ &=&-\dfrac{1}{3}{{(4-x^{2})^{3/2}}}+C \end{eqnarray*}
Then by the Fundamental Theorem of Calculus, \int_{0}^{2} x\sqrt{4-x^{2}}\,dx = -\dfrac{1}{3} \Big[(4-x^{2})^{3/2}\Big]_{0}^{2} = -\dfrac{1}{3}\big[0-4^{3/2}\big] =\dfrac{8}{3}
Method 2: Find the definite integral directly by making a substitution in the integrand and changing the limits of integration. We let u=4-x^{2}; then du=-2x\,dx. Now use the function u=4-x^{2} to change the limits of integration.
Then
When using substitution to find a definite integral directly, remember to change the limits of integration.
\begin{eqnarray*} {\int_{0}^{2}{x\sqrt{4-x^{2}}\,dx}} && \underset{\underset{{\underset{{\color{#0066A7}{\hbox{\(x dx=-\tfrac{1}{2}du\)}}}}{{\color{#0066A7}{\hbox{\(u=4-x^{2} \)}}}}}}{\color{#0066A7}{\uparrow }}}{=} \int_{4}^{0}\sqrt{u}\left( -\dfrac{du}{2}\right) =-\dfrac{1}{2}\int_{4}^{0} \sqrt{u} du=-\dfrac{1}{2}\cdot \left[ \dfrac{u^{3/2}}{\dfrac{3}{2}}\right] _{4}^{0} \\ {\;\;} &&= -{\dfrac{1}{3}}(0-8)={\dfrac{{8}}{{3}}} \end{eqnarray*}
Find \int_{0}^{\pi /2}\dfrac{{1-\cos}(2\theta)}{2}\,d\theta .
Solution We use properties of integrals to simplify before integrating. \begin{eqnarray*} \int_{0}^{\pi /2}\dfrac{1-\cos (2\theta ) }{2}\,d\theta &=&\dfrac{1}{2}\int_{0}^{\pi /2}\left[ 1-\cos (2\theta ) \right] \,d\theta \\ &=& \dfrac{1}{2}\left[ \int_{0}^{\pi /2}d\theta -\int_{0}^{\pi /2}\cos (2\theta ) \,d\theta \right]\\ & =& \dfrac{1}{2}\int_{0}^{\pi /2}d\theta -\dfrac{1}{2}\int_{0}^{\pi /2}\cos (2\theta ) \,d\theta \\ &=& \dfrac{1}{2} \Big[\theta\Big] _{0}^{\pi /2}-\dfrac{1}{2}\int_{0}^{\pi /2}\cos (2\theta ) \,d\theta \\ &=& \dfrac{\pi }{4}-\dfrac{1}{2}\int_{0}^{\pi /2}\cos (2\theta ) \,d\theta \end{eqnarray*}
393
In the integral on the right, we use the substitution u = 2\theta . Then du = 2\,d\theta so d\theta =\dfrac{du}{2}. Now we change the limits of integration:
Now \int_{0}^{\pi /2}\cos (2\theta ) \,d\theta =\int_{0}^{\pi }{\cos u\,\dfrac{{du}}{{2}}}= \dfrac{1}{2}\Big[\sin u\Big] _{0}^{\pi }=\dfrac{1}{2}\left( \sin \pi -\sin 0\right) =0
Then, \int_{0}^{\pi /2}\dfrac{1-\cos (2\theta ) }{2}d\theta =\dfrac{\pi}{4}-\dfrac{1}{2}\int_{0}^{\pi /2}{\cos }(2\theta ) {\,d\theta }=\dfrac{\pi }{4}
Printed Page 393
Even and odd functions are discussed in Section P.1, pp. 9-10.
Integrals of even and odd functions can be simplified due to symmetry. Figure 32 illustrates the conclusions of the theorem that follows.
Let a function f be continuous on a closed interval [-a,a], a>\,0 .
The property for even functions is proved here; the proof for odd functions is left as an exercise. See Problem 123.
f is an even function: Since f is continuous on the closed interval [ -a,\,a] , a>0, and 0 is in the interval \left[ -a,a\right] , we have \begin{equation*} \int_{-a}^{a} f(x)\,dx=\int_{-a}^{0} f(x)\,dx+ \int_{0}^{a}f(x)\,dx=-\int_{0}^{-a}f(x)\,dx+\int_{0}^{a}f(x)\,dx \tag {2} \end{equation*}
In - {\int_{0}^{-a}{f(x)\,dx}}, we use the substitution u = -x. Then du = -dx. Also, if x=0, then u=0, and if x=-a, then u = a. Therefore, \begin{eqnarray*} -{\int_{0}^{-a}{f(x)\,dx={\int_{0}^{a}{f({-}u)\,du}}}} \underset{\underset{{\underset{{\color{#0066A7}{\hbox{\(f(-u) =f(u) \)}}}}{\color{#0066A7}{\hbox{\(f\) is even}}}}}{\color{#0066A7}{\uparrow }}}= \int_{0}^{a}f(u) du=\int_{0}^{a}f(x)\, dx \tag{3} \end{eqnarray*}
394
Combining (2) and (3), we obtain {\int_{{-}a}^{a}{f(x)\,dx={\int_{0}^{a}{f(x)\,dx}}}}+{\int_{0}^{a}{f(x)\,dx}}=2{\int_{0}^{a}{f(x)\,dx}}
To use the theorem involving even and odd functions, three conditions must be met:
Find:
Solution (a) If f(x)={{x^{7}-4x^{3}+x,}} then f({-}x)=({-}x)^{7}-4({-}x)^{3}+({-}x)={-}(x^{7}-4x^{3}+x)={-}f(x). Since f is an odd function, \int_{-3}^{3}{(x^{7}-4x^{3}+x)}\,dx=0
(b) If g(x) =x^{4}-x^{2}+3, then g(-x) =(-x) ^{4}-(-x) ^{2}+3=x^{4}-x^{2}+3=g(x). Since g is an even function, \begin{eqnarray*} \int_{-2}^{2}( x^{4}-x^{2}+3) dx &=& 2\int_{0}^{2}(x^{4}-x^{2}+3)\, dx=2\left[ \dfrac{x^{5}}{5}-\dfrac{x^{3}}{3}+3x\right]_{0}^{2} \\ &=& 2\left[ \dfrac{32}{5}-\dfrac{8}{3}+6\right] =\dfrac{292}{15} \end{eqnarray*}
If f is an even function and \int_{0}^{2}f(x)\, dx=-6 and \int_{-5}^{0}f(x)\, dx=8, find \int_{2}^{5}f(x)\, dx.
Solution \int_{2}^{5}f(x)\, dx=\int_{2}^{0}f(x)\, dx+\int_{0}^{5}f(x)\, dx
Now \int_{2}^{0}f(x)\, dx=-\int_{0}^{2}f(x)\, dx=6.
Since f is even, \int_{0}^{5}f(x)\, dx= \int_{-5}^{0}f(x)\, dx \,=8. Then \int_{2}^{5}f(x)\, dx=\int_{2}^{0}f(x)\, dx+\int_{0}^{5}f(x)\, dx=6+8=14
Printed Page 394
Suppose an object is heated to a temperature u_{0}. Then at time t=0, the object is put into a medium with a constant lower temperature causing the object to cool. Newton's Law of Cooling states that the rate of change of the temperature of the object with respect to time is continuous and proportional to the difference between the temperature of the object and the ambient temperature (the temperature of the surrounding medium). That is, if u=u(t) is the temperature of the object at time t and if T is the (constant) ambient temperature, then Newton's Law of Cooling is modeled by the differential equation \bbox[5px, border:1px solid black, #F9F7ED]{\bbox[#FAF8ED,5pt]{ \dfrac{du}{dt}=k [ u(t) -T ] }}\tag {4}
395
where k is a constant that depends on the object. Since the ambient temperature T is lower than u(0) =u_{0}, the object cools and its temperature decreases so that \dfrac{du}{dt}\lt0. Then, since u(t) >T, k is a negative constant.
We find u as a function of t by solving the differential equation \dfrac{du}{dt}=k\left( u-T\right) . We rewrite the differential equation as \dfrac{du}{u-T}=k\, dt and integrate both sides. \begin{eqnarray*} \int \dfrac{du}{u-T} &=& \int k\,dt \\ \ln \vert u-T \vert &=& k\,t+C \end{eqnarray*}
To find C, we use the boundary condition that at time t=0, the initial temperature of the object is u(0) =u_{0}, Then \begin{eqnarray*} \ln \left\vert u_{0}-T\right\vert &=&k\cdot 0+C \\ C &=&\ln \left\vert u_{0}-T\right\vert \end{eqnarray*}
Using this expression for C, we obtain \begin{eqnarray*} \ln \left\vert u-T\right\vert &=&k\,t+\ln \vert u_{0}-T\vert \\ \ln \left\vert u-T\right\vert -\ln \vert u_{0}-T\vert &=&k\,t \\ \ln \left\vert \dfrac{u-T}{u_{0}-T}\right\vert &=&k\,t \\ \dfrac{u-T}{u_{0}-T} &=&e^{kt} \\ u-T &=&( u_{0}-T) e^{kt} \\ \end{eqnarray*} \bbox[5px, border:1px solid black, #F9F7ED]{\bbox[#FAF8ED,5pt]{ u= (u_{0}-T ) \,e^{kt}+T }}\tag{5}
An object is heated to 90{}^{\circ}{\rm C} and allowed to cool in a room with a constant ambient temperature of 20{}^{\circ}{\rm C}. If after 10 min the temperature of the object is 60{}^{\circ}{\rm C}, what will its temperature be after 20 min?
Solution When t=0, u(0) =u_{0}=90{}^{\circ}{\rm C}, and when t=10 min, u\left( 10\right) =60{}^{\circ}{\rm C}. Given that the ambient temperature T is 20{}^{\circ}{\rm C}, we substitute these values into equation (5). \begin{eqnarray*} \begin{array}{rcl@{\qquad}l@{\hspace*{-6pc}}} u(t) &=&( u_{0}-T) e^{kt}+T \\ 60 &=&( 90-20) e^{10k}+20 & {\color{#0066A7}{\hbox{\(u=60 \hbox{ when }t=10; \ T=20;\ u_{0} =90\)}}} \\ \dfrac{40}{70} &=&e^{10k} \\ k &=&\dfrac{1}{10}\ln \dfrac{4}{7} = 0.1 0 \ln \dfrac{4}{7} \end{array} \end{eqnarray*}
The temperature u is u(t) =70 e^{[0.1 \ln (4/7)]t} +20
Then when t=20, the temperature u of the object is u (20) =70e ^{[0.1 \ln (4/7)] (20)} +20=70e^{2\ln (4/7)}+20\approx 42.86{}^{\circ}{\rm C}