#### Chapter 8 Integral Calculus

**Section 8.2 Definite Integral**

# 8.2.2 Integral

The integral of a function $f$ with $f(x)\ge 0$ can be interpreted as the "area under the graph" of the function. In the so-called Riemann integral, the graph of the function is approximated by a step function, and the values of this step function are summed up, weighted by the corresponding interval length, i.e. the "width of a step". This approach is illustrated in the figure below.

Definition of the Riemann integral. The function is approximated by a step function that is divided here into four subintervals.

Formally, a sum ${S}_{n}$ of the form

is calculated. In the example considered here, the interval $[0;8]$ is divided into four parts, where ${x}_{0}=1$, ${x}_{1}=2$, ${x}_{2}=4$, and ${x}_{3}=7$. If the areas of these four parts are summed according to the formula above, this results in

To get precise values for the area, it is obviously not sufficient to subdivide the interval into just a few subintervals. In general, it will be necessary to decrease the maximal length of the subintervals ${x}_{k+1}-{x}_{k}$ gradually, which in turn requires more summands $f({z}_{k})\xb7({x}_{k+1}-{x}_{k})$ to be calculated and added. Hence, the limit is considered as the maximal length of the subintervals tends to zero.

In principle, the approach discussed above can also be applied to functions with negative function values. We will explain in Section 8.3 how the area is calculated then. However, note that in the definition of the integral a few aspects have to be observed that go beyond the scope of this course. Therefore, we refer to advanced textbooks for details concerning the assumptions in the definitions below.

##### **Integral 8.2.1 **

Let a function $f:[a;b]\to \mathbb{R}$ on a real interval $[a;b]$ be given. If the number of subintervals is increased such that ${x}_{k+1}-{x}_{k}$ approaches $0$, then

$\int}_{a}^{b}f(x)\hspace{0.17em}dx=\underset{n\to \infty}{lim}{S}_{n}=\underset{n\to \infty}{lim}\sum _{k=0}^{n-1}f({z}_{k})\xb7({x}_{k+1}-{x}_{k})\text{with}\mathrm{\hspace{0.5em}\hspace{0.5em}}{x}_{k}\le {z}_{k}\le {x}_{k+1$ $(8.2.1)$

is called the

is called the

**definite integral**of $f$ with the lower limit of integration $a$ and the upper limit of integration $b$ (if the limit exists and does not depend on the respective partition). The function $f$ is then referred to as**integrable**. In this context the function $f$ is also called the**integrand**.In principle, this approach can also result in an indefinite value, i.e. the integral does not exist. However, advanced considerations show that the integral exists for every continuous function. As an example, we calculate the integral of $f:[0;1]\to \mathbb{R},\hspace{0.5em}x\mapsto x$, where we focus on the calculation of the limit.

##### **Example 8.2.2 **

Calculate the integral of $f:[0;1]\to \mathbb{R},\hspace{0.5em}x\mapsto x$.

For this purpose, the interval $[0;1]$ is subdivided into subintervals $[{x}_{k};{x}_{k+1}]$ of equal length with ${x}_{0}:=0$ and ${x}_{k}:={x}_{k-1}+\frac{1}{n}$. Thus, the length of a subinterval is $\Delta ({x}_{k})={x}_{k+1}-{x}_{k}=\frac{1}{n}$.

Investigating the length of the interval for $n$ tending to infinity shows that $\Delta ({x}_{k})$ is getting smaller and approaches zero. Thus, the assumption for the calculation of a definite integral is satisfied.

Furthermore, for the values of ${x}_{k}$, we obtain from the length of an interval ${x}_{k}=\frac{k}{n}$. If we set ${z}_{k}={x}_{k}$ for the intermediate points, we obtain $f({z}_{k})=f({x}_{k})={x}_{k}=\frac{k}{n}$.

Substituting these terms into the formula (1) gives the equation

$\begin{array}{cc}\multicolumn{1}{c}{{S}_{n}}& =\sum _{k=0}^{n-1}f({x}_{k})\xb7\Delta ({x}_{k})=\sum _{k=0}^{n-1}{x}_{k}\xb7\frac{1}{n}=\sum _{k=0}^{n-1}\frac{k}{n}\xb7\frac{1}{n}=\frac{1}{{n}^{2}}\xb7\sum _{k=0}^{n-1}k=\frac{1}{{n}^{2}}\xb7\sum _{k=1}^{n-1}k\hfill \\ \multicolumn{1}{c}{}& =\frac{1}{{n}^{2}}\frac{n(n-1)}{2}=\frac{1}{2}\xb7\frac{n-1}{n}=\frac{1}{2}\xb7(1-\frac{1}{n})\hspace{0.5em},\hfill \end{array}$

where we used the formula $\sum _{k=1}^{n-1}k=\frac{1}{2}\hspace{0.5em}n(n-1)$ of Carl Friedrich Gauss. And with $\underset{n\to \infty}{lim}\frac{1}{n}=0$, we find for the integral

${\int}_{0}^{1}x\hspace{0.17em}dx=\underset{n\to \infty}{lim}{S}_{n}=\frac{1}{2}\hspace{0.5em}.$

For this purpose, the interval $[0;1]$ is subdivided into subintervals $[{x}_{k};{x}_{k+1}]$ of equal length with ${x}_{0}:=0$ and ${x}_{k}:={x}_{k-1}+\frac{1}{n}$. Thus, the length of a subinterval is $\Delta ({x}_{k})={x}_{k+1}-{x}_{k}=\frac{1}{n}$.

Investigating the length of the interval for $n$ tending to infinity shows that $\Delta ({x}_{k})$ is getting smaller and approaches zero. Thus, the assumption for the calculation of a definite integral is satisfied.

Furthermore, for the values of ${x}_{k}$, we obtain from the length of an interval ${x}_{k}=\frac{k}{n}$. If we set ${z}_{k}={x}_{k}$ for the intermediate points, we obtain $f({z}_{k})=f({x}_{k})={x}_{k}=\frac{k}{n}$.

Substituting these terms into the formula (1) gives the equation

where we used the formula $\sum _{k=1}^{n-1}k=\frac{1}{2}\hspace{0.5em}n(n-1)$ of Carl Friedrich Gauss. And with $\underset{n\to \infty}{lim}\frac{1}{n}=0$, we find for the integral

The large class of integrable functions includes all polynomials, rational functions, trigonometric functions, exponential functions, logarithmic functions and their compositions.

To simplify the calculations, rules for integrating functions are required that are as easy as possible. An important result is provided by the so-called

**fundamental theorem of calculus**. It describes the relation between the antiderivative of a continuous function and its integral.

##### **Fundamental Theorem of Calculus 8.2.3 **

Let a continuous function $f:[a;b]\to \mathbb{R}$ on a real interval $[a;b]$ be given. Then the function $f$ has an antiderivative, and for every antiderivative $F$ of $f$, we have

${\int}_{a}^{b}f(x)\hspace{0.17em}dx\mathrm{\hspace{0.5em}\hspace{0.5em}}=\mathrm{\hspace{0.5em}\hspace{0.5em}}{[F(x)]}_{a}^{b}\mathrm{\hspace{0.5em}\hspace{0.5em}}=\mathrm{\hspace{0.5em}\hspace{0.5em}}F(b)-F(a)\hspace{0.5em}.$

As a simple example, we will calculate the definite integral of the function $f$ with $f(x)={x}^{2}$ between $a=1$ and $b=2$. Using the rules for the determination of antiderivatives and the fundamental theorem of calculus this problem can be solved easily.

##### **Example 8.2.4 **

The function $f:[1;2]\to \mathbb{R}$ with $f(x):={x}^{2}$ has the antiderivative $F$ with

$F(x)=\frac{1}{3}{x}^{3}+C$ for a real number $C$. From the fundamental theorem, we have

${\int}_{1}^{2}{x}^{2}\hspace{0.17em}dx={[\frac{1}{3}{x}^{3}\hspace{0.5em}+\hspace{0.5em}C]}_{1}^{2}=(\frac{1}{3}\hspace{0.5em}{2}^{3}\hspace{0.5em}+\hspace{0.5em}C)-(\frac{1}{3}\hspace{0.5em}{1}^{3}\hspace{0.5em}+\hspace{0.5em}C)=\frac{7}{3}\hspace{0.5em}.$

The calculation shows that the constant is cancelled after substituting the lower and upper limits of integration such that, in practice, it can already be "suppressed" in taking the antiderivative for the definite integral, so for the calculation of the definite integral one can choose $C=0$.

$F(x)=\frac{1}{3}{x}^{3}+C$ for a real number $C$. From the fundamental theorem, we have

The calculation shows that the constant is cancelled after substituting the lower and upper limits of integration such that, in practice, it can already be "suppressed" in taking the antiderivative for the definite integral, so for the calculation of the definite integral one can choose $C=0$.

The equation in the fundamental theorem also applies to every intermediate value $z\in [a;b]$ such that all function values $F(z)$ can be calculated from

if the derivative $F\text{'}=f$ and a function value, for example the value $F(a)$, are known. One also says that the antiderivative $F$ is reconstructed from the derivative $F\text{'}=f$.

Application examples for the reconstruction of a function $F$ from its derivative $F\text{'}=f$ are discussed at the end of Section 8.3.