5.10 Indefinite integrals and substitution

5.10 Indefinite integrals and substitution

IB Maths: Analysis and Approaches HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Know the standard integrals of xnx^{n} (n≠−1n\neq-1), 1x\dfrac{1}{x}, sin⁡x\sin x, cos⁡x\cos x and exe^{x}, and always add +C+C.
  • Linear inside ax+bax+b: integrate as normal and divide by aa.
  • ∫g′(x)g(x) dx=ln⁡∣g(x)∣+C\int\dfrac{g'(x)}{g(x)}\,\mathrm{d}x=\ln|g(x)|+C.
  • For ∫kg′(x)f(g(x)) dx\int kg'(x)f(g(x))\,\mathrm{d}x use inspection or the substitution u=g(x)u=g(x).
  • Check any integral by differentiating your answer.
−3−2−1123−4−2246810xyy = x² + C
The integrals of 2x are y = x² + C: the same shape shifted up or down.

Standard integrals

These are all in the formula booklet. Rewrite roots and fractions as powers first, and always add the constant.

Integration reverses differentiation. The indefinite integral always includes a constant of integration CC.

Rewrite roots and fractions first: ∫3x dx=∫3x1/2 dx=2x3/2+C\int3\sqrt{x}\,\mathrm{d}x=\int3x^{1/2}\,\mathrm{d}x=2x^{3/2}+C. Each value of CC gives a different curve with the same gradient at each xx.

Function

  • xnx^{n} (n≠−1n\neq-1)
  • 1x\dfrac{1}{x}
  • sin⁡x\sin x
  • cos⁡x\cos x
  • exe^{x}

Integral, +C+C

  • xn+1n+1\dfrac{x^{n+1}}{n+1}
  • ln⁡∣x∣\ln|x|
  • −cos⁡x-\cos x
  • sin⁡x\sin x
  • exe^{x}

What is ∫3x dx\int3\sqrt{x}\,\mathrm{d}x?

Linear composites

Integrate as normal, then divide by the coefficient of xx.

If the inside function is linear, ax+bax+b:

∫f(ax+b) dx=1aF(ax+b)+Cwhere F′=f.\int f(ax+b)\,\mathrm{d}x=\frac{1}{a}F(ax+b)+C\quad\text{where }F'=f.

Differentiating multiplies by aa, so integrating must divide by aa. Check by differentiating: ddx[12sin⁡(2x+3)]=cos⁡(2x+3)\frac{\mathrm{d}}{\mathrm{d}x}\left[\frac{1}{2}\sin(2x+3)\right]=\cos(2x+3).

Integrand

  • cos⁡(2x+3)\cos(2x+3)
  • e1−2xe^{1-2x}
  • 42x+1\dfrac{4}{2x+1}
  • (3x−1)4(3x-1)^{4}

Integral, +C+C

  • 12sin⁡(2x+3)\frac{1}{2}\sin(2x+3)
  • −12e1−2x-\frac{1}{2}e^{1-2x}
  • 2ln⁡∣2x+1∣2\ln|2x+1|
  • (3x−1)515\dfrac{(3x-1)^{5}}{15}

Worked example

Find ∫(3x−1)4 dx\int(3x-1)^{4}\,\mathrm{d}x.

What is ∫e1−2x dx\int e^{1-2x}\,\mathrm{d}x?

Integration by inspection

When the integrand is a multiple of g′(x)f(g(x))g'(x)f(g(x)), the answer is a multiple of F(g(x))F(g(x)). Guess, differentiate, then adjust the constant.

Integration by inspection (the reverse chain rule) works when the integrand is a multiple of g′(x)f(g(x))g'(x)f(g(x)). Guess the form, differentiate it, and adjust.

A useful special case is ∫g′(x)g(x) dx=ln⁡∣g(x)∣+C\int\dfrac{g'(x)}{g(x)}\,\mathrm{d}x=\ln|g(x)|+C. For example ∫xx2+5 dx=12ln⁡(x2+5)+C\int\dfrac{x}{x^{2}+5}\,\mathrm{d}x=\frac{1}{2}\ln(x^{2}+5)+C.

  • ∫g′(x)g(x) dx\int\dfrac{g'(x)}{g(x)}\,\mathrm{d}xln⁡∣g(x)∣+C\ln|g(x)|+C

Worked example

Find ∫2x(x2+1)4 dx\int2x(x^{2}+1)^{4}\,\mathrm{d}x.

What is ∫6x(x2+1)2 dx\int6x(x^{2}+1)^{2}\,\mathrm{d}x?

Integration by substitution

Let u=g(x)u=g(x), rewrite the whole integral in terms of uu, integrate, then substitute back.

For ∫kg′(x)f(g(x)) dx\int kg'(x)f(g(x))\,\mathrm{d}x, use substitution. Check that no xx or dx\mathrm{d}x is left before integrating, and give the final answer in terms of xx.

For ∫ln⁡xx dx\int\dfrac{\ln x}{x}\,\mathrm{d}x let u=ln⁡xu=\ln x, so du=1x dx\mathrm{d}u=\frac{1}{x}\,\mathrm{d}x. The integral becomes ∫u du=12u2+C=12(ln⁡x)2+C\int u\,\mathrm{d}u=\frac{1}{2}u^{2}+C=\frac{1}{2}(\ln x)^{2}+C.

  1. 1

    Choose uu

    let u=g(x)u=g(x); find du=g′(x) dx\mathrm{d}u=g'(x)\,\mathrm{d}x

  2. 2

    Replace everything

    the whole integral, including dx\mathrm{d}x, in terms of uu

  3. 3

    Integrate

    with respect to uu

  4. 4

    Substitute back

    give the answer in terms of xx

Substitution method.

Worked example

Find ∫4xsin⁡(x2) dx\int4x\sin(x^{2})\,\mathrm{d}x.

What is ∫cos⁡x esin⁡x dx\int\cos x\,e^{\sin x}\,\mathrm{d}x?

Finding C from a boundary condition

Substitute one known point or starting value into the integral to find CC.

For f′(x)=ln⁡xxf'(x)=\dfrac{\ln x}{x} with f(e)=1f(e)=1: f(x)=12(ln⁡x)2+Cf(x)=\frac{1}{2}(\ln x)^{2}+C, so 12+C=1\frac{1}{2}+C=1 and C=12C=\frac{1}{2}.

In context, the starting value fixes the constant. A reservoir filling at R(t)=24te−0.2t2R(t)=24te^{-0.2t^{2}} with V(0)=500V(0)=500 has V(t)=560−60e−0.2t2V(t)=560-60e^{-0.2t^{2}}, which tends to 560 as t→∞t\to\infty. This is a boundary condition at work.

123456480500520540560580xyy = 560(0, 500)V = 560 − 60e^(−0.2t²)
V rises from 500 towards, but never reaches, 560.

f′(x)=2xf'(x)=2x and f(1)=5f(1)=5. Find f(x)f(x).

Try an exam question

Find ∫xcos⁡(x2) dx\int x\cos(x^{2})\,\mathrm{d}x using the substitution u=x2u=x^{2}.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find ∫(3x+2x)dx\displaystyle\int\left(3\sqrt{x}+\frac{2}{x}\right)dx.

1 mark, marked against the mark scheme

Revision notes