a lecture on integration by parts


The Method of Integration by Parts

This method is used to find indefinite integrals that look like the result of a product ruleMathworldPlanetmath.

  • •

    When to use it: Use this method when the integrand is a product of two functions (and when the method of substitution clearly does not work).

  • •

    How to use it: The method is based in the following formula:

    ∫U⋅V′⁢𝑑x=U⋅V-∫U′⋅V⁢𝑑x

    Suppose we want to solve ∫f⁢(x)⁢𝑑x:

    1. (a)

      Find functions U and V′ such that U⋅V′=f⁢(x). There are many possible choices.

    2. (b)

      U should be a function easy to derive and such that the derivative of U is easier, less complicated than U itself. For example good choices for U are U=x,x2,x3,ex,ln⁡x.

    3. (c)

      V′ should be a function which is easy to integrate, such that we can find ∫V′⁢𝑑x easily and the integral is less complicated than V′ itself. Good choices for V′ are V′=ex,sin⁡x,cos⁡x. The functions x,x2,x3,ln⁡x are bad choices.

    4. (d)

      Once the functions U and V′ are chosen, find U′=dd⁢x⁢U and V=∫V′⁢𝑑x.

    5. (e)

      Plug in the formula.

    6. (f)

      Solve the new integral ∫U′⋅V⁢𝑑x, which if the choices of U and V′ were good, should be easy.

    7. (g)

      If the new integral is hard, the choices of U and V′ might be wrong. So repeat the choice.

Again, the method is best explained through examples:

Example 0.1.

Find ∫x⁢ex⁢𝑑x. This is a product of two functions and there is no compositionMathworldPlanetmath visible, so we will be using integration by parts. We need two functions U and V′ such that U⋅V′=x⁢ex. A good choice for U is x because U′=(x)′=1 and the derivative is simpler than x itself. A good choice for V′=ex because it is easy to integrate, ∫ex⁢𝑑x=ex (and U⋅V′=x⁢ex). Therefore we apply the formula:

∫x⁢ex⁢𝑑x=U⁢V-∫U′⁢V⁢𝑑x=x⁢ex-∫1⋅ex⁢𝑑x=x⁢ex-∫ex⁢𝑑x=x⁢ex-ex+C.
Example 0.2.

Find:

∫x⁢cos⁡(x)⁢𝑑x.

We choose U=x and V′=cos⁡(x). Then U′=1 and V=∫V′⁢𝑑x=sin⁡(x). Apply the formula:

∫x⁢cos⁡(x)⁢𝑑x=x⁢sin⁡(x)-∫sin⁡(x)⁢𝑑x=x⁢sin⁡(x)-(-cos⁡(x))+C=x⁢sin⁡(x)+cos⁡(x)+C.
Example 0.3.

Find ∫ln⁡x⁢d⁢x. Although this is not the product of two functions, ln⁡x is a typical example of a function to be integrated by parts. Here is how, let U=ln⁡x and V′=1 so that U′=1/x and V=x. Look what happens when we use the formula:

∫ln⁡x⁢d⁢x=x⁢ln⁡x-∫1x⋅x⁢𝑑x=x⁢ln⁡x-∫1⁢𝑑x=x⁢ln⁡x-x+C.
Example 0.4.

In some cases we have to use the method of integration by parts twice to get an answer. For example find ∫x2⁢sin⁡x⁢d⁢x. We put U=x2 and V′=sin⁡x, and so U′=2⁢x and V=∫sin⁡x⁢d⁢x=-cos⁡x. Thus:

∫x2⁢sin⁡x⁢d⁢x=-x2⁢cos⁡x+∫2⁢x⁢cos⁡x⁢d⁢x=-x2⁢cos⁡x+2⁢∫x⁢cos⁡x⁢d⁢x

and above, we have seen that in order to find ∫x⁢cos⁡x⁢d⁢x we use integration by parts. Therefore the final anwser is:

∫x2⁢sin⁡x⁢d⁢x=-x2⁢cos⁡x+2⁢(x⁢sin⁡x+cos⁡x)+C.
Example 0.5.

Finally, in some other cases, after we do integration by parts twice, we get to the same integral we wanted to solve. Although it would seem we are stuck, no no! we will be able to find a solution right away.

Find ∫ex⁢sin⁡x⁢d⁢x. Let I=∫ex⁢sin⁡x⁢d⁢x. We start with integration by parts, taking

U=ex,V′=sin⁡x,U′=ex,V=-cos⁡x

Thus:

I=-ex⁢cos⁡x+∫ex⁢cos⁡x⁢d⁢x

Hmmm…the integral ∫ex⁢cos⁡x⁢d⁢x looks like the one we started with…we use integration by parts to solve this one. Take U=ex and V′=cos⁡x so U′=ex and V=sin⁡x. Thus:

∫ex⁢cos⁡x⁢d⁢x=ex⁢sin⁡x-∫ex⁢sin⁡x⁢d⁢x.

Therefore:

I=-ex⁢cos⁡x+(ex⁢sin⁡x-∫ex⁢sin⁡x⁢d⁢x)=-ex⁢cos⁡x+ex⁢sin⁡x-I

Remember that we want to find I, so if we solve for I above, we obtain:

2⁢I=-ex⁢cos⁡x+ex⁢sin⁡x

and so I=1/2⁢(-ex⁢cos⁡x+ex⁢sin⁡x)+C.

Title a lecture on integration by parts
Canonical name ALectureOnIntegrationByParts
Date of creation 2013-03-22 15:38:33
Last modified on 2013-03-22 15:38:33
Owner alozano (2414)
Last modified by alozano (2414)
Numerical id 6
Author alozano (2414)
Entry type Feature
Classification msc 26A36
Related topic ALectureOnIntegrationBySubstitution
Related topic ALectureOnTrigonometricIntegralsAndTrigonometricSubstitution
Related topic ALectureOnThePartialFractionDecompositionMethod
Related topic ExampleOfIntegrationByPartsInvolvingAlgebraicManipulation