Topic 6: Integration by Parts
Justification of Integration by Substitution
- Deals with integrals of the form: ∫f(g(x))⋅g′(x)dx, where we know how to integrate f.
- Let ∫f(x)dx=F(x), which means F′(x)=f(x).
- Consider dxd[F(g(x))]. Using the chain rule, this is F′(g(x))⋅g′(x).
- Since F′(x)=f(x), we have f(g(x))⋅g′(x).
- Therefore, ∫f(g(x))⋅g′(x)dx=F(g(x))+C.
- It revolves around the chain rule.
- You're integrating the outer function to get capital F and we do that with respect to U.
- The last step is to substitute back in for u to get it in terms of x.
Integration by Parts
- Integration by parts is like doing the product rule in reverse.
- Product Rule: dxd(uv)=u⋅v′+v⋅u′
- Integrate both sides: ∫dxd(uv)dx=∫(u⋅v′+v⋅u′)dx
- Which simplifies to: uv=∫udxdvdx+∫vdxdudx
- Rearranging to get the integration by parts formula:
∫udxdvdx=uv−∫vdxdudx
Example 4A: Integral of x⋅ex
- Integral: ∫x⋅exdx
- Identify u and dxdv: Let u=x and dxdv=ex.
- Find dxdu and v: dxdu=1 and v=ex.
- Apply the integration by parts formula: ∫udxdvdx=uv−∫vdxdudx
- Substitute: ∫x⋅exdx=x⋅ex−∫ex⋅1dx
- Evaluate the remaining integral: x⋅ex−ex+C.
Alternative (Incorrect) Approach
- Let u=ex and dxdv=x.
- Then, dxdu=ex and v=2x2.
- Applying integration by parts: ∫x⋅exdx=ex⋅2x2−∫2x2⋅exdx
- The new integral, ∫2x2⋅exdx, is more complex than the original.
Choosing u and dxdv
- Prioritize choosing u in the following order:
- Logarithms
- Power of x
- Exponential Functions
- Trigonometric Functions
- The goal is to choose u such that dxdu is simpler than u.
- In the example, choosing u=x works well because dxdu=1 (simpler).
- Choosing u=ex doesn't simplify the integral because dxdu=ex.
Example 4B: Integral of x2⋅e−2x
- Integral: ∫x2⋅e−2xdx
- Let u=x2 and dxdv=e−2x.
- Then, dxdu=2x and v=−21e−2x.
- Apply integration by parts: ∫x2⋅e−2xdx=x2⋅(−21e−2x)−∫(−21e−2x)⋅2xdx
- Simplify: −21x2e−2x+∫x⋅e−2xdx
- Apply integration by parts again to the integral ∫x⋅e−2xdx:
- Let u=x and dxdv=e−2x.
- Then, dxdu=1 and v=−21e−2x.
- ∫x⋅e−2xdx=x⋅(−21e−2x)−∫(−21e−2x)⋅1dx
- ∫x⋅e−2xdx=−21xe−2x+21∫e−2xdx
- ∫x⋅e−2xdx=−21xe−2x−41e−2x+C
- Substitute back into the original equation:
- ∫x2⋅e−2xdx=−21x2e−2x−21xe−2x−41e−2x+C
Example 4C: Integral of ln(x)
- Integral: ∫ln(x)dx
- Rewrite as a product: ∫ln(x)⋅1dx
- Let u=ln(x) and dxdv=1.
- Then, dxdu=x1 and v=x.
- Apply integration by parts: ∫ln(x)⋅1dx=x⋅ln(x)−∫x⋅x1dx
- Simplify: x⋅ln(x)−∫1dx
- x⋅ln(x)−x+C
Example 4D: Integral of ex⋅sin(x)
- Integral: ∫ex⋅sin(x)dx
- Let u=ex and dxdv=sin(x).
- Then, dxdu=ex and v=−cos(x).
- Apply integration by parts: ∫ex⋅sin(x)dx=ex⋅(−cos(x))−∫(−cos(x))⋅exdx
- Simplify: −ex⋅cos(x)+∫ex⋅cos(x)dx
- Apply integration by parts again to the integral ∫ex⋅cos(x)dx:
- Let u=ex and dxdv=cos(x).
- Then, dxdu=ex and v=sin(x).
- ∫ex⋅cos(x)dx=ex⋅sin(x)−∫sin(x)⋅exdx
- Substitute back into the original equation:
- ∫ex⋅sin(x)dx=−ex⋅cos(x)+ex⋅sin(x)−∫sin(x)⋅exdx
- Rearrange the equation:
- 2∫ex⋅sin(x)dx=−ex⋅cos(x)+ex⋅sin(x)
- Divide by 2:
- ∫ex⋅sin(x)dx=21ex(sin(x)−cos(x))+C