132 4. METHODS OF INTEGRATION I
Example 4.27 Compute
Z
x cos.x/ dx:
Solution:
Choose U D x and dV D cos.x/ dx.
en dU D dx and V D
Z
cos.x/ dx D sin.x/.
When doing integration by parts we add the CC as the last step of the integration pro-
cess.
Now that we have the parts and their derivatives, we apply the integration by parts for-
mula.
Z
U dV D U V
Z
V dU
Z
x cos.x/ dx D x sin.x/
Z
sin.x/ dx
D x sin.x/ .cos.x// CC
D x sin.x/ Ccos.x/ CC
Let’s check this result by taking the derivative:
.
x sin.x/ Ccos.x/ CC
/
0
D sin.x/ C x cos.x/ sin.x/ D x cos.x/
So the method worked.
˙
ere is a substantial strategic component to choosing the parts U and dV when doing
integration by parts. You take the derivative of U , and you must integrate dV , and when you’re
done it would be lovely if the result could be integrated without too much difficulty. In general
you choose U so that differentiation will make a problem go away.
Let’s do another simple example.