Upper and Lower Darboux Sums
Consider a bounded but wildly irregular function on . 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 on , we take a partition of into finitely many subintervals. We build a rectangle over each subinterval. We use the supremum of there for the upper sum. We use the infimum of 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 . These sums matter for an important reason. They convert the vague question "does 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.
- A partition of splits it into finitely many subintervals .
- On each subinterval, take and — these exist because is bounded.
- The upper sum and lower sum .
- Geometrically, is the total area of rectangles that sit above the graph; sits below.
- For a fixed , every lower sum (any partition) is 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 is integrable iff — 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 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 is bounded on and is any partition, which inequality must always hold?]
- ✓
:::quiz[Why must exist as a finite real number?]
- Because is continuous
- Because the subinterval has positive length
- Because 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 with , what are and ?]
- , always, since both rationals and irrationals are dense in every interval ✓
- They depend on whether is rational
- Undefined, since the function has no limit
:::quiz[Why does the article's counterexample function on , , fail to have well-defined Darboux sums?]
- Because is discontinuous at every point
- Because is negative somewhere
- Because is unbounded near , so on any subinterval touching is , not a real number ✓
- Because is not compact
:::faq[Do upper and lower sums make sense on unions of intervals or only on a single ?] As defined here, they are built for a single closed bounded interval 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 and both exist?
Let be a bounded function, meaning there exist real numbers with for all . Let
be a partition of . For each , write for the length of the -th subinterval , and define
These suprema and infima exist and are finite real numbers because is bounded on and hence on each subinterval, and every nonempty bounded set of reals has a supremum and an infimum (completeness of ). The upper Darboux sum of with respect to is
and the lower Darboux sum of with respect to is
Since for every , both sums are finite real numbers, and
Intuition
Picture the graph of over . 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 , the least upper bound of there) and one rectangle guaranteed to lie entirely below (using height , the greatest lower bound). Summing the areas of the "roof" rectangles gives ; summing the "floor" rectangles gives . Because every value of on a subinterval is squeezed between and by definition of sup and inf, the true (yet-to-be-defined) area under the graph — whatever it should mean — is trapped between and for this particular . 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 with upper (outer) and lower (inner) rectangles for a bounded, non-monotonic ]
The Fundamental Inequality
Let be bounded on and let be any subinterval with and on it. Then for every partition point structure, , with equality possible (e.g. constant on that subinterval).
Since is bounded on , the set is nonempty and bounded, so both and exist as finite reals. Pick any point (it is nonempty since ). By definition of infimum, ; by definition of supremum, . Chaining these, , so . If is constant, say on the subinterval, then both sup and inf equal , giving equality.
∎Let be bounded. Then for any two partitions and of (not necessarily equal, not necessarily one a refinement of the other),
In particular, taking , we get for every partition .
We proceed in three steps: (1) a single-partition inequality ; (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 .
Step 1 ( for fixed ). Let . By the Lemma above, for each . Since , multiplying preserves the inequality: . Summing over ,
Step 2 (effect of adding one point to a partition). Let and let for some strictly between two consecutive points of (if is already in , and there is nothing to prove). We show and . All subintervals of other than are unchanged in , so they contribute identically to both sums. It remains to compare the contribution of in against the contributions of and in . Let , and let
Since , the set of values takes on is a subset of the values it takes on ; taking suprema of a subset can only decrease (or keep equal) the supremum, so . Likewise . Hence
i.e. the contribution of these two subintervals to is at most the contribution of to . Adding back the unchanged contributions from the other subintervals gives . Symmetrically, with , , : since , restricting to a subset can only increase (or keep equal) the infimum, so and . Thus
and adding the unchanged terms gives . By induction on the (finite) number of points added, for any partition (i.e. a refinement of , obtained by adjoining finitely many points one at a time),
(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 be arbitrary partitions of . Their union (as a set of points, then re-sorted) is a partition of that refines both: and . This is because still starts at , ends at , and consists of finitely many points of listed in increasing order — a valid partition — and it contains every point of and every point of . Applying with : . Applying Step 1 to the single partition : . Applying with : . Chaining these three inequalities:
This proves for arbitrary partitions , as claimed. Setting recovers Step 1 as a special case.
∎For bounded on , the set is bounded below by for any fixed partition . Consequently , both finite real numbers, since the theorem shows every element of is every element of .
Immediate from the theorem: fix ; then for every , so is a lower bound for . Taking the supremum over all choices of on the left preserves the inequality (a standard fact: if for all and fixed , then ; here for each fixed , and then taking inf over on the right). Both quantities are finite because all sums lie in by the Definition.
∎This corollary is exactly the ingredient needed to define, in The Darboux Integral, the lower integral and the upper integral , and to know in advance that always holds.
Worked examples
Example 1: A non-monotonic function, uneven partition. Let on (an upward-opening-down parabola, maximum at ), and take the uneven partition
So the four subintervals are , , , , with lengths , , , . Since is continuous and , is increasing on and decreasing on . We compute sup and inf on each piece directly (no need for continuity/extreme-value-theorem machinery beyond evaluating this simple quadratic):
- : increasing here (since ), so , .
- : still increasing (), so , .
- : contains the peak , and increases then decreases, so ; the inf is at an endpoint, whichever is smaller: , , so .
- : decreasing here (since ), so , .
Now assemble:
Indeed , consistent with the theorem, and both lie inside since on . (For reference, since is continuous, the true area is , comfortably trapped between and .)
Example 2: A bounded, discontinuous function — sums do NOT converge to a common value. Let
(the Dirichlet-type function on , bounded with ). Take the partition , subintervals of lengths . On every subinterval with , both rationals and irrationals are present (density of and of in every nondegenerate interval), so attains values arbitrarily close to (in fact exactly) and on each piece. Hence for every : and . Then
This holds for every partition of , not just this one: any nondegenerate subinterval contains both a rational and an irrational, forcing always. So
The upper and lower sums are consistent with the theorem ( always), but they never squeeze together no matter how fine the partition — foreshadowing that this fails to be Darboux integrable, a phenomenon studied fully once the integral itself is defined.
The Definition requires to be bounded on ; this is not a technicality. Consider
on . This is unbounded: as , . Take any partition . On the first subinterval with , the values for are unbounded above (they exceed any once , and such exist in since ). Hence
so fails to be a finite real number, and the "upper Darboux sum" is not a well-defined real number — it would have to be for every partition, since the same issue occurs on any subinterval touching . 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 , so the comparison becomes the vacuous (and useless) statement , carrying no information, and the machinery built in the Theorem (squeezing and 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
| Situation | What happens |
|---|---|
| continuous on | are actual attained values (extreme value theorem), sums behave like Riemann sums with worst/best sample points |
| bounded but wildly discontinuous (e.g. Dirichlet function) | well-defined for every , but may never converge to the same value as is refined |
| unbounded | may be on some subinterval; upper sum is not a real number; Darboux sums undefined |
| has only one subinterval (, ) | , — the crudest possible bracket |
| Comparing to for unrelated | Still valid — this is the point of the Theorem; one need not assume |
| constant, | for every subinterval and every partition, so identically |
The mathematician behind it
Origins · 1 minJean-Gaston Darboux and how this was discovered
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.
Why use sup and inf instead of just evaluating at partition endpoints?
Evaluating 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 . Using and guarantees is the smallest possible rectangle-roof over that subinterval, and the largest possible rectangle-floor, no matter how 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 or ever equal the true value of ?
For a fixed partition , in general neither equals the integral exactly; they are only upper and lower bounds. As is refined (more points added), can only decrease or stay the same, and can only increase or stay the same, so both sequences move toward each other. When is Darboux integrable, the common value approached by and is defined to be , but this requires taking a supremum/infimum over all partitions, not evaluating at one fixed .
Is boundedness of really necessary, or just a convenient simplification?
It is genuinely necessary for the sums to be defined as real numbers at all. If is unbounded on some subinterval of every partition (as in the counterexample), the supremum there is , so 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 , not by directly extending Darboux sums.
Can or fail to be attained by 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 the function has and , neither attained within the open interval. The Definition only requires to exist as real numbers bounding from above/below on the subinterval — attainment is a separate, stronger property relevant once continuity is assumed.
How does refining a partition affect and ?
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 play, intuitively?
It acts as a "referee" partition that is at least as fine as both and simultaneously. Because refining always pushes lower sums up and upper sums down, going from to only helps the lower-sum side get closer to (or past) where will land, and going from to only helps the upper-sum side shrink. Chaining turns two separate, unrelated partitions into a single chain of inequalities through a common intermediate partition.