# Repeated use of integration by parts

## Contents

## In an equivalence of integration problems language

Integration by parts can be used multiple times, i.e., the new integration that we obtain from an application of integration by parts can again be subjected to integration by parts. However, we need to make sure that we avoid the circular trap.

The typical repeated application of integration by parts looks like:

In words, we keep differentiating the part obtained by differentiation and keep integrating the part obtained by integration. Note that after applications of the procedure, we would have a product of the derivative of and a antiderivative of .

## How the expressions actually look

### Case of integration by parts applied twice

Consider:

Suppose is a function whose second derivative is , so . Then, we have:

Simplify, we get:

Note once again the integrals are not equal. As we see here, the actual application of integration by parts will yield a number of other terms with alternating signs. What we are saying is that the original integration problem has been reduced to a new integration problem where one factor of the product has been repeatedly differentiated and the other factor has been repeatedly integrated.

### Case of integration by parts applied times

Consider:

Suppose is a function whose derivative is , so . Then, we have:

After repeated application, we finally get:

In particular, there are products *outside* the integral symbol, with a new one being added for every application of integration by parts.

Note that we need to do a total of integrations: integrate times to get , and then do the final integration in the expression on the right side.

## Examples

### Polynomial times trigonometric or exponential

When trying to integrate the product of a polynomial function of degree and a trigonometric or exponential function, we need to apply integration by parts times, taking the polynomial as the part to differentiate each time. The trigonometric or exponential piece ends up getting integrated a total of times.