Integration by Substitution

A2 · P3 · 2 min

Substitution changes the variable of integration to make the integrand simpler. In P3 the substitution is always given in the question; your job is to carry it out correctly, including changing dxdx and, for a definite integral, the limits.

The method

Method
  1. Write down uu in terms of xx (given), and find dudx\dfrac{du}{dx}.
  2. Rearrange to express dxdx in terms of dudu: dx=dudu/dxdx = \dfrac{du}{du/dx}.
  3. Replace every xx in the integrand, including any left over, using the substitution.
  4. For a definite integral, convert the limits to uu-values. For an indefinite integral, integrate and then substitute back.
A linear substitution with leftover x

Use u=2x+1u = 2x + 1 to find ∫x2x+1 dx\displaystyle\int x\sqrt{2x + 1} \, dx.

Solution

dudx=2\dfrac{du}{dx} = 2, so dx=12dudx = \tfrac{1}{2}du, and x=u−12x = \dfrac{u - 1}{2}.

∫u−12u⋅12 du=14∫(u3/2−u1/2)du=14(25u5/2−23u3/2)+c=110(2x+1)5/2−16(2x+1)3/2+c.\int \frac{u - 1}{2}\sqrt{u} \cdot \frac{1}{2} \, du = \frac{1}{4}\int \left(u^{3/2} - u^{1/2}\right) du = \frac{1}{4}\left(\frac{2}{5}u^{5/2} - \frac{2}{3}u^{3/2}\right) + c = \frac{1}{10}(2x + 1)^{5/2} - \frac{1}{6}(2x + 1)^{3/2} + c.
A trigonometric substitution, definite

Use u=sin⁡xu = \sin x to evaluate ∫0π/2sin⁡22xcos⁡x dx\displaystyle\int_0^{\pi/2} \sin^2 2x\cos x \, dx.

Solution

sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2\sin x\cos x, so sin⁡22xcos⁡x=4sin⁡2xcos⁡3x=4sin⁡2x(1−sin⁡2x)cos⁡x\sin^2 2x\cos x = 4\sin^2 x\cos^3 x = 4\sin^2 x(1 - \sin^2 x)\cos x.

With u=sin⁡xu = \sin x, du=cos⁡x dxdu = \cos x \, dx; limits x=0→u=0x = 0 \to u = 0, x=π2→u=1x = \tfrac{\pi}{2} \to u = 1.

∫014u2(1−u2) du=4[13u3−15u5]01=4(13−15)=815.\int_0^1 4u^2(1 - u^2) \, du = 4\Big[\tfrac{1}{3}u^3 - \tfrac{1}{5}u^5\Big]_0^1 = 4\left(\tfrac{1}{3} - \tfrac{1}{5}\right) = \tfrac{8}{15}.
Substitution producing a log

Use u=1+exu = 1 + e^x to find ∫e2x1+ex dx\displaystyle\int \frac{e^{2x}}{1 + e^x} \, dx.

Solution

du=ex dxdu = e^x \, dx and ex=u−1e^x = u - 1. Then e2x dx=ex⋅ex dx=(u−1) due^{2x} \, dx = e^x \cdot e^x \, dx = (u - 1) \, du.

∫u−1u du=∫(1−1u)du=u−ln⁡u+c=ex−ln⁡(1+ex)+c′.\int \frac{u - 1}{u} \, du = \int \left(1 - \frac{1}{u}\right) du = u - \ln u + c = e^x - \ln(1 + e^x) + c'.

(The constant 11 from u=1+exu = 1 + e^x is absorbed into c′c'.)

Substitution with x = ... form

Use x=2sin⁡θx = 2\sin\theta to evaluate ∫014−x2 dx\displaystyle\int_0^1 \sqrt{4 - x^2} \, dx.

Solution

dx=2cos⁡θ dθdx = 2\cos\theta \, d\theta and 4−x2=4−4sin⁡2θ=2cos⁡θ\sqrt{4 - x^2} = \sqrt{4 - 4\sin^2\theta} = 2\cos\theta. Limits: x=0→θ=0x = 0 \to \theta = 0, x=1→θ=π6x = 1 \to \theta = \tfrac{\pi}{6}.

∫0π/62cos⁡θ⋅2cos⁡θ dθ=4∫0π/6cos⁡2θ dθ=2∫0π/6(1+cos⁡2θ) dθ=2[θ+12sin⁡2θ]0π/6=π3+32.\int_0^{\pi/6} 2\cos\theta \cdot 2\cos\theta \, d\theta = 4\int_0^{\pi/6} \cos^2\theta \, d\theta = 2\int_0^{\pi/6} (1 + \cos 2\theta) \, d\theta = 2\Big[\theta + \tfrac{1}{2}\sin 2\theta\Big]_0^{\pi/6} = \tfrac{\pi}{3} + \tfrac{\sqrt{3}}{2}.
Substitution into a log integrand

Use u=ln⁡xu = \ln x to find ∫(ln⁡x)2x dx\displaystyle\int \frac{(\ln x)^2}{x} \, dx.

Solution

du=1x dxdu = \dfrac{1}{x} \, dx, so the integral is ∫u2 du=13u3+c=13(ln⁡x)3+c\displaystyle\int u^2 \, du = \tfrac{1}{3}u^3 + c = \tfrac{1}{3}(\ln x)^3 + c.

Watch out

Every xx must go, including the dxdx. An integral with a mixture of xx and uu cannot be evaluated. And when the limits are changed, do not substitute back into xx at the end.

Exam tip

Show the three ingredients explicitly: the expression for dxdx, the transformed integrand, and the new limits. Each usually carries a method mark, and they are the marks you keep even if the final integration slips.

Practice

Question
  1. Use u=x2+1u = x^2 + 1 to find ∫x(x2+1)3 dx\displaystyle\int \frac{x}{(x^2 + 1)^3} \, dx.
  2. Use u=3x−2u = 3x - 2 to find ∫x3x−2 dx\displaystyle\int \frac{x}{\sqrt{3x - 2}} \, dx.
  3. Use u=cos⁡xu = \cos x to evaluate ∫0π/3sin⁡xcos⁡2x dx\displaystyle\int_0^{\pi/3} \sin x\cos^2 x \, dx.
  4. Use u=xu = \sqrt{x} to evaluate ∫141x(1+x) dx\displaystyle\int_1^4 \frac{1}{\sqrt{x}(1 + \sqrt{x})} \, dx.
Answers
  1. −14(x2+1)2+c-\dfrac{1}{4(x^2 + 1)^2} + c.
  2. 227(3x−2)3/2+49(3x−2)1/2+c\tfrac{2}{27}(3x - 2)^{3/2} + \tfrac{4}{9}(3x - 2)^{1/2} + c.
  3. [−13u3]11/2=13(1−18)=724\Big[-\tfrac{1}{3}u^3\Big]_1^{1/2} = \tfrac{1}{3}\left(1 - \tfrac{1}{8}\right) = \tfrac{7}{24}.
  4. dx=2u dudx = 2u \, du: ∫1221+u du=2ln⁡32\displaystyle\int_1^2 \frac{2}{1 + u} \, du = 2\ln\tfrac{3}{2}.

How well do you know this?

Builds on

Where this leads

Console

Search notes, courses and tools, or run an action