Integration by Parts
Substitution undoes the chain rule. Integration by parts undoes the product rule, and it handles many products that substitution can't, such as a polynomial times an exponential or a logarithm.
The formula
If and are differentiable functions of , the product rule says . Integrate both sides and solve for one of the two integrals.
The formula trades one integral for another. It pays off when can be integrated and is simpler than the integral you started with.
Choosing u
Choose to be a factor that gets simpler when you differentiate it, and let be the rest, included. A common guide ranks the choices for in the order LIATE: logarithms, inverse trigonometric functions, algebraic functions (powers of ), trigonometric functions, exponentials. Take from whichever type comes first. It's a guide only: the real test is whether is easier.
A logarithm or an inverse trigonometric function on its own has no second factor. Take , so .
Definite integrals and tables
Parts also works when the functions are known only through a table. The product is evaluated from the table, and the leftover integral is often given.
Repeated parts and the tabular method
With , one round of parts leaves an integral with in place of . A second round finishes it.
The tabular method organizes the same work. List and its derivatives in one column until a derivative is 0, and and its antiderivatives in the next. Multiply along each diagonal and attach the signs in turn. It finishes the integral only when the column reaches 0.
An integral that comes back
For an exponential times a sine or cosine, neither factor ever differentiates to 0, so the tabular method never stops. Integrate by parts twice, choosing the same kind of both times. The original integral returns, and you solve for it.
Substituting first
Sometimes a substitution turns the integral into one that parts can handle.