Without returning to the old variables, change the integration limits and use the fundamental theorem.
The second method is preferable.
Substitution Rule for Definite Integrals. If v′ is continuous on [a,b] and g is continuous on the range of u=v(x), we have that ∫abg(v(x))v′(x)dx=∫v(a)v(b)g(u)du.
Let's see how this is done.
Example 2.Calculate ∫23xex2dx.
As was shown above, ∫xex2dx=21ex2+C.
So, ∫23xex2dx=21e32−21e22=21(e9−e4).
On the other hand, since u=x2 and x is changing from 2 to 3, u is changing from 22=4 to 32=9.
So,
∫23xex2dx=21∫49eudu=21(e9−e4).
Example 3. Find ∫03e3xdx.
Let u=3x; then, du=3dx. So, dx=3du.
x is changing from 0 to 3, so u is changing from 3⋅0=0 to 3⋅3=9.
Now, let's return to indefinite integrals to see more examples of using the substitution rule.
Example 4. Calculate ∫1−x21dx.
First of all, there is a restriction that ∣x∣<1, otherwise the value under the square root is negative.
Now, let's consider the integral. It is always important to think of how an integral can be reduced to an easy one. In this case, the trigonometric identity cos2(u)+sin2(u)=1 is very useful.
From this, it follows that cos(u)=1−sin2(u), which is similar to what is in the denominator.
So, make the substitution x=sin(u); then, dx=(sin(u))′du, or dx=cos(u)du.
Plugging these results into the integral gives the following:
Note how in example 1 we made the substitution u=u(x)=x2 and in the last example we made the substitution x=x(u)=sin(u). In some cases, it is easier to find u=u(x), and in some x=x(u).
The following example will show that it is not always very clear which substitution to make.
Example 5. Find ∫tan(2t+9)dt.
There is only one term under the integral, namely tan, so it is not very clear what substitution to make. However, recall that tan(x)=cos(x)sin(x). So, the integral can be rewritten as follows:
∫tan(2t+9)dt=∫cos(2t+9)sin(2t+9)dt.
As can be seen, the substitution u=cos(2t+9) is perfect, because it will remove the numerator and simplify the denominator. In this case, du=(cos(2t+9))′dt=−sin(2t+9)⋅(2t+9)′dt=−2sin(2t+9)dt; so, sin(2t+9)dt=−2du.
It is very important to 'read' the integral to define the better substitution.
Example 6. Find ∫1+sin2(x)cos(x)dx.
Let's 'read' this integral: in the denominator, we have something like ∫1+t21dt=atan(t).
In the numerator, we have cos(x), which is the derivative of sin(x). Therefore, the substitution t=sin(x) will work.
So, dt=cos(x)dx, and the integral can be rewritten as ∫1+t21=atan(t)+C.
Returning to the old variables gives that ∫1+sin2(x)cos(x)dx=atan(sin(x))+C.
Example 7. Find ∫x2+12xdx.
In the denominator, we have something similar to the derivative of inverse tangent, but the numerator is not the same. However, since (x2+1)′=2x, we can make the substitution u=x2+1. In this case, du=2xdx, and the integral can be rewritten as follows:
∫udu=ln∣u∣+C.
Returning to the old variables gives that ∫x2+12xdx=ln(x2+1)+C.
At last, we can say that the change of variable technique is some sort of trial and error. This means that the correct evaluation of integrals using this technique will come as you gain experience, and at the beginning you should try different substitutions and understand why some are good and some are awful. It is also a good idea to practice the chain rule, because this process is the 'inverse' of the substitution rule.