Integration by Parts

Integration by Parts (IBP)
There is no "Product Rule for integrals" like there is for derivatives. When trying to integrate the product of two functions, we can use the technique of Integration By Parts.
When to use IBP
We can use IBP when integrating a product of two different function types.
- ∫01xe5x dx
- ∫x2sinx dx
- ∫e3xcos(5x)dx
- ∫lnx dx
Procedure for IBP
- Identify the two different function types
- Let one part be uand the other be dv.
- L - Logarithmic Functions
- I - Inverse Functions
- A- Algebraic Functions
- T- Trig Functions
- E - Exponential Functions
- Differentiate u→duand integrate dv→v
- Rewrite the integral using the formula ∫u⋅dv=u⋅v−∫v⋅du

Example: (Repeated) Integration By Parts
Compute the following indefinite integral
∫x2sinx dx
1. Identify the 2 function types
There is an algebra x2 and a trig sinx.
2. Pick u and dv
Let u=x2 and dv=sinx dx.
3. Differentiate and integrate
du=2x dx and v=−cos(x)
4. Rewriting using the formula:
∫x2sin(x) dx
=x2(−cosx)−∫−cosx(2x)dx
=−x2cosx+2∫x⋅cosx dx
The integral looks a little simpler than before, but we still have a product of two different function types. So we need to use I by P again:
1. algebra: x and trig: cosx
2. Let u=x and dv=cosx dx
3. Then du=dx and v=sinx
4. The new integral becomes
=−x2cosx+2[xsinx−∫sinx dx]
=−x2cosx+2xsinx+2cosx+C

Example: Integration By Parts
Evaluate the following indefinite integral
∫ln(2x) dx
1. ln/log: ln(2x) and algebra: 1 (*tricky)
2. Let u=ln(2x) and dv=1 dx
3. Then
du=2x1(21)dx=x1dx and v=x
4. The new integral becomes:
=ln(2x)x−∫x(x1)dx
=xln(2x)−∫1 dx
=xln(2x)−x+C

Example: (Repeated) Integration By Parts
Evaluate the following indefinite integral
∫e3xcos5x dx
1. Exponential: e3x and Trig: cos5x
2. Let u=cos5x and dv=e3x dx
3. Then du=−5sin5x dx and v=3e3x
4. The new integral becomes:
=3cos5x e3x−∫(3e3x)(−5sin5x dx)
=3e3xcos5x+35∫e3xsin5x dx
Notice that the integral has a product of two different function types, so we use I by P again:
1. Exponential: e3x and Trig: sin5x
2. Let u=sin5x and dv=e3x dx
3. Then du=5cos5x dx and v=3e3x
4. The new integral becomes:
=3e3xcos5x+35[sin5x(3e3x)−∫(3e3x)(5cos5x dx)]
=3e3xcos5x+95e3xsin5x−925∫e3xcos5x dx
The new integral looks like the original question.
Notice that this seems to repeat over and over again.
The trick here is to let I=∫e3xcos5x dx (original integral).
We can rewrite:
I=3e3xcos5x+95e3xsin5x−925I
I+925I=3e3xcos5x+95e3xsin5x
934I=3e3xcos5x+95e3xsin5x
I=349(3e3xcos5x+95e3xsin5x)
or I=343e3xcos5x+5e3xsin5x
Therefore, ∫e3xcos5x dx=343e3xcos5x+5e3xsin5x+C
Practice: Integration By Parts
Evaluate the following indefinite integral
∫sec3x dx