Teleport

Main features

On this page

Topics

Arithmetic drills
Grade 7
Grade 8
Grade 9
Math I
Math A
Math II
Math B
Math C
Math III
Calculus
Linear algebra
Differential equations

Display

Theme
Math III

Integration by substitution

Substitution replaces part of the integrand with a new variable tt to make it easier to integrate. The skill to practise is spotting what to call tt.

Basic, Standard: Grade 12 · Term 2 / Advanced: Grade 12 · Exam prep

Math problem generator

Level

How substitution works

Substitution rule

With t=g(x)t = g(x) we have dt=g′(x) dxdt = g'(x)\,dx, and

∫f(g(x)) g′(x) dx=∫f(t) dt\int f(g(x))\,g'(x)\,dx = \int f(t)\,dt

With x=g(t)x = g(t) we have dx=g′(t) dtdx = g'(t)\,dt, and

∫f(x) dx=∫f(g(t)) g′(t) dt\int f(x)\,dx = \int f(g(t))\,g'(t)\,dt

The steps:

  1. Call part of the integrand tt (the inside of parentheses, a root, an exponent and so on).
  2. Differentiate to write dxdx in terms of dtdt (from dtdx=g′(x)\frac{dt}{dx} = g'(x), dt=g′(x) dxdt = g'(x)\,dx).
  3. Write everything in terms of tt and integrate.
  4. Substitute back to get an answer in xx.

Linear substitutions

If the inside is linear, as in (2x+1)5(2x+1)^5, let t=2x+1t = 2x + 1, so dt=2 dxdt = 2\,dx.

∫(2x+1)5 dx=12∫t5 dt=112t6+C=112(2x+1)6+C\int (2x+1)^5\,dx = \frac{1}{2}\int t^5\,dt = \frac{1}{12}t^6 + C = \frac{1}{12}(2x+1)^6 + C

In general ∫f(ax+b) dx=1aF(ax+b)+C\int f(ax+b)\,dx = \frac{1}{a}F(ax+b) + C, so with practice you can skip writing the substitution.

The f(g(x))g'(x) and f'(x)/f(x) patterns

If the integrand contains a function g(x)g(x) together with its derivative g′(x)g'(x), the standard move is t=g(x)t = g(x).

∫x(x2+1)3 dx=12∫t3 dt=18(x2+1)4+C(t=x2+1, dt=2x dx)\int x(x^2+1)^3\,dx = \frac{1}{2}\int t^3\,dt = \frac{1}{8}(x^2+1)^4 + C \qquad (t = x^2 + 1,\ dt = 2x\,dx)
∫sin⁡2xcos⁡x dx=∫t2 dt=13sin⁡3x+C(t=sin⁡x, dt=cos⁡x dx)\int \sin^2 x\cos x\,dx = \int t^2\,dt = \frac{1}{3}\sin^3 x + C \qquad (t = \sin x,\ dt = \cos x\,dx)

In particular, when the numerator is the derivative of the denominator, use this formula directly.

Formula
∫f′(x)f(x) dx=log⁡∣f(x)∣+C\int \frac{f'(x)}{f(x)}\,dx = \log|f(x)| + C

Example: ∫tan⁡x dx=∫sin⁡xcos⁡x dx=−∫(cos⁡x)′cos⁡x dx=−log⁡∣cos⁡x∣+C\displaystyle\int \tan x\,dx = \int \frac{\sin x}{\cos x}\,dx = -\int \frac{(\cos x)'}{\cos x}\,dx = -\log|\cos x| + C

Trigonometric substitutions

For definite integrals containing a2−x2\sqrt{a^2 - x^2} or 1x2+a2\dfrac{1}{x^2 + a^2}, use these substitutions.

FormSubstitutionIdentity used
a2−x2\sqrt{a^2 - x^2}x=asin⁡θx = a\sin\theta1−sin⁡2θ=cos⁡2θ1 - \sin^2\theta = \cos^2\theta
1x2+a2\dfrac{1}{x^2 + a^2}x=atan⁡θx = a\tan\theta1+tan⁡2θ=1cos⁡2θ1 + \tan^2\theta = \dfrac{1}{\cos^2\theta}

When you substitute in a definite integral, change the limits to the new variable too. For x=asin⁡θx = a\sin\theta, x:0→ax: 0 \to a becomes θ:0→π2\theta: 0 \to \frac{\pi}{2}. In return, you don't need to substitute back.

Common mistakes

  • Not converting dxdx: with t=2x+1t = 2x + 1, replacing dxdx by dtdt loses a factor of 12\frac{1}{2}.
  • Not substituting back: an indefinite integral must be written in terms of xx at the end.
  • Limits of a definite integral: change them when you substitute.
  • Absolute value in log⁡\log: ∫dxx=log⁡∣x∣+C\int \frac{dx}{x} = \log|x| + C. You may drop it only when the inside is clearly positive (like x2+1x^2 + 1).