$$ \newcommand{\RR}{\mathbb{R}} \newcommand{\QQ}{\mathbb{Q}} \newcommand{\CC}{\mathbb{C}} \newcommand{\NN}{\mathbb{N}} \newcommand{\ZZ}{\mathbb{Z}} \newcommand{\FF}{\mathbb{F}} % ALTERNATE VERSIONS % \newcommand{\uppersum}[1]{{\textstyle\sum^+_{#1}}} % \newcommand{\lowersum}[1]{{\textstyle\sum^-_{#1}}} % \newcommand{\upperint}[1]{{\textstyle\smallint^+_{#1}}} % \newcommand{\lowerint}[1]{{\textstyle\smallint^-_{#1}}} % \newcommand{\rsum}[1]{{\textstyle\sum_{#1}}} \newcommand{\uppersum}[1]{U_{#1}} \newcommand{\lowersum}[1]{L_{#1}} \newcommand{\upperint}[1]{U_{#1}} \newcommand{\lowerint}[1]{L_{#1}} \newcommand{\rsum}[1]{{\textstyle\sum_{#1}}} \newcommand{\partitions}[1]{\mathcal{P}_{#1}} \newcommand{\sampleset}[1]{\mathcal{S}_{#1}} \newcommand{\erf}{\operatorname{erf}} $$

29  Construction

29.1 Definition

Here we give some preliminary definitions leading to the construction of an integral that we will then try to prove satisfies the axioms. The main difficulty is to put down a strict criterion that determines when a function is integrable, and when it is not.

The idea here - due to Darboux - is to try to overestimate and underestimate the true value of an integral by increasingly precise estimates. If the two estimates coincide as they get better and better we say the function is integrable. If they do not, we say it is not.

We build the estimates as bar-graph-like functions; similar to the familiar Riemann Sums from calculus.

Definition 29.1 (Partition) A partition of the interval \(I=[a,b]\) is a finite ordered set \(P=\{t_0,t_1,\ldots,t_n\}\) with \(a=t_0<t_1<\ldots<t_{n-1}<t_N=b\).

  • \(N\) is called the length of the partition
  • We write \(P_i=[t_i,t_{i+1}]\) for the \(i^{th}\) interval of \(P\), and \(|P_i|=(t_{i+1}-t_i)\) for its width.
  • The maxwidth of \(P\) is the maximal width of the \(P\)’s intervals, \(\mathrm{maxwidth}(P)=\max_{0\leq i< N}\{|P_i|\}\).
  • The set of all partitions on a fixed interval \(I\) is denoted \(\mathcal{P}_I\).\[\partitions{I}=\{P: P\textrm{ is a partition of } I\}\]

Definition 29.2 Let \(f\) be a function, and \(P\) a partition of the closed interval \(I\). For each segment \(P_i=[t_{i},t_{i+1}]\), we define \[m_i=\inf_{x\in P_{i}}\{f(x)\}\hspace{1cm}M_i=\sup_{x\in P_{i}}\{f(x)\}\]

We then define the upper sum \(\uppersum{I}(f,P)\) and the lower sum \(\lowersum{I}(f,P)\) as

\[\lowersum{I}(f,P)=\sum_{0\leq i < N} m_i |P_i|\] \[\uppersum{I}(f,P)=\sum_{0\leq i < N} M_i |P_i|\]

Definition 29.3 Let \(f\) be a function on the closed interval \(I\). Then we define the upper integral \(\upperint{I}(f)\) and the lower integral \(\lowerint{I}(f)\) as \[U(f)=\inf_{P\in\partitions{I}}\{\uppersum{I}(f,P)\}\] \[L(f)=\sup_{P\in\partitions{I}}\{\lowersum{I}(f,P)\}\]

Definition 29.4 (The Darboux Integral) Let \(f\) be a function on the closed interval \(I\). Then \(f\) is Darboux-Integrable on \(I\) if \(U(f)=L(f)\), and we define the integral to be this common value: \[\int_{[a,b]}f\,dx = U(f)=L(f)\]

29.2 Partitions

The goal of this section is to prove the seemingly obvious fact \(\lowerint{I}(f)\leq \upperint{I}(f)\). This takes more work than it seems at first because of the definitions of \(\lowerint{I}(f)\) as a supremum and \(\upperint{I}(f)\) as an infimum, but proves an invaluable tool in analyzing integrability.

Definition 29.5 A partition \(Q\) is a refinement of a partition \(P\) if \(Q\) contains all the points of \(P\) (that is, \(P\subset Q\)).

Proposition 29.1 (Refinement Lemma) If \(Q\) is a refinement of the partition \(P\) on a closed interval \(I\), then for any bounded function \(f\) the following inequalities hold \[\lowersum{I}(f,P)\leq \lowersum{I}(f,Q)\leq \uppersum{I}(f,Q)\leq\uppersum{I}(f,P)\]

Proof. Here we give the argument for lower sums, the analogous case for upper sums is asked in Exercise 29.1. Since \(P\subset Q\) and both \(P, Q\) are finite sets we know \(Q\) contains finitely many more points than \(P\). Here we will show that if \(Q\) contains exactly one more point than \(P\), that the claim holds; the general case follows by induction.

In this case we may write \(Q = P\cup \{z\}\), where \(z\) lies within the partition \(P_k=[t_k,t_{k+1}]\). Thus, \(Q_k=[t_k,c]\) for the left half after subdivision, and \(Q_{k+1}=[c,t_{k+1}]\) for the right half. Outside of \(P_k\), the two partitions are identical, so their difference is given only by the difference of their values on \(P_k\): \[\lowersum{I}(f,Q)-\lowersum{I}(f,P)=\] \[\left(\inf_{x\in Q_k}\{f(x)\}\, |Q_k|+\inf_{x\in Q_{k+1}}\{f(x)\}\, |Q_{k+1}|\right)-\left(\inf_{x\in P_k}\{f(x)\}\, |P_k|\right)\]

Since both \(Q_k\) and \(Q_{k+1}\) are subsets of \(P_k\), the infimum over each of them is at its smallest the infimum over the whole set. This implies

\[\begin{align*} &\inf_{x\in Q_k}\{f(x)\}\, |Q_k|+\inf_{x\in Q_{k+1}}\{f(x)\}\, |Q_{k+1}|\\ &\geq \inf_{x\in P_k}\{f(x)\} |Q_k|+\inf_{x\in P_k}\{f(x)\}|Q_{k+1}\\ &= \inf_{x\in P_k}\{f(x)\}\left(|Q_k|+|Q_{k+1}\right)\\ &= \inf_{x\in P_k}\{f(x)\}|P_k| \end{align*}\]

Thus, the first term in the difference above is bigger than the second, so the overall difference is positive. Thus \(\lowersum{I}(f,Q)-\lowersum{I}(f,P)\geq 0\) and so as claimed, \[\lowersum{I}(f,Q)\geq \lowersum{I}(f,P)\]

Exercise 29.1 Following the structure above, prove that if \(Q\) refines \(P\), that \[\uppersum{I}(f,Q)\leq \uppersum{I}(f,P)\]

Proposition 29.2 Lower sums are always smaller than upper sums, independent of partition. That is, if \(P,Q\) be two arbitrary partitions of a closed interval \(I\), for any bounded function \(f\), \[\lowersum{I}(f,P)\leq \uppersum{I}(f,Q)\]

Proof. Let \(P\) and \(Q\) be two arbitrary partitions of the interval \(I\), and consider the partition \(P\cup Q\). This contains both \(P\) and \(Q\) as subsets, so is a common refinement of both.

Using our previous work, this implies \[L(f,P)\leq L(f,P\cup Q)\hspace{1cm} U(f,P\cup Q)\leq U(f,Q)\]

We also know that for the partition \(P\cup Q\) itself, \[L(f,P\cup Q)\leq U(f,P\cup Q)\]

Taken together these produce the the string of inequalities

\[L(f,P)\leq L(f,P\cup Q)\leq U(f,P\cup Q)\leq U(f,Q)\]

From which immediately follows that \(L(f,P)\leq U(f,Q)\), as desired.

Proposition 29.3 Let \(I\) be any closed interval and \(f\) a bounded function on \(I\). Then the lower integral is less than or equal to the upper integral, \[\lowerint{I}f\leq \upperint{I}f.\]

Proof. Recall that \(U(f)\) is the infimum over all partitions of the upper sums.
Let \(P\) be an arbitrary partition. By Proposition 29.2 we know the upper sum with respect to any partition whatsoever is greater than or equal to \(L(f,P)\), so \(L(f,P)\) is a lower bound for the set of all upper sums.

Thus, the infimum of the upper sums - the greatest of all lower bounds - must be at greater or equal to this specific lower bound, \[L(f,P)\leq \inf_{Q\in\mathcal{P}}\{U(f,Q)\}=U(f)\]

But this holds for every partition \(P\). That means this number \(U(f)\) is actually an upper bound for the set of all \(L(f,P)\). And so, it must be greater than or equal to the least upper bound \(L(f)\): \[L(f)\leq U(f)\]

Corollary 29.1 To show integrability it is enough to prove \(\upperint{I}f\leq\lowerint{I}f\).

Proof. We know in general that \(\lowerint{I}(f)\leq \upperint{I}(f)\) from Proposition 29.3. So, if \(\upperint{I}f\leq\lowerint{I}f\) then in fact they are equal, which is the definition of \(f\) being integrable.

29.3 Integrability Criteria

Here we prove a very useful condition to test if a function is integrable, by finding sufficient partitions.

Theorem 29.1 (Darboux Integrability Criterion) Let \(f\) be a bounded function on a closed interval \(I\). Then \(f\) is integrable if and only if for all \(\epsilon>0\) there exists a partition \(P\) such that \[\uppersum{I}(f,P)-\lowersum{I}(f,P)<\epsilon\]

Here we prove one direction of this theorem, namely that if such partitions exist for all \(\epsilon>0\) then \(f\) is integrable. We prove the converse below.

Proof. Let \(\epsilon>0\), and assume there is a partition \(P\) with \[\uppersum{I}(f,P)-\lowersum{I}(f,P)<\epsilon\] Then, recalling \(\lowersum{I}(f,P)\leq \lowerint{I}(f)\) and \(\upperint{I}(f)\leq \uppersum{I}(f,P)\) by definition, we chain these together with \(\lowerint{I}(f)\leq \upperint{I}(f)\) to get

\[\lowersum{I}(f,P)\leq \lowerint{I}(f)\leq \upperint{I}(f)\leq \uppersum{I}(f,P)\]

Thus, the interval \([\lowerint{I}(f), \upperint{I}(f)]\) is contained within the interval \([\lowersum{I}(f,P),\uppersum{I}(f,P)]\) which has length \(<\epsilon\). Thus its length must also be less than \(\epsilon\):

\[0\leq \upperint{I}(f)-\lowerint{I}(f)\leq \epsilon\]

But \(\epsilon\) was arbitrary! Thus the only possibility is that \(\upperint{I}(f)-\lowerint{I}(f)=0\), and so the two are equal, meaning \(f\) is integrable as claimed.

Now we prove the second direction of Theorem 29.1: the proof is reminiscent of the triangle inequality, though without absolute values (as we know terms of the form \(U-L\) are always nonnegative already)

Proof. Assume that \(f\) is integrable, so \(\lowerint{I}(f)=\upperint{I}(f)\). Since \(\upperint{I}(f)\) is the greatest lower bound of all the upper sums, for any \(\epsilon>0\), \(\upperint{I}(f)+\frac{\epsilon}{2}\) is not a lower bound: that is, there must be some partition \(P_1\) where \[\uppersum{I}(f,P_1)<\upperint{I}(f)+\frac{\epsilon}{2}\]

Similarly, since \(\lowerint{I}(f)\) is the least upper bound of the lower sums, there must be some partition \(P_2\) with \[\lowersum{I}(f,P_2)>\lowerint{I}(f)-\frac{\epsilon}{2}\]

Now, define \(P=P_1\cup P_2\) to be the common refinement of these two partitions, and observe that

\[\begin{align*} \uppersum{I}(f,P)-\lowersum{I}(f,P) &\leq \uppersum{I}(f,P_1)-\lowersum{I}(f,P_2)\\ &< \left(\upperint{I}(f)+\frac{\epsilon}{2}\right)-\left(\lowerint{I}-\frac{\epsilon}{2}\right)\\ &= \upperint{I}(f)-\lowerint{I}(f)+\epsilon\\ &=\epsilon \end{align*}\] Where the last inequality uses \(\lowerint{I}(f)=\upperint{I}(f)\). Thus, for our arbitrary \(\epsilon\) we found a partition on which the upper and lower sums differ by less than that, as claimed.

And finally, we provide an even stronger theorem than \(\epsilon\)-integrability, that lets us prove a function is integrable and calculate the resulting value, by taking the limit of carefully chosen sequences of partitions. More precisely, we want to consider any sequence of partitions that’s getting finer and finer:

Definition 29.6 (Shrinking Paritions) A sequence \(P_n\in\partitions{I}\) of partitions is said to be shrinking if the corresponding sequence of max-widths converges to \(0\).

We often abbreviate the phrase \(P_n\) is a shrinking sequence of partitions by \(P_n\to 0\).

Theorem 29.2 Let \(f\) be a function on the interval \(I\), and assume that \(P_n, P_n^\prime\) are two sequences of shrinking partitions such that \[\lim \lowersum{I}(f,P_n)= \lim \uppersum{I}(f,P_n^\prime)\] Then, \(f\) is integrable on \(I\) and \(\int_I f\,dx\) is equal to this common value.

Proof. Call this common limiting value \(X\). As \(\lowerint{I}f\) is defined as a supremum over all lower sums

\[\begin{align*} \lim \lowersum{I}(f,P_n) &\leq \sup_{\{n\in\NN\}}\{\lowersum{I}(f,P_n)\}\\ &\leq \sup_{P\in\partitions{I}}\{\lowersum{I}(f,P)\}\\ &=\lowerint{I}(f) \end{align*}\]

Similiarly, as \(\upperint{I}(f)\) is the infimum over all upper sums, we have \[\lim \uppersum{I}(f,P_n^\prime)\geq \upperint{I}(f)\]

By Proposition 29.3 we know \(\lowerint{I}(f)\leq \upperint{I}(f)\), which allows us to string these inequalities together:

\[\lim\lowersum{I}(f,P_n)\leq \lowerint{I}(f)\leq \upperint{I}(f)\leq \lim\uppersum{I}(f,P_n^\prime)\]

Under the assumption that these two limits are equal, all four quantities in this sequence must be equal, and in particular \(\lowerint{I}(f)=\upperint{I}(f)\). Thus \(f\) is integrable, and its value coincides with the limit of either of these sequences of shrinking partitions, as claimed.

29.4 Riemann Sums

There is an alternative (and equivalent) construction of this integral which predates the construction above. Originally due to Riemann, this alternative version can be more complicated to work with, but has certain advantages: it makes a clear path from the general theory to numerical integration, and occasionally allows alternative, more algebraic proofs of various integral identities, avoiding discussions of suprema and infima.

We can compute an integral via Riemann sums, when the integral exists. To write down the definition we need to talk of sample points for a partition.

Definition 29.7 (Sample Set) Let \(P\) be a partition of \([a,b]\). Then an sample set for \(P\) is a set \(S=\{s_1,\ldots, s_n\}\subset[a,b]\) of points with \(s_i\subset P_i\) for all \(i\).

The set of all sample sets for a fixed partition \(P\) is denoted \(\sampleset{P}\). \[\sampleset{P}=\{S\mid S\textrm{ is a sample set for } P\}\]

Given a partition and a set of sample points, we can define a Riemann sum

Definition 29.8 If \(P\) is a partition of an interval \(I\), \(S\) is an evaluation set for \(P\), and \(f\) is a function defined on \(I\), the *Riemann sum of \(f\) with respect to \((P,S)\) is \[ \rsum{I}\left(f,P,S\right) := \sum_{i=1}^n f(s_i)|P_i| \]

Definition 29.9 (The Riemann Integral) Let \(f\) be a function defined on the closed interval \([a,b]\). Then \(f\) is Riemann-integrable on \([a,b]\) if for every sequence of \(P_n\) shrinking partitions, and for every choice of sample sets \(S_n\) for these partitions, \(\lim \rsum{I}(f,P_n,S_n)\) exists, and is independent of the choice of sequences \(P_n,S_n\). In this case, we write \[\int_I^{\textrm{Riem.}} f = \lim \rsum{I}(f,P_n,S_n)\]

Theorem 29.3 Let \(f\) be a function on a closed interval \(I\). Then \(f\) is Darboux integrable on \(I\) if and only if \(f\) is Riemann-Integrable on \(I\), and the two integrals agree \[\int_I f\,dx =\int_I^{\textrm{Riem.}}f\,dx\]

Proof (Riemann \(\implies\) Darboux).

Proof (Darboux \(\implies\) Riemann).

Corollary 29.2 If \(f\) is integrable, then \(\int_{[a,b]}fdx\) can by computed via Riemann Sum: choosing any sequence \(P_n\) of shrinking partitions, and any sequence \(S_n\) of sample points for each partition, \[\int_{[a,b]}f\,dx =\lim_n \rsum{[a,b]}(f,P_n,S_n)\]