Definition of the Riemann Integral

Basis
Last updated: Tags: Calculus, Integration

You already know how to find areas of simple shapes — rectangles, triangles, circles. But what is the area under the curve y=x2y = x^2 from 00 to 11? No geometric formula applies directly. The Riemann integral is the answer: it defines “area under a curve” as a limit of increasingly fine rectangular approximations, and does so in a way that is precise enough to prove theorems.

Partitions and Darboux sums

Let f:[a,b]Rf: [a, b] \to \mathbb{R} be a bounded function. A partition of [a,b][a, b] is a finite sequence

P={a=x0<x1<x2<<xn=b}.P = \{a = x_0 < x_1 < x_2 < \cdots < x_n = b\}.

On each subinterval [xi1,xi][x_{i-1}, x_i], ff is bounded, so its supremum and infimum exist:

Misupx[xi1,xi]f(x),miinfx[xi1,xi]f(x).M_i \coloneqq \sup_{x \in [x_{i-1},\, x_i]} f(x), \qquad m_i \coloneqq \inf_{x \in [x_{i-1},\, x_i]} f(x).

The upper Darboux sum and lower Darboux sum of ff over PP are:

U(f,P)i=1nMi(xixi1),L(f,P)i=1nmi(xixi1).U(f, P) \coloneqq \sum_{i=1}^{n} M_i\,(x_i - x_{i-1}), \qquad L(f, P) \coloneqq \sum_{i=1}^{n} m_i\,(x_i - x_{i-1}).

Geometrically, U(f,P)U(f,P) is the total area of rectangles that lie above the graph, and L(f,P)L(f,P) is the total area of rectangles that lie below it. Since miMim_i \le M_i for every ii, you always have L(f,P)U(f,P)L(f,P) \le U(f,P).

Refining a partition

A partition QQ is a refinement of PP if PQP \subseteq Q (every boundary point of PP is also in QQ). Adding points can only lower the upper sum and raise the lower sum:

PQ    L(f,P)L(f,Q)U(f,Q)U(f,P).P \subseteq Q \implies L(f, P) \le L(f, Q) \le U(f, Q) \le U(f, P).

A consequence is that every lower sum is at most every upper sum, even for different partitions: if P1P_1 and P2P_2 are any two partitions, then L(f,P1)U(f,P2)L(f, P_1) \le U(f, P_2).

Upper and lower integrals

Because the set of all lower sums is bounded above (by any upper sum), its supremum exists in R\mathbb{R}. Likewise, the infimum of all upper sums exists. These define the lower integral and upper integral of ff:

abf    supPL(f,P),abf    infPU(f,P).\underline{\int_a^b} f \;\coloneqq\; \sup_P L(f, P), \qquad \overline{\int_a^b} f \;\coloneqq\; \inf_P U(f, P).

Since every lower sum is \le every upper sum, you always have ff\underline{\int} f \le \overline{\int} f.

Riemann integrability

A bounded function f:[a,b]Rf: [a, b] \to \mathbb{R} is Riemann integrable if the upper and lower integrals agree:

abf  =  abf.\underline{\int_a^b} f \;=\; \overline{\int_a^b} f.

When they do, their common value is called the Riemann integral of ff on [a,b][a, b], written

abf(x)dx  =  abf.\int_a^b f(x)\,dx \;=\; \int_a^b f.

The Darboux criterion

A practical reformulation: ff is Riemann integrable if and only if for every ε>0\varepsilon > 0 there exists a partition PP with

U(f,P)L(f,P)  <  ε.(1)U(f, P) - L(f, P) \;<\; \varepsilon. \tag{1}

This is the working tool for most integrability proofs.

Equivalent Riemann sum definition

You can also define the integral via Riemann sums directly. For a partition PP and a choice of sample points ξi[xi1,xi]\xi_i \in [x_{i-1}, x_i], the Riemann sum is

S(f,P,ξ)    i=1nf(ξi)(xixi1).S(f, P, \boldsymbol\xi) \;\coloneqq\; \sum_{i=1}^n f(\xi_i)\,(x_i - x_{i-1}).

