AP Calculus AB and BC

U-Substitution vs Integration by Parts

Use substitution when the integrand contains a function and something close to its derivative, since substitution reverses the chain rule. Use integration by parts when the integrand is a product of two unlike types, such as a polynomial times an exponential, since parts reverses the product rule.

U-substitution

Use when: You can spot an inner function whose derivative is also present, up to a constant factor.

Integration by parts

Use when: The integrand multiplies two different kinds of function and no inner derivative is available.

Side by side

U-substitutionIntegration by parts
ReversesThe chain ruleThe product rule
Look forf(g(x))g(x)f(g(x)) \cdot g'(x)A product of unlike types
Formulaf(u)du\int f(u)\,du after substitutingudv=uvvdu\int u\,dv = uv - \int v\,du
Example2xcos(x2)dx\int 2x\cos(x^2)\,dxxexdx\int x e^x\,dx

Try substitution first, because it is faster and because failing costs nothing. If no candidate for uu leaves you with its own derivative sitting in the integrand, substitution stalls and parts becomes the next move.

The two examples show the difference clearly. In 2xcos(x2)dx\int 2x\cos(x^2)\,dx the factor 2x2x is exactly the derivative of x2x^2, so substitution collapses it. In xexdx\int x e^x\,dx neither factor is the derivative of the other, so parts is the way through.

Changing the bounds

For a definite integral, substitution requires you either to convert the bounds to the new variable or to convert back before evaluating. Mixing old bounds with a new variable is a routine and costly error.

Frequently asked questions

How do I choose u for integration by parts?

Pick uu so that differentiating it simplifies the problem, and dvdv so that you can actually integrate it. A polynomial factor is usually a good uu because repeated differentiation eventually kills it.

In the CED: Unit 6: Integration and Accumulation