*i.e.*you are probably on a mobile phone). Due to the nature of the mathematics on this site it is best views in landscape mode. If your device is not in landscape mode many of the equations will run off the side of your device (should be able to scroll to see them) and some of the menu items will be cut off due to the narrow screen width.

### Section 5-8 : Substitution Rule for Definite Integrals

We now need to go back and revisit the substitution rule as it applies to definite integrals. At some level there really isn’t a lot to do in this section. Recall that the first step in doing a definite integral is to compute the indefinite integral and that hasn’t changed. We will still compute the indefinite integral first. This means that we already know how to do these. We use the substitution rule to find the indefinite integral and then do the evaluation.

There are however, two ways to deal with the evaluation step. One of the ways of doing the evaluation is the probably the most obvious at this point, but also has a point in the process where we can get in trouble if we aren’t paying attention.

Let’s work an example illustrating both ways of doing the evaluation step.

Let’s start off looking at the first way of dealing with the evaluation step. We’ll need to be careful with this method as there is a point in the process where if we aren’t paying attention we’ll get the wrong answer.

*Solution 1 :*

We’ll first need to compute the indefinite integral using the substitution rule. Note however, that we will constantly remind ourselves that this is a definite integral by putting the limits on the integral at each step. Without the limits it’s easy to forget that we had a definite integral when we’ve gotten the indefinite integral computed.

In this case the substitution is,

\[u = 1 - 4{t^3}\hspace{0.25in}\,\,\,\,\,du = - 12{t^2}dt\hspace{0.25in} \Rightarrow \hspace{0.25in}\,\,\,\,{t^2}dt = - \frac{1}{{12}}du\]Plugging this into the integral gives,

\[\begin{align*}\int_{{ - 2}}^{0}{{2{t^2}\sqrt {1 - 4{t^3}} \,dt}} & = - \frac{1}{6}\int_{{ - 2}}^{0}{{{u^{\frac{1}{2}}}\,du}}\\ & = \left. { - \frac{1}{9}{u^{\frac{3}{2}}}} \right|_{ - 2}^0\end{align*}\]Notice that we didn’t do the evaluation yet. This is where the potential problem arises with this solution method. The limits given here are from the original integral and hence are values of \(t\). We have \(u\)’s in our solution. We can’t plug values of \(t\) in for \(u\).

Therefore, we will have to go back to \(t\)’s before we do the substitution. This is the standard step in the substitution process, but it is often forgotten when doing definite integrals. Note as well that in this case, if we don’t go back to \(t\)’s we will have a small problem in that one of the evaluations will end up giving us a complex number.

So, finishing this problem gives,

\[\begin{align*}\int_{{ - 2}}^{0}{{2{t^2}\sqrt {1 - 4{t^3}} \,dt}} & = \left. { - \frac{1}{9}{{\left( {1 - 4{t^3}} \right)}^{\frac{3}{2}}}} \right|_{ - 2}^0\\ & = - \frac{1}{9} - \left( { - \frac{1}{9}{{\left( {33} \right)}^{\frac{3}{2}}}} \right)\\ & = \frac{1}{9}\left( {33\sqrt {33} - 1} \right)\end{align*}\]So, that was the first solution method. Let’s take a look at the second method.

*Solution 2 :*

Note that this solution method isn’t really all that different from the first method. In this method we are going to remember that when doing a substitution we want to eliminate all the \(t\)’s in the integral and write everything in terms of \(u\).

When we say all here we really mean all. In other words, remember that the limits on the integral are also values of \(t\) and we’re going to convert the limits into \(u\) values. Converting the limits is pretty simple since our substitution will tell us how to relate \(t\) and \(u\) so all we need to do is plug in the original \(t\) limits into the substitution and we’ll get the new \(u\) limits.

Here is the substitution (it’s the same as the first method) as well as the limit conversions.

\[\begin{align*}u & = 1 - 4{t^3}\hspace{0.25in} du = - 12{t^2}dt\hspace{0.25in} \Rightarrow \hspace{0.25in} {t^2}dt = - \frac{1}{{12}}du\\ t & = - 2\hspace{0.5in} \Rightarrow \hspace{0.5in}u = 1 - 4{\left( { - 2} \right)^3} = 33\\ t & = 0\hspace{0.65in} \Rightarrow \hspace{0.5in}u = 1 - 4{\left( 0 \right)^3} = 1\end{align*}\]The integral is now,

