In calculus, integration by parts is a technique of integration applicable to integrands consisting of a product that cannot be rewritten as one or more easily integrated terms — at least, not without difficulty. The technique is particularly useful in cases containing a product of algebraic and transcendental factors.
Given two differentiable functions ,
To use the technique, one identifies suitable functions and and then differentiates to get and integrates to get — ignoring the usual constant of integration term (" "), since it does not affect the final answer.
Note that the rule can also be written
for differentiable functions .
Derivation[]
According to the product rule for differentiation, given two differentiable functions ,
- (alternatively, ).
Therefore,
for suitably chosen antiderivatives. Simplifying the right-hand side of the equation,
On the left-hand side, the integral clearly "undoes" the differentiation (by the fundamental theorem of calculus), so
Because the two antiderivative terms can always be chosen to make , this can be simplified to:
Solving for , one obtains the final form of the rule:
Examples[]
Polynomial factor to a large power[]
A fairly simple example of integration by parts is the integral
Although the integrand only involves algebraic functions, it is a good candidate for the method because expansion of would be very tedious.
The key to the successful use of integration by parts is finding a usable value for . Doing so is something of an art and may require trial and error.
First consider a wrong way to do this integral by parts:
- Let and (since it is the term left over after is determined).
- Thus and .
Then
However, it would be difficult to integrate the second term of the right-hand side of the equation, so this approach will be abandoned.
Here is a better way to handle this case:
- Let and .
- Thus and .
Then
Here integration by parts works quite nicely. It can be easily confirmed by differentiation that the resulting antiderivative is correct.
Note that this integral may also be evaluated using the simpler integration by substitution technique.
Algebraic and transcendental factors[]
As another example where integration by parts is useful (and, in fact, necessary), consider the integral
Choosing fails, as in the previous (counter)example, since the resulting integral is more difficult than the original. Instead:
- Let and .
- Thus and .
Then
In this case, the second term in the final expression requires another application of integration by parts:
- Let and .
- Thus and .
Then
Substituting the last expression into the previous result:
Note that if the second integration by parts step had instead used and , this would have "undone" the first step and we would have ended up with an integrand very much like the one we started with:
Thus, the correct choice of and is particularly important when multiple applications of the technique are required. In general, if is chosen to be an algebraic function in the first step, it should be algebraic in all subsequent steps.
Choosing and []
Fortunately, there is a mnemonic for choosing and , which covers a large variety of integrands:
- ← L I A T E →
The letters stand for:
- Logarithmic function
- Inverse trigonometric function
- Algebraic function
- Trigonometric function
- Exponential function
This mnemonic only works when the integrand is the product of two different types of factors. The factor whose type of function appears higher in this list should generally be chosen as , the factor whose type appears lower as .
For example, in the integral
the choices should be , since this is a logarithmic function, and , since this is an algebraic one ("L" appears before "A" in the mnemonic). On the other hand, in the integral
the proper choices are (algebraic) and (exponential).
Note that the second example above also follows the rule suggested by this mnemonic.
If the mnemonic doesn't seem to work for a given integral it is possible that it may be a simpler form that can be evaluated using the substitution method, or perhaps rewritten into a simpler form using algebraic or trigonometric techniques (e.g., trigonometric identities).
A slightly different mnemonic that works almost as well — and has the added benefit of sounding more like an English word — is:
- ← L I P E T →
Here the "P" stands for Power, which includes polynomials and roots (fractional powers). The other letters are as above.
Notice that the last two letters are switched in this form; this is usually not an issue, since integrals involving a product of trigonometric and exponential factors can generally be done "either way" (with respect to the choice of and ) or not at all using this technique.