# Using the Product Rule to Integrate the Product of Two Functions

The Product Rule enables you to integrate the product of two functions. For example, through a series of mathematical somersaults, you can turn the following equation into a formula that’s useful for integrating.

This derivation doesn’t have any truly difficult steps, but the notation along the way is mind-deadening, so don’t worry if you have trouble following it. Knowing how to derive the formula for integration by parts is less important than knowing when and how to use it.

The first step is simple: Just rearrange the two products on the right side of the equation:

Next, rearrange the terms of the equation:

Now integrate both sides of this equation:

Use the Sum Rule to split the integral on the right in two:

The first of the two integrals on the right undoes the differentiation:

This is the formula for integration by parts. But because it’s so hairy looking, the following substitution is used to simplify it:

Here’s the friendlier version of the same formula, which you should memorize: