Integrating using integration by parts
Choose and apply integration by parts to products, including repeated and cyclic cases.
It opens on
Could differentiating x sin x help evaluate ∫x cos x dx?
Why it matters
Reversing the product rule evaluates products that a straightforward substitution does not simplify.
Good to know first
- Integrating using substitution (let u be the inner function, so ∫f(g(x))g′(x) dx = ∫f(u) du)
- the product rule and the quotient rule ((uv)′ = u′v + uv′)
Step by step
Reverse the product rule
Choose u and dv, apply the formula, and retain bounds when present.
In the u–dv box for the integral ∫x cos x dx: u=x, du=dx; dv=cos x dx, v=sin x.
A common mix-up
Any choice of u works equally well.
In fact: For ∫xeˣdx, u=x leaves ∫eˣdx; u=eˣ leaves harder ∫x²eˣ/2 dx.
Solve a returning integral
Apply parts twice and solve algebraically when the original integral returns.
Let I=∫eˣsin x dx be the returning integral; first parts line: u=sin x, du=cos x dx; dv=eˣdx, v=eˣ.
A common mix-up
The remaining integral is added.
In fact: The product rule rearranges with a minus; differentiating a plus-sign answer fails.
Organize repeated parts
Use a parts table when differentiating a polynomial eventually gives zero.
∫x²cos x dx: derivatives x², 2x, 2, 0; successive integrals sin x, −cos x, −sin x.
A common mix-up
Every diagonal has a plus sign.
In fact: Each new application of parts subtracts, producing alternating signs.
Try it
Evaluate ∫ln x dx for x>0.Answer
x ln x−x+C
Hint: Use u=ln x, dv=dx, and (ln x)′=1/x
Evaluate ∫e⁻ˣsin x dx.Answer
−e⁻ˣ(sin x+cos x)/2+C
Hint: Name the original integral I before applying parts twice
Use a table to evaluate ∫x²sin x dx.Answer
−x²cos x+2xsin x+2cos x+C
Hint: Successive integrals of sin x are −cos x, −sin x, cos x
What extra term appears in d/dx(x sin x)?Answer
Sin x.
Substitute K and isolate I.Answer
I=eˣsin x−eˣcos x−I; I=eˣ(sin x−cos x)/2+C.
