Integration by Parts: Learn It 1

  • Recognize when to use integration by parts compared to other integration methods
  • Use the integration by parts formula to solve indefinite integrals
  • Apply integration by parts to evaluate definite integrals

Integration-by-Parts

You’ve already learned how to tackle many basic integrals, and you can handle something like [latex]\displaystyle\int x\sin\left({x}^{2}\right)dx[/latex] using substitution with [latex]u={x}^{2}[/latex]. But what about [latex]\displaystyle\int x\sin{x}dx[/latex]? This seemingly simple integral requires a different approach.

Many students wonder if there’s a product rule for integration—there isn’t. However, we can use a technique based on the product rule for differentiation to exchange one integral for another. This powerful method is called integration by parts.

The key insight is that when you have a product of two functions, you can often rewrite the integral in a more manageable form. Let’s see how this works by deriving the integration by parts formula.

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.

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