\[\begin{align*}\int_{{ - 2}}^{0}{{2{t^2}\sqrt {1 - 4{t^3}} \,dt}} & = - \frac{1}{6}\int_{{33}}^{1}{{{u^{\frac{1}{2}}}\,du}}\\ & = \left. { - \frac{1}{9}{u^{\frac{3}{2}}}} \right|_{33}^1\end{align*}\]As with the first method let’s pause here a moment to remind us what we’re doing. In this case, we’ve converted the limits to \(u\)’s and we’ve also got our integral in terms of \(u\)’s and so here we can just plug the limits directly into our integral. Note that in this case we won’t plug our substitution back in. Doing this here would cause problems as we would have \(t\)’s in the integral and our limits would be \(u\)’s. Here’s the rest of this problem.

\[\begin{align*}\int_{{ - 2}}^{0}{{2{t^2}\sqrt {1 - 4{t^3}} \,dt}} & = \left. { - \frac{1}{9}{u^{\frac{3}{2}}}} \right|_{33}^1\\ & = - \frac{1}{9} - \left( { - \frac{1}{9}{{\left( {33} \right)}^{\frac{3}{2}}}} \right) = \frac{1}{9}\left( {33\sqrt {33} - 1} \right)\end{align*}\]We got exactly the same answer and this time didn’t have to worry about going back to \(t\)’s in our answer.

So, we’ve seen two solution techniques for computing definite integrals that require the substitution rule. Both are valid solution methods and each have their uses. We will be using the second almost exclusively however since it makes the evaluation step a little easier.

Let’s work some more examples.

- \( \displaystyle \int_{{\, - 1}}^{{\,5}}{{\left( {1 + w} \right){{\left( {2w + {w^2}} \right)}^5}\,dw}}\)
- \( \displaystyle \int_{{\, - 2}}^{{\, - 6}}{{\frac{4}{{{{\left( {1 + 2x} \right)}^3}}} - \frac{5}{{1 + 2x}}\,dx}}\)
- \( \displaystyle \int_{{\,0}}^{{\,\frac{1}{2}}}{{{{\bf{e}}^y} + 2\cos \left( {\pi y} \right)\,dy}}\)
- \( \displaystyle \int_{{\,\frac{\pi }{3}}}^{{\,0}}{{3\sin \left( {\frac{z}{2}} \right) - 5\cos \left( {\pi - z} \right)\,dz}}\)

Since we’ve done quite a few substitution rule integrals to this time we aren’t going to put a lot of effort into explaining the substitution part of things here.

a \( \displaystyle \int_{{\, - 1}}^{{\,5}}{{\left( {1 + w} \right){{\left( {2w + {w^2}} \right)}^5}\,dw}}\) Show SolutionThe substitution and converted limits are,

\[\begin{align*}u & = 2w + {w^2}\hspace{0.5in}du = \left( {2 + 2w} \right)dw\hspace{0.25in}\,\, \Rightarrow \hspace{0.25in}\,\,\,\,\left( {1 + w} \right)dw = \frac{1}{2}du\\ w & = - 1\hspace{0.25in}\,\,\,\,\,\, \Rightarrow \,\,\,\,\hspace{0.25in}u = - 1\hspace{0.5in}\hspace{0.5in}w = 5\,\,\,\,\,\,\,\,\, \Rightarrow \hspace{0.25in}u = 35\end{align*}\]Sometimes a limit will remain the same after the substitution. Don’t get excited when it happens and don’t expect it to happen all the time.

Here is the integral,

\[\begin{align*}\int_{{\, - 1}}^{{\,5}}{{\left( {1 + w} \right){{\left( {2w + {w^2}} \right)}^5}\,dw}} & = \frac{1}{2}\int_{{\, - 1}}^{{\,35}}{{{u^5}\,du}}\\ & = \left. {\frac{1}{{12}}{u^6}} \right|_{ - 1}^{35} = 153188802\end{align*}\]Don’t get excited about large numbers for answers here. Sometimes they are. That’s life.

b \( \displaystyle \int_{{\, - 2}}^{{\, - 6}}{{\frac{4}{{{{\left( {1 + 2x} \right)}^3}}} - \frac{5}{{1 + 2x}}\,dx}}\) Show Solution

Here is the substitution and converted limits for this problem,

\[\begin{align*}u & = 1 + 2x\hspace{0.5in}du = 2dx\hspace{0.25in} \Rightarrow \hspace{0.25in}\,\,\,\,\,dx = \frac{1}{2}du\\ x & = - 2\hspace{0.25in}\,\,\,\,\,\, \Rightarrow \,\,\hspace{0.25in}\,\,u = - 3\hspace{0.5in}\hspace{0.25in}x = - 6\,\,\,\,\,\,\,\,\, \Rightarrow \,\,\,\hspace{0.25in}\,\,\,\,u = - 11\end{align*}\]The integral is then,

