Let be bounded on and continuous on . For any positive error tolerance, isolate . Its contribution to the difference of upper Darboux sums and lower Darboux sums is at most . On , uniform continuity supplies a partition of an interval with arbitrarily small remaining oscillation sum. The Riemann integrability criterion then proves integrability, even when the values oscillate without a limit at the endpoint.
For a bounded real function, its oscillation on an interval is its full range width there. An upper Darboux sum minus a lower Darboux sum is the sum of these widths multiplied by their interval lengths. This gives the Riemann integrability criterion in terms of oscillation.
For a bounded function on a nondegenerate compact interval , a partition has Darboux sums
The Riemann integrability criterion is
Equivalently the supremum of lower sums and infimum of upper sums agree; their common value is the Riemann integral. A bounded nonintegrable example is the Dirichlet function . Every positive-length interval contains rational and irrational points, so every lower sum is zero and every upper sum is .
For a bounded function on an interval , write for its oscillation of a function on an interval. For a partition , the difference between its upper Darboux sum and lower Darboux sum is . The Riemann integrability criterion says that this can be made arbitrarily small.
Since , choose good partitions for the two functions and take their common refinement. Darboux sum refinement monotonicity makes both oscillation sums small on this refinement, so their sum is Riemann integrable. The same argument handles differences and scalar multiples.
Both and are Lipschitz continuous with constant one. Thus and . This calculation shows that Lipschitz composition preserves Riemann integrability, so the positive part and the absolute value are integrable.
The converse for the absolute value is false. Define on rational numbers and on irrational numbers. Then is integrable, but every interval has supremum one and infimum minus one, so every Darboux difference for is . Hence is not Riemann integrable.
Finally,
is integrable by the closure properties just proved. This establishes that Riemann integrability is closed under addition and maximum.
A countable supremum can fail, even for a uniformly bounded family. Enumerate the rational points of as and set . Each singleton indicator function is Riemann integrable with integral zero: isolate its single nonzero point in intervals of arbitrarily small total length. But
is the nonintegrable Dirichlet function. This proves that a pointwise supremum need not preserve Riemann integrability.
For a bounded function, a partition of an interval is . Put and . Its lower Darboux sum and upper Darboux sum are
The lower Darboux integral is and the upper Darboux integral is . Riemann integrability means that these two real numbers coincide, and their common value is the Riemann integral.
Equivalently, the Riemann integrability criterion says that for every some partition satisfies . To see equivalence, all lower sums are at most all upper sums: refine any two partitions to their common refinement and use Darboux sum refinement monotonicity. Thus a small gap forces the difference of the two integrals below . Conversely, if both integrals equal , choose a lower sum above and an upper sum below ; their common refinement has gap below .
This also agrees with the tagged Riemann sum definition: there is such that every tagged sum on a partition of sufficiently small mesh is within any prescribed tolerance of . Each tagged sum lies between the two Darboux sums. From a partition with small gap, an arbitrary small-mesh partition differs from its refinement at only the cells crossing the finitely many original division points; boundedness makes their total contribution tend to zero. Conversely, on a fine partition tags approximating each cell supremum or infimum force both Darboux sums close to the same tagged-sum limit.
Now suppose is continuous on . It is bounded by the result of Question 11. It is also uniformly continuous: otherwise there are with but . The Bolzano-Weierstrass theorem gives a convergent subsequence of ; the corresponding have the same limit, contradicting continuity. Given , this uniform continuity gives such that points less than apart have function values less than apart. A partition of mesh below then satisfies
Hence every continuous function on the interval is Riemann integrable, with the required proof supplied by its oscillation estimates.
A Riemann integrable function on a closed interval is bounded and has equal upper and lower Darboux integrals. More explicitly, for a partition of an interval , define the Darboux sums
Then Riemann integrability means
and this common value is the Riemann integral. Equivalently, the Riemann integrability criterion requires that for every some partition of an interval satisfies . Indeed, the common partition refinement of two partitions increases each lower Darboux sum and decreases each upper Darboux sum, so equality of the two extremal values is equivalent to arbitrarily small gaps.
Let . If the result is immediate, so take . Given , choose and the finitely many intervals supplied by the hypothesis. On each , choose a partition of an interval whose Darboux sum gap is less than , using Riemann integrability there.
Combine all these partitions with and all interval endpoints to obtain a global partition of an interval . On the chosen intervals the gaps add to less than . The complementary intervals have total length
and on each the difference between the supremum and infimum is at most . Consequently
The Riemann integrability criterion proves is Riemann integrable on . Shared endpoints cause no problem: the Darboux sums use closed intervals, and the complementary interval estimate includes every endpoint value. This proves Riemann integrability from almost full interval coverage.
For a bounded real function on , convergence of its improper integral means that its restriction to every , , is Riemann integrable and that the finite limit
exists. Boundedness by itself does not guarantee either local Riemann integrability or existence of this limit.
A monotone function on is bounded between its endpoint values. Divide the interval into equal pieces with endpoints . If is nondecreasing, its upper and lower Darboux sums differ by
For nonincreasing , the same calculation with reversed endpoint values gives . Thus in either case . For every one can choose to make this gap smaller than ; the Riemann integrability criterion proves that is Riemann integrable.
Now let be decreasing on with limit zero. For each , . On its monotonicity gives
Summing these bounds, with , yields
Both the partial sums and the truncated integrals are nondecreasing because . The inequalities show that one family is bounded above if and only if the other is. The bounded monotone sequence theorem then gives convergence of the sums exactly when the integer-endpoint integrals converge. For real between and , the integral to lies between the integrals to these integer endpoints; the squeeze theorem supplies the same limit. If either family is unbounded, both tend to . This proves the integral test for convergence in the required form.
For , use , which is decreasing and tends to zero. Its truncated improper integral is
This has a finite limit exactly when . If , the terms do not tend to zero, so the term test for divergence applies. Thus the full p-series criterion is
For every its nonnegative partial sums tend to .
For a bounded real function on , take a partition with nodes . Its lower Darboux sum and upper Darboux sum are
The function is Riemann integrable when ; their common value is its Riemann integral. Equivalently, for every some partition has . Indeed a common refinement of nearly extremizing upper and lower partitions proves necessity, while arbitrarily small gaps force equality of the two integrals. This is the Riemann integrability criterion.
A continuous function on a compact interval is bounded and uniformly continuous. Choose a mesh small enough that its oscillation on each subinterval is less than . Then ; using first makes the desired inequality strict. Thus every continuous function on is Riemann integrable.
For a partition , write and for the upper Darboux sum and lower Darboux sum. The Riemann integrability criterion for bounded is that for every some partition satisfies . Thus if the gaps for tend to zero, the Riemann integrability criterion immediately proves that is Riemann integrable.
Conversely, suppose is Riemann integrable, and choose a fixed partition with . Let be the number of its interior division points and choose with . Call a cell of bad when its interior contains a division point of . There are at most bad cells, and their total length is at most .
Every other cell lies in a single cell of , so its oscillation is no larger than that of the containing cell. Summing the contributions of these good cells gives at most , while each bad cell has oscillation at most . Therefore the finite bad-cell estimate for Darboux sums gives
For large enough , the right-hand side is less than . This proves the uniform-mesh Darboux criterion
This argument does not assume that the partitions are nested; in general they are not.
For the composition, takes values in . Since is continuously differentiable, the extreme value theorem bounds both and on that interval. In particular, let . The mean value theorem states that a function continuous on the interval between and differentiable in its interior satisfies for some intermediate . Hence
On each partition cell, this bounds the oscillation of by times the oscillation of , whether or not the local extrema are attained. It follows that
The composition is bounded, so the proved uniform-mesh Darboux criterion applies. Thus is Riemann integrable. The reusable fact is Lipschitz composition preserves Riemann integrability; continuous differentiability supplies the required bound on the range of .
Let be the supremum of all lower Darboux sums and the infimum of all upper Darboux sums. The assumed comparison of arbitrary lower and upper sums gives . For the partition supplied for a given ,
Since this holds for every positive , . Thus the Riemann integrability criterion gives
If is continuous on , the Heine-Cantor theorem makes it uniformly continuous. Given , choose so that intervals of length below have oscillation below . A partition of mesh below then satisfies
proving that Continuous functions are Riemann integrable.
For the function defined using , choose with . Given , choose so small that . On , the function is continuous and therefore has a partition whose upper-minus-lower sum is below . Adding the interval contributes at most , regardless of the value . Hence the full Darboux-sum difference is below , and
Finally, for any partition , the mean value theorem supplies such that
Summing telescopes to
a Riemann sum for the Riemann-integrable function . Equivalently, every lower derivative sum is at most this telescoping value and every upper derivative sum is at least it. Taking the common upper and lower Darboux integrals proves the fundamental theorem of calculus conclusion
Assume . The function is bounded, and every interval has lower Darboux sum zero because it contains an irrational. Given , choose so that for . Put small intervals around the finitely many points whose total length makes their contribution to the upper sum less than , and refine their endpoints to a partition. On every remaining subinterval the function is at most , so the upper sum is less than . The Riemann integrability criterion proves that is Riemann integrable with integral zero.
The condition is sufficient but not necessary. Assign when for some positive integer , and otherwise. Then does not tend to zero. Outside a short interval near zero only finitely many unit spikes occur and can be enclosed in intervals of arbitrarily small total length; all remaining values can be made uniformly small except for finitely many further points. The same Darboux-sum argument proves that this is Riemann integrable with integral zero.
It is enough to treat an increasing function; replacing by handles a decreasing one. Let be the common refinement of dissections and . Refinement raises lower Darboux sums and lowers upper ones, so
For the uniform dissection , monotonicity gives the telescoping difference
This can be made smaller than any , so the Riemann integrability criterion proves that is integrable.
The integral lies between the lower and upper sums, and the displayed sum in the question is the right-endpoint upper sum. Hence the generally valid sharp estimate is
The strict inequality printed in the question is false for arbitrary monotone functions: if for and , the two sides of (1) are both .
For the final claim, write
Since is continuous on a compact interval, it is uniformly continuous. Uniformly for ,
After the substitution , summing the uniform errors gives
The right-hand sum is a Riemann integral, so the fundamental theorem of calculus yields
Let be continuous on . Compactness makes it uniformly continuous. Given , choose such that
Choose a partition with mesh smaller than . The oscillation on every subinterval is then at most , so
The Riemann integrability criterion proves that every continuous function on is Riemann integrable.
For , let be the set of numbers whose first digit occurs in position . The first digits each have nine allowed values, while the th is fixed, so is a union of decimal intervals of total length
The set of numbers having no digit can, after places, be covered by intervals of total length ; hence it has length zero.
For each fixed truncation level, the function is constant on finitely many decimal cylinders apart from the remaining set, whose covering length can be made arbitrarily small. The Riemann integrability criterion therefore shows that every truncation is Riemann integrable.
For integer ,
The final term tends to zero, and monotonicity handles noninteger truncation levels. Therefore the first occurrence of a decimal digit calculation gives
Put , so the hypothesis is uniform convergence. Every step function is bounded and Riemann integrable: away from its finitely many partition points it is constant, and those exceptional points can be covered by intervals of arbitrarily small total length. A partition of an interval containing their boundaries makes the difference of its upper Darboux sum and lower Darboux sum arbitrarily small.
Choose one with . Boundedness of and show that is a bounded function. Assume , since for all the integrals are zero. Given , choose so that , and then a partition of an interval such that . On every partition subinterval, gives
Thus
The Riemann integrability criterion proves that is Riemann integrable. Finally, linearity of the integral and monotonicity of the Riemann integral give
Therefore
This proves the relevant case of uniform convergence preserves integrals on a compact interval.
Assume, as required for the displayed integrals, that the are Riemann integrable on . Their uniform limit is also Riemann integrable: if , the upper and lower Darboux sums for a partition of an interval differ for by at most the corresponding difference for plus . Choosing and then a sufficiently fine partition of an interval proves the Riemann integrability criterion for .
The integral estimate then gives
This proves that uniform convergence preserves integrals on a compact interval. Some integrability hypothesis is necessary: uniform convergence alone cannot make the integral of an arbitrary starting function exist.
Let on . Suppose finitely many nonoverlapping closed intervals, of total length at least , can be chosen for each , with Riemann integrable on each. Refine the intervals to make their total Darboux sum gap less than . The remaining length contributes at most . Taking proves global Riemann integrability by the Riemann integrability criterion.
A bounded function on is Riemann integrable if and only if its upper Darboux sum minus its lower Darboux sum on the equal-length partition tends to zero. Sufficiency follows directly from the Riemann integrability criterion. Necessity follows by comparing with a fixed partition whose gap is small and using the finite bad-cell estimate for Darboux sums. The equal-length partitions need not be nested.