PlanetMath (more info)
 Math for the people, by the people.
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: Medium Entry average rating: High
[parent] a lecture on integration by parts (Feature)

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:
    $\displaystyle \int U\cdot V' \ dx = U \cdot V - \int U' \cdot V \ dx $
    Suppose we want to solve $ \int f(x) \ dx$:
    1. Find functions $ U$ and $ V'$ such that $ U\cdot V' = f(x)$. There are many possible choices.
    2. $ 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, x^2, x^3, e^x,\ln x$.
    3. $ V'$ should be a function which is easy to integrate, such that we can find $ \int V' dx$ easily and the integral is less complicated than $ V'$ itself. Good choices for $ V'$ are $ V'=e^x, \sin x, \cos x$. The functions $ x, x^2, x^3 , \ln x$ are bad choices.
    4. Once the functions $ U$ and $ V'$ are chosen, find $ U' =\frac{d}{dx}U$ and $ V=\int V' \ dx$.
    5. Plug in the formula.
    6. Solve the new integral $ \int U' \cdot V \ dx$, which if the choices of $ U$ and $ V'$ were good, should be easy.
    7. 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 $ \int xe^x \ dx$. 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\cdot V' = xe^x$. A good choice for $ U$ is $ x$ because $ U'=(x)'=1$ and the derivative is simpler than $ x$ itself. A good choice for $ V'=e^x$ because it is easy to integrate, $ \int e^x \ dx = e^x $ (and $ U \cdot V'=xe^x$). Therefore we apply the formula:
$\displaystyle \int xe^x \ dx = UV-\int U'V \ dx= xe^x-\int 1\cdot e^x \ dx = xe^x -\int e^x \ dx = xe^x - e^x + C.$
Example 0.2   Find:
$\displaystyle \int x\cos (x) \ dx .$
We choose $ U=x$ and $ V'=\cos(x)$. Then $ U'=1$ and $ V=\int V' \ dx= \sin(x)$. Apply the formula:
$\displaystyle \int x\cos(x) \ dx = x \sin (x) - \int \sin (x) \ dx= x\sin(x) - (-\cos (x)) +C = x\sin (x) + \cos (x) + C.$
Example 0.3   Find $ \int \ln x \ dx$. 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:
$\displaystyle \int \ln x \ dx = x\ln x - \int \frac{1}{x}\cdot x \ dx = x\ln x - \int 1 \ dx = 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 $ \int x^2 \sin x \ dx$. We put $ U=x^2$ and $ V'=\sin x$, and so $ U'=2x$ and $ V=\int \sin x \ dx=-\cos x$. Thus:
$\displaystyle \int x^2 \sin x \ dx = -x^2 \cos x +\int 2x \cos x \ dx = -x^2 \cos x + 2\int x \cos x \ dx$
and above, we have seen that in order to find $ \int x \cos x \ dx$ we use integration by parts. Therefore the final anwser is:
$\displaystyle \int x^2 \sin x \ dx = -x^2 \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 $ \int e^x \sin x \ dx$. Let $ I=\int e^x \sin x \ dx$. We start with integration by parts, taking

$\displaystyle U=e^x, V'=\sin x, U'=e^x, V=-\cos x$
Thus:
$\displaystyle I=-e^x\cos x + \int e^x \cos x \ dx $
Hmmm...the integral $ \int e^x \cos x \ dx$ looks like the one we started with...we use integration by parts to solve this one. Take $ U=e^x$ and $ V'=\cos x $ so $ U'=e^x$ and $ V=\sin x$. Thus:
$\displaystyle \int e^x \cos x \ dx = e^x \sin x - \int e^x \sin x \ dx. $
Therefore:
$\displaystyle I=-e^x \cos x + ( e^x \sin x - \int e^x \sin x \ dx )= -e^x \cos x + e^x \sin x - I$
Remember that we want to find $ I$, so if we solve for $ I$ above, we obtain:
$\displaystyle 2I=-e^x \cos x + e^x \sin x$
and so $ I=1/2 ( -e^x \cos x + e^x \sin x) + C$.



"a lecture on integration by parts" is owned by alozano.
(view preamble)

View style:

See Also: a lecture on integration by substitution, A lecture on trigonometric integrals and trigonometric substitution, a lecture on the partial fraction decomposition method, example of integration by parts involving algebraic manipulation


This object's parent.

Attachments:
a special case of partial integration (Feature) by pahio
Log in to rate this entry.
(view current ratings)

Cross-references: right, solution, order, integration by parts, composition, integral, derivative, functions, product, product rule, indefinite integrals
There is 1 reference to this entry.

This is version 3 of a lecture on integration by parts, born on 2006-01-26, modified 2007-12-07.
Object id is 7574, canonical name is ALectureOnIntegrationByParts.
Accessed 3337 times total.

Classification:
AMS MSC26A36 (Real functions :: Functions of one variable :: Antidifferentiation)

Pending Errata and Addenda
None.
[ View all 3 ]
Discussion
Style: Expand: Order:
forum policy
Integration by parts and by substitution by perucho on 2006-01-28 14:31:27
Complementing the interesting entries owned by Alozano, I must say that the substitution u=tan(x/2)is important in the integration of tigonometrical rational forms, for example, $\int\frac{1}{a+\cos{x}}dx$.
Sometimes is a good idea passing to z-plane. For instance, the integrals $\int e^{ax}\cos{bx}dx$ and
$\int_0^t(\alphat+v_0)\sin[\frac{\beta}{\alpha}\ln{\frac{\alpha}{v_0}t+1}]dt$ (notation's abuse is irrelevant here).
The former one is classic, but the latter arose from a nice problem of kinematics of a particle. It is easy to show that the last integral can be transformed into the inmediate integral
$\frac{1}{v_0^{\imath\frac{\beta}{\alpha}}}\int_0^t(\alphat+v_0)^{\imath\frac{\beta}{\alpha}+1}dt$.
(I used the formulas e^{\imathu}=\cosu+\imath\sinu (Euler) and
A^{\imathB}=\cos{B\ln{A}}+\imath\sin{B\ln{A}} to separate the real and imaginary parts).
On the order hand, integration by parts is often a suitable method in integrals of trigonometrical functions like, for example, $\int\sec^3{x}dx$, which is classic too.
Well,I think that some examples exposed by Alvaro are quite casuals but the idea is to justify the methods.
perucho
[ reply | up ]

Interact
post | correct | update request | add example | add (any)