\[\begin{align*}\int_{{\, - 2}}^{{\, - 6}}{{\frac{4}{{{{\left( {1 + 2x} \right)}^3}}} - \frac{5}{{1 + 2x}}\,dx}} & = \frac{1}{2}\int_{{\, - 3}}^{{\, - 11}}{{4{u^{ - 3}} - \frac{5}{u}\,du}}\\ & = \left. {\frac{1}{2}\left( { - 2{u^{ - 2}} - 5\ln \left| u \right|} \right)} \right|_{ - 3}^{ - 11}\\ & = \frac{1}{2}\left( { - \frac{2}{{121}} - 5\ln 11} \right) - \frac{1}{2}\left( { - \frac{2}{9} - 5\ln 3} \right)\\ & = \frac{{112}}{{1089}} - \frac{5}{2}\ln 11 + \frac{5}{2}\ln 3\end{align*}\]c \( \displaystyle \int_{{\,0}}^{{\,\frac{1}{2}}}{{{{\bf{e}}^y} + 2\cos \left( {\pi y} \right)\,dy}}\) Show Solution

This integral needs to be split into two integrals since the first term doesn’t require a substitution and the second does.

\[ \displaystyle \int_{{\,0}}^{{\,\frac{1}{2}}}{{{{\bf{e}}^y} + 2\cos \left( {\pi y} \right)\,dy}} = \int_{{\,0}}^{{\,\frac{1}{2}}}{{{{\bf{e}}^y}\,dy}} + \int_{{\,0}}^{{\,\frac{1}{2}}}{{2\cos \left( {\pi y} \right)\,dy}}\]Here is the substitution and converted limits for the second term.

\[\begin{align*}u & = \pi y\hspace{0.5in}du = \pi dy\hspace{0.25in} \Rightarrow \hspace{0.25in}\,\,\,dy = \frac{1}{\pi }du\\ y & = 0\hspace{0.25in}\,\,\,\, \Rightarrow \,\,\,\,\,\,\,\,u = 0\hspace{0.5in}\hspace{0.25in}y = \frac{1}{2}\,\hspace{0.25in}\,\,\,\,\, \Rightarrow \,\,\,\,\,\,\,\,\,\,u = \frac{\pi }{2}\end{align*}\]Here is the integral.

\[\begin{align*}\int_{{\,0}}^{{\,\frac{1}{2}}}{{{{\bf{e}}^y} + 2\cos \left( {\pi y} \right)\,dy}} & = \int_{{\,0}}^{{\,\frac{1}{2}}}{{{{\bf{e}}^y}\,dy}} + \frac{2}{\pi }\int_{{\,0}}^{{\,\frac{\pi }{2}}}{{\cos \left( u \right)\,du}}\\ & = \left. {{{\bf{e}}^y}} \right|_0^{\frac{1}{2}} + \left. {\frac{2}{\pi }\sin u} \right|_0^{\frac{\pi }{2}}\\ & = {{\bf{e}}^{\frac{1}{2}}} - {{\bf{e}}^0} + \frac{2}{\pi }\sin \frac{\pi }{2} - \frac{2}{\pi }\sin 0\\ & = {{\bf{e}}^{\frac{1}{2}}} - 1 + \frac{2}{\pi }\end{align*}\]d \( \displaystyle \int_{{\,\frac{\pi }{3}}}^{{\,0}}{{3\sin \left( {\frac{z}{2}} \right) - 5\cos \left( {\pi - z} \right)\,dz}}\) Show Solution

This integral will require two substitutions. So first split up the integral so we can do a substitution on each term.

\[\int_{{\,\frac{\pi }{3}}}^{{\,0}}{{3\sin \left( {\frac{z}{2}} \right) - 5\cos \left( {\pi - z} \right)\,dz}} = \int_{{\,\frac{\pi }{3}}}^{{\,0}}{{3\sin \left( {\frac{z}{2}} \right)\,dz}} - \int_{{\,\frac{\pi }{3}}}^{{\,0}}{{5\cos \left( {\pi - z} \right)\,dz}}\]There are the two substitutions for these integrals.

