The Riemann integral defines area as the common value of over and under
estimates when they can be made to agree. We build upper and lower sums, prove
the Riemann criterion that a function is integrable exactly when the gap between
them can be made arbitrarily small, prove every continuous function on a closed
interval is integrable through uniform continuity, and prove the two halves of
the fundamental theorem of calculus, that integration and differentiation invert
one another. This is the integral the mean-square and Stieltjes constructions
refine.
The integral assigns an area under a graph, and the Riemann construction does it by trapping the area
between sums that overestimate and sums that underestimate, calling the function integrable when the two
can be brought together. The construction rests on the completeness of
the reals through the supremum and on uniform continuity to control the gap,
and it culminates in the fundamental theorem of calculus, which makes the integral the inverse of the
derivative. This post builds it for bounded functions on a closed interval
[1], [2].
The lower integral is ∫f=supPL(f,P) and the upper integral is ∫f=infPU(f,P). The function is Riemann integrable when these are equal, their common value the
integral∫abf.
Refining a partition by inserting points raises lower sums and lowers upper sums, because splitting a
subinterval replaces one infimum by two larger ones and one supremum by two smaller ones. Consequently any
lower sum is at most any upper sum, since both are comparable to their common refinement, and so
∫f≤∫f always. Integrability is the statement that no gap remains.
The definition asks a supremum and infimum to coincide. The criterion restates this as a single
approximation that is easier to verify.
Theorem2
A bounded f is Riemann integrable on [a,b] if and only if for every ε>0 there is a
partition P with U(f,P)−L(f,P)<ε.
Proof
Suppose the gap can be made small. For any ε pick P with U(f,P)−L(f,P)<ε. Then
∫f−∫f≤U(f,P)−L(f,P)<ε, using ∫f≥L(f,P) and
∫f≤U(f,P). Since this holds for every ε, the nonnegative difference
∫f−∫f is zero, so f is integrable. Conversely, suppose f is integrable
with ∫f=∫f=I. Given ε, the supremum defining ∫f
gives a partition P1 with L(f,P1)>I−ε/2, and the infimum gives P2 with U(f,P2)<I+ε/2. Their common refinement P satisfies L(f,P)≥L(f,P1) and U(f,P)≤U(f,P2) by the
refinement monotonicity, so U(f,P)−L(f,P)<(I+ε/2)−(I−ε/2)=ε.
The criterion reduces integrability to making the total oscillation of f, summed against the subinterval
lengths, as small as desired. Continuity makes this automatic.
Every continuous function on [a,b] is Riemann integrable.
Proof
Let ε>0. By the Heine-Cantor theoremf is
uniformly continuous on [a,b], so there is a δ>0 with ∣f(s)−f(t)∣<ε/(b−a) whenever
∣s−t∣<δ. Take any partition P with every subinterval shorter than δ. On each
subinterval the extreme value theorem makes the supremum and
infimum of f attained values f(si) and f(ui) at points of the subinterval, so ∣si−ui∣ is
below the subinterval length and hence below δ, and the oscillation sup−inf=f(si)−f(ui)<ε/(b−a). Summing,
The integral so constructed is monotone, in the sense that f≤g gives ∫f≤∫g, and additive
over adjacent intervals, both read off the corresponding statements for the sums, since inf and sup
are monotone and a partition containing the split point decomposes L and U additively. Linearity needs
more, because inf and sup are only super- and subadditive, giving L(f,P)+L(g,P)≤L(f+g,P) and
U(f+g,P)≤U(f,P)+U(g,P). Given ε>0, pick partitions with U(f,Pf)−L(f,Pf)<ε/2
and U(g,Pg)−L(g,Pg)<ε/2 and let P=Pf∪Pg be their common refinement, which preserves
both gaps. Then U(f+g,P)−L(f+g,P)≤(U(f,P)+U(g,P))−(L(f,P)+L(g,P))<ε, so f+g is integrable by
Theorem 2; since both ∫(f+g) and ∫f+∫g lie in
[L(f,P)+L(g,P),U(f,P)+U(g,P)], of width <ε, letting ε→0 gives
∫(f+g)=∫f+∫g, and ∫(cf)=c∫f follows from inf(cf)=cinff for c≥0 and the
sup/inf swap for c<0. With existence settled for continuous functions, the integral becomes a
function of its upper limit, and that function is differentiable.
Let f be continuous on [a,b] and F(x)=∫axf(t)dt. Then F is differentiable with F′(x)=f(x).
Proof
Fix x and h=0 small. By additivity, F(x+h)−F(x)=∫xx+hf(t)dt under the orientation
convention ∫xx+h=−∫x+hx for h<0, so
hF(x+h)−F(x)−f(x)=h1∫xx+h(f(t)−f(x))dt.(3)
Given ε>0, continuity at x provides δ with ∣f(t)−f(x)∣<ε for
∣t−x∣<δ. For ∣h∣<δ monotonicity applied to −ε≤f(t)−f(x)≤ε
over the interval of integration bounds the integral by ε∣h∣ in absolute value. When h>0
this is ∫xx+h(f(t)−f(x))dt≤εh on [x,x+h]; when h<0 the same estimate on
[x+h,x] gives ∫x+hx(f(t)−f(x))dt≤ε∣h∣, and
h1∫xx+h=∣h∣1∫x+hx matches it. Either way the right side of
Equation (3) has absolute value at most ∣h∣1ε∣h∣=ε. Hence the
difference quotient tends to f(x), which is F′(x)=f(x).
Theorem5
If f is continuous on [a,b] and G is any antiderivative of f, meaning G′=f, then ∫abf=G(b)−G(a).
Proof
Let F(x)=∫axf. By Theorem 4, F′=f=G′, so (F−G)′=0 on [a,b], and a function with
zero derivative on an interval is constant by the
mean value theorem. Thus F−G=c for a constant c. Evaluating at a,
where F(a)=0, gives c=−G(a), and at b, ∫abf=F(b)=G(b)+c=G(b)−G(a).
The two halves together say differentiation and integration undo each other, the antiderivative computing
the integral and the integral recovering the function. This is the computational engine of calculus, and it
is also the structural statement that the integral of a continuous function is a continuously
differentiable function of its limits. The Riemann integral is enough for continuous
integrands and for the Stieltjes and mean-square integrals built on the
same partition idea, while integrands with worse discontinuities require the
Lebesgue integral, which replaces partitions of the domain by partitions
of the range and integrates a far larger class.
[1]
W. Rudin, Principles of Mathematical Analysis, 3rd ed. McGraw-Hill, 1976.
[2]
S. Abbott, Understanding Analysis, 2nd ed. Springer, 2015.