Integrability of Continuous Functions
Suppose you want to compute the area under a wildly wiggling curve. An example is patched to be continuous at . The interval considered is . Can you always trust that "the area" is a well-defined number? It should be computable as a limit of rectangle sums. This should hold no matter how erratic the curve looks. This question sits at the very foundation of integral calculus. Before one can compute an integral with the Fundamental Theorem of Calculus, one must know it exists. This existence must hold in a rigorous sense. The Cauchy Integrability Criterion gives a clean test. A bounded function is Riemann integrable on exactly when the following holds. For every there is a partition making a certain difference small. That difference is between upper and lower Riemann sums, and it must be smaller than . This criterion is powerful but abstract. It does not, by itself, tell us which functions actually satisfy it. The theorem in this article closes that gap. It does so for the single most important class of functions in analysis: continuous ones. The key insight involves a closed, bounded interval. On such an interval, continuity upgrades automatically to Uniform Continuity on Compact Sets. Uniform continuity is precisely the tool needed to control the oscillation of . It controls this oscillation simultaneously across an entire partition. This is stronger than controlling it just near each individual point. This is the mechanism that converts " is continuous" into something stronger. It becomes the fact that "the upper and lower sums can be squeezed together." This article gives a complete, self-contained proof. It shows that every continuous function on is Riemann integrable. It builds directly on the Cauchy criterion and uniform continuity. It also sets the stage for deeper theorems that follow. These include the Mean Value Theorem for Integrals. They also include the First Fundamental Theorem of Calculus. Both of these presuppose something important. They assume the integral of a continuous function is a well-defined real number to begin with.
- Every is bounded (by the Extreme Value Theorem) and hence a candidate for Riemann integration.
- The Cauchy Integrability Criterion reduces integrability to making arbitrarily small.
- Continuity on the compact interval is automatically uniform continuity.
- Uniform continuity lets one choose a single controlling oscillation of over every subinterval of a fine-enough partition.
- Taking a partition with mesh less than that forces , proving integrability.
- Key idea: uniform continuity turns local wiggle-control into global, partition-wide wiggle-control, which is exactly what the Cauchy criterion demands.
Where this lives today
The integrability of continuous functions is the load-bearing beam beneath the entire calculus curriculum: the First Fundamental Theorem of Calculus and the Mean Value Theorem for Integrals both presuppose that is a well-defined real number before differentiating or estimating it. In numerical analysis, quadrature methods (Simpson's rule, trapezoidal rule) are justified by exactly this kind of uniform-continuity error control — the same -vs-mesh argument bounds numerical quadrature error. In probability and statistics, continuity of density functions on bounded supports guarantees that expectations are well-posed integrals rather than formal expressions. In physics and engineering, continuity of physical fields (temperature, potential, stress) over bounded regions is routinely invoked to justify that line and volume integrals used in energy or work computations actually exist. In theoretical computer science, uniform continuity estimates underlie rigorous error bounds for algorithms that approximate integrals or continuous functions by discretized samples, connecting this 19th-century theorem directly to modern computational guarantees.
:::quiz[Which property of is essential to upgrade continuity to uniform continuity?]
- is an interval of real numbers
- is compact (closed and bounded) ✓
- contains rational numbers
- has positive length
:::quiz[What breaks in the theorem if is continuous on but domain is not compact, as with ?]
- Nothing breaks; the theorem still applies
- fails to be bounded near
- Continuity no longer guarantees uniform continuity, so the oscillation on subintervals near cannot be uniformly controlled ✓
- The Cauchy criterion becomes false in general
:::faq[Does uniform continuity alone guarantee integrability, or is compactness of still doing work elsewhere in the proof?] Compactness of is used twice: first, to upgrade continuity to uniform continuity (Step 2), and second, to guarantee that attains its supremum and infimum on each compact subinterval via the Extreme Value Theorem (Step 5), which is what lets us write as an actual difference of function values rather than merely a difference of suprema/infima that might not be attained. Both uses trace back to the same underlying compactness of closed bounded intervals in .
Ask the tutor: How does this integrability proof change if is allowed finitely many jump discontinuities on ?
Let be bounded. For a partition of , define
and the upper and lower Riemann sums
Define the upper integral and the lower integral , infimum and supremum taken over all partitions of . The function is Riemann integrable on if
and this common value is denoted .
Intuition
Picture the graph of a continuous function over , and imagine slicing into thin vertical strips. Over each strip , the function's values range between a minimum and maximum . The upper sum stacks up rectangles that overestimate the area (using the tallest value on each strip); the lower sum underestimates (using the shortest value). The gap measures how much "slop" the partition leaves. Now here is the crucial fact that continuity supplies: because is continuous on a closed, bounded interval, it is uniformly continuous. This means that if two points are close together (within some , chosen once and for all, not depending on where sit in ), then and are guaranteed to be close together (within ). If every strip of the partition has width less than this , then cannot vary by more than within any single strip — so for every simultaneously. This is exactly the uniform control needed to make small, strip by strip, all at once. Without uniform continuity — if were allowed to depend on the location — some strip somewhere might harbor huge oscillation no matter how fine the partition, and the gap between upper and lower sums could refuse to shrink. Uniform continuity is what forecloses that possibility.
:::theorem[Continuous Functions on are Riemann Integrable] Let be continuous on the closed, bounded interval , where . Then is Riemann integrable on .
Technique: direct construction of a partition via uniform continuity, verified against the Cauchy Integrability Criterion.
Step 1: is bounded, so upper and lower sums are well-defined. Since is closed and bounded, it is compact. A continuous real-valued function on a compact set is bounded (the Extreme Value Theorem, itself a standard consequence of compactness). Hence there exists with for all . Boundedness guarantees that for every partition , each supremum and infimum exists as a finite real number, so and are well-defined finite sums, and the upper and lower integrals exist as finite real numbers (they are, respectively, the infimum of a set of reals bounded below and the supremum of a set of reals bounded above, since for all partitions — a standard fact underlying the definition of upper/lower integrals).
Step 2: Continuity on upgrades to uniform continuity. By the theorem on Uniform Continuity on Compact Sets, since is compact and is continuous at every point of , is uniformly continuous on . Explicitly: for every there exists such that for all ,
Crucially, this single works for every pair in — it does not depend on the location of or within the interval.
Step 3: Invoke the Cauchy Integrability Criterion. By the Cauchy Integrability Criterion, to show is Riemann integrable it suffices to show:
Fix . We now construct such a partition.
Step 4: Choose and build a partition with mesh less than . Apply Step 2 with tolerance (a valid choice since , because ). Obtain such that
Let be large enough that (such exists by the Archimedean property). Let be the partition of into equal subintervals:
Each subinterval has length .
Step 5: Bound on each subinterval. Fix . The subinterval is closed and bounded, hence compact, and restricted to it is continuous, so attains a maximum and a minimum on (Extreme Value Theorem): there exist with
Since , we have . By the uniform continuity bound from Step 4,
(The middle equality holds because , so , and thus it equals its own absolute value.)
Step 6: Sum the estimate over all subintervals.
Step 7: Conclude. We have exhibited, for arbitrary , a partition of with . By the Cauchy Integrability Criterion, is Riemann integrable on .
∎If is any sequence of partitions of with mesh , and is continuous on , then
This follows immediately by rerunning Step 4–6 of the proof with chosen relative to any , and noting that once , the same oscillation bound applies to every subinterval of (not just equal-width ones), giving for all sufficiently large .
Worked examples
Example 1. Let on . This is a polynomial, hence continuous on , hence continuous on the compact interval ; by the theorem, is Riemann integrable on . Let us carry out the -construction explicitly for , to see the machine work on an asymmetric, non-monotonic function. First bound the derivative to get an explicit modulus of continuity: for ,
since is increasing in on this interval and . So by the Mean Value Theorem, for any ,
(This is a Lipschitz bound, a stronger and more explicit version of uniform continuity available here because is differentiable with bounded derivative; it is not needed in general but illustrates the mechanism concretely.) To force , it suffices to take . The interval has length . Choose so that , i.e. , so take . Partitioning into equal pieces of width guarantees, by Step 5 of the proof,
and hence
This confirms concretely that a fine enough uniform partition squeezes the upper and lower sums together, exactly as the general theorem promises — no cleverness about where the partition points sit is required, only that the mesh is small enough.
Example 2. Let on . This function is continuous on (in particular, right-continuous at , since ), so the theorem applies and is Riemann integrable on , even though is not differentiable at and has unbounded derivative near (so the Lipschitz shortcut of Example 1 fails here). This shows why the theorem's proof must genuinely use uniform continuity rather than a derivative bound. To see uniform continuity directly: given , we want with whenever , . Using the identity for not both zero, and separately checking the case where one of them is :
- If and (say) : .
- If : one shows directly (squaring both sides of when , which holds since ).
So in all cases for . Given , choose ; then . Take , needing . Choosing with , i.e. , so subintervals of width , forces
Again the Cauchy criterion is met, confirming integrability at the level of an explicit partition — and demonstrating that the square-root modulus of continuity (rather than a linear Lipschitz bound) still suffices, because the theorem only ever needs some uniform continuity estimate, of whatever shape.
The theorem requires to be a closed, bounded interval. Consider , , which is continuous on but is not compact (not closed). Then:
- is unbounded on : for any , taking gives . Since Riemann integrability requires boundedness by definition, cannot be Riemann integrable on in the ordinary sense — for any partition attempting to include the endpoint , we'd have , so for every partition, and the upper integral is not a finite real number.
- Uniform continuity also genuinely fails here (not merely boundedness): even if one instead considers a bounded but still non-uniformly-continuous example, such as on (bounded, continuous, but not uniformly continuous, since near arbitrarily close points can have far apart), the proof's Step 4–5 construction breaks: no single controls oscillation on subintervals near , however the partition is refined elsewhere. Concretely, for and , we get (so ) while and for all , so never shrinks — violating the uniform continuity conclusion the proof relies on.
This shows both hypotheses "closed" and "bounded" (packaged together as compactness) are load-bearing: remove either, and continuity no longer forces uniform continuity, and the proof's central mechanism collapses.
Scope, edge cases & common traps
| Situation | Does the theorem apply? | Why |
|---|---|---|
| continuous on , | Yes | Exactly the hypothesis of the theorem |
| continuous on open | Not directly | not compact; uniform continuity can fail (e.g. on ) |
| continuous on except at finitely many jump points | Yes, but needs a separate theorem | Handled by a refinement (piecewise-continuous / bounded-with-finite-discontinuities integrability), not this theorem alone |
| continuous but domain is | No | Unbounded domain is not compact; improper integrals require separate limiting definitions |
| Lipschitz on | Yes | Lipschitz uniformly continuous theorem applies (stronger hypothesis, same conclusion) |
| merely bounded, not continuous, on | Not covered by this theorem | Need the Cauchy criterion checked directly, or another sufficient condition (e.g. monotonicity) |
The mathematician behind it
Origins · 1 minBernhard Riemann and how this was discovered
Bernhard Riemann formalized the modern notion of the definite integral in his 1854 habilitation work, seeking rigorous foundations for representing functions by trigonometric (Fourier) series. His construction — via upper and lower sums over partitions — replaced looser, geometrically-motivated notions of "area under a curve" with an arithmetic criterion, later sharpened by Darboux into the upper/lower sum formulation used throughout this article. Riemann's broader legacy spans complex analysis, differential geometry (Riemannian manifolds), and the Riemann Hypothesis in number theory, but the integral bearing his name remains the entry point through which most students first encounter rigorous analysis.
Why isn't ordinary (pointwise) continuity enough to prove integrability?
Pointwise continuity only guarantees that for each fixed point and each , there is some (possibly depending on ) controlling nearby values. To build one partition that controls oscillation everywhere, we need a single that works uniformly across the whole interval, so that a mesh smaller than controls every subinterval at once. That upgrade — from a depending on the point to a depending only on — is precisely uniform continuity, and it holds automatically on compact intervals like , but can fail on open or unbounded domains, as the counterexample on shows.
Does this theorem also apply to functions continuous except at a few points?
Not directly — this theorem's hypothesis is continuity at every point of . However, a closely related and provable extension states that any bounded function with only finitely many (or even countably many, in measure-zero settings) discontinuities on is still Riemann integrable. The proof strategy is similar in spirit: isolate small intervals around the bad points to control their contribution, and use uniform continuity of away from those points to control the rest. That extension is a separate theorem, not automatically covered by the pure continuous case proven here.
Is boundedness of a separate hypothesis, or does continuity give it for free?
On a compact interval , boundedness is automatic: continuity plus compactness of the domain implies boundedness by the Extreme Value Theorem, so it need not be assumed separately. This is a special feature of compact domains — on a non-compact domain like , a continuous function such as can be unbounded, which is exactly why the Riemann integral (which requires bounded integrands by definition) cannot apply there without further care, such as an improper integral.
How does this theorem relate to the Fundamental Theorem of Calculus?
The Fundamental Theorem of Calculus asserts that if is continuous on , then is differentiable with . But this statement is meaningless unless is already known to exist as a well-defined real number for every — which is precisely what this integrability theorem supplies. In this sense, the integrability theorem is a logical prerequisite that must be established before the Fundamental Theorem of Calculus can even be stated meaningfully, let alone proved.
Can the proof's partition be non-uniform (unequal subinterval widths)?
Yes — the proof only needs the mesh (the maximum subinterval width) to be smaller than ; it does not require equal widths. Using an equal-width partition is a convenient, concrete choice that makes the arithmetic in Step 6 clean, but any partition, however irregular, with all subintervals shorter than achieves the same bound . This flexibility is used implicitly in the corollary about refining sequences of partitions with mesh tending to zero.
What is the connecting idea to the Mean Value Theorem for Integrals?
Once integrability is established, the Mean Value Theorem for Integrals states that for continuous on , there exists with . Its proof leans on the Extreme Value Theorem and Intermediate Value Theorem applied to , but it fundamentally needs to already be a well-defined real number — again supplied by the integrability theorem proven here. The two results form a natural pair: existence of the integral, then a precise description of its average value.