\[\begin{align*}u & = \frac{z}{2}\hspace{0.5in}du = \frac{1}{2}dz\hspace{0.25in}\,\,\, \Rightarrow \hspace{0.25in}\,\,\,\,dz = 2du\\ z & = \frac{\pi }{3}\hspace{0.25in}\,\,\,\,\,\, \Rightarrow \hspace{0.25in}\,\,\,\,\,u = \frac{\pi }{6}\hspace{0.5in}z = 0\,\,\,\,\,\,\,\,\,\, \Rightarrow \hspace{0.25in}\,\,\,u = 0\end{align*}\] \[\begin{align*}v & = \pi - z\hspace{0.25in}dv = - dz\hspace{0.25in}\,\,\, \Rightarrow \hspace{0.25in}\,\,\,\,dz = - dv\\ z & = \frac{\pi }{3}\hspace{0.25in}\,\,\,\,\,\, \Rightarrow \hspace{0.25in}\,\,\,\,\,v = \frac{{2\pi }}{3}\hspace{0.5in}z = 0\hspace{0.25in}\,\,\,\, \Rightarrow \hspace{0.25in}\,\,v = \pi \end{align*}\]Here is the integral for this problem.

\[\begin{align*}\int_{{\,\frac{\pi }{3}}}^{{\,0}}{{3\sin \left( {\frac{z}{2}} \right) - 5\cos \left( {\pi - z} \right)\,dz}} & = 6\int_{{\,\frac{\pi }{6}}}^{{\,0}}{{\sin \left( u \right)\,du}} + 5\int_{{\,\frac{{2\pi }}{3}}}^{{\,\pi }}{{\cos \left( v \right)\,dv}}\\ & = \left. { - 6\cos \left( u \right)} \right|_{\frac{\pi }{6}}^0 + \left. {5\sin \left( v \right)} \right|_{\frac{{2\pi }}{3}}^\pi \\ & = 3\sqrt 3 - 6 + \left( { - \frac{{5\sqrt 3 }}{2}} \right)\\ & = \frac{{\sqrt 3 }}{2} - 6\end{align*}\]The next set of examples is designed to make sure that we don’t forget about a very important point about definite integrals.

- \( \displaystyle \int_{{\, - 5}}^{{\,5}}{{\frac{{4t}}{{2 - 8{t^2}}}\,dt}}\)
- \( \displaystyle \int_{{\,3}}^{{\,5}}{{\frac{{4t}}{{2 - 8{t^2}}}\,dt}}\)

Be careful with this integral. The denominator is zero at \(t = \pm \frac{1}{2}\) and both of these are in the interval of integration. Therefore, this integrand is not continuous in the interval and so the integral can’t be done.

Be careful with definite integrals and be on the lookout for division by zero problems. In the previous section they were easy to spot since all the division by zero problems that we had there were where the variable was itself zero. Once we move into substitution problems however they will not always be so easy to spot so make sure that you first take a quick look at the integrand and see if there are any continuity problems with the integrand and if they occur in the interval of integration.

b \( \displaystyle \int_{{\,3}}^{{\,5}}{{\frac{{4t}}{{2 - 8{t^2}}}\,dt}}\) Show Solution

Now, in this case the integral can be done because the two points of discontinuity, \(t = \pm \frac{1}{2}\), are both outside of the interval of integration. The substitution and converted limits in this case are,

\[\begin{align*}u & = 2 - 8{t^2}\hspace{0.25in}\,\,\,\,\,\,du = - 16t\,dt\hspace{0.25in}\,\,\, \Rightarrow \hspace{0.25in}\,\,\,\,\,\,\,tdt = - \frac{1}{{16}}du\\ t & = 3\hspace{0.25in}\,\,\,\,\,\, \Rightarrow \hspace{0.25in}\,\,\,\,\,u = - 70\hspace{0.5in}t = 5\,\,\,\,\,\,\,\,\,\, \Rightarrow \hspace{0.25in}\,\,\,u = - 198\end{align*}\]The integral is then,

\[\begin{align*}\int_{{\,3}}^{{\,5}}{{\frac{{4t}}{{2 - 8{t^2}}}\,dt}} & = - \frac{4}{{16}}\int_{{\, - 70}}^{{\, - 198}}{{\frac{1}{u}\,du}}\\ & = \left. { - \frac{1}{4}\ln \left| u \right|} \right|_{ - 70}^{ - 198}\\ & = - \frac{1}{4}\left( {\ln \left( {198} \right) - \ln \left( {70} \right)} \right)\end{align*}\]Let’s work another set of examples. These are a little tougher (at least in appearance) than the previous sets.

