3.5 - Integration by substitution

3.5 - Integration by substitution

A change of variable can turn an unfamiliar integral into a familiar one. In this part of 3.5, you will use a supplied substitution to change every part of the integral, including its differential and, when appropriate, its limits. Algebraic and trigonometric examples will show why keeping the old and new variables separate matters.

Changing variables

What happens to ∫2xx2+1 dx\int 2x\sqrt{x^2+1}\,\mathrm dx if we call x2+1x^2+1 by the shorter name uu? The square root becomes u\sqrt u, and differentiation gives du/dx=2x\mathrm du/\mathrm dx=2x. Thus the whole combination 2x dx2x\,\mathrm dx becomes du\mathrm du. The new integral is simply ∫u du\int\sqrt u\,\mathrm du.

Integration by substitution

Integration by substitution changes the variable of an integral using a stated relationship. The relationship changes both the integrand and the differential, so the new integral contains only the new variable.

The method reverses the chain rule. If u=g(x)u=g(x), then differentiating F(g(x))F(g(x)) gives F′(g(x))g′(x)F'(g(x))g'(x). This explains why the differential factor is essential.

Changing the variable

If u=g(x)u=g(x), then du=g′(x) dx\mathrm du=g'(x)\,\mathrm dx, so

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

For an indefinite result, substitute back to the original variable and include CC. This substitution rule is not listed separately in the formula booklet: reconstruct it from the chain rule.

The differential notation records the derivative relationship; it is not permission to change xx to uu without changing the rest of the integral. Use the given substitution, work out its derivative, then rewrite all remaining old-variable factors.

Worked example 1: a square-root power

Question. Use u=x2+1u=x^2+1 to find ∫2xx2+1 dx\displaystyle\int2x\sqrt{x^2+1}\,\mathrm dx.

Plan. Replace x2+1x^2+1 by uu and the matching combination 2x dx2x\,\mathrm dx by du\mathrm du.

Since u=x2+1u=x^2+1,

dudx=2x,du=2x dx.\frac{\mathrm du}{\mathrm dx}=2x, \qquad \mathrm du=2x\,\mathrm dx.

Consequently

∫2xx2+1 dx=∫u1/2 du=23u3/2+C=23(x2+1)3/2+C\begin{aligned} \int2x\sqrt{x^2+1}\,\mathrm dx &=\int u^{1/2}\,\mathrm du\\ &=\frac23u^{3/2}+C\\ &=\frac23(x^2+1)^{3/2}+C \end{aligned}

Answer. 23(x2+1)3/2+C\frac23(x^2+1)^{3/2}+C, valid for every real xx.

Check. Differentiation gives (2/3)(3/2)(x2+1)1/2(2x)=2xx2+1(2/3)(3/2)(x^2+1)^{1/2}(2x)=2x\sqrt{x^2+1}. The inside expression is always positive.

Keep the substitution and change only the square root to its reciprocal. The differential conversion is unchanged; only the power of uu changes.

Worked example 2: a reciprocal square root

Question. Use u=x2+1u=x^2+1 to find ∫2xx2+1 dx\displaystyle\int\frac{2x}{\sqrt{x^2+1}}\,\mathrm dx.

Plan. Use the same differential relationship, then integrate the new power −1/2-1/2.

∫2xx2+1 dx=∫u−1/2 du=2u1/2+C=2x2+1+C\begin{aligned} \int\frac{2x}{\sqrt{x^2+1}}\,\mathrm dx &=\int u^{-1/2}\,\mathrm du\\ &=2u^{1/2}+C\\ &=2\sqrt{x^2+1}+C \end{aligned}

Answer. 2x2+1+C2\sqrt{x^2+1}+C, valid for every real xx.

Check. Its derivative is 2×12(x2+1)−1/2×2x=2x/x2+12\times\frac12(x^2+1)^{-1/2}\times2x=2x/\sqrt{x^2+1}. At x=0x=0, both this derivative and the original integrand are zero.

We replaced the combination 2x dx2x\,\mathrm dx directly, so we did not need to divide by xx or invert u=x2+1u=x^2+1. This avoids introducing an unnecessary restriction at x=0x=0. The derivative checks establish the displayed antiderivatives on their original domains.

Watch out

From u=x2+1u=x^2+1, the line ∫2xx2+1 dx=∫2xu du\int2x\sqrt{x^2+1}\,\mathrm dx=\int2x\sqrt u\,\mathrm du is wrong: it retains the factor already absorbed by du=2x dx\mathrm du=2x\,\mathrm dx. A transformed integral must have the correct differential factor and a single variable.

Use a new inner constant and power.

Transforming limits

For a definite integral, the old limits describe values of xx. Convert them into values of the new variable before evaluating a transformed antiderivative. A small table keeps the correspondence visible.

The substitution may also require you to express xx itself in terms of uu. With u=x+1u=\sqrt{x+1}, we have x=u2−1x=u^2-1 and dx=2u du\mathrm dx=2u\,\mathrm du. The root is the non-negative root, so u≥0u\ge0; this sign condition is part of the substitution.

Substitution with limits

For a valid change u=g(x)u=g(x) on the interval,

∫abf(g(x))g′(x) dx=∫g(a)g(b)f(u) du.\int_a^b f(g(x))g'(x)\,\mathrm dx =\int_{g(a)}^{g(b)}f(u)\,\mathrm du.

Use the transformed limits with a uu-antiderivative. Alternatively, return the antiderivative to xx and use the original limits. Do not mix these two routes.

The definite substitution rule is not listed separately in the formula booklet: it follows from the chain rule and definite integration.

Changing variables changes the integrand's height and the interval's width together. The two shaded regions below represent the same integral, although their graphs and horizontal scales differ.

[DIAGRAM: asset_name: The same integral in two variables; asset_slug: substitution-limits-area; caption: The substitution changes both the function and the limits while preserving the integral; description: The left coordinate plot shades y equals x times the square root of x plus one from x equals zero to three. The right shades y equals two times u to the fourth minus two times u squared from u equals one to two. Both areas are labelled 116 over 15. A linking label states u equals the square root of x plus one, x equals u squared minus one, and dx equals two u du.]
The substitution changes both the function and the limits while preserving the integral

Worked example 3: converting every old-variable factor

Question. Use u=x+1u=\sqrt{x+1} to find the exact value of ∫03xx+1 dx\displaystyle\int_0^3x\sqrt{x+1}\,\mathrm dx.

Plan. Express xx, the square root and dx\mathrm dx in terms of uu, then convert both limits.

x=u2−1,x+1=u,dx=2u du.x=u^2-1,\quad \sqrt{x+1}=u,\quad \mathrm dx=2u\,\mathrm du.

The limits become

xx0033
u=x+1u=\sqrt{x+1}1122

Therefore

I=∫12(u2−1)u(2u) du=2∫12(u4−u2) du=2[u55−u33]12=2(315−73)=11615\begin{aligned} I&=\int_1^2(u^2-1)u(2u)\,\mathrm du\\ &=2\int_1^2(u^4-u^2)\,\mathrm du\\ &=2\left[\frac{u^5}{5}-\frac{u^3}{3}\right]_1^2\\ &=2\left(\frac{31}{5}-\frac73\right)=\frac{116}{15} \end{aligned}

Answer. 116/15116/15.

Check. Rewriting x=(x+1)−1x=(x+1)-1 directly gives the antiderivative 25(x+1)5/2−23(x+1)3/2\frac25(x+1)^{5/2}-\frac23(x+1)^{3/2}. At 33 and 00, its difference is also 116/15116/15.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account