Proof
Prerequisite proofs used below
Continuous real functions on a closed interval are uniformly continuous
Fix an integer and the Euclidean norm on . A set is bounded if it lies in some finite-radius ball, closed if its complement is open, and compact if every cover by open subsets of has a finite subcover. We use real completeness, including the nested closed interval property.
Heine–Borel in finite-dimensional Euclidean space
Theorem. A set is compact if and only if it is closed and bounded. The empty set satisfies all three properties.
Compact implies bounded. The open balls , an integer, cover . A finite subcover puts inside the largest of these balls.
Compact implies closed. Suppose and . The balls , , cover . Choose a finite subcover with centers and set . If lies in the ball centered at , the triangle inequality gives . Hence misses , so the complement is open.
Closed and bounded implies compact. Let nonempty be closed and bounded. Enclose it in a closed cube with . Suppose an open cover of has no finite subcover. Divide each coordinate interval into two closed halves. The resulting closed subcubes cover . At least one subcube has intersection with that is not finitely coverable by the given family; otherwise the finite union of the finite subcovers would cover . Select such a subcube and repeat. This produces nested closed cubes with side length and not finitely coverable, hence nonempty.
For each coordinate, the nested interval property gives a common coordinate value. Together these give . Every pair of points in has distance at most , so the intersection contains only . Choose . Then . A closed set contains such a limit: if were in its open complement, a ball around would eventually contain outside , a contradiction. Thus .
One member of the cover contains , and openness gives for some . For sufficiently large , every point of is within of , so alone covers . This contradicts the selection of . Therefore every open cover has a finite subcover. The number is finite; replacing it by infinitely many subpieces would invalidate this argument.
Continuous images and extreme values
Theorem. If is compact and is continuous relative to , then is compact. In particular, a continuous on nonempty compact is bounded and attains its maximum and minimum.
Proof. An open cover of pulls back to relatively open sets , with open in . These cover , so finitely many suffice. Their corresponding cover , proving compactness. For scalar , the image is nonempty, closed and bounded by the theorem already proved in dimension one. Let . For each , the definition of supremum supplies with . Then , and closedness places in the image. Thus the maximum is attained. Applying the same argument to gives the minimum. This proves existence, not a formula for the maximizing input.
Let be finite real numbers and let be continuous relative to this interval. Uniform continuity means that for every there is such that all with satisfy . Fix . For each , relative continuity gives such that for interval points with . The intervals cover the compact interval. Choose a finite subcover with centres , and set . The cover is nonempty since is nonempty. Given as above, choose with . Then , so the triangle inequality gives . The same works for all points. This includes a singleton interval and uses the actual finite-cover compactness theorem, rather than citing an unproved scalar Heine–Cantor assertion.
Learning goals and definitions
Develop the proof behind integrability statements and distinguish boundedness from integrability. Let and be bounded on . For a partition , put , , and define , . The lower integral is the supremum of all lower sums; the upper integral is the infimum of all upper sums. Refining a partition makes lower sums nondecreasing and upper sums nonincreasing.
For any two partitions , their common refinement gives , so . Boundedness ensures these quantities are finite. The function is Riemann integrable when they agree.
Theorem: Darboux criterion
The bounded function is integrable if and only if for every there is a partition with .
Proof. If the two integrals equal , choose a lower sum above and an upper sum below , using supremum and infimum approximation. Their common refinement has gap less than . Conversely the inequalities force the integral gap to be zero when such partitions exist for every positive .
Theorem: bounded monotone functions are integrable
For nondecreasing , take a uniform partition with intervals of width . On interval , the infimum and supremum are the endpoint values. Hence
The criterion proves integrability even if has jump discontinuities. For a nonincreasing function apply the result to .
Theorem: finitely many discontinuities are permitted
If is bounded and continuous except possibly at finitely many points, it is integrable.
Proof. Let , taking . Surround the exceptional points by finitely many small intervals, with endpoints included in the partition, having total length less than . At endpoints of use one-sided intervals. Their contribution to the upper-lower gap is at most times their total length, hence less than . On the remaining finitely many closed intervals, is continuous and therefore uniformly continuous. Subdivide each sufficiently finely that its oscillation on every resulting subinterval is less than . Their total gap is less than . Combining all partition points gives gap below . If an exceptional interval endpoint would itself be exceptional, move it slightly so all actual exceptional points lie inside the selected intervals or at the domain endpoints. This keeps the remaining closed intervals continuous.
Worked examples and stability
A single jump. On , let for and for . It is monotone and integrable, with integral . A partition isolating in an interval of arbitrarily small length makes the only nonzero oscillation contribution arbitrarily small. The value at the jump does not alter the integral.
A bounded nonintegrable function. The rational indicator is one on rational inputs and zero on irrational inputs. Both are dense, so every nondegenerate interval has oscillation one. Every partition on has , violating the criterion.
If is integrable, so is , because makes its interval oscillation no larger. If are bounded integrable, their product is integrable: with bounds , the oscillation of is at most times that of plus times that of . Choose partitions controlling both gaps and take their common refinement.
Graded practice
- Foundation. Estimate for on with equal subintervals.
- Core. Compute the integral of on and justify integrability.
- Core. Prove that changing finitely many values of an integrable bounded function preserves its integral.
- Proof. Does integrability of imply integrability of ? Supply a bounded counterexample.
Full solutions
- The monotone formula gives . Thus guarantees gap below .
- The function is monotone and bounded. It equals zero, one and two on the interiors of the three unit intervals, so the integral is . Endpoint values at integers do not contribute a positive-length interval.
- The difference is zero except at finitely many points and bounded by some . Cover those points by intervals of total length as small as desired and include endpoints in a partition. Upper and lower sums of then have absolute magnitudes at most times that total length; their common integral is zero. Thus adding preserves both integrability and the integral value.
- Let at rational points of and at irrational points. Then is integrable. But every upper sum for is one and every lower sum is minus one, so is not integrable. The one-way implication cannot be reversed.
Summary and term definitions
The oscillation on an interval is supremum minus infimum. Refinement adds partition points and improves the upper-lower estimates. Riemann integrability requires boundedness and arbitrarily small total weighted oscillation, not continuity at every point. The criterion supplies direct proofs for jumps and stability operations, while dense oscillation can defeat every possible partition.