Ma · Mathematics

How to Find the Infimum and Supremum of a Riemann Sum

Published By the 9to5Science editorial team

At a glance

  1. 1. Fix the partition

    A Riemann sum depends on both the subintervals and the chosen sample points.

  2. 2. Use interval bounds

    For a fixed partition, sum each subinterval’s infimum or supremum, weighted by its width.

  3. 3. Check what varies

    If partitions also vary, the infimum and supremum can differ from those for one fixed partition.

  4. 4. Compare with the integral

    For an integrable function, sums over partitions whose mesh tends to zero converge to the integral.

A Riemann sum depends on two choices: a partition of the interval and a sample point in each subinterval. So the infimum and supremum depend on which choices are allowed to vary. The most common interpretation is to fix a partition and vary the sample points; in that case, the answers are the lower and upper Darboux sums.

Riemann sums for a fixed partition

Let ff be bounded on [a,b][a,b], and choose a partition

a=x0<x1<⋯<xn=b.a=x_0<x_1<\cdots<x_n=b.

Write Δxi=xi−xi−1\Delta x_i=x_i-x_{i-1}. A tagged Riemann sum for this partition is

S(P,ξ)=∑i=1nf(ξi) Δxi,S(P,\xi)=\sum_{i=1}^{n} f(\xi_i)\,\Delta x_i,

where each sample point ξi\xi_i lies in [xi−1,xi][x_{i-1},x_i]. Define the infimum and supremum of ff on the iith subinterval by

mi=inf⁡x∈[xi−1,xi]f(x),Mi=sup⁡x∈[xi−1,xi]f(x).m_i=\inf_{x\in[x_{i-1},x_i]}f(x),\qquad M_i=\sup_{x\in[x_{i-1},x_i]}f(x).

Since mi≤f(ξi)≤Mim_i\le f(\xi_i)\le M_i and each width Δxi\Delta x_i is positive, every tagged sum satisfies

∑i=1nmiΔxi≤S(P,ξ)≤∑i=1nMiΔxi.\sum_{i=1}^{n}m_i\Delta x_i\le S(P,\xi)\le \sum_{i=1}^{n}M_i\Delta x_i.

Moreover, the sample points can be chosen independently. They can therefore make the sum as close as desired to either bound. Thus

inf⁡ξS(P,ξ)=∑i=1nmiΔxi,sup⁡ξS(P,ξ)=∑i=1nMiΔxi.\inf_{\xi} S(P,\xi)=\sum_{i=1}^{n}m_i\Delta x_i, \qquad \sup_{\xi} S(P,\xi)=\sum_{i=1}^{n}M_i\Delta x_i.

These are called the lower Darboux sum L(f,P)L(f,P) and upper Darboux sum U(f,P)U(f,P). The infimum or supremum need not be attained: if ff does not reach its infimum or supremum on a subinterval, the corresponding bound is approached rather than achieved.

Worked example: f(x)=xf(x)=x on [0,1][0,1]

Use the partition P={0,12,1}P=\{0,\tfrac12,1\}. On the first subinterval, [0,12][0,\tfrac12], the infimum is 00 and the supremum is 12\tfrac12. On the second, [12,1][\tfrac12,1], they are 12\tfrac12 and 11. Each subinterval has width 12\tfrac12, so

L(f,P)=0⋅12+12⋅12=14,L(f,P)=0\cdot\frac12+\frac12\cdot\frac12=\frac14,

and

U(f,P)=12⋅12+1⋅12=34.U(f,P)=\frac12\cdot\frac12+1\cdot\frac12=\frac34.

Therefore, with this partition fixed and the tags allowed to vary, the infimum of the Riemann sums is 14\tfrac14 and the supremum is 34\tfrac34. For example, choosing tags at the midpoints gives the sum 12\tfrac12, but that is only one of the possible sums.

If the partition can also vary

A different interpretation allows all partitions and all choices of tags on [a,b][a,b]. Let m=inf⁡[a,b]fm=\inf_{[a,b]}f and M=sup⁡[a,b]fM=\sup_{[a,b]}f. Every Riemann sum lies between m(b−a)m(b-a) and M(b−a)M(b-a), because its widths add to b−ab-a. A one-subinterval partition, with tags chosen where ff is arbitrarily close to its global infimum or supremum, shows that these bounds are sharp:

inf⁡P,ξS(P,ξ)=(b−a)inf⁡x∈[a,b]f(x),sup⁡P,ξS(P,ξ)=(b−a)sup⁡x∈[a,b]f(x).\inf_{P,\xi}S(P,\xi)=(b-a)\inf_{x\in[a,b]}f(x), \qquad \sup_{P,\xi}S(P,\xi)=(b-a)\sup_{x\in[a,b]}f(x).

For f(x)=xf(x)=x on [0,1][0,1], these overall bounds are 00 and 11, not 14\tfrac14 and 34\tfrac34. The distinction is that the latter values came from one particular partition.

How the integral fits in

For a bounded Riemann-integrable function, lower sums can be made arbitrarily close to the integral from below, and upper sums arbitrarily close from above. Equivalently, tagged sums converge to the integral when the partition mesh—the width of its largest subinterval—tends to zero. In the example, refining the partition makes the lower and upper sums approach ∫01x dx=12\int_0^1 x\,dx=\tfrac12.

This does not mean the infimum or supremum over every possible tagged sum equals the integral. Coarse partitions are still included in that larger set. The integral describes the common limit of sums on increasingly fine partitions, not generally the bounds over all partitions.

Common mistakes

  • Confusing tags with partitions: For a fixed partition, vary the sample points to get the lower and upper Darboux sums. If partitions vary too, the answer may change.
  • Calling an infimum a minimum: A function may approach its infimum without attaining it. Use “minimum” or “maximum” only when the extremum is reached.
  • Assuming every Riemann sum equals the integral: A finite sum usually does not. Convergence to the integral requires increasingly fine partitions and Riemann integrability.
  • Forgetting boundedness: The finite upper and lower Darboux sums described here require ff to be bounded on the interval.

References

  1. The Elements of Real Analysis
  2. Introduction to Real Analysis

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.