Let g be monotone increasing on J and let P = (x₀, …, xₙ) be a partition of J. For each k write Mₖ = sup {f(x) : x ∈ [xₖ₋₁, xₖ]} and mₖ = inf {f(x) : x ∈ [xₖ₋₁, xₖ]}. The upper sum of f with respect to g on P is U(P; f, g) = Σ Mₖ·[g(xₖ) − g(xₖ₋₁)]. The lower sum is L(P; f, g) = Σ mₖ·[g(xₖ) − g(xₖ₋₁)].
Let g be monotone increasing on J. (a) For each partition P, every Riemann-Stieltjes sum belonging to P obeys L(P; f, g) ≤ S(P; f, g) ≤ U(P; f, g). (b) If P ≤ Q, then L(P; f, g) ≤ L(Q; f, g) and U(Q; f, g) ≤ U(P; f, g). (c) Whatever the partitions P and P′, one has L(P; f, g) ≤ U(P′; f, g).
(a) 說上和與下和在同一個分割上把所有的和夾在中間,不管中間點怎麼挑。(b) 說加細只會讓夾子收緊:上和往下走、下和往上走,兩者都不會反方向移動。(c) 是最不顯然的一句:兩個毫無關係的分割,一個的下和也不會超過另一個的上和。它的意思是,所有的下和整批落在所有的上和的左邊,兩族數之間沒有交錯——下面那條判準要「兩族碰在一起」,前提就是它們本來就分得出左右。三句話都用到 g 遞增,而且用的方式一模一樣:不等式乘上一個非負的增量,方向不變。
這張圖在說 (b) 為什麼成立:同一段子區間、同一條曲線,左圖的上和長條取整段的最高值;右圖插進新點 y 之後,長條拆成兩條,每一條的高度只取自己那一小段的最高值,不可能比整段的最高值還高,而左邊那一小段離曲線的頂端很遠,高度明顯降了。寬度的總和沒變(增量相加還是原來那一段的增量),所以拆完之後的面積只會變小或不變。
Proof. (a) Fix a partition P and intermediate points ξₖ ∈ [xₖ₋₁, xₖ]. By definition of mₖ and Mₖ we have mₖ ≤ f(ξₖ) ≤ Mₖ. Since Δₖ ≥ 0, multiplying preserves the order: mₖΔₖ ≤ f(ξₖ)Δₖ ≤ MₖΔₖ. Summing over k gives L(P; f, g) ≤ S(P; f, g) ≤ U(P; f, g).
(b) It suffices to treat a Q obtained from P by inserting one point y with xⱼ₋₁ < y < xⱼ, because any refinement arises from finitely many such insertions. Only the j-th term changes. Put M′ = sup f([xⱼ₋₁, y]) and M″ = sup f([y, xⱼ]). Both sets lie inside f([xⱼ₋₁, xⱼ]), so M′ ≤ Mⱼ and M″ ≤ Mⱼ. Because both increments are nonnegative, M′[g(y) − g(xⱼ₋₁)] + M″[g(xⱼ) − g(y)] ≤ Mⱼ[g(y) − g(xⱼ₋₁)] + Mⱼ[g(xⱼ) − g(y)] = MⱼΔⱼ. Hence U(Q; f, g) ≤ U(P; f, g). The same computation with infima, where now m′ ≥ mⱼ and m″ ≥ mⱼ, yields L(Q; f, g) ≥ L(P; f, g).
(c) Let Q be a common refinement of P and P′. Since mₖ ≤ Mₖ on every subinterval of Q and the increments are nonnegative, L(Q; f, g) ≤ U(Q; f, g). Combining this with (b) applied to P ≤ Q and to P′ ≤ Q, L(P; f, g) ≤ L(Q; f, g) ≤ U(Q; f, g) ≤ U(P′; f, g).
Let g be monotone increasing on J = [a, b]. Then f is integrable with respect to g on J if and only if to every ε > 0 there corresponds a partition Pε of J such that each refinement P = (x₀, …, xₙ) of Pε satisfies U(P; f, g) − L(P; f, g) = Σ (Mₖ − mₖ)·[g(xₖ) − g(xₖ₋₁)] < ε.
Proof. Suppose f is integrable with integral I, and let η > 0. Put ε = η/(2 + 2W) and let Pε be a partition supplied by 29.2 for this ε. Take any refinement P of Pε. For each k the sup and inf properties give points yₖ, zₖ ∈ [xₖ₋₁, xₖ] with f(yₖ) > Mₖ − ε and f(zₖ) < mₖ + ε, so that Mₖ − mₖ < f(yₖ) − f(zₖ) + 2ε.
Multiplying by Δₖ ≥ 0 and adding, U(P; f, g) − L(P; f, g) ≤ Σ f(yₖ)Δₖ − Σ f(zₖ)Δₖ + 2εW. The two sums on the right are Riemann-Stieltjes sums belonging to P, and each lies within ε of I; therefore their difference is less than 2ε. Hence U(P; f, g) − L(P; f, g) < 2ε + 2εW = η, which is the criterion.
這一步的所求:把各段的估計加總,並讓 29.2 接手。每一段的不等式乘上非負的增量,方向不變(增量為零的那幾段兩邊都變成零,嚴格的小於號退成小於等於,所以這裡寫的是 ≤);逐項加起來,左邊是上和減下和,右邊是兩串和相減再加上 2ε 乘總權重 W。關鍵在於右邊那兩串都是 P 上的合法 Riemann–Stieltjes 和——中間點一組是 yₖ、一組是 zₖ——而 P 是 Pε 的加細,所以 29.2 保證它們各自離 I 不到 ε。兩個都離 I 不到 ε 的數,由 §5-4 的 5.12 三角不等式彼此相距不到 2ε。最後收帳:2ε + 2εW = 2ε(1 + W) = η,剛好是預先設好的。
這張圖在證第一個方向的估計怎麼拼起來:藍色粗線是以 I 為中心、半徑 ε 的範圍,兩個挑出來的和都落在裡面,所以彼此相距不到 2ε。下和只比貼近最低的那個和再往左一點,上和只比貼近最高的那個和再往右一點,多走的那一步合起來是 2εW。三段距離加總,就是上和與下和的差。
Conversely, assume the criterion and let ε > 0. Take Pε as in the criterion, and let P and P′ be refinements of Pε; let Q be a common refinement of P and P′, which then also refines Pε. By parts (a) and (b) of the lemma, L(P; f, g) ≤ L(Q; f, g) ≤ S(Q; f, g) ≤ U(Q; f, g) ≤ U(P; f, g), and S(P; f, g) lies in the same interval [L(P; f, g), U(P; f, g)]. Since this interval is shorter than ε, we get |S(P; f, g) − S(Q; f, g)| < ε. The same reasoning gives |S(P′; f, g) − S(Q; f, g)| < ε, and so |S(P; f, g) − S(P′; f, g)| < 2ε. Because ε is arbitrary, 29.4 shows that f is integrable.
這一步的所求:手上只有「上和與下和能靠得很近」,要生出可積性。因為沒有任何候選的積分值,改證 §29-4 的 29.4 Cauchy 判準要的那件事:過了門檻的任兩個和彼此靠近。直接比較 P 與 P′ 上的和不容易,因為兩個分割互不相干;所以照引理 (c) 的老辦法,取共同加細 Q 當橋。橋上的和 S(Q) 被 Q 的下和與上和夾住,而由引理 (b),Q 的這一對又被 P 的那一對夾住;於是 S(P) 與 S(Q) 兩個數擠在同一個寬度不到 ε 的區間 [L(P), U(P)] 裡,相距自然不到 ε。P′ 那一側同一套話再說一次,三角不等式接起來,S(P) 與 S(P′) 相距不到 2ε。29.4 要的是「對每個門檻都有一個分割」,而 ε 可以任意小,所以要它小於多少,就先對一半的量取 Pε。拿正例對照:f(x) = x 的十等分上 U − L = 0.1,於是這個分割的任何加細上,不論中間點怎麼挑,兩個和相距都不到 0.2。