Throughout, β£β
β£ is the absolute value on R, and elementary manipulations of sums, products, reciprocals and the order in the ordered field R are used as recorded in Elementary Order Arithmetic in an Ordered Field. For a partition P, the symbol β£Pβ£ denotes its mesh, as in Partition of a Closed Interval, never an absolute value.
Claim 1. Fix nβN, set x0β=p, and set xiβ=p+i(qβp)/n for i=1,β¦,n. Then xnβ=p+(qβp)=q. For each i with 1β€iβ€n,
xiββxiβ1β=nqβpβ,
which is positive: by claim 3 of Properties of the Canonical Map from the Natural Numbers to an Ordered Field we have 0<n in R, and nβ1 exists with 0<nβ1, so (qβp)/n is a product of positive factors and is positive. Hence p=x0β<x1β<β―<xnβ=q, so Pnβ=(x0β,x1β,β¦,xnβ) is a partition of [p,q], and its mesh β£Pnββ£, the maximum of the increments xiββxiβ1β, which are all equal, is (qβp)/n.
Now let Ξ΄>0 be real. By claim 2 of The Archimedean Property of the Real Numbers, applied with x=qβp and Ξ΅=Ξ΄, there exists nβN with qβp<nΞ΄; dividing by n>0 gives (qβp)/n<Ξ΄.
Claim 2. Write I=β«pqβf(u)du for the Riemann integral of f over [p,q], and let Ξ΅>0 be real. By the definition of Riemann integrability there exists a real Ξ΄>0 with the following property: whenever P is a partition of [p,q] with mesh β£Pβ£<Ξ΄ and one chooses a tagged partition of [p,q] relative to P, the corresponding Riemann sum S of f satisfies β£SβIβ£<Ξ΅.
By claim 1 there is a partition Pnβ=(x0β,x1β,β¦,xnβ) of [p,q] with mesh β£Pnββ£<Ξ΄. Choose the tags tiβ=xiβ1ββ[xiβ1β,xiβ] for 1β€iβ€n; these form a tagged partition of [p,q] relative to Pnβ, and the corresponding Riemann sum of f is
S=i=1βnβf(tiβ)(xiββxiβ1β).
Since xiββxiβ1β>0 and mβ€f(tiβ)β€M for each i, comparing term by term gives
m(qβp)=mi=1βnβ(xiββxiβ1β)β€Sβ€Mi=1βnβ(xiββxiβ1β)=M(qβp),
where βi=1nβ(xiββxiβ1β)=xnββx0β=qβp by cancellation of the telescoping sum (finite induction on n).
From β£SβIβ£<Ξ΅ we get SβΞ΅<I<S+Ξ΅, and combining with the bounds on S,
m(qβp)βΞ΅<I<M(qβp)+Ξ΅.
Since Ξ΅>0 was arbitrary, we conclude that m(qβp)β€Iβ€M(qβp): if I<m(qβp) held, the choice Ξ΅=m(qβp)βI>0 would give I<I, and if M(qβp)<I held, the choice Ξ΅=IβM(qβp)>0 would give I<I; both are impossible. β