Integration by Parts: Running the Product Rule Backwards
When an integrand is a product of two different kinds of function, trade the integral you cannot do for one you can.
Some products resist substitution
Substitution handles integrals where one factor is (almost) the derivative of the other. But what about ∫ x ex dx? Here x and ex are unrelated — neither is the derivative of the other — and substitution stalls. We need a different lever.
That lever is the product rule, run backwards. Differentiating a product spreads a derivative across two factors; integrating by parts lets us move that derivative from the factor we cannot integrate to the one we can.
From product rule to by-parts
Start with the product rule for two functions u and v: (uv)′ = u′v + uv′. Integrate both sides. The left side integrates back to uv. Rearranging to isolate one of the two integrals on the right gives the by-parts formula.
- By LIATE the algebraic factor x comes before the exponential, so let \( u=x \) and \( dv=e^{x}\,dx \).
- Then \( du=dx \) and \( v=e^{x} \).
- Apply the formula: \( \int x e^{x}\,dx = x e^{x}-\int e^{x}\,dx \).
- The new integral is trivial: \( \int e^{x}\,dx=e^{x} \).
- There seems to be only one factor, but write it as \( \ln x \cdot 1 \) and take \( u=\ln x,\ dv=dx \).
- Then \( du=\tfrac{1}{x}\,dx \) and \( v=x \).
- By parts: \( \int \ln x\,dx = x\ln x-\int x\cdot\tfrac{1}{x}\,dx = x\ln x-\int 1\,dx \).
Definite integrals by parts
For a definite integral you evaluate the uv term at both limits and subtract, then integrate what remains. The boundary term carries the limits just like any other evaluated antiderivative.
Check your understanding
- Integration by parts is the product rule integrated: ∫u dv = uv − ∫v du.
- Split the integrand into u (to differentiate) and dv (to integrate); a good split makes ∫v du simpler.
- LIATE (Log, Inverse-trig, Algebraic, Trig, Exponential) is a reliable guide for choosing u.
- ∫x eˣ dx = eˣ(x − 1) + C and ∫ln x dx = x ln x − x + C are the canonical worked examples.
- For definite integrals, evaluate the [uv] boundary term across the limits, then subtract ∫v du.