How to integrate by parts

Integration by parts is a technique that transforms the integral of a product of functions into a simpler integral using the formula udv=uvvdu\int u \, dv = uv - \int v \, du.

It applies primarily when the integrand is a product of algebraic and transcendental functions, or when standard uu-substitution fails.

The setup

Identify the integrand as a product of two factors, uu and dvdv. Choose uu such that its derivative dudu is simpler or of lower degree, and choose dvdv such that its antiderivative vv is easily computable. The LIATE rule (Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, Exponential) is a standard hierarchy for prioritizing the choice of uu.

The steps

  1. Assign uu and dvdv from the given integrand.
  2. Differentiate uu to find dudu.
  3. Integrate dvdv to find vv. Do not add a constant of integration here.
  4. Substitute uu, vv, dudu, and dvdv into the formula udv=uvvdu\int u \, dv = uv - \int v \, du.
  5. Evaluate the new integral vdu\int v \, du.
  6. Add the constant of integration CC for indefinite integrals.

Checking the result

Differentiate the final answer with respect to the variable of integration. By applying the product rule to the uvuv term, the result must simplify algebraically to exactly match the original integrand.

Common errors

  • Forgetting the negative sign in the integration by parts formula.
  • Dropping the constant of integration CC at the final step.
  • Choosing a dvdv factor that lacks a known or simple antiderivative.
  • Creating an infinite loop by swapping the types of functions assigned to uu and dvdv during a second application of parts.

Worked example

Evaluate xexdx\int x e^x \, dx.

Let u=xu = x and dv=exdxdv = e^x \, dx. Compute the differentials and integrals: du=dxdu = dx v=exv = e^x Apply the formula: udv=uvvdu\int u \, dv = uv - \int v \, du xexdx=xexexdx\int x e^x \, dx = x e^x - \int e^x \, dx Evaluate the remaining integral: =xexex+C= x e^x - e^x + C

FAQ

Run your own problem

References: Stewart Calculus, 8th Edition, Chapter 7.1 · OpenStax Calculus Volume 2, Chapter 3.1 · Thomas' Calculus, 14th Edition, Chapter 8.2

See also