Let g be monotone increasing on J = [a, b]. (a) Whenever f is integrable with respect to g on J, so is its absolute value |f|. (b) Whenever f₁ and f₂ are integrable with respect to g on J, so is their product f₁f₂.
這張圖在說 30.4(a) 的核心:兩條虛線圍出同一段子區間,左圖 f 在這一段上從負值爬到正值,紅色豎線是它的起伏;右圖取絕對值之後,負的那一截被翻到上面,最低點變成了零,起伏(藍色豎線)只剩下原來比較長的那一半。不跨過零的段,取絕對值只是整段翻面或原封不動,起伏不變。兩種情形都不會讓起伏變大。
PROOF 1/2 · (a) 絕對值
g 遞增,f 對 g 可積。要用 30.1 證 |f| 也可積,所以要比較 |f| 與 f 在同一段上的起伏。直接比 sup 與 inf 不方便,因為取絕對值會把最大值與最小值的位置搬來搬去;先把起伏改寫成「兩點函數值之差」的 sup,比較就變成逐對比較。
證明計畫 · 由所求想起 所求:在每一段上,|f| 的起伏不超過 f 的起伏。 第一步:證明起伏等於「同一段裡任兩點函數值之差」的 sup。 第二步:用三角不等式逐對比較,|f| 的每一個差都被 f 的某一個差壓住。 第三步:乘權重加總,f 過得了判準,|f| 就過得了。
Proof. Let S be one subinterval of a partition, with M = sup f(S) and m = inf f(S). We claim M − m = sup {f(x) − f(y) : x, y ∈ S}. Each difference satisfies f(x) − f(y) ≤ M − m. Conversely, given ε > 0, there are x, y ∈ S with f(x) > M − ε/2 and f(y) < m + ε/2, so f(x) − f(y) > (M − m) − ε. By 6.3 the claim follows.
這一步的所求:把起伏換一種寫法,讓它能夠逐對比較。M − m 原本是兩個極值之差,而極值未必取得到;改寫成「任兩點之差」組成的集合的 sup,每一對點都可以單獨檢查。兩個方向各一句:任一對點的差都不超過最高減最低,所以 M − m 是這個集合的上界;而貼著最高挑一點、貼著最低挑一點,它們的差離 M − m 不到 ε,所以比 M − m 小的數都會被超過。§6-1 的 6.3 sup 兩測(成員爬不過它、卻貼著它要多近有多近)正好就是這兩句。拿數字對照:f(x) = x − ½ 在 [0, 1] 上,最高 ½、最低 −½,起伏 1;取 x = 1、y = 0,差恰好是 1。
For x, y ∈ S, the triangle inequality 5.12 gives |f(x)| − |f(y)| ≤ |f(x) − f(y)|, and |f(x) − f(y)| is one of f(x) − f(y) and f(y) − f(x), both at most M − m. By the claim applied to |f|, the oscillation of |f| on S is at most that of f. Multiplying by the nonnegative increments and summing, every partition P satisfies U(P; |f|, g) − L(P; |f|, g) ≤ U(P; f, g) − L(P; f, g). Since f meets the Riemann Criterion 30.1, so does |f|, and |f| is integrable.
這一步的所求:逐對比較兩個函數的差。§5-4 的 5.12 三角不等式的左半邊說「絕對值的差」不超過「差的絕對值」,而差的絕對值不是 f(x) − f(y) 就是 f(y) − f(x)——兩者都是 f 在這一段上某一對點的差,都不超過 f 的起伏。於是 |f| 的每一個差都被 f 的起伏壓住,取 sup 之後,|f| 的起伏也被壓住;這件事每一段都對,所以加權加總之後整個差也被壓住。判準是對 f 成立的:每個 ε 都有一個分割,讓它的每個加細上 f 的那個差小於 ε;同一個分割拿給 |f| 用,差只會更小。拿數字對照圖上那一段:f 從 −0.2 爬到 0.3,起伏 0.5;|f| 的最低是 0、最高是 0.3,起伏 0.3。
起伏是兩點之差的 sup,三角不等式讓 |f| 的每一個差都不超過 f 的起伏,判準從 f 原封不動地轉給 |f|。∎
這張圖在說 30.4(b) 第一步的倍數 2K 從哪裡來:拋物線 t ↦ t² 把 f 的值域(藍色那一小段)映到 f² 的值域(紅色那一段)。拋物線在 [−K, K] 上最陡的斜率是 2K,所以紅段的長度不超過藍段的 2K 倍——值落得越靠外側,放大得越多,但永遠不超過這個倍數。
PROOF 2/2 · (b) 乘積
g 遞增,f₁、f₂ 對 g 可積。乘積的起伏不容易直接控制,因為兩個因子會互相放大;先處理單一個函數的平方,再用代數恆等式把乘積寫成平方的組合。平方那一步要用到函數的界:依整節的通用前提,可積函數都是有界的。
Proof. Let f be integrable and put K = ‖f‖. For x, y in a subinterval S, f(x)² − f(y)² = (f(x) + f(y))(f(x) − f(y)) ≤ 2K·|f(x) − f(y)| ≤ 2K(M − m), where M, m are the sup and inf of f on S. By the claim in part (a), the oscillation of f² on S is at most 2K(M − m), hence for every partition the difference of upper and lower sums of f² is at most 2K times that of f. Given ε > 0, a partition that makes the latter less than ε/(2K + 1) on all its refinements makes the former less than ε. Thus f² is integrable.
Now let f₁ and f₂ be integrable. By 29.5(a) the sum f₁ + f₂ is integrable, so by the first step (f₁ + f₂)², f₁² and f₂² are all integrable. Since f₁f₂ = ½[(f₁ + f₂)² − f₁² − f₂²], another application of 29.5(a) shows that f₁f₂ is integrable.
Let g be monotone increasing on J = [a, b] and let f be integrable with respect to g on J. Then |∫ f dg| ≤ ∫ |f| dg ≤ ‖f‖·[g(b) − g(a)]. Moreover, if m ≤ f(x) ≤ M holds for all x ∈ J, then m[g(b) − g(a)] ≤ ∫ f dg ≤ M[g(b) − g(a)].
第一行就是電梯的兩句話:淨的不超過總的,總的不超過「最大幅度乘總權重」。第二行是更一般的版本:被積函數被夾在 m 與 M 之間,積分就被夾在 m 與 M 各乘總權重之間。這些估計完全不需要算出積分值,所以在積分算不出來的時候特別有用。m 與 M 不必是 f 的最小值與最大值,任何一對上下界都行;取 m = 0 就得到一句常用的話:非負函數的積分非負。這兩行都要求 g 遞增——權重若可以是負的,乘上上界反而可能得到比較小的一筆。
正例:f(x) = x − ½、g(x) = x 於 [0, 1]。‖f‖ = ½、W = 1,第一行說 |∫ f| ≤ ∫ |f| ≤ ½。實際上 ∫ f = 0(正負兩半對稱抵銷),∫ |f| = ¼(兩個底 ½、高 ½ 的三角形),確實是 0 ≤ ¼ ≤ ½,而且第一個不等號差很多——淨位移比總行程小得多。反例(g 遞增不可省):g(x) = −x、f ≡ 1 於 [0, 1]。每個和都是 g(1) − g(0) = −1,所以 ∫ f dg = −1;取 m = M = 1,第二行會要求 −1 ≤ ∫ f dg ≤ −1,這倒是對的,可是取 m = 0、M = 1(f 確實夾在其間)就要求 0 ≤ −1,錯了。
這張圖在說 30.5 第二行的畫面(取 g(x) = x,權重就是長度):曲線始終在兩條水平線之間,所以它下面的面積比藍色長方形大、比紅色虛線長方形小。兩個長方形的面積就是 m 與 M 各乘上總權重。一般的遞增 g 只是把「底的長度」換成 g(b) − g(a),夾法不變。
PROOF
g 遞增,W = g(b) − g(a) ≥ 0,f 對 g 可積,積分值記作 I。先證第二行,因為第一行可以由它推出:第一行裡出現的 |f| 是可積的(30.4(a)),而「淨的不超過總的」可以改寫成兩個非負函數的積分非負。
證明計畫 · 由所求想起 所求:兩行不等式。 第一步(第二行):每一個和都夾在 mW 與 MW 之間;若積分值跑出這個範圍,就有一個貼近積分值的和也跑出去,矛盾。 第二步(第一行左半):|f| − f 與 |f| + f 都非負且可積,用第一步的 m = 0 得到兩個積分非負。 第三步(第一行右半):|f| 夾在 0 與 ‖f‖ 之間,再用一次第一步。
Proof. Suppose m ≤ f ≤ M on J. For any partition and any intermediate points, m ≤ f(ξₖ) ≤ M; multiplying by the nonnegative increments and summing gives mW ≤ S(P; f, g) ≤ MW. If I > MW, put ε = I − MW > 0 and let P be a partition supplied by 29.2 for this ε. Every sum belonging to P satisfies S(P; f, g) > I − ε = MW, a contradiction. Hence I ≤ MW, and the same argument gives mW ≤ I.
By 30.4(a) the function |f| is integrable, so by 29.5(a) so are |f| − f and |f| + f. Both are nonnegative on J, because −|f(x)| ≤ f(x) ≤ |f(x)| by 5.11. The case m = 0 of the first step, together with linearity, yields ∫ |f| dg − ∫ f dg ≥ 0 and ∫ |f| dg + ∫ f dg ≥ 0. Thus −∫ |f| dg ≤ ∫ f dg ≤ ∫ |f| dg, which is |∫ f dg| ≤ ∫ |f| dg by 5.11.
這一步的所求:「淨的不超過總的」。直接比較兩個積分不容易,所以把它們的差與和各自當成一個新函數的積分。§5-4 的 5.11(絕對值五性質,其中一條是 −|a| ≤ a ≤ |a|)說每一點上 f 都夾在 −|f| 與 |f| 之間,所以 |f| − f 與 |f| + f 處處非負。它們可積是 30.4(a) 加上線性;非負函數的積分非負是第一步取 m = 0。兩個非負的積分拆開來,一個說 ∫ f 不超過 ∫ |f|,一個說 ∫ f 不低於 −∫ |f|——夾在 ±∫ |f| 之間,正是絕對值不超過 ∫ |f|。最後那一步翻譯也是 5.11 的帶寬翻譯:c ≥ 0 時 |a| ≤ c 等價於 −c ≤ a ≤ c。拿正例對照:∫ |f| − ∫ f = ¼ − 0、∫ |f| + ∫ f = ¼ + 0,兩者都非負。
Finally 0 ≤ |f(x)| ≤ ‖f‖ for all x ∈ J, so the first step applied to |f| gives ∫ |f| dg ≤ ‖f‖W.
這個問題的答案取決於權重怎麼配。§29-3 的端點跳躍那個 g 把全部權重壓在一點上,那一點的函數值就是積分值,改了它積分就變。可是 g(x) = x 的權重是長度,單一個點沒有長度,直覺上改了也無妨。下面把這個直覺證出來。
LEMMA · 改動有限多個點不改變 Riemann 積分
Let h be a function on J that is zero at every point except possibly at finitely many points c₁, …, c_N. Then h is Riemann integrable on J and ∫ h dx = 0. Consequently, if f is Riemann integrable on J and f₁ differs from f at only finitely many points, then f₁ is Riemann integrable and ∫ f₁ dx = ∫ f dx.
Proof. Let ε > 0 and choose a partition Pε of J into equal subintervals of length less than ε/(2N(K + 1)). Each refinement P of Pε inherits this bound on its subinterval lengths. In a sum Σ h(ξₖ)(xₖ − xₖ₋₁) over P, a term can be nonzero only when xₖ₋₁ < xₖ and ξₖ is one of the cᵢ. A given point lies in at most two subintervals of positive length, so at most 2N terms are nonzero, each of absolute value at most Kε/(2N(K + 1)). Hence |Σ h(ξₖ)(xₖ − xₖ₋₁)| ≤ 2N · Kε/(2N(K + 1)) < ε, so h is Riemann integrable with integral 0.
If f₁ differs from f only at finitely many points, then h = f₁ − f is of the kind just treated. Since f₁ = f + h, 29.5(a) shows that f₁ is Riemann integrable and ∫ f₁ dx = ∫ f dx + 0.
這一步的所求:從「只在有限多點不為零的函數」推到「只在有限多點不同的兩個函數」。兩個函數相減,差只在它們不同的那些點上不為零,正是第一步處理過的 h;把 f₁ 寫成 f 加上這個差,§29-5 的 29.5(a) 的線性就同時交出可積性與積分值。拿正例對照:f₁ = 1 + h,h 在 ½ 取 99,積分是 1 + 0。