# Circular trap with integration by parts

## Contents

## Circular trap

When using integration by parts a second time, make sure you don't choose as the *part to integrate* the thing you got by differentiating the *part to differentiate* from the original product. Otherwise, you get in a circular trap and don't get any new information. The most typical application of integration by parts a second time is if you choose to differentiate *again* the expression that you already obtained through differentiation the first time.

## Formal explanation of circular trap

### Explanation using function notation

Consider an integration of the form:

where is an antiderivative for . Then:

Suppose that, for the new integral, we choose as the part to differentiate and as the part to integrate. The expression then simplifies to:

Simplifying, we get:

In other words, *we ended up with the original expression, and obtained no new information in the process*. Another way of saying this is that we went in circles, i.e., went back along the path we came from, hence did not make any progress.

### Explanation using dependent-independent variable notation

Consider an integration of the form:

Using integration by parts, write this as:

Now, let's say that, for the right side integral, we pick our "new" to be and our "new" to be . Then, our "new" is the "old" and we get:

Simplifying, we get:

In other words, *we ended up with the original expression, and obtained no new information in the process*. Another way of saying this is that we went in circles, i.e., went back along the path we came from, hence did not make any progress.

## Using the circular trap to illustrate the intractability of certain problems

### Product of polynomial and trigonometric that integrates to something involving logarithms

Consider the integration problem:

If we use the ILATE precedence rule, then, we should take as the part to integrate and as the part to differentiate. Using the integration of the tan function to be , we get:

Now, we reconsider the ILATE precedence rule to integrate . The function comes closest to being a logarithmic function, hence ILATE would suggest that we rewrite it as times 1, picking 1 as the part to integrate. *However*, we immediately see that making this choice would fall into the circular trap.

Since there is no other reasonable choice to make, this problem is not tractable using integration by parts and the standard function integrations.

Note, however, that we *did* manage to establish an equivalence of integration problems:

### Product of inverse trigonometric or logarithmic function and rational function with integral that is inverse trigonometric or logarithmic

Consider an integral of the form:

ILATE suggests that we take (the inverse trigonometric function) as the part to differentiate and (the algebraic function) as the part to integrate. We get:

Now, ILATE suggests that for the integral on the right side, we take (the logarithmic function) as the part to differentiate) and as the part to integrate. *However*, we immediately see that making this choice would fall into the circular trap.

In fact, there is no other reasonable choice to make, so this integral cannot be done using the standard function integrations. Note, however, that we *did* manage to establish an equivalence of integration problems: