Chapter 15 Integration
Integration is (almost) the reverse process of differentiation. Geometrically, differentiation corresponds to finding the gradient of a tangent line, whilst integration corresponds to finding the area under a curve. The precise relationship between differentation and integration will be given later by the Fundamental Theorem of Calculus.
15.1 Indefinite Integrals
Consider the following function \[F(x)=x^2.\] Its derivative is \[\frac{dF(x)}{dx}=2x.\] If integration is the reverse process of differentation, then we might expect the integral of \(f(x)=2x\) to be \(F(x)=x^2\). However, note that the derivative of \[G(x)=x^2+3\] is also \[\frac{dG(x)}{dx}=2x=f(x).\] Hence, it would be impossible to know if \(F\) or \(G\) was the original function. In fact, any function of the form \(2x+C\) where \(C\) is a constant would yield the same derivative. Therefore, the best we can do is to say the integral of \(f(x)=2x\) has the form \(x^2+C\).
More generally, the graphs of all functions of the form \(F(x)+C\) for some particular function \(F\) and various constants \(C\) are just vertical translations of one another, so we can see they would indeed have the same gradient at any point \(x\). If \(\frac{dF(x)}{dx}=f(x)\) we say that “\(F(x)+C\)” with \(C\) an arbitrary constant is the indefinite integral of \(f(x)\).
The operation of taking the indefinite integral of a function \(f(x)\) is written \[\int f(x) dx\] which is read as “the integral of \(f(x)\) with respect to \(x\)”, where \(\int\) denotes taking the integral and \(dx\) specifies that we are integrating with respect to the variable \(x\) (we need to specify this as some functions might have more than one variable). In this context the function \(f(x)\) being integrated is called the integrand. If we know a function \(F(x)\) whose derivative is \(f(x)\) then we can immediately find the indefinite integral as \(F(x)+C\). A function \(F\) such that \(\frac{dF(x)}{dx}=f(x)\) is called an anti-derivative of \(f\).
15.1.1 Standard Integrals
Some basic integrals obtained from differentiating well known functions
\[\begin{eqnarray} && \frac{d }{d x} \sin(x) = \cos(x) \; \to \; \int \cos(x) d x = \sin(x) +C \nonumber \\ && \frac{d }{d x} \cos(x) = -\sin(x) \; \to \; \int \sin(x) d x = -\cos(x) +C \nonumber \\ && \frac{d }{d x} \tan(x) = \frac{1}{\cos^2(x)} \; \to \; \int \frac{1}{\cos^2(x)} d x = \tan(x) +C \nonumber \\ && \frac{d }{d x} \cot(x) = - \frac{1}{\sin^2(x)} \; \to \; \int \frac{1}{\sin^2(x)} d x = - \cot(x) +C \nonumber \\ && \frac{d }{d x} \frac{x^{n+1}}{n+1} = x^n \; \to \; \int x^n \; dx = \frac{x^{n+1}}{n+1} +C \; \; \nonumber \\ && \frac{d }{d x} \sin^{-1}(x) = \frac{1}{\sqrt{1-x^2} } \; \to \; \int \frac{1}{\sqrt{1-x^2} } d x = \sin^{-1}(x) +C \nonumber \\ && \frac{d }{d x} \tan^{-1}(x) = \frac{1}{1+x^2} \; \to \; \int \frac{1}{1+x^2 } d x = \tan^{-1}(x) +C \nonumber \\ && \frac{d }{d x} e^x = e^x \; \to \; \int e^x dx = e^x +C\nonumber \\ && \frac{d }{d x} \ln |x| = \frac{1 }{x} \; \to \; \int \frac{1}{x} d x = \ln |x| +C \nonumber \\ && \frac{d }{d x} a^x = a^x \ln a \; \to \; \int a^x d x = \frac{a^x}{\ln a} +C \nonumber \\ && \frac{d }{d x} \sinh(x) = \cosh(x) \; \to \; \int \cosh(x) d x = \sinh(x) +C, \nonumber \\ && \frac{d }{d x} \cosh(x) = \sinh(x) \; \to \; \int \sinh(x) d x = \cosh(x) +C, \nonumber \\ \end{eqnarray}\]
15.2 Definite Integrals
Integration is defined by finding the area under the curve of a function. This is achieved by taking successively more accurate approximations, in a similar way to finding the gradient of a tangent line in differentation.
To find the area under a curve \(f\) between points \(x=a\) and \(x=b\), we can draw rectangles of some “small” width and whose height is the value of the function at some point between the edges of the rectangle. Some of these rectangles will over-estimate the area under their part of the curve and others will under-estimate the area. This error is reduced by taking thinner and thinner rectangles (and hence using a greater number of rectangles). In the limit that the width tends to \(0\), we obtain the area under the curve \(f\) between \(a\) and \(b\). When the upper limit \(a\) and lower limit \(b\) are specified like this, we have the definite integral of \(f\).
Note that if a curve crosses the \(x\)-axis, then the “area under the curve” obtained from the definite integral is the area above the \(x\)-axis minus the area below the \(x\)-axis.
The following is a formal definition of the integral, which is included for completeness, but can be ignored for now.
Definition 15.1 (Reimann Integral) Consider a partition \(P_n\) of the interval \(a\leq x\leq b\) into \(n\) equal width subintervals \[x_i\leq x\leq x_j\] for \(i=0,\dotsc,n\) with \(x_0=a\), \(x_i=a+i\Delta x\), \(x_n=b\) and width \(\Delta x=(b-a)/n\).
For each subinterval choose a point \(c_i\) such that \(x_i < c_i < x_j\). Then the integral is approximated by \[\sum_{i=1}^{n-1}f(c_i)\Delta x.\]
If the following limit exists independently of the choice of the points \(c_i\) \[\lim_\limits{n\to\infty}\sum_{i=1}^{n-1}f(c_i)\Delta x\] then we call this the integral of \(f\) between \(a\) and \(b\), and denote it by \[\int_{a}^{b}f(x)dx.\]
Theorem 15.1 (Some Properties of Definite Integrals) \[\begin{eqnarray} &&\int_a^b [f(x)+g(x)] dx = \int_a^b f(x) dx + \int_a^b g(x) dx \nonumber \\ &&\int_a^b \alpha f(x) dx = \alpha \int_a^b f(x) dx dx \nonumber \\ && \int_a^b f(x) dx = -\int_b^a f(x) dx \nonumber \\ &&\int_a^a f(x) dx = 0 \nonumber \\ && \int_a^b f(x) dx = \int_a^c f(x) dx + \int_c^b f(x) dx, \; \text{ for any $c$ such that $a<c<b$} \nonumber \\ && \int_a^b f(x) dx \ge 0,\; \mbox{ if } \; f(x) >0, \; a \leq x \leq b \nonumber \\ && \int_{-a}^a f(x) dx =2 \int_{0}^a f(x) dx ,\; \text{ if $f(x)= f(-x)$ (e.g. $\cos(x)$, $x^2$)} \nonumber \\ && \int_{-a}^a f(x) dx = 0 ,\; \text{ if $f(x)= -f(x)$ (e.g. $\sin(x)$, $x^3$)} \nonumber \end{eqnarray}\]
The key theorem of calculus that links differentiation and integration is known as the Fundamental Theorem of Calculus.
Theorem 15.2 (Fundamental Theorem of Calculus (FTC)) Let the function \(f\) be continuous on the interval from \(a\) to \(b\). Then:
The function \(g\) defined by \[g(x)=\int_a^xf(x)dx\] is continuous on the interval \(a\le x \le b\) and differentiable on the interval \(a< x < b\) with \[\frac{dg(x)}{dx}=f(x).\]
The definite integral of \(f\) from \(a\) to \(b\) is given by \[\int_a^bf(x)dx=F(b)-F(a)\] where \(F\) is any anti-derivative of \(f\).
To find the definite integral we can make use of part 2 of the FTC 15.2 together with the properties in 15.1.
Example 15.1 (Definite Integrals)
Evaluate the definite integral \[ \int_0^3 f(x) dx = \int_0^3 (x^3- 6x) dx, \] First observe that: \[ \frac{d}{d x} \left( \frac{1}{4}x^4-3 x^2 \right)=x^3- 6x=f(x). \] So an anti-derivative of \(f(x)\) is \(F(x)=\frac{1}{4}x^4-3 x^2\).
The fundamental Theorem of Calculus then gives \[ \begin{array}{ll} \int_0^3 f(x) dx =F(3) -F(0) \\ \\ & = \frac{1}{4} 3^4-3\,3^2 =\frac{3}{4} 27- 27= -\frac{27}{4} \end{array} \] Alternatively, using the properties of the integral and our list of standard integrals \[\begin{align*} \int_0^3 (x^3- 6x) dx&=\int_0^3 x^3 dx -6\int_0^3 x dx\\ &=[\frac{x^4}{4}]_0^3-6[\frac{x^2}{2}]_0^3\\ &=[\frac{x^4}{4}-3x^2]_0^3\\ &=(\frac{81}{4}-27)-(0-0)\\ &=\frac{-27}{4} \end{align*}\]Evaluate \[ \int_0^\frac{\pi}{2} \cos(x) dx. \]
We have: \[\begin{align*} \int_0^\frac{\pi}{2} \cos(x) dx&=[\sin(x)]_0^\frac{\pi}{2}\\ &=\sin\left(\frac{\pi}{2}\right)-\sin(0)\\ &=1 \end{align*}\]