Notation. For a bounded map h:[a,b]→R and i∈[n] let Si(h)={h(t):t∈[xi,xi+1]}, Mi(h)=supSi(h) and mi(h)=infSi(h) be as in Upper and Lower Darboux Sums of a Bounded Function on a Partition (i), which makes i↦Mi(h) and i↦mi(h) maps from [n] to R; and let Δi=xi+1−xi, which is positive by The Increasing Listing of a Partition: Endpoints, Lengths, Covering, Unions, Inserting a Point, Concatenation and Uniform Partitions (iii). By Upper and Lower Darboux Sums of a Bounded Function on a Partition (ii) and Upper and Lower Darboux Sums of a Bounded Function on a Partition (iii),
U(h,P)=i=1∑nMi(h)Δi,L(h,P)=i=1∑nmi(h)Δi.
Fact A. Let h:[a,b]→R be bounded, i∈[n] and r∈R. The elements of Si(h) are the h(t) with t∈[xi,xi+1] (Images of Typed Terms: the Set of Values {t:u∈D} Is a Set, Finite when D Is Finite, and a Typed Term (i)). (A1) mi(h)≤h(t)≤Mi(h) for every t∈[xi,xi+1], as Mi(h) is an upper bound and mi(h) a lower bound of Si(h), by Bounds, Least and Greatest Elements, Suprema and Infima for a Partial Order (iv), Bounds, Least and Greatest Elements, Suprema and Infima for a Partial Order (iii) and Bounds, Least and Greatest Elements, Suprema and Infima for a Partial Order (i). (A2) If h(t)≤r for every t∈[xi,xi+1], then r is an upper bound of Si(h), so Mi(h)≤r, the supremum being the least element of the upper bounds (Bounds, Least and Greatest Elements, Suprema and Infima for a Partial Order (iv) and Bounds, Least and Greatest Elements, Suprema and Infima for a Partial Order (iii)); likewise, if r≤h(t) for every such t, then r≤mi(h).
Fact S. Let α,β:[n]→R and r∈R. (S1) ∑i=1n(αi+βi)Δi=∑i=1nαiΔi+∑i=1nβiΔi, by Iterated Operations: Recursion, Splitting, Reordering, Termwise Combination and Homomorphisms (v), addition on R being associative and commutative; and ∑i=1n(αi−βi)Δi=∑i=1nαiΔi−∑i=1nβiΔi, by Finite Sums in a Commutative Ring and in an Ordered Field: Distributivity, Differences, Telescoping, Constant Terms, Comparison and the Triangle Inequality (ii). (S2) ∑i=1nrαiΔi=r∑i=1nαiΔi by Finite Sums in a Commutative Ring and in an Ordered Field: Distributivity, Differences, Telescoping, Constant Terms, Comparison and the Triangle Inequality (i); in particular ∑i=1nrΔi=r(b−a), by The Increasing Listing of a Partition: Endpoints, Lengths, Covering, Unions, Inserting a Point, Concatenation and Uniform Partitions (iii). (S3) If αi≤βi for every i∈[n], then αiΔi≤βiΔi by Inequalities in an Ordered Field: Mixed Transitivity, Strict Sums, Signs, Products, Natural Numbers, Halving, Reciprocals, Absolute Values and Squares (v), and so ∑i=1nαiΔi≤∑i=1nβiΔi by Finite Sums in a Commutative Ring and in an Ordered Field: Distributivity, Differences, Telescoping, Constant Terms, Comparison and the Triangle Inequality (v).
Let Bf,Bg∈R satisfy ∣f(t)∣≤Bf and ∣g(t)∣≤Bg for every t∈[a,b].
Proof of (i). For t∈[a,b], (f+g)(t)=f(t)+g(t) by Pointwise Operations on Real-Valued Maps (i), so ∣(f+g)(t)∣≤∣f(t)∣+∣g(t)∣≤Bf+Bg by Rules of Arithmetic and Order in an Ordered Field (xi) and Rules of Arithmetic and Order in an Ordered Field (iv); thus f+g is bounded. Let i∈[n]. For t∈[xi,xi+1], (A1) and Rules of Arithmetic and Order in an Ordered Field (iv) give mi(f)+mi(g)≤(f+g)(t)≤Mi(f)+Mi(g); so, by (A2), Mi(f+g)≤Mi(f)+Mi(g) and mi(f)+mi(g)≤mi(f+g). By (S3) and (S1),
U(f+g,P)≤i=1∑n(Mi(f)+Mi(g))Δi=U(f,P)+U(g,P),L(f,P)+L(g,P)=i=1∑n(mi(f)+mi(g))Δi≤L(f+g,P).
Proof of (ii). For every bounded h:[a,b]→R with ∣h(t)∣≤Bh for t∈[a,b], and every r∈R, (rh)(t)=rh(t) by Pointwise Operations on Real-Valued Maps (i), so ∣(rh)(t)∣=∣r∣∣h(t)∣≤∣r∣Bh by Rules of Arithmetic and Order in an Ordered Field (x) and Inequalities in an Ordered Field: Mixed Transitivity, Strict Sums, Signs, Products, Natural Numbers, Halving, Reciprocals, Absolute Values and Squares (v); thus rh is bounded. In particular cf is bounded.
(N) Nonnegative factors. Let h be bounded, r≥0 and i∈[n]; we show Mi(rh)=rMi(h) and mi(rh)=rmi(h). For t∈[xi,xi+1], (A1) and Inequalities in an Ordered Field: Mixed Transitivity, Strict Sums, Signs, Products, Natural Numbers, Halving, Reciprocals, Absolute Values and Squares (v) give rmi(h)≤rh(t)≤rMi(h), so Mi(rh)≤rMi(h) and rmi(h)≤mi(rh) by (A2). If r=0, then, as xi∈[xi,xi+1], (A1) and Rules of Arithmetic and Order in an Ordered Field (i) give mi(rh)≤(rh)(xi)=0=rmi(h) and rMi(h)=0=(rh)(xi)≤Mi(rh). If r>0, then r−1>0 by Rules of Arithmetic and Order in an Ordered Field (viii), and for t∈[xi,xi+1], h(t)=r−1(rh)(t) lies between r−1mi(rh) and r−1Mi(rh) by (A1) and Inequalities in an Ordered Field: Mixed Transitivity, Strict Sums, Signs, Products, Natural Numbers, Halving, Reciprocals, Absolute Values and Squares (v); by (A2), Mi(h)≤r−1Mi(rh) and r−1mi(rh)≤mi(h), and multiplying by r (Inequalities in an Ordered Field: Mixed Transitivity, Strict Sums, Signs, Products, Natural Numbers, Halving, Reciprocals, Absolute Values and Squares (v)) gives rMi(h)≤Mi(rh) and mi(rh)≤rmi(h). In both cases the two inequalities in each direction give the equalities, the order of R being antisymmetric.
(R) The factor −1. Let h be bounded, k=(−1)h and i∈[n]; we show Mi(k)=−mi(h) and mi(k)=−Mi(h). For t∈[a,b], k(t)=(−1)h(t)=−h(t) by Pointwise Operations on Real-Valued Maps (i) and Rules of Arithmetic and Order in an Ordered Field (ii), and h(t)=−k(t). For t∈[xi,xi+1], (A1) and Rules of Arithmetic and Order in an Ordered Field (v) give −Mi(h)≤k(t)≤−mi(h) and −Mi(k)≤h(t)≤−mi(k). By (A2), Mi(k)≤−mi(h), −Mi(h)≤mi(k), Mi(h)≤−mi(k) and −Mi(k)≤mi(h); the last two give mi(k)≤−Mi(h) and −mi(h)≤Mi(k) by Rules of Arithmetic and Order in an Ordered Field (v) and Rules of Arithmetic and Order in an Ordered Field (ii), whence the two equalities.
Now let i∈[n]. If c≥0, then Mi(cf)=cMi(f) and mi(cf)=cmi(f) by (N). If c<0, then −c>0 by Inequalities in an Ordered Field: Mixed Transitivity, Strict Sums, Signs, Products, Natural Numbers, Halving, Reciprocals, Absolute Values and Squares (iii); with k=(−1)f we have ((−c)k)(t)=(−c)(−f(t))=cf(t)=(cf)(t) for t∈[a,b], by Pointwise Operations on Real-Valued Maps (i) and Rules of Arithmetic and Order in an Ordered Field (ii), so (−c)k=cf by Values, Restriction and Equality of a Map, and the Map u↦t(u) as a Defined Set Symbol (iv); and by (N), applied to k and −c, and (R), Mi(cf)=(−c)Mi(k)=(−c)(−mi(f))=cmi(f) and mi(cf)=(−c)mi(k)=(−c)(−Mi(f))=cMi(f), by Rules of Arithmetic and Order in an Ordered Field (ii). Summing against the Δi by (S2): if c≥0, U(cf,P)=cU(f,P) and L(cf,P)=cL(f,P); if c<0, U(cf,P)=∑i=1ncmi(f)Δi=cL(f,P) and L(cf,P)=∑i=1ncMi(f)Δi=cU(f,P).
Proof of (iii). Let i∈[n]. For t∈[xi,xi+1], f(t)≤g(t)+c≤Mi(g)+c by (A1) and Rules of Arithmetic and Order in an Ordered Field (iv), so Mi(f)≤Mi(g)+c by (A2). Also mi(f)−c≤f(t)−c≤g(t) by (A1) and Rules of Arithmetic and Order in an Ordered Field (iv), so mi(f)−c≤mi(g) by (A2), that is, mi(f)≤mi(g)+c. By (S3), (S1) and (S2),
U(f,P)≤i=1∑n(Mi(g)+c)Δi=U(g,P)+c(b−a),L(f,P)≤i=1∑n(mi(g)+c)Δi=L(g,P)+c(b−a).
Proof of (iv). Let i∈[n] and s,t∈[xi,xi+1]. As ∣f(s)−f(t)∣≤η, f(s)−f(t)≤η by Rules of Arithmetic and Order in an Ordered Field (x), so f(s)≤f(t)+η by Rules of Arithmetic and Order in an Ordered Field (iv). Fixing t and letting s vary, (A2) gives Mi(f)≤f(t)+η, that is, Mi(f)−η≤f(t); as this holds for every t∈[xi,xi+1], (A2) gives Mi(f)−η≤mi(f), that is, Mi(f)−mi(f)≤η. By (S1), (S3) and (S2),
U(f,P)−L(f,P)=i=1∑n(Mi(f)−mi(f))Δi≤i=1∑nηΔi=η(b−a).