Integration-by-Parts Formula

Learning Outcomes

  • Recognize when to use integration by parts.
  • 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].

This gives us

[latex]h\left(x\right)=f\left(x\right)g\left(x\right)=\displaystyle\int g\left(x\right){f}^{\prime }\left(x\right)dx+\displaystyle\int f\left(x\right){g}^{\prime }\left(x\right)dx[/latex].

 

Now we solve for [latex]\displaystyle\int f\left(x\right){g}^{\prime }\left(x\right)dx:[/latex]

[latex]\displaystyle\int f\left(x\right){g}^{\prime }\left(x\right)dx=f\left(x\right)g\left(x\right)-\displaystyle\int g\left(x\right){f}^{\prime }\left(x\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

[latex]\displaystyle\int udv=uv-\displaystyle\int vdu[/latex].

 

Integration by Parts


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:

[latex]\displaystyle\int udv=uv-\displaystyle\int vdu[/latex].

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].

Try It

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].

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.

You can view the transcript for this segmented clip of “3.1 Integration by Parts” here (opens in new window).

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

  1. [latex]\frac{d}{dx} (\sin x) = \cos x[/latex]
  2. [latex]\frac{d}{dx} (\cos x) = -\sin x[/latex]
  3. [latex]\frac{d}{dx} (\ln x) = \frac{1}{x}[/latex]
  4. [latex]\frac{d}{dx} (\arcsin x) = \frac{1}{\sqrt{1-x^2}}[/latex]
  5. [latex]\frac{d}{dx} (\arctan x) = \frac{1}{1+x^2}[/latex]

example: Using integration by parts

Evaluate [latex]\displaystyle\int \frac{\text{ln}x}{{x}^{3}}dx[/latex].

try it

Evaluate [latex]{\displaystyle\int }^{\text{ }}x\text{ln}xdx[/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.

You can view the transcript for this segmented clip of “3.1 Integration by Parts” here (opens in new window).

In some cases, as in the next two examples, it may be necessary to apply integration by parts more than once.

example: Applying integration by parts more than once

Evaluate [latex]{\displaystyle\int }^{\text{ }}{x}^{2}{e}^{3x}dx[/latex].

Example: Applying Integration by Parts When LIATE Doesn’t Quite Work

Evaluate [latex]{\displaystyle\int }^{\text{ }}{t}^{3}{e}^{{t}^{2}}dt[/latex].

Example: Applying Integration by Parts More Than Once

Evaluate [latex]{\displaystyle\int }^{\text{ }}\sin\left(\text{ln}x\right)dx[/latex].

try it

Evaluate [latex]{\displaystyle\int }^{\text{ }}{x}^{2}\sin{x}dx[/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.

You can view the transcript for this segmented clip of “3.1 Integration by Parts” here (opens in new window).

Try It

Integration by Parts for Definite Integrals

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

[latex]{\displaystyle\int }_{a}^{b}udv={uv|}_{a}^{b}-{\displaystyle\int }_{a}^{b}vdu[/latex].

 

Example: finding the area of a region

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].

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.

try it

Evaluate [latex]{\displaystyle\int }_{0}^{\pi \text{/}2}x\cos{x}dx[/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.

You can view the transcript for this segmented clip of “3.1 Integration by Parts” here (opens in new window).

Try It