The mesh of PP is Pmaxi(xixi1)\|P\| \coloneqq \max_i(x_i - x_{i-1}). Then ff is Riemann integrable with value II if and only if: for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that P<δ\|P\| < \delta implies S(f,P,ξ)I<ε|S(f,P,\boldsymbol\xi) - I| < \varepsilon for every choice of sample points.

The Darboux and Riemann-sum formulations are equivalent; the Darboux approach tends to be cleaner for proofs.

Every continuous function is integrable

Theorem. If f:[a,b]Rf: [a, b] \to \mathbb{R} is continuous, then ff is Riemann integrable.

Proof. A continuous function on a closed bounded interval is uniformly continuous: for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that xy<δf(x)f(y)<ε/(ba)|x - y| < \delta \Rightarrow |f(x) - f(y)| < \varepsilon/(b-a).

Given ε>0\varepsilon > 0, choose δ\delta as above and let PP be any partition with mesh P<δ\|P\| < \delta. On each subinterval [xi1,xi][x_{i-1}, x_i], the oscillation satisfies

Mimi    εba,M_i - m_i \;\le\; \frac{\varepsilon}{b-a},

because any two points in [xi1,xi][x_{i-1}, x_i] are within distance δ\delta of each other. Therefore

U(f,P)L(f,P)  =  i=1n(Mimi)(xixi1)    εba(ba)  =  ε.U(f,P) - L(f,P) \;=\; \sum_{i=1}^n (M_i - m_i)(x_i - x_{i-1}) \;\le\; \frac{\varepsilon}{b-a} \cdot (b-a) \;=\; \varepsilon.

By the Darboux criterion (1)(1), ff is integrable. \square

Worked example: 01x2dx\int_0^1 x^2\,dx

Take f(x)=x2f(x) = x^2 and the uniform partition Pn={0,1n,2n,,1}P_n = \{0, \tfrac{1}{n}, \tfrac{2}{n}, \ldots, 1\}. Since ff is increasing on [0,1][0,1]:

Mi=(in)2,mi=(i1n)2,Δxi=1n.M_i = \left(\frac{i}{n}\right)^2, \qquad m_i = \left(\frac{i-1}{n}\right)^2, \qquad \Delta x_i = \frac{1}{n}.

The upper and lower sums are:

U(f,Pn)=1ni=1ni2n2=1n3n(n+1)(2n+1)6=(n+1)(2n+1)6n2,U(f, P_n) = \frac{1}{n} \sum_{i=1}^n \frac{i^2}{n^2} = \frac{1}{n^3} \cdot \frac{n(n+1)(2n+1)}{6} = \frac{(n+1)(2n+1)}{6n^2}, L(f,Pn)=1ni=0n1i2n2=(n1)(2n1)6n2.L(f, P_n) = \frac{1}{n} \sum_{i=0}^{n-1} \frac{i^2}{n^2} = \frac{(n-1)(2n-1)}{6n^2}.

Their difference is UL=(n+1)(2n+1)(n1)(2n1)6n2=6n6n2=1n0U - L = \frac{(n+1)(2n+1) - (n-1)(2n-1)}{6n^2} = \frac{6n}{6n^2} = \frac{1}{n} \to 0. So the Darboux criterion is satisfied. Both sums converge to 13\frac{1}{3}, confirming

01x2dx  =  13.\int_0^1 x^2\,dx \;=\; \frac{1}{3}.

Summary

  • A partition of [a,b][a,b] divides it into subintervals; Darboux sums L(f,P)L(f,P) and U(f,P)U(f,P) bound the “area under ff” from below and above.
  • The lower integral f\underline{\int} f and upper integral f\overline{\int} f are the supremum and infimum of all lower and upper sums, respectively.
  • ff is Riemann integrable when f=f\underline{\int} f = \overline{\int} f; the common value is abf\int_a^b f.
  • Darboux criterion: ff is integrable iff for every ε>0\varepsilon > 0 some partition achieves U(f,P)L(f,P)<εU(f,P) - L(f,P) < \varepsilon.
  • Every continuous function on [a,b][a,b] is integrable, by uniform continuity.