- \( \displaystyle \int_{{\,0}}^{{\,\ln \left( {1 + \pi } \right)}}{{{{\bf{e}}^x}\cos \left( {1 - {{\bf{e}}^x}} \right)}}\,dx\)
- \( \displaystyle \int_{{{{\bf{e}}^2}}}^{{{{\bf{e}}^6}}}{{\frac{{{{\left[ {\ln t} \right]}^4}}}{t}\,dt}}\)
- \( \displaystyle \int_{{\frac{\pi }{{12}}}}^{{\,\frac{\pi }{9}}}{{\frac{{\sec \left( {3P} \right)\tan \left( {3P} \right)}}{{\sqrt[3]{{2 + \sec \left( {3P} \right)}}}}\,dP}}\)
- \( \displaystyle \int_{{\, - \pi }}^{{\,\frac{\pi }{2}}}{{\cos \left( x \right)\cos \left( {\sin \left( x \right)} \right)\,dx}}\)
- \( \displaystyle \int_{{\frac{1}{{50}}}}^{2}{{\frac{{{{\bf{e}}^{\frac{2}{w}}}}}{{{w^2}}}\,dw}}\)

The limits are a little unusual in this case, but that will happen sometimes so don’t get too excited about it. Here is the substitution.

\[\begin{align*}u & = 1 - {{\bf{e}}^x}\hspace{0.5in}du = - {{\bf{e}}^x}dx\\ x & = 0\hspace{0.5in}\hspace{0.25in} \Rightarrow \hspace{0.25in}\,\,\,u = 1 - {{\bf{e}}^0} = 1 - 1 = 0\\ x & = \ln \left( {1 + \pi } \right)\hspace{0.5in} \Rightarrow \hspace{0.25in}\,\,\,u = 1 - {{\bf{e}}^{\ln \left( {1 + \pi } \right)}} = 1 - \left( {1 + \pi } \right) = - \pi \end{align*}\]The integral is then,

\[\begin{align*}\int_{{\,0}}^{{\,\ln \left( {1 + \pi } \right)}}{{{{\bf{e}}^x}\cos \left( {1 - {{\bf{e}}^x}} \right)}}\,dx & = - \int_{{\,0}}^{{\, - \pi }}{{\cos u}}\,du\\ & = - \left. {\sin \left( u \right)} \right|_0^{ - \pi }\\ & = - \left( {\sin \left( { - \pi } \right) - \sin 0} \right) = 0\end{align*}\]b \( \displaystyle \int_{{{{\bf{e}}^2}}}^{{{{\bf{e}}^6}}}{{\frac{{{{\left[ {\ln t} \right]}^4}}}{t}\,dt}}\) Show Solution

Here is the substitution and converted limits for this problem.

\[\begin{align*}u & = \ln t\hspace{0.5in}du = \frac{1}{t}dt\\ t & = {{\bf{e}}^2}\hspace{0.25in}\,\, \Rightarrow \,\,\,\,\,\,\,\,u = \ln {{\bf{e}}^2} = 2\hspace{0.5in}t = {{\bf{e}}^6}\hspace{0.25in}\,\,\, \Rightarrow \hspace{0.25in}\,\,u = \ln {{\bf{e}}^6} = 6\end{align*}\]The integral is,

\[\begin{align*}\int_{{{{\bf{e}}^2}}}^{{{{\bf{e}}^6}}}{{\frac{{{{\left[ {\ln t} \right]}^4}}}{t}\,dt}} & = \int_{{\,2}}^{{\,6}}{{{u^4}\,du}}\\ & = \left. {\frac{1}{5}{u^5}} \right|_2^6\\ & = \frac{{7744}}{5}\end{align*}\]c \( \displaystyle \int_{{\frac{\pi }{{12}}}}^{{\,\frac{\pi }{9}}}{{\frac{{\sec \left( {3P} \right)\tan \left( {3P} \right)}}{{\sqrt[3]{{2 + \sec \left( {3P} \right)}}}}\,dP}}\) Show Solution

Here is the substitution and converted limits and don’t get too excited about the substitution. It’s a little messy in the case, but that can happen on occasion.

