STEMviz
Mathematics · Introduction to Calculus

Integration by Substitution and by Parts

The previous chapter's basic formulas integrate a function directly only when it is already in one of seven standard forms. Most realistic integrands are not — they are composites or products, exactly the structures the chain rule and product rule were built to differentiate. This chapter supplies the two integration techniques that undo those two rules: substitution (reversing the chain rule) and integration by parts (reversing the product rule).

You need the basic integral formulas of Chapter 12 and the chain and product rules of Chapters 6–7, since both techniques are, in a precise sense, those differentiation rules read backwards.

1. Integration by Substitution: Motivation

Chapter 12 flagged that ∫(2x+1)5 dx\displaystyle\int (2x+1)^5\,dx is not simply (2x+1)66+C\frac{(2x+1)^6}{6}+C, because differentiating that guess produces an extra, unwanted factor of 22 from the chain rule. Substitution is the systematic method for finding and cancelling exactly that missing factor.

Substitution rule. If u=g(x)u = g(x), then du=g′(x) dxdu = g'(x)\,dx, and

∫f(g(x))g′(x) dx=∫f(u) du\int f\big(g(x)\big)g'(x)\,dx = \int f(u)\,du

Substitution applies directly when the integrand contains both an inner function g(x)g(x) and (up to a constant multiple) its derivative g′(x)g'(x) as a separate factor.

Worked example. Find ∫(2x+1)5 dx\displaystyle\int (2x+1)^5\,dx.

Let u=2x+1u = 2x+1, so du=2 dxdu = 2\,dx, i.e. dx=du2dx = \dfrac{du}{2}. Substituting:

∫u5⋅du2=12∫u5 du=12⋅u66+C=u612+C\int u^5 \cdot \frac{du}{2} = \frac12\int u^5\,du = \frac12\cdot\frac{u^6}{6}+C = \frac{u^6}{12}+C

Substituting back u=2x+1u=2x+1:

∫(2x+1)5 dx=(2x+1)612+C\int (2x+1)^5\,dx = \frac{(2x+1)^6}{12}+C

Check: ddx[(2x+1)612]=6(2x+1)5⋅212=(2x+1)5\dfrac{d}{dx}\left[\dfrac{(2x+1)^6}{12}\right] = \dfrac{6(2x+1)^5\cdot2}{12} = (2x+1)^5. Confirmed — and notice the extra factor of 22 from the chain rule is exactly cancelled by the 12\frac12 substitution introduced.

Keep reading: Integration by Substitution and by Parts

This chapter is Premium. Unlock every Mathematics lesson — theory, interactive visualizations, quizzes, exercises and flashcards — with a one-time purchase or a monthly plan, or get every subject at once with the Full Course Bundle. The first 2 chapters of every block are free with an account.