Menu
Sign up Sign in

AI HL · AHL 3

Further Integration

AHL 3.11

Integration by substitution

AHL 3.11

Integration by substitution

Target: I can use a given substitution \(u=g(x)\) to replace x and \(dx\), integrate in u and write the answer back in x. (+4 more)

By the end of this section

Key points

The method

  • Choose \(u=g(x)\). Find \(\frac{du}{dx}\), so \(du=g'(x)\,dx\).
  • Replace every x and the \(dx\). If an x is left over, you chose the wrong u or you have not used \(du\) fully.
  • Integrate in u, then replace u by \(g(x)\). Add \(+c\) to an indefinite integral.
  • A good u is the inside of a bracket, a root, a power or a denominator, and its derivative (up to a number) is also in the integral.

Straight lines and the \(\frac1u\) rule

  • For \(u=ax+b\), \(du=a\,dx\), so \(dx=\frac{du}{a}\): divide the answer by a. A negative a gives a minus sign.
  • \(\int\frac{f'(x)}{f(x)}dx=\ln|f(x)|+c\). With \(u=f(x)\) the integral is \(\int\frac1u\,du\).
  • \(\tan x=\frac{\sin x}{\cos x}\). With \(u=\cos x\) you get \(\int\tan x\,dx=-\ln|\cos x|+c\).

Definite integrals

  • Either change the limits to u-values and never go back to x, or find the answer in x and use the x-limits.
  • Changing the limits: put each x-limit into \(u=g(x)\). Keep the lower limit lower.
  • Check an answer by differentiating it: you must get the original integrand.

What the course asks for

  • In this course u is given, or it is a simple choice. Substitutions such as \(x=\sin u\) are not examined: one appears below as a check only.
  • A substitution gives the same result as inspection (the reverse chain rule). Use whichever you find clearer.

On the calculator

Checking a definite integral

  • Enter the integrand and the limits in the definite integral template.
  • Compare with your exact answer written as a decimal.
  • A substitution gives the exact value. The calculator checks it.

Screenshot and video to come

Checking an antiderivative

  • Define your answer as a function and differentiate it.
  • The result should equal the integrand you started with.

Screenshot and video to come

Worked examples

Problems like the ones in class. Pick one, try it, then open the working.
A linear substitution

Use \(u=4x\) to find \(\int e^{4x}\,dx\).

Working
  1. Find du

    \(u=4x\), \(du=4\,dx\), \(dx=\frac{du}{4}\)

    The 4 comes from differentiating u.

  2. Replace

    \(\int e^u\cdot\frac{du}{4}=\frac14\int e^u\,du\)

    Take the number outside.

  3. Integrate

    \(\frac14e^u+c\)

    The integral of \(e^u\) is \(e^u\).

  4. Back to x

    \(\frac14e^{4x}+c\)

    Replace u.

Video walkthrough coming
A reciprocal with a negative

Find \(\int\frac{1}{5-2x}\,dx\). Use \(u=5-2x\).

Working
  1. Find du

    \(u=5-2x\), \(du=-2\,dx\), \(dx=-\frac{du}{2}\)

    The derivative of \(5-2x\) is \(-2\).

  2. Replace

    \(\int\frac1u\cdot\left(-\frac{du}{2}\right)=-\frac12\int\frac1u\,du\)

    Take the number outside.

  3. Integrate

    \(-\frac12\ln|u|+c\)

    The integral of \(\frac1u\) is \(\ln|u|\).

  4. Back to x

    \(-\frac12\ln|5-2x|+c\)

    Replace u.

Video walkthrough coming
Choosing u for a power

Evaluate \(\int_0^1x^2e^{x^3}\,dx\).

Working
  1. Choose u

    \(u=x^3\), \(du=3x^2\,dx\)

    \(x^3\) is the inside of \(e^{x^3}\), and \(x^2\) is nearly its derivative.

  2. Replace

    \(\int x^2e^u\frac{du}{3x^2}=\frac13\int e^u\,du\)

    The \(x^2\) cancels. No x is left.

  3. Change the limits

    \(x=0\Rightarrow u=0\); \(x=1\Rightarrow u=1\)

    Put each limit into \(u=x^3\).

  4. Evaluate

    \(\frac13\left[e^u\right]_0^1=\frac{e-1}{3}=0.573\)

    Check with the calculator.

Video walkthrough coming
The \(\frac1u\) form

Evaluate \(\int_0^1\frac{e^x}{3+e^x}\,dx\) using \(u=3+e^x\).

Working
  1. Find du

    \(du=e^x\,dx\)

    The numerator is exactly du.

  2. Replace

    \(\int\frac1u\,du=\ln u\)

    u is positive, so no modulus is needed.

  3. Limits

    \(x=0\Rightarrow u=4\); \(x=1\Rightarrow u=3+e\)

    Put the limits into \(u=3+e^x\).

  4. Evaluate

    \(\ln(3+e)-\ln 4=0.357\)

    Top minus bottom.

Video walkthrough coming
A square root

Evaluate \(\int_0^1x\sqrt{x^2+3}\,dx\) using \(u=x^2+3\).

Working
  1. Find du

    \(du=2x\,dx\), so \(x\,dx=\frac12du\)

    The x in the integrand goes with the \(dx\).

  2. Replace

    \(\int\sqrt u\cdot\frac12du=\frac12\int u^{1/2}du\)

    No x is left.

  3. Limits

    \(x=0\Rightarrow u=3\); \(x=1\Rightarrow u=4\)

    Put the limits into \(u=x^2+3\).

  4. Evaluate

    \(\frac13\left[u^{3/2}\right]_3^4=\frac13(8-3\sqrt3)=0.935\)

    Check with the calculator.

Video walkthrough coming
Root of x inside a function

Evaluate \(\int_1^4\frac{e^{\sqrt x}}{\sqrt x}\,dx\) using \(u=\sqrt x\).

Working
  1. Find du

    \(u=x^{1/2}\), \(du=\frac{1}{2\sqrt x}dx\), so \(\frac{dx}{\sqrt x}=2\,du\)

    The \(\frac1{\sqrt x}\) in the integrand uses up the derivative.

  2. Replace

    \(\int e^u\cdot2\,du=2e^u\)

    No x is left.

  3. Limits

    \(x=1\Rightarrow u=1\); \(x=4\Rightarrow u=2\)

    \(\sqrt1=1\), \(\sqrt4=2\).

  4. Evaluate

    \(2(e^2-e)=9.34\)

    Check with the calculator.

Video walkthrough coming
Integrating tan

Evaluate \(\int_0^{\pi/12}\tan 4x\,dx\).

Working
  1. Rewrite

    \(\tan4x=\frac{\sin4x}{\cos4x}\)

    The numerator is a multiple of the derivative of the denominator.

  2. Choose u

    \(u=\cos4x\), \(du=-4\sin4x\,dx\)

    So \(\sin4x\,dx=-\frac14du\).

  3. Replace and limits

    \(-\frac14\int\frac1u\,du\); \(x=0\Rightarrow u=1\), \(x=\frac{\pi}{12}\Rightarrow u=\frac12\)

    \(\cos\frac{\pi}{3}=\frac12\).

  4. Evaluate

    \(-\frac14\left[\ln u\right]_1^{1/2}=-\frac14\ln\frac12=\frac14\ln2=0.173\)

    A positive value: the area under \(\tan4x\) is above the axis.

Video walkthrough coming
Writing x in terms of u

Use \(u=x+4\) to find \(\int_0^1\sqrt{x^3+4x^2}\,dx\).

Working
  1. Factorise

    \(\sqrt{x^3+4x^2}=\sqrt{x^2(x+4)}=x\sqrt{x+4}\)

    This is true for \(x>0\).

  2. Replace

    \(x=u-4\), \(dx=du\), so \(\int(u-4)\sqrt u\,du=\int\left(u^{3/2}-4u^{1/2}\right)du\)

    Every x becomes \(u-4\).

  3. Limits

    \(x=0\Rightarrow u=4\); \(x=1\Rightarrow u=5\)

    Put the limits into \(u=x+4\).

  4. Evaluate

    \(\left[\frac25u^{5/2}-\frac83u^{3/2}\right]_4^5=1.08\)

    Check with the calculator.

Video walkthrough coming
A given trigonometric substitution

Use \(x=\sin u\) to evaluate \(\int_0^{1/2}\frac{1}{\sqrt{1-x^2}}\,dx\). (A check only: this type is not examined.)

Working
  1. Find dx

    \(x=\sin u\), \(dx=\cos u\,du\)

    Here x is written in terms of u.

  2. Replace

    \(\sqrt{1-\sin^2u}=\cos u\), so the integrand becomes \(\frac{\cos u}{\cos u}du=du\)

    \(1-\sin^2u=\cos^2u\).

  3. Limits

    \(x=0\Rightarrow u=0\); \(x=\frac12\Rightarrow u=\frac{\pi}{6}\)

    \(\sin\frac{\pi}{6}=\frac12\).

  4. Evaluate

    \(\left[u\right]_0^{\pi/6}=\frac{\pi}{6}=0.524\)

    So \(\int\frac{1}{\sqrt{1-x^2}}dx=\arcsin x+c\).

Video walkthrough coming