\[\begin{align*}u & = 2 + \sec \left( {3P} \right)\,\,\,\,\,\,\,\,du = 3\sec \left( {3P} \right)\tan \left( {3P} \right)dP\,\,\,\,\, \Rightarrow \,\,\,\,\,\sec \left( {3P} \right)\tan \left( {3P} \right)dP = \frac{1}{3}du\\ P & = \frac{\pi }{{12}}\hspace{0.5in} \Rightarrow \hspace{0.25in}u = 2 + \sec \left( {\frac{\pi }{4}} \right) = 2 + \sqrt 2 \\ P & = \frac{\pi }{9}\hspace{0.5in} \Rightarrow \hspace{0.25in}u = 2 + \sec \left( {\frac{\pi }{3}} \right) = 4\end{align*}\]Here is the integral,

\[\begin{align*}\int_{{\frac{\pi }{{12}}}}^{{\,\frac{\pi }{9}}}{{\frac{{\sec \left( {3P} \right)\tan \left( {3P} \right)}}{{\sqrt[3]{{2 + \sec \left( {3P} \right)}}}}\,dP}} & = \frac{1}{3}\int_{{2 + \sqrt 2 }}^{4}{{{u^{ - \frac{1}{3}}}\,du}}\\ & = \left. {\frac{1}{2}{u^{\frac{2}{3}}}} \right|_{2 + \sqrt 2 }^4\\ & = \frac{1}{2}\left( {{4^{\frac{2}{3}}} - {{\left( {2 + \sqrt 2 } \right)}^{\frac{2}{3}}}} \right)\end{align*}\]So, not only was the substitution messy, but we also have a messy answer, but again that’s life on occasion.

d \( \displaystyle \int_{{\, - \pi }}^{{\,\frac{\pi }{2}}}{{\cos \left( x \right)\cos \left( {\sin \left( x \right)} \right)\,dx}}\) Show Solution

This problem not as bad as it looks. Here is the substitution and converted limits.

\[\begin{align*}u & = \sin x\hspace{0.25in}du = \cos x\,dx\\ x & = \frac{\pi }{2}\hspace{0.25in}\,\,\,\, \Rightarrow \hspace{0.25in}\,u = \sin \frac{\pi }{2} = 1\hspace{0.5in}x = - \pi \hspace{0.25in}\,\,\,\,\,\,\, \Rightarrow \hspace{0.25in}\,\,\,\,\,\,u = \sin \left( { - \pi } \right) = 0\end{align*}\]The cosine in the very front of the integrand will get substituted away in the differential and so this integrand actually simplifies down significantly. Here is the integral.

\[\begin{align*}\int_{{\, - \pi }}^{{\,\frac{\pi }{2}}}{{\cos \left( x \right)\cos \left( {\sin \left( x \right)} \right)\,dx}} & = \int_{{\,0}}^{{\,1}}{{\cos u\,du}}\\ & = \left. {\sin \left( u \right)} \right|_0^1\\ & = \sin \left( 1 \right) - \sin \left( 0 \right)\\ & = \sin \left( 1 \right)\end{align*}\]Don’t get excited about these kinds of answers. On occasion we will end up with trig function evaluations like this.

e \( \displaystyle \int_{{\frac{1}{{50}}}}^{2}{{\frac{{{{\bf{e}}^{\frac{2}{w}}}}}{{{w^2}}}\,dw}}\) Show Solution

This is also a tricky substitution (at least until you see it). Here it is,

\[\begin{align*}u & = \frac{2}{w}\hspace{0.5in}du = - \frac{2}{{{w^2}}}dw\hspace{0.5in} \Rightarrow \hspace{0.25in}\,\,\,\,\frac{1}{{{w^2}}}dw = - \frac{1}{2}du\\ w & = 2\hspace{0.25in}\,\,\,\,\,\,\, \Rightarrow \hspace{0.25in}\,\,\,\,\,\,u = 1\hspace{0.5in}w = \frac{1}{{50}}\hspace{0.25in}\,\,\,\,\,\,\, \Rightarrow \hspace{0.25in}\,\,\,\,\,u = 100\end{align*}\]Here is the integral.

\[\begin{align*}\int_{{\frac{1}{{50}}}}^{2}{{\frac{{{{\bf{e}}^{\frac{2}{w}}}}}{{{w^2}}}\,dw}} & = - \frac{1}{2}\int_{{\,100}}^{{\,1}}{{{{\bf{e}}^u}\,du}}\\ & = \left. { - \frac{1}{2}{{\bf{e}}^u}} \right|_{100}^1\\ & = - \frac{1}{2}\left( {{{\bf{e}}^1} - {{\bf{e}}^{100}}} \right)\end{align*}\]In this last set of examples we saw some tricky substitutions and messy limits, but these are a fact of life with some substitution problems and so we need to be prepared for dealing with them when they happen.