Use the integration-by-parts formula to solve integration problems.
Use the integration-by-parts formula for definite integrals.
If, [latex]h\left(x\right)=f\left(x\right)g\left(x\right)[/latex], then by using the product rule, we obtain [latex]{h}^{\prime }\left(x\right)={f}^{\prime }\left(x\right)g\left(x\right)+{g}^{\prime }\left(x\right)f\left(x\right)[/latex]. Although at first it may seem counterproductive, let’s now integrate both sides of this equation: [latex]\displaystyle\int {h}^{\prime }\left(x\right)dx=\displaystyle\int \left(g\left(x\right){f}^{\prime }\left(x\right)+f\left(x\right){g}^{\prime }\left(x\right)\right)dx[/latex].
By making the substitutions [latex]u=f\left(x\right)[/latex] and [latex]v=g\left(x\right)[/latex], which in turn make [latex]du={f}^{\prime }\left(x\right)dx[/latex] and [latex]dv={g}^{\prime }\left(x\right)dx[/latex], we have the more compact form
Let [latex]u=f\left(x\right)[/latex] and [latex]v=g\left(x\right)[/latex] be functions with continuous derivatives. Then, the integration-by-parts formula for the integral involving these two functions is:
The advantage of using the integration-by-parts formula is that we can use it to exchange one integral for another, possibly easier, integral. The following example illustrates its use.
Example: Using Integration by Parts
Use integration by parts with [latex]u=x[/latex] and [latex]dv=\sin{x}dx[/latex] to evaluate [latex]\displaystyle\int x\sin{x}dx[/latex].
Show Solution
Solution
By choosing [latex]u=x[/latex], we have [latex]du=1dx[/latex]. Since [latex]dv=\sin{x}dx[/latex], we get [latex]v=\displaystyle\int \sin{x}dx=\text{-}\cos{x}[/latex]. It is handy to keep track of these values as follows:
At this point, there are probably a few items that need clarification. First of all, you may be curious about what would have happened if we had chosen [latex]u=\sin{x}[/latex] and [latex]dv=x[/latex]. If we had done so, then we would have [latex]du=\cos{x}[/latex] and [latex]v=\frac{1}{2}{x}^{2}[/latex]. Thus, after applying integration by parts, we have [latex]{\displaystyle\int }^{\text{ }}x\sin{x}dx=\frac{1}{2}{x}^{2}\sin{x}-{\displaystyle\int }^{\text{ }}\frac{1}{2}{x}^{2}\cos{x}dx[/latex]. Unfortunately, with the new integral, we are in no better position than before. It is important to keep in mind that when we apply integration by parts, we may need to try several choices for [latex]u[/latex] and [latex]dv[/latex] before finding a choice that works.
Second, you may wonder why, when we find [latex]v={\displaystyle\int }^{\text{ }}\sin{x}dx=\text{-}\cos{x}[/latex], we do not use [latex]v=\text{-}\cos{x}+K[/latex]. To see that it makes no difference, we can rework the problem using [latex]v=\text{-}\cos{x}+K\text{:}[/latex]
Evaluate [latex]{\displaystyle\int }^{\text{ }}x{e}^{2x}dx[/latex] using the integration-by-parts formula with [latex]u=x[/latex] and [latex]dv={e}^{2x}dx[/latex].
Hint
Find [latex]du[/latex] and [latex]v[/latex], and use the previous example as a guide.
Watch the following video to see the worked solution to the above Try It
For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.
The natural question to ask at this point is: How do we know how to choose [latex]u[/latex] and [latex]dv?[/latex] Sometimes it is a matter of trial and error; however, the acronym LIATE can often help to take some of the guesswork out of our choices. This acronym stands for Logarithmic Functions, Inverse Trigonometric Functions, Algebraic Functions, Trigonometric Functions, and Exponential Functions. This mnemonic serves as an aid in determining an appropriate choice for [latex]u[/latex].
The type of function in the integral that appears first in the list should be our first choice of [latex]u[/latex]. For example, if an integral contains a logarithmic function and an algebraic function, we should choose [latex]u[/latex] to be the logarithmic function, because L comes before A in LIATE. The integral in the previous example has a trigonometric function [latex]\text{(}\sin{x}\text{)}[/latex] and an algebraic function [latex]\left(x\right)[/latex]. Because A comes before T in LIATE, we chose [latex]u[/latex] to be the algebraic function. When we have chosen [latex]u[/latex], [latex]dv[/latex] is selected to be the remaining part of the function to be integrated, together with [latex]dx[/latex].
Why does this mnemonic work? Remember that whatever we pick to be [latex]dv[/latex] must be something we can integrate. Since we do not have integration formulas that allow us to integrate simple logarithmic functions and inverse trigonometric functions, it makes sense that they should not be chosen as values for [latex]dv[/latex]. Consequently, they should be at the head of the list as choices for [latex]u[/latex]. Thus, we put LI at the beginning of the mnemonic. (We could just as easily have started with IL, since these two types of functions won’t appear together in an integration-by-parts problem.) The exponential and trigonometric functions are at the end of our list because they are fairly easy to integrate and make good choices for [latex]dv[/latex]. Thus, we have TE at the end of our mnemonic. (We could just as easily have used ET at the end, since when these types of functions appear together it usually doesn’t really matter which one is [latex]u[/latex] and which one is [latex]dv[/latex].) Algebraic functions are generally easy both to integrate and to differentiate, and they come in the middle of the mnemonic.
To use the by-parts technique successfully, it is helpful to first review the derivative rules of several familiar transcendental functions.
Recall: Derivative rules for transcendental functions
Since this integral contains the algebraic function [latex]{x}^{-3}[/latex] and the logarithmic function [latex]\text{ln}x[/latex], choose [latex]u=\text{ln}x[/latex], since L comes before A in LIATE. After we have chosen [latex]u=\text{ln}x[/latex], we must choose [latex]dv={x}^{-3}dx[/latex].
Next, since [latex]u=\text{ln}x[/latex], we have [latex]du=\frac{1}{x}dx[/latex]. Also, [latex]v={\displaystyle\int }^{\text{ }}{x}^{-3}dx=-\frac{1}{2}{x}^{-2}[/latex]. Summarizing,
Watch the following video to see the worked solution to the above Try It
For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.
Using LIATE, choose [latex]u={x}^{2}[/latex] and [latex]dv={e}^{3x}dx[/latex]. Thus, [latex]du=2xdx[/latex] and [latex]v=\displaystyle\int {e}^{3x}dx=\left(\frac{1}{3}\right){e}^{3x}[/latex]. Therefore,
We still cannot integrate [latex]\displaystyle\int \frac{2}{3}x{e}^{3x}dx[/latex] directly, but the integral now has a lower power on [latex]x[/latex]. We can evaluate this new integral by using integration by parts again. To do this, choose [latex]u=x[/latex] and [latex]dv=\frac{2}{3}{e}^{3x}dx[/latex]. Thus, [latex]du=dx[/latex] and [latex]v=\displaystyle\int \left(\frac{2}{3}\right){e}^{3x}dx=\left(\frac{2}{9}\right){e}^{3x}[/latex]. Now we have
If we use a strict interpretation of the mnemonic LIATE to make our choice of [latex]u[/latex], we end up with [latex]u={t}^{3}[/latex] and [latex]dv={e}^{{t}^{2}}dt[/latex]. Unfortunately, this choice won’t work because we are unable to evaluate [latex]{\displaystyle\int }^{\text{ }}{e}^{{t}^{2}}dt[/latex]. However, since we can evaluate [latex]{\displaystyle\int }^{\text{ }}t{e}^{{t}^{2}}dx[/latex], we can try choosing [latex]u={t}^{2}[/latex] and [latex]dv=t{e}^{{t}^{2}}dt[/latex]. With these choices we have
This integral appears to have only one function—namely, [latex]\sin\left(\text{ln}x\right)[/latex] —however, we can always use the constant function 1 as the other function. In this example, let’s choose [latex]u=\sin\left(\text{ln}x\right)[/latex] and [latex]dv=1dx[/latex]. (The decision to use [latex]u=\sin\left(\text{ln}x\right)[/latex] is easy. We can’t choose [latex]dv=\sin\left(\text{ln}x\right)dx[/latex] because if we could integrate it, we wouldn’t be using integration by parts in the first place!) Consequently, [latex]du=\frac{1}{x}\cos\left(\text{ln}x\right)dx[/latex] and [latex]v={\displaystyle\int }^{\text{ }}1dx=x[/latex]. After applying integration by parts to the integral and simplifying, we have
Unfortunately, this process leaves us with a new integral that is very similar to the original. However, let’s see what happens when we apply integration by parts again. This time let’s choose [latex]u=\cos\left(\text{ln}x\right)[/latex] and [latex]dv=1dx[/latex], making [latex]du=\text{-}\frac{1}{x}\sin\left(\text{ln}x\right)dx[/latex] and [latex]v={\displaystyle\int }^{\text{ }}1dx=x[/latex]. Substituting, we have
The last integral is now the same as the original. It may seem that we have simply gone in a circle, but now we can actually evaluate the integral. To see how to do this more clearly, substitute [latex]I={\displaystyle\int }^{\text{ }}\sin\left(\text{ln}x\right)dx[/latex]. Thus, the equation becomes
From this we see that [latex]\frac{1}{2}x\sin\left(\text{ln}x\right)-\frac{1}{2}x\cos\left(\text{ln}x\right)[/latex] is an antiderivative of [latex]\sin\left(\text{ln}x\right)dx[/latex]. For the most general antiderivative, add [latex]+C\text{:}[/latex]
Watch the following video to see the worked solution to the above Try It
For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.
Now that we have used integration by parts successfully to evaluate indefinite integrals, we turn our attention to definite integrals. The integration technique is really the same, only we add a step to evaluate the integral at the upper and lower limits of integration.
Integration by Parts for Definite Integrals
Let [latex]u=f\left(x\right)[/latex] and [latex]v=g\left(x\right)[/latex] be functions with continuous derivatives on [latex]\left[a,b\right][/latex]. Then
Find the area of the region bounded above by the graph of [latex]y={\tan}^{-1}x[/latex] and below by the [latex]x[/latex] -axis over the interval [latex]\left[0,1\right][/latex].
Show Solution
This region is shown in Figure 1. To find the area, we must evaluate [latex]\underset{0}{\overset{1}{\displaystyle\int }}{\tan}^{-1}xdx[/latex].
For this integral, let’s choose [latex]u={\tan}^{-1}x[/latex] and [latex]dv=dx[/latex], thereby making [latex]du=\frac{1}{{x}^{2}+1}dx[/latex] and [latex]v=x[/latex]. After applying the integration-by-parts formula we obtain
At this point it might not be a bad idea to do a “reality check” on the reasonableness of our solution. Since [latex]\frac{\pi }{4}-\frac{1}{2}\text{ln}2\approx 0.4388[/latex], and from Figure 1 we expect our area to be slightly less than 0.5, this solution appears to be reasonable.
Example: Finding a volume of revolution
Find the volume of the solid obtained by revolving the region bounded by the graph of [latex]f\left(x\right)={e}^{\text{-}x}[/latex], the x-axis, the y-axis, and the line [latex]x=1[/latex] about the y-axis.
Show Solution
Solution
The best option to solving this problem is to use the shell method. Begin by sketching the region to be revolved, along with a typical rectangle (see the following graph).
To find the volume using shells, we must evaluate [latex]2\pi {\displaystyle\int }_{0}^{1}x{e}^{\text{-}x}dx[/latex]. To do this, let [latex]u=x[/latex] and [latex]dv={e}^{\text{-}x}[/latex]. These choices lead to [latex]du=dx[/latex] and [latex]v={\displaystyle\int }^{\text{ }}{e}^{\text{-}x}=\text{-}{e}^{\text{-}x}[/latex]. Substituting into the integration-by-parts for definite integrals formula, we obtain
Again, it is a good idea to check the reasonableness of our solution. We observe that the solid has a volume slightly less than that of a cylinder of radius [latex]1[/latex] and height of [latex]\frac{1}{e}[/latex] added to the volume of a cone of base radius [latex]1[/latex] and height of [latex]1-\frac{1}{3}[/latex]. Consequently, the solid should have a volume a bit less than
Use the integration-by-parts formula with [latex]u=x[/latex] and [latex]dv=\cos{x}dx[/latex].
Show Solution
[latex]\frac{\pi }{2}-1[/latex]
Watch the following video to see the worked solution to the above Try It
For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.