**Integration by parts** is a very handy technique to have in your integrating toolbox. It will allow you to do all kinds of integrals you might not have been able to do (or would have needed to look up) before now. Basically, integration by parts is the reverse of the product rule of differentiation. Here's how it works.

The product rule of differentiation of a product of functions, **u(x)** and **v(x)** is

If we multiply through by the differential **dx**, we get

Now integrating both sides give us

This result is usually rearranged to look like this

which we call the integration by parts formula. It says that if we can break an integrand up into a function u multiplied by a differential expression dv, we can rewrite the integral as a product of the two functions minus a (hopefully) simpler integral.

**A note on u and v**: I hear you. Why use the letters **u** and **v** when they look so similar, especially when written by hand? I don't know where it originated, but it's a ubiquitous notation in textbooks, and one I learned early and just got used to. Sorry!

For an integrand that can be written as **u·dv**, where the function **u** and the differential expression **dv** can be written as a product, the integral may be rewritten as

Solution: There are two ways we could break this integrand apart. You'll develop some intuition about it through practice, so hang in there. Here's the right one:

If you write out a little table like the one above, it will be easy to follow the integration-by-parts formula and just plug in the values of **u**, **v**, **du** and **dv**:

Now the integral is very simple, and the result can be simplified by factoring out the ex:

Now what if we'd chosen to make our substitution the other way, by letting u = ex, and so on? Here are the values:

This time the new integral expression looks like this:

The new integral is now more complicated than the original, a good indication that this substitution isn't the way to go.

This will happen sometimes, and it means you should go in a different direction. No harm done!

Solution: The way to break this integral down is as a product of** ln(x)** and the differential **dx**:

Plugging into the integration-by-parts formula gives the new integral

The integral part in this case is just the integral of the differential **dx**, which is **x**. The result is:

This could also be rewritten as **x[ln|x| - 1] + C**.

You might want to take the derivative of some of the solutions to these examples to prove to yourself that you get the original integrand back.

Solution: Here's the most likely substitution to work:

The new integral expression is

Now the new integral isn't something we can do in a straightforward way. In fact, it's a good candidate for integration by parts — so we'll do it again!

The second substitution is

Now our expression for the original integral is getting a little longer. It is

This time the remaining integral is easy to evaluate:

All that remains is to evaluate this result at the limits:

Be on the lookout for situations like this where you might need to use IBP twice, but also be aware that it can take you in useless circles sometimes, too.

Solution: Here's an example that requires two substitutions, yet goes a step farther than the last example. The first is:

The resulting integral expression is:

The second substitution is similar to the first

with the outcome that we get our original integral back. But ... its sign has changed, and we can make use of that

By adding the integral on the right to both sides (equivalent to moving it over to the right by addition),

we get an algebraic expression that allows us to solve for the original integral simply by dividing by two.

The final result is

That kind of situation comes up once in a while and it's worth noting. I hate to make statements like this, but if you're focusing on the AP calculus exam, don't worry about this situation; it won't come up. Still, it's a fun and interesting problem.

**xaktly.com** by Dr. Jeff Cruzan is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. © 2012, Jeff Cruzan. All text and images on this website not specifically attributed to another source were created by me and I reserve all rights as to their use. Any opinions expressed on this website are entirely mine, and do not necessarily reflect the views of any of my employers. Please feel free to send any questions or comments to jeff.cruzan@verizon.net.