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 rule.
-
•
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:
-
(a)
Find functions U and V′ such that U⋅V′=f(x). There are many possible choices.
-
(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,lnx.
-
(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,sinx,cosx. The functions x,x2,x3,lnx are bad choices.
-
(d)
Once the functions U and V′ are chosen, find U′=ddxU and V=∫V′𝑑x.
-
(e)
Plug in the formula.
-
(f)
Solve the new integral ∫U′⋅V𝑑x, which if the choices of U and V′ were good, should be easy.
-
(g)
If the new integral is hard, the choices of U and V′ might be wrong. So repeat the choice.
-
(a)
Again, the method is best explained through examples:
Example 0.1.
Find ∫xex𝑑x. This is a product of two functions and there is no composition visible, so we will be using integration by parts. We need two functions U and V′ such that U⋅V′=xex. 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′=xex). Therefore we apply the formula:
∫xex𝑑x=UV-∫U′V𝑑x=xex-∫1⋅ex𝑑x=xex-∫ex𝑑x=xex-ex+C. |
Example 0.2.
Find:
∫xcos(x)𝑑x. |
We choose U=x and V′=cos(x). Then U′=1 and V=∫V′𝑑x=sin(x). Apply the formula:
∫xcos(x)𝑑x=xsin(x)-∫sin(x)𝑑x=xsin(x)-(-cos(x))+C=xsin(x)+cos(x)+C. |
Example 0.3.
Find ∫lnxdx. Although this is not the product of two functions, lnx is a typical example of a function to be integrated by parts. Here is how, let U=lnx and V′=1 so that U′=1/x and V=x. Look what happens when we use the formula:
∫lnxdx=xlnx-∫1x⋅x𝑑x=xlnx-∫1𝑑x=xlnx-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 ∫x2sinxdx. We put U=x2 and V′=sinx, and so U′=2x and V=∫sinxdx=-cosx. Thus:
∫x2sinxdx=-x2cosx+∫2xcosxdx=-x2cosx+2∫xcosxdx |
and above, we have seen that in order to find ∫xcosxdx we use integration by parts. Therefore the final anwser is:
∫x2sinxdx=-x2cosx+2(xsinx+cosx)+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 ∫exsinxdx. Let I=∫exsinxdx. We start with integration by parts, taking
U=ex,V′=sinx,U′=ex,V=-cosx |
Thus:
I=-excosx+∫excosxdx |
Hmmm…the integral ∫excosxdx looks like the one we started with…we use integration by parts to solve this one. Take U=ex and V′=cosx so U′=ex and V=sinx. Thus:
∫excosxdx=exsinx-∫exsinxdx. |
Therefore:
I=-excosx+(exsinx-∫exsinxdx)=-excosx+exsinx-I |
Remember that we want to find I, so if we solve for I above, we obtain:
2I=-excosx+exsinx |
and so I=1/2(-excosx+exsinx)+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 |