5.10 Indefinite integrals and substitution

5.10 Indefinite integrals and substitution

IB Maths: Analysis and Approaches SL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Standard integrals: xnx^{n} (n≠−1n\ne-1), 1x→ln⁡∣x∣\frac1x\to\ln|x|, sin⁡x→−cos⁡x\sin x\to-\cos x, cos⁡x→sin⁡x\cos x\to\sin x, ex→exe^{x}\to e^{x}; always add +C+C.
  • Linear inside ax+bax+b: integrate and divide by aa.
  • ∫g′(x)g(x) dx=ln⁡∣g(x)∣+C\int\frac{g'(x)}{g(x)}\,dx=\ln|g(x)|+C.
  • ∫kg′(x)f(g(x)) dx\int kg'(x)f(g(x))\,dx: by inspection or by substitution u=g(x)u=g(x).
  • Check any integral by differentiating your answer.

Standard integrals

Integration reverses differentiation, and every indefinite integral needs +C+C. The standard results are in the formula booklet.

The indefinite integral includes a constant of integration CC.

Rewrite roots and fractions as powers first: ∫3x dx=∫3x1/2 dx=2x3/2+C\int3\sqrt{x}\,dx=\int3x^{1/2}\,dx=2x^{3/2}+C.

Do not use the power rule on 1x\frac1x: it would give x00\frac{x^{0}}{0}. The integral of 1x\frac1x is ln⁡∣x∣\ln|x|.

−4−3−2−11234−6−4−2246810xyy = x²/2 + C
Integrating y = x gives x²/2 + C: every value of C is a different curve, shifted vertically. Move the slider.

Function

Power:
xnx^{n}
Reciprocal:
1x\frac1x
Sine:
sin⁡x\sin x
Cosine:
cos⁡x\cos x
Exponential:
exe^{x}

Integral

Power:
xn+1n+1\frac{x^{n+1}}{n+1} (n≠−1n\ne-1)
Reciprocal:
ln⁡∣x∣\ln|x|
Sine:
−cos⁡x-\cos x
Cosine:
sin⁡x\sin x
Exponential:
exe^{x}

Worked example

Find ∫(2x3−5x+4x)dx\int\left(2x^{3}-\frac{5}{x}+4\sqrt{x}\right)dx.

What is ∫sin⁡x dx\int\sin x\,dx?

Linear composites

If the inside function is linear, integrate as normal and divide by aa.

A linear composite has the form f(ax+b)f(ax+b).

Differentiating multiplies by aa, so integrating divides by aa:

  • ∫cos⁡(2x+3) dx=12sin⁡(2x+3)+C\int\cos(2x+3)\,dx=\frac12\sin(2x+3)+C
  • ∫e1−2x dx=−12e1−2x+C\int e^{1-2x}\,dx=-\frac12e^{1-2x}+C
  • ∫(3x−1)4 dx=(3x−1)515+C\int(3x-1)^{4}\,dx=\frac{(3x-1)^{5}}{15}+C
−3−2−1123−1.5−1−0.50.511.5xycos(2x + 3)½ sin(2x + 3)
The integral of cos(2x + 3) is ½ sin(2x + 3) + C: dividing by the 2 from the inside function makes the integral half the height.
  • ∫f(ax+b) dx\displaystyle\int f(ax+b)\,dx1aF(ax+b)+C\dfrac{1}{a}F(ax+b)+C

What is ∫sin⁡(4x) dx\int\sin(4x)\,dx?

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, adjust.

Integration by inspection (the reverse chain rule): guess the form, differentiate it, and adjust the constant.

For example, ∫xx2+5 dx=12ln⁡(x2+5)+C\int\frac{x}{x^{2}+5}\,dx=\frac12\ln(x^{2}+5)+C, because the top is half the derivative of the bottom.

−4−3−2−11234−1−0.50.511.52xyx/(x² + 5)½ ln(x² + 5)
The integral of x/(x² + 5) is ½ ln(x² + 5) + C: its gradient at each point equals the integrand.
  • ∫g′(x)g(x) dx\displaystyle\int\frac{g'(x)}{g(x)}\,dxln⁡∣g(x)∣+C\ln|g(x)|+C

Worked example

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

What is ∫6xex2 dx\int6xe^{x^{2}}\,dx?

Substitution

Let u=g(x)u=g(x), replace everything including dxdx, integrate in uu, then substitute back.

For ∫k g′(x)f(g(x)) dx\int k\,g'(x)f(g(x))\,dx, substitution with u=g(x)u=g(x) turns the integral into a standard one.

Another example: ∫ln⁡xx dx\int\frac{\ln x}{x}\,dx with u=ln⁡xu=\ln x, du=1x dxdu=\frac1x\,dx gives ∫u du=12(ln⁡x)2+C\int u\,du=\frac12(\ln x)^{2}+C.

  1. 1

    Choose uu

    u=g(x)u=g(x), then du=g′(x) dxdu=g'(x)\,dx

  2. 2

    Replace everything

    Every xx and the dxdx become uu and dudu

  3. 3

    Integrate in uu

    Use a standard integral

  4. 4

    Substitute back

    Answer in terms of xx

Substitution in four steps

Worked example

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

Which substitution suits ∫cos⁡xsin⁡3x dx\int\cos x\sin^{3}x\,dx?

Finding the constant

Substitute a known point to find CC. Integrate first, then substitute.

If you know one point on the curve, substitute it to find CC. For f′(x)=ln⁡xxf'(x)=\frac{\ln x}{x} with f(e)=1f(e)=1: f(x)=12(ln⁡x)2+Cf(x)=\frac12(\ln x)^{2}+C, so 12+C=1\frac12+C=1 and C=12C=\frac12.

A reservoir fills at R(t)=24te−0.2t2R(t)=24te^{-0.2t^{2}} with V(0)=500V(0)=500. With u=−0.2t2u=-0.2t^{2}, V=−60e−0.2t2+CV=-60e^{-0.2t^{2}}+C, and V(0)=500V(0)=500 gives C=560C=560.

123456480500520540560580xyV = 560(0, 500)V(t)
The volume rises from 500 and levels off towards 560.

What does V(t)=560−60e−0.2t2V(t)=560-60e^{-0.2t^{2}} tend to as t→∞t\to\infty?

Try an exam question

Use the substitution u=x2+1u=x^{2}+1 to find ∫6x(x2+1)3 dx\int6x(x^{2}+1)^{3}\,dx.

[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