Hi again everyone! Here is the next integration technique for you to add to your toolbox.

Lesson 4: Integration by Parts

#### Learning goals:

- Recognize when to use integration by parts.
- Use integration by parts to evaluate definite and indefinite integrals.

**Topic**:

- Volume 2, Section 3.1
*Integration by Parts*(link to textbook section)

**WeBWorK**:

- Integration – Integration by Parts

**Motivating question**

How can we integrate a function that is a product?

#### Warmup exercise 1

Differentiate the function:

#### Answer 1

We see that the function is a product, so we’ll differentiate it using the product rule: .

Again, we can rewrite this relationship for derivatives in the warmup exercise in terms of integrals:

While it might not be obvious yet why we would want to do this, we can also rearrange this equation to see another relationship:

What this means is that if you know how to integrate , then you can use that to evaluate the integral of . It might not be clear at this point, but integrating is actually easier! We’ll come back to this example later in the lesson.

## Integration by parts

We saw in Lesson 3 (link here) that integration by substitution was the partner of the chain rule for derivatives. By the warmup exercise above, you may have guessed that today’s topic is the partner of the product rule for derivatives. This technique is called *integration by parts*.

To understand the formula, we’ll once again start with the differentiation rule, which we’ll write in a convenient way:

Integrating both sides with respect to gives us:

Notice that in this equation, two integrals appear together on the right hand side. Typically, we’ll want to use a rearranged version of this equation so that we can use it to evaluate one integral in terms of another:

This formula is often written as in the following theorem:

**Integration by parts: **Let and be two continuous functions with continuous derivatives. Then , and

Using the integration by parts formula takes some getting used to. When we’re given an integral to evaluate, we need to determine which factor should be and which factor should be . The goal is to choose a and a so that you can find and and so that you can evaluate the integral .

#### Examples: evaluating indefinite integrals using integration by parts

**Video 1 **below gives some more tips and walks you through a handful of examples.

Videos 2 to 5 walk you through more examples illustrating integration by parts.

**Video **6 below shows how to use the integration by parts formula to evaluate .

#### Exercise 2

Use integration by parts to evaluate .

#### Answer 2

This integral should look familiar from the warmup exercise, so we already have an idea of what the answer will look like, but we’ll pretend we don’t and see what integration by parts gives us.

The integrand has two factors, along with the factor. We need to determine what is and what is. We’ll know that we made a good choice if we can find , , and if we can integrate . Let’s try setting and . With this choice, we differentiate to get and integrate to get .

Plugging , , , and into the integration by parts formula gives us

So this choice of and is a good one only if we’re able to evaluate …but this is exactly the example shown in **Video **6 above…using integration by parts! In the video, we saw that .

Putting this together, we see that integrating by parts twice gives us:

There are some examples where it looks like applying integration by parts twice will help you evaluate the integral, as it did in Exercise 2 above, only to find yourself going in circles and still having to evaluate the integral you started with. This is no problem, though, because if the integral appears on both sides of the equation (as long as it’s not with the same coefficient on both sides) you can solve for it. **Video 7** below shows an example like this.

#### Examples: evaluating definite integrals using integration by parts

As usual, if you know how to evaluate an indefinite integral, that means you can evaluate a corresponding definite integral using the Fundamental Theorem of Calculus part 2 (FTC 2). **Video 8** below shows how you must handle the upper and lower limits of integration.

## Summary and tips

You’re starting to fill up your integration technique toolbox. In Lesson 1 (link here), you learned about integrating directly. Direct integration isn’t always possible, so in these cases you’ll need to look in your toolbox for an appropriate technique for the problem. Often, more than one integration technique will work (though one technique might be easier than another). We started with one of the simplest techniques—integration by substitution—in Lesson 3 (link here). If direct integration or integration by substitution don’t work, then you can try integration by parts as you saw today. We’ll be adding more techniques to your toolbox in the upcoming lessons.

Learning to use the individual integration techniques in your toolbox takes practice. Choosing which technique is appropriate for a given question *also* takes practice. As you go through these lessons, check the Final Exam Review Sheet (link here) to see which integrals you’re able to evaluate using the techniques you’ve learned so far.

#### Exit Ticket

Evaluate: