Upper and Lower Darboux Sums

Consider a bounded but wildly irregular function on [0,1][0,1]. It jumps around too much to obviously have a well-defined area beneath its graph. How could we possibly pin down "the area"? We would need to do so without already knowing what area means for such a shape. The answer was discovered by Jean-Gaston Darboux while making rigorous the ideas of Riemann. His idea is to trap the unknown area between two computable numbers. One sum always overestimates, and another sum always underestimates. This is the idea of upper and lower Darboux sums. Given a bounded function ff on [a,b][a,b], we take a partition of [a,b][a,b] into finitely many subintervals. We build a rectangle over each subinterval. We use the supremum of ff there for the upper sum. We use the infimum of ff there for the lower sum. No limits, no choice of sample points, no ambiguity are needed. We only need suprema and infima of bounded sets of real numbers. These always exist by the completeness of R\mathbb{R}. These sums matter for an important reason. They convert the vague question "does ff have an area under its graph?" into something precise. That vague question becomes a precise comparison of two families of real numbers indexed by partitions. Every upper sum, for any partition, turns out to dominate every lower sum. This holds true for any other partition. This fact is proved from first principles. It uses only suprema, infima, and the structure of Partitions and Tagged Partitions of an Interval. This single inequality is the seed. From it, the entire Darboux/Riemann theory of integration grows. This article gives the precise definitions of upper and lower Darboux sums. It builds geometric intuition with explicit diagrams. It proves the fundamental inequality that every lower sum is bounded by every upper sum. We work two detailed asymmetric examples. We show exactly which hypothesis (boundedness) is indispensable via a genuine counterexample. We also set the stage for refinement, monotonicity, and the Darboux integral itself.

Key takeaways
  • A partition PP of [a,b][a,b] splits it into finitely many subintervals [xi−1,xi][x_{i-1},x_i].
  • On each subinterval, take Mi=sup⁡fM_i = \sup f and mi=inf⁡fm_i = \inf f — these exist because ff is bounded.
  • The upper sum U(f,P)=∑MiΔxiU(f,P) = \sum M_i \Delta x_i and lower sum L(f,P)=∑miΔxiL(f,P) = \sum m_i \Delta x_i.
  • Geometrically, U(f,P)U(f,P) is the total area of rectangles that sit above the graph; L(f,P)L(f,P) sits below.
  • For a fixed ff, every lower sum (any partition) is ≤\le every upper sum (any other partition).
  • Key idea: sup/inf on each piece turn a possibly discontinuous function into two honest, computable step-function bounds on its area.

Where this lives today

Upper and lower Darboux sums are the standard vehicle by which every rigorous real analysis course (in the style of Rudin or Abbott) defines the Riemann integral, because they avoid the awkward existential quantifier over sample-point choices that appears in Riemann's original tagged-sum definition. The Darboux criterion — that ff is integrable iff sup⁡PL(f,P)=inf⁡PU(f,P)\sup_P L(f,P) = \inf_P U(f,P) — is used to prove nearly every basic integrability theorem: continuous functions are integrable, monotone functions are integrable, and functions continuous except at finitely many points are integrable. In numerical analysis, upper and lower sums give rigorous, computable error bounds for quadrature rules — a numerically computed approximation to an integral can be certified to lie within [L(f,P),U(f,P)][L(f,P), U(f,P)] for a suitably fine partition. In measure theory, the sup/inf-per-piece idea generalizes directly to simple-function approximations used to build the Lebesgue integral, making Darboux sums a conceptual bridge to that later, more general theory. In computer science and interval arithmetic, the same sup/inf-per-subinterval idea underlies rigorous numerical integration with guaranteed error bounds, and in control theory and optimization, bounding a cost functional above and below via partition-based envelopes is a direct descendant of this construction.

:::quiz[If ff is bounded on [a,b][a,b] and PP is any partition, which inequality must always hold?]

  • U(f,P)≤L(f,P)U(f,P) \le L(f,P)
  • L(f,P)≤U(f,P)L(f,P) \le U(f,P) ✓
  • L(f,P)=U(f,P)L(f,P) = U(f,P)
  • U(f,P)<0U(f,P) < 0

:::quiz[Why must Mi=sup⁡[xi−1,xi]fM_i = \sup_{[x_{i-1},x_i]} f exist as a finite real number?]

  • Because ff is continuous
  • Because the subinterval has positive length
  • Because ff is bounded, so the set of values on each subinterval is a nonempty bounded set of reals, hence has a supremum ✓
  • Because the partition has finitely many points

:::quiz[For the Dirichlet-type function equal to 1 on rationals and 0 on irrationals, on any subinterval [c,d][c,d] with c<dc<d, what are MiM_i and mim_i?]

  • Mi=1,mi=0M_i = 1, m_i = 0, always, since both rationals and irrationals are dense in every interval ✓
  • Mi=mi=1/2M_i = m_i = 1/2
  • They depend on whether cc is rational
  • Undefined, since the function has no limit

:::quiz[Why does the article's counterexample function f(x)=1/xf(x)=1/x on (0,1](0,1], f(0)=0f(0)=0, fail to have well-defined Darboux sums?]

  • Because ff is discontinuous at every point
  • Because ff is negative somewhere
  • Because ff is unbounded near x=0x=0, so sup⁡f\sup f on any subinterval touching 00 is +∞+\infty, not a real number ✓
  • Because [0,1][0,1] is not compact

:::faq[Do upper and lower sums make sense on unions of intervals or only on a single [a,b][a,b]?] As defined here, they are built for a single closed bounded interval [a,b][a,b] with a bounded function on it, since a partition itself is defined as a finite increasing sequence of points spanning one such interval. Extensions to finite unions of intervals are typically handled by additivity of the integral over adjacent subintervals once the theory is developed further, rather than by redefining the partition or sum concept itself.

Ask the tutor: How does refining a partition rigorously push the lower sum up and the upper sum down, and why does that guarantee sup⁡PL(f,P)\sup_P L(f,P) and inf⁡PU(f,P)\inf_P U(f,P) both exist?

DefinitionUpper and Lower Darboux Sums

Let f:[a,b]→Rf:[a,b]\to\mathbb{R} be a bounded function, meaning there exist real numbers m,Mm,M with m≤f(x)≤Mm \le f(x) \le M for all x∈[a,b]x\in[a,b]. Let

P={a=x0<x1<⋯<xn=b}P = \{a = x_0 < x_1 < \cdots < x_n = b\}

be a partition of [a,b][a,b]. For each i=1,…,ni = 1,\dots,n, write Δxi=xi−xi−1\Delta x_i = x_i - x_{i-1} for the length of the ii-th subinterval [xi−1,xi][x_{i-1},x_i], and define

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

These suprema and infima exist and are finite real numbers because ff is bounded on [a,b][a,b] and hence on each subinterval, and every nonempty bounded set of reals has a supremum and an infimum (completeness of R\mathbb{R}). The upper Darboux sum of ff with respect to PP is

U(f,P)=∑i=1nMi Δxi,U(f,P) = \sum_{i=1}^n M_i \, \Delta x_i,

and the lower Darboux sum of ff with respect to PP is

L(f,P)=∑i=1nmi Δxi.L(f,P) = \sum_{i=1}^n m_i \, \Delta x_i.

Since m≤mi≤Mi≤Mm \le m_i \le M_i \le M for every ii, both sums are finite real numbers, and

m(b−a)≤L(f,P)≤U(f,P)≤M(b−a).m(b-a) \le L(f,P) \le U(f,P) \le M(b-a).

Intuition

Picture the graph of ff over [a,b][a,b]. A partition slices the domain into narrow strips. On each strip, instead of trying to track the exact shape of the graph — which may be erratic — we build one rectangle that is guaranteed to lie entirely above the graph on that strip (using height MiM_i, the least upper bound of ff there) and one rectangle guaranteed to lie entirely below (using height mim_i, the greatest lower bound). Summing the areas of the "roof" rectangles gives U(f,P)U(f,P); summing the "floor" rectangles gives L(f,P)L(f,P). Because every value of ff on a subinterval is squeezed between mim_i and MiM_i by definition of sup and inf, the true (yet-to-be-defined) area under the graph — whatever it should mean — is trapped between L(f,P)L(f,P) and U(f,P)U(f,P) for this particular PP. The deeper fact, proved below, is that this trapping is far more robust: even comparing a lower sum from one partition to an upper sum from a completely different, unrelated partition, the lower sum never exceeds the upper sum. This is what makes it sensible to later define the integral as the common value obtained by squeezing the gap between the best possible lower sums and the best possible upper sums to zero.

:::svg[A partition of [0,4][0,4] with upper (outer) and lower (inner) rectangles for a bounded, non-monotonic ff] x y x0=0 x1=1 x2=2 x3=3 x4=4 upper rects (sup): red lower rects (inf): blue

The Fundamental Inequality

LemmaBounding a single subinterval

Let ff be bounded on [a,b][a,b] and let [xi−1,xi][x_{i-1},x_i] be any subinterval with mi=inf⁡fm_i = \inf f and Mi=sup⁡fM_i = \sup f on it. Then for every partition point structure, mi≤Mim_i \le M_i, with equality possible (e.g. ff constant on that subinterval).

Proof

Since ff is bounded on [xi−1,xi][x_{i-1},x_i], the set {f(x):x∈[xi−1,xi]}\{f(x): x \in [x_{i-1},x_i]\} is nonempty and bounded, so both mi=inf⁡m_i = \inf and Mi=sup⁡M_i = \sup exist as finite reals. Pick any point c∈[xi−1,xi]c \in [x_{i-1},x_i] (it is nonempty since xi−1≤xix_{i-1} \le x_i). By definition of infimum, mi≤f(c)m_i \le f(c); by definition of supremum, f(c)≤Mif(c) \le M_i. Chaining these, mi≤f(c)≤Mim_i \le f(c) \le M_i, so mi≤Mim_i \le M_i. If ff is constant, say f≡c0f \equiv c_0 on the subinterval, then both sup and inf equal c0c_0, giving equality. ■\blacksquare

∎
TheoremEvery Lower Sum is at Most Every Upper Sum

Let f:[a,b]→Rf:[a,b]\to\mathbb{R} be bounded. Then for any two partitions P1P_1 and P2P_2 of [a,b][a,b] (not necessarily equal, not necessarily one a refinement of the other),

L(f,P1)≤U(f,P2).L(f,P_1) \le U(f,P_2).

In particular, taking P1=P2=PP_1 = P_2 = P, we get L(f,P)≤U(f,P)L(f,P) \le U(f,P) for every partition PP.

Proof

We proceed in three steps: (1) a single-partition inequality L(f,P)≤U(f,P)L(f,P) \le U(f,P); (2) a refinement lemma showing that adding points to a partition can only increase the lower sum and decrease the upper sum; (3) combining these via the common refinement P1∪P2P_1 \cup P_2.

Step 1 (L(f,P)≤U(f,P)L(f,P) \le U(f,P) for fixed PP). Let P={x0<⋯<xn}P = \{x_0 < \cdots < x_n\}. By the Lemma above, mi≤Mim_i \le M_i for each i=1,…,ni = 1,\dots,n. Since Δxi=xi−xi−1>0\Delta x_i = x_i - x_{i-1} > 0, multiplying preserves the inequality: miΔxi≤MiΔxim_i \Delta x_i \le M_i \Delta x_i. Summing over ii,

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

Step 2 (effect of adding one point to a partition). Let P={x0<⋯<xn}P = \{x_0 < \cdots < x_n\} and let P′=P∪{c}P' = P \cup \{c\} for some c∈(xk−1,xk)c \in (x_{k-1}, x_k) strictly between two consecutive points of PP (if cc is already in PP, P′=PP' = P and there is nothing to prove). We show U(f,P′)≤U(f,P)U(f,P') \le U(f,P) and L(f,P′)≥L(f,P)L(f,P') \ge L(f,P). All subintervals of PP other than [xk−1,xk][x_{k-1},x_k] are unchanged in P′P', so they contribute identically to both sums. It remains to compare the contribution of [xk−1,xk][x_{k-1},x_k] in PP against the contributions of [xk−1,c][x_{k-1},c] and [c,xk][c,x_k] in P′P'. Let Mk=sup⁡[xk−1,xk]fM_k = \sup_{[x_{k-1},x_k]} f, and let

