## Integration by Parts

One often encounters integrands which can be written as the product of two functions.  Sometimes the integral can be solved using the "u-substitution" method which is essentially the inverse of the chain rule.  In other cases, integration by parts may work.  Integration by parts is the inverse of the product rule of differentiation.  Recall that the product rule states

Using the notation

$du = u'(x)dx$ , $dv = v'(x)dx$

this becomes

If we integrate this equation, we get

Now if we rearrange a bit, this becomes

This result is the what is known as "integration by parts".

#### Usage:

You are presented with an integrand which can be written as the product of two functions.  You must know how to differentiate one of the functions and know how to integrate the other function.  The goal is to create an integral on the right hand side that is easier to solve than the original integral.  It may be necessary to repeat the integration by parts procedure several times to get an easy integral.

Example 1:

We want to be left with a simple integral when we are finished, so we choose $v(x) = x$.  Then

Now apply the method

Thus

Now the integral on the right is trivial!  The final result is

Example 2:

Choose $u=e^x$ then

Now apply the method

Note that this looks different than the version written above, but it is equivalent. Make the substitutions:

Now you have to repeat the method on this second integral! Choose $u=e^x$ then

Substituting this into the method leaves us with

Notice that the same integral now appears on both sides of the equation. Now we can solve for it:

I've skipped a few steps involving the arbitrary constant $C$ to simplify the presentation.

Finished!