Integration by parts reverses the product rule of differentiation. When the integrand is a product of two functions, this method separates them into u and dv, then applies:
∫udv=uv−∫vdu
Choosing u (ILATE Rule)
When selecting which part of the integrand becomes u, follow the priority order in the acronym ILATE:
- Inverse trigonometric functions (e.g., sin−1x, tan−1x)
- Logarithmic functions (e.g., lnx)
- Algebraic functions (e.g., x2, x3)
- Trigonometric functions (e.g., sinx, cosx)
- Exponential functions (e.g., ex, 3x)
The function higher in this list usually becomes u.
Worked Example 4
Find ∫xsinxdx.
Solution
Using ILATE, let u=x (algebraic) and dv=sinxdx (trigonometric).
- u=x, so du=dx
- dv=sinxdx, so v=−cosx
Applying the formula:
∫xsinxdx=uv−∫vdu=x(−cosx)−∫(−cosx)(1)dx=−xcosx+∫cosxdx
=−xcosx+sinx+c
Worked Example 5
Find ∫x2lnxdx.
Solution
Using ILATE, let u=lnx (logarithmic) and dv=x2dx (algebraic).
- u=lnx, so du=x1dx
- dv=x2dx, so v=3x3
Applying the formula:
∫x2lnxdx=3x3lnx−∫3x3⋅x1dx=3x3lnx−31∫x2dx
=3x3lnx−9x3+c
Worked Example 6
Find ∫excosxdx.
Solution
Here either function can be u. Let u=ex and dv=cosxdx.
- u=ex, so du=exdx
- dv=cosxdx, so v=sinx
First application:
∫excosxdx=exsinx−∫exsinxdx
Now integrate ∫exsinxdx similarly:
Let u=ex and dv=sinxdx:
- du=exdx, v=−cosx
∫exsinxdx=−excosx+∫excosxdx
Substitute back:
∫excosxdx=exsinx−[−excosx+∫excosxdx]
∫excosxdx=exsinx+excosx−∫excosxdx
2∫excosxdx=ex(sinx+cosx)
∫excosxdx=21ex(sinx+cosx)+c