Mk′=sup⁡[xk−1,c]f,Mk′′=sup⁡[c,xk]f.M_k' = \sup_{[x_{k-1},c]} f, \qquad M_k'' = \sup_{[c,x_k]} f.

Since [xk−1,c]⊆[xk−1,xk][x_{k-1},c] \subseteq [x_{k-1},x_k], the set of values ff takes on [xk−1,c][x_{k-1},c] is a subset of the values it takes on [xk−1,xk][x_{k-1},x_k]; taking suprema of a subset can only decrease (or keep equal) the supremum, so Mk′≤MkM_k' \le M_k. Likewise Mk′′≤MkM_k'' \le M_k. Hence

Mk′(c−xk−1)+Mk′′(xk−c)≤Mk(c−xk−1)+Mk(xk−c)=Mk(xk−xk−1),M_k'(c - x_{k-1}) + M_k''(x_k - c) \le M_k(c-x_{k-1}) + M_k(x_k - c) = M_k(x_k - x_{k-1}),

i.e. the contribution of these two subintervals to U(f,P′)U(f,P') is at most the contribution of [xk−1,xk][x_{k-1},x_k] to U(f,P)U(f,P). Adding back the unchanged contributions from the other subintervals gives U(f,P′)≤U(f,P)U(f,P') \le U(f,P). Symmetrically, with mk=inf⁡[xk−1,xk]fm_k = \inf_{[x_{k-1},x_k]} f, mk′=inf⁡[xk−1,c]fm_k' = \inf_{[x_{k-1},c]} f, mk′′=inf⁡[c,xk]fm_k'' = \inf_{[c,x_k]} f: since [xk−1,c]⊆[xk−1,xk][x_{k-1},c] \subseteq [x_{k-1},x_k], restricting to a subset can only increase (or keep equal) the infimum, so mk′≥mkm_k' \ge m_k and mk′′≥mkm_k'' \ge m_k. Thus

