5. Integration techniques#

This is a non-exhaustive list of integration techniques that are commonly used. You should be familiar with all three of the techniques listed here, and be able to apply them.

5.1. Substitution#

These results can be proved using the chain rule and fundamental theorem of calculus.

For an indefinite integral:

(5.1)#\[\int f(x) \textrm{d}x = \int f(x) \frac{\mathrm{d}x}{\mathrm{d}u}\mathrm{d}u+c\]

For a definite integral:

(5.2)#\[\begin{equation} \int_a^b f\mathrm{d}x= \int_{u(a)}^{u(b)}f\frac{\mathrm{d}x}{\mathrm{d}u}\mathrm{d}u \end{equation}\]

Don’t forget to change the limits for definite integration!

The idea of using a substitution is that we convert a difficult integral \(\mathrm{d}x\) to an easier one \(\mathrm{d}u\), through careful choice of \(u\). Often we choose \(u\) so that its derivative cancels out a factor in \(f\), noting that the integrand in (5.1) can be written as:

(5.3)#\[\begin{equation} f \frac{\mathrm{d}x}{\mathrm{d}u}=f\biggr/\frac{\mathrm{d}u}{\mathrm{d}x} \end{equation}\]

Worked example: \( \displaystyle \int x\sqrt{x^2-1}\mathrm{d}x\)

We can try the substitution \(u=x^2-1\).

This will eliminate the factor \(x\) and will simplify the expression \(\sqrt{x^2-1}\). We find that:

\(\displaystyle \frac{\mathrm{d}u}{\mathrm{d}x}=2x\) and so \(\displaystyle \frac{\mathrm{d}x}{\mathrm{d}u}=\frac{1}{2x}\), hence:

\[\int x\sqrt{x^2-1}\mathrm{d}x=\displaystyle \int\frac{1}{2}u^{1/2}\mathrm{d}u=\frac{1}{3}u^{3/2}+c=\frac{1}{3}(x^2-1)^{3/2}+c\]

This is the same result we can find by inspection.

Exercise 5.1

(a) Find \( I= \displaystyle\int_1^3\frac{1}{2x+1}\mathrm{d}x\).

(b) Find \( I= \displaystyle\int (ax+b)(cx+d)^n\mathrm{d}x\) using the substitution \(u=cx+d\)

5.2. By parts#

The following definitions can be proved using the product rule and fundamental theorem of calculus.

For an indefinite integral:

\[\int u\,\frac{\mathrm{d}v}{\mathrm{d}x}\,\mathrm{d}x = u\,v- \int v\,\frac{\mathrm{d}u}{\mathrm{d}x}\,\mathrm{d}x+c\]

For a definite integral:

\[\int_a^b u\,\frac{\mathrm{d}v}{\mathrm{d}x}\,\mathrm{d}x=\biggr[u\,v\biggr]_a^b- \int_a^b v\frac{\mathrm{d}u}{\mathrm{d}x}\,\mathrm{d}x\]

For a handy rule of thumb for choosing which term to differentiate when applying this method, we can use LIATE method:

  • Logarithmic Term

  • Inverse Term

  • Algebraic Term

  • Trignometric Term

  • Exponential Term

This list tells the order of preference for the term to be differentiated \(u(x) \rightarrow u'(x)\). The exponential function is at the bottom of the list because it is usually the easiest to integrate. The logarithmic term is at the top beccause it is usually the hardest.

Worked example: \(\displaystyle I = \int x \ln(x)\,\mathrm{d}x \)

We will use integration by parts to find the following integral:

Since L falls before A in LIATE, we pick:

\[\begin{split}u = \ln(x),\quad & v' = x\\ u' = \frac{1}{x}, \quad & v = \frac{1}{2}x^2\end{split}\]

and so integrating by parts we find:

\[I = \frac{1}{2} \,x^2 \,\ln(x) - \int \frac{1}{2} \,x \,\mathrm{d}x = \frac{1}{2} \, x^2 \left(\ln(x) - \frac{1}{2} \right) + C\]

Worked example: \(\displaystyle I = \int \ln(x)\,\mathrm{d}x \)

Here, we note that we can rewrite the integral as

\[I = \int x^0\,\ln(x)\,\mathrm{d}x \]

Since L falls before A in LIATE, we pick:

\[\begin{split}u = \ln(x),\quad & v' = x^0 \\ u' = \frac{1}{x},\quad &v = x^1\end{split}\]

and so integrating by parts we find:

\[I = x \ln(x) - \int \frac{x}{x}\,\mathrm{d}x = x\ln(x) - \int x^0\,\mathrm{d}x = x\ln(x) - x + C \]

Exercise 5.2

Integrate the following problems by parts:

(a) \(\displaystyle \int x e^{-x}\mathrm{d}x\qquad \qquad \) (b) \(\displaystyle \int x^2 e^{-x}\mathrm{d}x\)

5.3. Reduction formulae#

Reduction formulae set up a recurrence relation between different integrands:

\[I_{n} = f(n,x) + I_{n-a} \]

where \(a,\,n\) are integers typically and \(a < n\). Usually we solve these problems by integration by parts.

Worked example: \(\displaystyle I_n = \int_0^\infty x^n\,e^{-x}\,\mathrm{d} x\)

We can integrate by parts (using LIATE if necessary):

\[\begin{split}\begin{array}{lcl} u(x) = x^n && v'(x) = e^{-x} \\ u'(x) = nx^{n-1} && v(x) = -e^{-x} \end{array}\end{split}\]

Which means that we can write:

\[\begin{split}I_n &= \bigg[-x^n\,e^{-x}\bigg]_0^\infty + n\int_0^\infty x^{n-1}\, e^{-x}\,\mathrm{d} x \\ I_n &= 0 + n I_{n-1}\end{split}\]

If we were to repeat the integration by parts repeatedly we would find:

\[I_n = nI_{n-1} = n(n-1)\,I_{n-2} = \dots = n(n-1)(n-2)\dots (2)(1)\,I_0 = n!\, I_0\]

\(I_0\) is a good place to stop, since we can evaluate it:

\[I_0 = \int_0^\infty e^{-x}\,\mathrm{d} x = \bigg[-e^{-x}\bigg]_0^\infty = 0 - (-1) = 1\]

Hence \(I_n = n!\).