Mathematics.

integral calculus

Integration by Parts

Calculus II30 minDifficulty5 out of 10

You should know: integral, product rule

Overview

Integration by parts is the integral counterpart of the product rule, used to integrate a product of two functions when no simpler technique applies. It transforms an integral into a (hopefully simpler) different integral, by shifting the derivative from one factor onto the other.

Intuition

The product rule says (uv)' = u'v + uv'. Integrating both sides recovers uv on the left, so ∫u'v dx + ∫uv' dx = uv. Rearranged, this lets you trade the integral of uv' for the (hopefully easier) integral of u'v — you're essentially moving the derivative from one factor to the other in exchange for a sign-free swap.

Interactive Graph

Area under x*sin(x)

Loading visualization…

Formal Definition

Definition

Derived directly from the product rule, integration by parts states:

udv=uvvdu\int u\,dv = uv - \int v\,du

Choose u and dv from the integrand so that ∫v du is easier than the original integral

Integration by Parts

Derivation

Starting from the product rule and integrating both sides:

ddx[u(x)v(x)]=u(x)v(x)+u(x)v(x)\frac{d}{dx}[u(x)v(x)] = u'(x)v(x) + u(x)v'(x)

Product rule

ddx[uv]dx=uvdx+uvdx\int \frac{d}{dx}[uv]\,dx = \int u'v\,dx + \int uv'\,dx

Integrate both sides with respect to x

uv=vdu+udvu v = \int v\,du + \int u\,dv

The left side integrates to uv; rewrite u'dx as du and v'dx as dv

udv=uvvdu\int u\,dv = uv - \int v\,du

Solve for the desired integral

Applications

Computing moments of inertia and center of mass for non-uniform density distributions often requires integrating products like x·f(x), resolved via integration by parts.

Worked Examples

  1. Choose u=x (gets simpler when differentiated), dv=e^x dx. Then du=dx, v=e^x.

    u=x, dv=exdx    du=dx, v=exu=x,\ dv=e^x\,dx \implies du=dx,\ v=e^x
  2. Apply the integration by parts formula.

    xexdx=xexexdx\int x e^x\,dx = xe^x - \int e^x\,dx
  3. Evaluate the remaining integral and add the constant.

    =xexex+C= xe^x - e^x + C

Answer: xe^x - e^x + C

Practice Problems

Difficulty 4/10

Evaluate ∫x sin(x) dx.

Difficulty 6/10

Evaluate ∫x² e^x dx (requires integration by parts twice).

Common Mistakes

Common Mistake

Choosing u and dv poorly, leading to a more complicated integral than the original.

Use the LIATE heuristic (Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential) to prioritize which factor to set as u — generally pick u to be the type that simplifies upon differentiation.

Common Mistake

Forgetting the minus sign in front of ∫v du.

The formula is ∫u dv = uv − ∫v du; dropping the negative sign is one of the most common errors.

Quiz

Integration by parts is the integral form of which differentiation rule?
A common guideline for choosing u in ∫u dv is 'LIATE'. What does picking u correctly aim to do?

Summary

  • Integration by parts: ∫u dv = uv − ∫v du, derived from the product rule.
  • Choose u to be the factor that simplifies when differentiated (LIATE priority), and dv to be the remaining factor that's easy to integrate.
  • Some integrals (like x²eˣ) require applying the technique more than once.
  • ∫ln(x)dx and similar single-function integrals can be integrated by parts using dv=dx.

References