mk′(c−xk−1)+mk′′(xk−c)≥mk(xk−xk−1),m_k'(c-x_{k-1}) + m_k''(x_k-c) \ge m_k(x_k - x_{k-1}),

and adding the unchanged terms gives L(f,P′)≥L(f,P)L(f,P') \ge L(f,P). By induction on the (finite) number of points added, for any partition Q⊇PQ \supseteq P (i.e. QQ a refinement of PP, obtained by adjoining finitely many points one at a time),

L(f,P)≤L(f,Q)andU(f,Q)≤U(f,P).(∗)L(f,P) \le L(f,Q) \qquad \text{and} \qquad U(f,Q) \le U(f,P). \tag{$\ast$}

(This refinement monotonicity is developed further under Refinement and Monotonicity of Darboux Sums; here we only need the one instance below.)

Step 3 (common refinement). Let P1,P2P_1, P_2 be arbitrary partitions of [a,b][a,b]. Their union P∗=P1∪P2P^* = P_1 \cup P_2 (as a set of points, then re-sorted) is a partition of [a,b][a,b] that refines both: P∗⊇P1P^* \supseteq P_1 and P∗⊇P2P^* \supseteq P_2. This is because P∗P^* still starts at aa, ends at bb, and consists of finitely many points of [a,b][a,b] listed in increasing order — a valid partition — and it contains every point of P1P_1 and every point of P2P_2. Applying (∗)(\ast) with P=P1,Q=P∗P = P_1, Q = P^*: L(f,P1)≤L(f,P∗)L(f,P_1) \le L(f,P^*). Applying Step 1 to the single partition P∗P^*: L(f,P∗)≤U(f,P∗)L(f,P^*) \le U(f,P^*). Applying (∗)(\ast) with P=P2,Q=P∗P = P_2, Q = P^*: U(f,P∗)≤U(f,P2)U(f,P^*) \le U(f,P_2). Chaining these three inequalities:

L(f,P1)≤L(f,P∗)≤U(f,P∗)≤U(f,P2).L(f,P_1) \le L(f,P^*) \le U(f,P^*) \le U(f,P_2).

This proves L(f,P1)≤U(f,P2)L(f,P_1) \le U(f,P_2) for arbitrary partitions P1,P2P_1, P_2, as claimed. Setting P1=P2=PP_1 = P_2 = P recovers Step 1 as a special case. ■\blacksquare

∎
CorollaryEvery lower sum is a lower bound for the set of upper sums

For bounded ff on [a,b][a,b], the set {U(f,P):P a partition of [a,b]}\{U(f,P) : P \text{ a partition of } [a,b]\} is bounded below by L(f,P1)L(f,P_1) for any fixed partition P1P_1. Consequently sup⁡PL(f,P)≤inf⁡PU(f,P)\sup_P L(f,P) \le \inf_P U(f,P), both finite real numbers, since the theorem shows every element of {L(f,P)}\{L(f,P)\} is ≤\le every element of {U(f,P)}\{U(f,P)\}.

Proof

Immediate from the theorem: fix P1P_1; then L(f,P1)≤U(f,P2)L(f,P_1) \le U(f,P_2) for every P2P_2, so L(f,P1)L(f,P_1) is a lower bound for {U(f,P):P}\{U(f,P): P\}. Taking the supremum over all choices of P1P_1 on the left preserves the inequality (a standard fact: if L(f,P1)≤cL(f,P_1) \le c for all P1P_1 and fixed cc, then sup⁡P1L(f,P1)≤c\sup_{P_1} L(f,P_1) \le c; here c=U(f,P2)c = U(f,P_2) for each fixed P2P_2, and then taking inf over P2P_2 on the right). Both quantities are finite because all sums lie in [m(b−a),M(b−a)][m(b-a), M(b-a)] by the Definition. ■\blacksquare

∎

This corollary is exactly the ingredient needed to define, in The Darboux Integral, the lower integral ∫ab‾f=sup⁡PL(f,P)\underline{\int_a^b} f = \sup_P L(f,P) and the upper integral ∫ab‾f=inf⁡PU(f,P)\overline{\int_a^b} f = \inf_P U(f,P), and to know in advance that ∫ab‾f≤∫ab‾f\underline{\int_a^b} f \le \overline{\int_a^b} f always holds.

Worked examples

Example 1: A non-monotonic function, uneven partition. Let f(x)=x(4−x)f(x) = x(4-x) on [0,4][0,4] (an upward-opening-down parabola, maximum at x=2x=2), and take the uneven partition

P={0, 1, 1.5, 3, 4}.P = \{0,\ 1,\ 1.5,\ 3,\ 4\}.

So the four subintervals are [0,1][0,1], [1,1.5][1,1.5], [1.5,3][1.5,3], [3,4][3,4], with lengths Δx1=1\Delta x_1 = 1, Δx2=0.5\Delta x_2 = 0.5, Δx3=1.5\Delta x_3 = 1.5, Δx4=1\Delta x_4 = 1. Since ff is continuous and f′(x)=4−2xf'(x) = 4-2x, ff is increasing on [0,2][0,2] and decreasing on [2,4][2,4]. We compute sup and inf on each piece directly (no need for continuity/extreme-value-theorem machinery beyond evaluating this simple quadratic):

  • [0,1][0,1]: ff increasing here (since 1<21 < 2), so m1=f(0)=0m_1 = f(0) = 0, M1=f(1)=1⋅3=3M_1 = f(1) = 1\cdot 3 = 3.
  • [1,1.5][1,1.5]: still increasing (1.5<21.5<2), so m2=f(1)=3m_2 = f(1) = 3, M2=f(1.5)=1.5⋅2.5=3.75M_2 = f(1.5) = 1.5 \cdot 2.5 = 3.75.
  • [1.5,3][1.5,3]: contains the peak x=2x=2, and ff increases then decreases, so M3=f(2)=2⋅2=4M_3 = f(2) = 2\cdot 2 = 4; the inf is at an endpoint, whichever is smaller: f(1.5)=3.75f(1.5)=3.75, f(3)=3⋅1=3f(3) = 3\cdot1 = 3, so m3=3m_3 = 3.
  • [3,4][3,4]: decreasing here (since 3>23>2), so m4=f(4)=4⋅0=0m_4 = f(4) = 4\cdot 0 = 0, M4=f(3)=3M_4 = f(3) = 3.

Now assemble:

U(f,P)=3(1)+3.75(0.5)+4(1.5)+3(1)=3+1.875+6+3=13.875,U(f,P) = 3(1) + 3.75(0.5) + 4(1.5) + 3(1) = 3 + 1.875 + 6 + 3 = 13.875,
L(f,P)=0(1)+3(0.5)+3(1.5)+0(1)=0+1.5+4.5+0=6.L(f,P) = 0(1) + 3(0.5) + 3(1.5) + 0(1) = 0 + 1.5 + 4.5 + 0 = 6.

Indeed L(f,P)=6≤13.875=U(f,P)L(f,P) = 6 \le 13.875 = U(f,P), consistent with the theorem, and both lie inside [m(b−a),M(b−a)]=[0,16][m(b-a), M(b-a)] = [0, 16] since 0≤f≤40 \le f \le 4 on [0,4][0,4]. (For reference, since ff is continuous, the true area is ∫04x(4−x) dx=[2x2−x3/3]04=32−64/3=32/3≈10.667\int_0^4 x(4-x)\,dx = \left[2x^2 - x^3/3\right]_0^4 = 32 - 64/3 = 32/3 \approx 10.667, comfortably trapped between 66 and 13.87513.875.)

Example 2: A bounded, discontinuous function — sums do NOT converge to a common value. Let

f(x)={1x∈Q∩[0,2]0x∉Q, x∈[0,2]f(x) = \begin{cases} 1 & x \in \mathbb{Q} \cap [0,2] \\ 0 & x \notin \mathbb{Q},\ x \in [0,2] \end{cases}

(the Dirichlet-type function on [0,2][0,2], bounded with m=0,M=1m=0, M=1). Take the partition P={0,0.5,1.3,2}P = \{0, 0.5, 1.3, 2\}, subintervals of lengths 0.5,0.8,0.70.5, 0.8, 0.7. On every subinterval [xi−1,xi][x_{i-1},x_i] with xi−1<xix_{i-1}<x_i, both rationals and irrationals are present (density of Q\mathbb{Q} and of R∖Q\mathbb{R}\setminus\mathbb{Q} in every nondegenerate interval), so ff attains values arbitrarily close to (in fact exactly) 00 and 11 on each piece. Hence for every ii: Mi=sup⁡f=1M_i = \sup f = 1 and mi=inf⁡f=0m_i = \inf f = 0. Then

U(f,P)=1⋅0.5+1⋅0.8+1⋅0.7=2,L(f,P)=0⋅0.5+0⋅0.8+0⋅0.7=0.U(f,P) = 1\cdot 0.5 + 1\cdot 0.8 + 1\cdot 0.7 = 2, \qquad L(f,P) = 0\cdot0.5+0\cdot0.8+0\cdot0.7 = 0.

This holds for every partition PP of [0,2][0,2], not just this one: any nondegenerate subinterval contains both a rational and an irrational, forcing Mi=1,mi=0M_i=1, m_i=0 always. So

sup⁡PL(f,P)=0≠2=inf⁡PU(f,P).\sup_P L(f,P) = 0 \ne 2 = \inf_P U(f,P).

The upper and lower sums are consistent with the theorem (L≤UL \le U always), but they never squeeze together no matter how fine the partition — foreshadowing that this ff fails to be Darboux integrable, a phenomenon studied fully once the integral itself is defined.

CounterexampleBoundedness cannot be dropped

The Definition requires ff to be bounded on [a,b][a,b]; this is not a technicality. Consider

f(x)={1/x0<x≤10x=0f(x) = \begin{cases} 1/x & 0 < x \le 1 \\ 0 & x = 0\end{cases}

on [0,1][0,1]. This ff is unbounded: as x→0+x \to 0^+, f(x)→∞f(x) \to \infty. Take any partition P={0=x0<x1<⋯<xn=1}P = \{0 = x_0 < x_1 < \cdots < x_n = 1\}. On the first subinterval [x0,x1]=[0,x1][x_0,x_1] = [0,x_1] with x1>0x_1 > 0, the values f(x)=1/xf(x) = 1/x for x∈(0,x1]x \in (0,x_1] are unbounded above (they exceed any NN once x<1/Nx < 1/N, and such xx exist in (0,x1](0,x_1] since x1>0x_1>0). Hence

sup⁡{f(x):x∈[0,x1]}=+∞,\sup\{f(x): x \in [0,x_1]\} = +\infty,

so M1M_1 fails to be a finite real number, and the "upper Darboux sum" U(f,P)=M1Δx1+⋯U(f,P) = M_1 \Delta x_1 + \cdots is not a well-defined real number — it would have to be +∞+\infty for every partition, since the same issue occurs on any subinterval touching 00. The entire apparatus of the Definition — sup/inf of a bounded set producing a finite value — collapses: there is no finite real number to serve as U(f,P)U(f,P), so the comparison L(f,P)≤U(f,P)L(f,P) \le U(f,P) becomes the vacuous (and useless) statement L(f,P)≤∞L(f,P) \le \infty, carrying no information, and the machinery built in the Theorem (squeezing LL and UU together to define an integral) cannot even get started. This is precisely why boundedness is written into the Definition as a standing hypothesis, and why unbounded functions require an entirely different theory (improper integrals) rather than a direct extension of Darboux sums.

Scope, edge cases & common traps

SituationWhat happens
ff continuous on [a,b][a,b]Mi,miM_i, m_i are actual attained values (extreme value theorem), sums behave like Riemann sums with worst/best sample points
ff bounded but wildly discontinuous (e.g. Dirichlet function)U(f,P),L(f,P)U(f,P), L(f,P) well-defined for every PP, but may never converge to the same value as PP is refined
ff unboundedMi=sup⁡fM_i = \sup f may be +∞+\infty on some subinterval; upper sum is not a real number; Darboux sums undefined
PP has only one subinterval (n=1n=1, P={a,b}P=\{a,b\})U(f,P)=(sup⁡[a,b]f)(b−a)U(f,P) = (\sup_{[a,b]} f)(b-a), L(f,P)=(inf⁡[a,b]f)(b−a)L(f,P) = (\inf_{[a,b]} f)(b-a) — the crudest possible bracket
Comparing L(f,P1)L(f,P_1) to U(f,P2)U(f,P_2) for unrelated P1,P2P_1,P_2Still valid — this is the point of the Theorem; one need not assume P1⊆P2P_1 \subseteq P_2
ff constant, f≡cf\equiv cMi=mi=cM_i = m_i = c for every subinterval and every partition, so U(f,P)=L(f,P)=c(b−a)U(f,P) = L(f,P) = c(b-a) identically

The mathematician behind it

Origins · 1 minJean-Gaston Darboux and how this was discovered
JD
Jean-Gaston Darboux
1842–1917 · Analysis and differential geometry in Third Republic France

Darboux was a French mathematician working chiefly at the Sorbonne, known for foundational contributions to differential geometry (Darboux frames, orthogonal systems of surfaces) and for the rigorous reformulation of the Riemann integral using sup/inf sums, published in his 1875 memoir. His reformulation showed that Riemann's tagged-sum definition of the integral is equivalent to a cleaner sup/inf-based criterion, now called the Darboux integral, which is logically identical to the Riemann integral but far easier to work with in proofs.

History
- 1842: Gaston Darboux born in Nîmes, France.
- 1866: Completes doctoral studies under Michel Chasles, working in geometry.
- 1870s: Develops the theory of orthogonal surfaces and moving frames in differential geometry.
- 1875: Publishes the memoir reformulating Riemann's integral via upper and lower sums, now called Darboux sums.
- 1917: Dies in Paris; the Darboux integral remains the standard rigorous entry point to integration theory in analysis courses.
Why use sup and inf instead of just evaluating ff at partition endpoints?

Evaluating ff only at endpoints (or any single sample point per subinterval) gives a Riemann-style sum, which depends on which points you pick and need not bound the "true area" reliably for badly-behaved ff. Using sup⁡\sup and inf⁡\inf guarantees U(f,P)U(f,P) is the smallest possible rectangle-roof over that subinterval, and L(f,P)L(f,P) the largest possible rectangle-floor, no matter how ff behaves in between. This removes the sample-point ambiguity entirely and produces two numbers with a guaranteed sandwiching property, which is exactly what is needed to build a rigorous, choice-free definition of the integral.

Does U(f,P)U(f,P) or L(f,P)L(f,P) ever equal the true value of ∫abf\int_a^b f?

For a fixed partition PP, in general neither equals the integral exactly; they are only upper and lower bounds. As PP is refined (more points added), U(f,P)U(f,P) can only decrease or stay the same, and L(f,P)L(f,P) can only increase or stay the same, so both sequences move toward each other. When ff is Darboux integrable, the common value approached by sup⁡PL(f,P)\sup_P L(f,P) and inf⁡PU(f,P)\inf_P U(f,P) is defined to be ∫abf\int_a^b f, but this requires taking a supremum/infimum over all partitions, not evaluating at one fixed PP.

Is boundedness of ff really necessary, or just a convenient simplification?

It is genuinely necessary for the sums to be defined as real numbers at all. If ff is unbounded on some subinterval of every partition (as in the counterexample), the supremum there is +∞+\infty, so U(f,P)U(f,P) is not a finite real number and the entire construction fails to produce two comparable numbers. Unbounded functions are instead handled by the separate theory of improper integrals, which is built as a limit of integrals of bounded truncations of ff, not by directly extending Darboux sums.

Can MiM_i or mim_i fail to be attained by ff at some point of the subinterval?

Yes. Supremum and infimum need not be attained values unless extra hypotheses (such as continuity on a closed interval, via the extreme value theorem) are assumed. For example, on (0,1)(0,1) the function f(x)=xf(x)=x has sup⁡f=1\sup f = 1 and inf⁡f=0\inf f = 0, neither attained within the open interval. The Definition only requires Mi,miM_i,m_i to exist as real numbers bounding ff from above/below on the subinterval — attainment is a separate, stronger property relevant once continuity is assumed.

How does refining a partition affect U(f,P)U(f,P) and L(f,P)L(f,P)?

Adding points to a partition can only decrease (or leave unchanged) the upper sum, and can only increase (or leave unchanged) the lower sum — this was proved as Step 2 inside the main proof here, and it is the seed of the fuller monotonicity theory. Intuitively, splitting a subinterval into two smaller pieces lets the sup/inf on each smaller piece "hug the graph more tightly," never making the roof higher or the floor lower. This monotonicity is exactly what allows the upper and lower sums to converge toward each other as partitions are refined indefinitely.

What role does the common refinement P1∪P2P_1 \cup P_2 play, intuitively?

It acts as a "referee" partition that is at least as fine as both P1P_1 and P2P_2 simultaneously. Because refining always pushes lower sums up and upper sums down, going from P1P_1 to P1∪P2P_1\cup P_2 only helps the lower-sum side get closer to (or past) where UU will land, and going from P2P_2 to P1∪P2P_1\cup P_2 only helps the upper-sum side shrink. Chaining L(f,P1)≤L(f,P1∪P2)≤U(f,P1∪P2)≤U(f,P2)L(f,P_1)\le L(f,P_1\cup P_2)\le U(f,P_1\cup P_2)\le U(f,P_2) turns two separate, unrelated partitions into a single chain of inequalities through a common intermediate partition.

Before this

Where this leads