§43-4 的積分只定義在 closed cell 上,就像方格紙只能是長方形。要在一般的有界集合 A 上積分,就照湖的辦法:找一個包住 A 的 closed cell,把函數在 A 外面的值補成零,再在 cell 上積分。這個辦法有一個必須先核對的疑慮——方格紙可以挑大一點、也可以挑小一點,答案會不會因此不同?
Let A ⊆ ℝᵖ be bounded, let f : A → ℝ be bounded, and pick a nondegenerate closed cell I containing A. Define f_I : I → ℝ to equal f on A and 0 on I ∖ A. If f_I is integrable over I, then f is called integrable on A and we put ∫_A f = ∫_I f_I. For a bounded set B, f is called integrable on B when the restriction of f to A ∩ B is integrable on A ∩ B, and ∫_B f then denotes that integral.
f_I 是把 f 用零補到整個 I 上的函數:在 A 上照抄 f,在 I 裡但不在 A 裡的點取 0。f_I 有界(上界與 f 相同,或是 0),所以可以問它在 I 上可不可積。這樣的 I 一定找得到:A 裝得進某個 cell,把那個 cell 每一邊往外推一點,就是一個不 degenerate 的 closed cell。可是 I 有無限多種挑法,定義必須與挑法無關才有意義——這件事不是顯然的,下一條引理專門處理它。第二句把積分範圍與定義域分開:f 定義在 A 上,卻可以在另一個有界集合 B 上積分,意思是只看 A 與 B 重疊的部分。往後寫 ∫_I f 時,常常直接把補零後的函數也叫 f。
Let A ⊆ ℝᵖ be bounded, let f : A → ℝ be bounded, and let I₁ and I₂ be nondegenerate closed cells that both contain A. Then f_{I₁} is integrable over I₁ if and only if f_{I₂} is integrable over I₂, and in that case their integrals are equal.
這條引理讓上一個定義站得住:可不可積、積分是多少,都不看包住 A 的是哪一個 cell。證明先處理一個 cell 套在另一個裡面的情形 I ⊆ J,兩個方向的難度不一樣。從大推小容易:J 的分割裡不在 I 裡的小 cell,中間點都挑在 I 外面,那些項全是零。從小推大麻煩在 I 的邊界:J 裡緊貼 I 外側的小 cell 會碰到 I 的邊,而 A 的點可能就落在那條邊上,f 在那裡未必是零;這些小 cell 的項要另外壓小,辦法是讓它們全擠在 I 外面一層很薄的殼裡。一般的 I₁、I₂ 則找一個同時包住兩者的大 cell 當中轉。
先設 A ⊆ I ⊆ J,I = [a₁, b₁] × ⋯ × [a_p, b_p]、J = [u₁, v₁] × ⋯ × [u_p, v_p],兩者都不 degenerate。取 M ≥ 0 使 |f(x)| ≤ M 對每個 x ∈ A 成立。因為 f_I 與 f_J 在 A 上都等於 f、在 I ∖ A 上都是 0,f_J 在 I 上就等於 f_I,在 J ∖ I 上等於 0。
證明計畫 · 由所求想起 所求是兩個積分同時存在或同時不存在,而且相等。 第一步(大推小):把 J 的見證分割截到 I 上;I 的分割補上 J 的刀,外面的中間點全挑在 I 外,兩個和就一模一樣。 第二步(小推大):在 I 外圍畫一層很薄的殼,殼的四周也下刀;殼外的小 cell 碰不到 I,殼內不在 I 裡的小 cell 總 content 很小。 第三步:一般的兩個 cell,用一個同時包住兩者的大 cell 中轉。
Proof. Suppose f_J is integrable over J with integral L, and let ε > 0. Take Qε from 43.3 for f_J; adding the points aₖ, bₖ in each coordinate gives a refinement with the same property, so we may assume they are partition points of Qε. Let Pε be the partition of I whose points in coordinate k are those of Qε lying in [aₖ, bₖ]. Given a refinement P of Pε and a Riemann sum S(P; f_I), let Q be the partition of J whose points in each coordinate are those of Qε together with those of P. Then Q refines Qε, and the cells of Q lying in I are exactly the cells of P. On those cells use the intermediate points of S(P; f_I); every other cell of Q is not contained in I, so pick its intermediate point outside I, where f_J = 0. The resulting sum satisfies S(Q; f_J) = S(P; f_I), hence |S(P; f_I) − L| < ε. Thus f_I is integrable over I and ∫_I f_I = L.
這一步的所求:由 J 上的見證分割,造一個 I 上的見證分割。先把 I 的邊界加成 Qε 的刀——加細不會破壞 43.3 的保證,因為加細的加細仍是原分割的加細。Pε 就是 Qε 落在 I 裡的那些刀。給定 Pε 的加細 P,把它擴充成 J 的分割 Q:在 [aₖ, bₖ] 這一段,Q 的刀就是 P 的刀(P 已經含有 Qε 在這一段的所有刀),所以 Q 落在 I 裡的小 cell 恰好是 P 的小 cell。其餘的小 cell 都不在 I 裡,所以每個都含有 I 外的點;中間點就挑在那裡,f_J 在 I 外是零,這些項全部消失。剩下的項就是 S(P; f_I) 的項,而 Q 是 Qε 的加細,所以這個和離 L 不到 ε。拿數字對照:I = [0, 1]²、J = [−1, 2] × [0, 3],Q 在 I 外面的小 cell 例如 [1, 2] × [0, 1],它與 I 共用右邊界,中間點不挑邊界上的 (1, 0.5),改挑 (1.5, 0.5)。
這張圖在證第一步:大框是 J,藍框是 I,灰線是 Q 的刀,其中包括 I 的四條邊。I 裡的四格用 P 原本的中間點(藍點),I 外的每一格都把中間點挑在 I 外面(紅點),f_J 在那裡是零。於是 J 上的這個和與 I 上的和完全相同。
Conversely, suppose f_I is integrable over I with integral L, and let ε > 0. Take Pε from 43.3 for f_I and ε/2. The product (b₁ − a₁ + 2η)⋯(b_p − a_p + 2η) is a polynomial in η equal to c(I) at η = 0, so by 20.6 there is η > 0 making it less than c(I) + ε/(2(M + 1)). Put αₖ = max{aₖ − η, uₖ}, βₖ = min{bₖ + η, vₖ} and I′ = [α₁, β₁] × ⋯ × [α_p, β_p]; then I ⊆ I′ ⊆ J and c(I′) < c(I) + ε/(2(M + 1)). Let Qε be the partition of J whose points in coordinate k are uₖ, vₖ, αₖ, βₖ and the points of Pε.
這一步的所求:一個 J 上的見證分割,讓 I 外面那些項的總和很小。要壓住的是緊貼 I 外側的小 cell:它們可能碰到 I 的邊,而 A 的點可能就在那條邊上,f_J 在那裡未必是零。辦法是在 I 的每一側外推 η 的位置再下一刀,把這些小 cell 關進一層薄殼 I′ ∖ I 裡;殼的 content 是 c(I′) − c(I),可以要多小有多小。η 的取法是例行的連續性論證:外推之後的 content 是 η 的多項式,由 §20-5 的 20.6(連續函數的和與積連續)它在 η = 0 連續,而在 0 的值就是 c(I)。取 max 與 min 是邊界簿記:外推不能推出 J。誤差預算寫成 ε/(2(M + 1)) 而不是 ε/(2M),是為了涵蓋 M = 0(f 恆為零)的情形。拿數字走一次:I = [0, 1]²、M = 1、ε = 0.2,要 (1 + 2η)² < 1.05,取 η = 0.01 得 1.0404,合格。
Let Q refine Qε and fix a Riemann sum S(Q; f_J). The cells of Q fall into three groups. (i) Those lying in I form a partition of I refining Pε, and since f_J = f_I on I, their terms make up a Riemann sum of f_I, which lies within ε/2 of L. (ii) Those lying in I′ but not in I have total content c(I′) − c(I) by (a) of the partition lemma, so their terms add up to at most M(c(I′) − c(I)) < ε/2 in absolute value. (iii) For a cell not lying in I′, (b) of the partition lemma gives some k for which its k-th side lies in [uₖ, αₖ] or in [βₖ, vₖ]; that side has positive length, so in the first case αₖ = aₖ − η and the side lies to the left of aₖ − η, and similarly in the second case. Such a cell misses I, so f_J vanishes at its intermediate point. Therefore |S(Q; f_J) − L| < ε/2 + ε/2 = ε, and f_J is integrable over J with integral L.
這張圖在證第二步的三組分法:藍框是 I,紅色是 I 外面寬 η 的薄殼(為了看得見,殼畫得比實際厚)。黑點是 A 落在 I 右邊界上的一點,殼裡緊貼它的那一格可以把中間點挑在這裡(紅點),那一項未必是零,可是殼的 content 很小,這類項加起來不超過 M 乘殼的 content。殼外的格子與 I 至少隔著 η,項全是零。
Finally let I₁ and I₂ be arbitrary nondegenerate closed cells containing A, and let J be a closed cell containing I₁ ∪ I₂ (in each coordinate take the smaller left endpoint and the larger right endpoint). Applying the nested case to I₁ ⊆ J and to I₂ ⊆ J, f_{I₁} is integrable exactly when f_J is, exactly when f_{I₂} is, and all three integrals coincide.
Let A ⊆ ℝᵖ be bounded, let f, g : A → ℝ be integrable on A, and let α, β be real numbers. Then the function αf + βg is integrable on A, and ∫_A (αf + βg) = α∫_A f + β∫_A g.
正例:I = [0, 1]² 上 ∫ x = ½(§43-4 例 2)、∫ 1 = 1(§43-4 例 1),所以 ∫ (3x − 2) = 3 · ½ − 2 · 1 = −½。反例(針對把線性推到乘積):線性只管加法與常數倍,不管兩個函數相乘:本條沒有說 ∫ x · x 與 (∫ x)(∫ x) 有任何關係,不能由本條從 ∫ x 推出 ∫ x · x。
PROOF
取不 degenerate 的 closed cell I ⊇ A。在 A 上 (αf + βg)_I = αf + βg = αf_I + βg_I,在 I ∖ A 上三者都是 0,所以 (αf + βg)_I = αf_I + βg_I。記 F = f_I、G = g_I,它們在 I 上可積,積分分別是 L_F = ∫_A f、L_G = ∫_A g。只要證 αF + βG 在 I 上可積、積分是 αL_F + βL_G。
證明計畫 · 由所求想起 所求是一個見證分割。 第一步:分別向 F 與 G 要見證分割,誤差先按 |α| 與 |β| 打折。 第二步:取兩者的共同加細;在它的任何加細上,用同一組中間點,和是線性的,兩段誤差相加。
Proof. Let ε > 0 and put ε′ = ε/(|α| + |β| + 1). Choose partitions P_F and P_G of I supplied by 43.3 for F and for G with tolerance ε′, and let Pε be their common refinement. If P refines Pε and intermediate points are chosen in its cells, then, using the same points for all three functions, S(P; αF + βG) = αS(P; F) + βS(P; G). Since P refines both P_F and P_G, 5.12 gives |S(P; αF + βG) − (αL_F + βL_G)| ≤ |α|·|S(P; F) − L_F| + |β|·|S(P; G) − L_G| < (|α| + |β|)ε′ < ε. Hence αF + βG is integrable over I with integral αL_F + βL_G.
取不 degenerate 的 closed cell I ⊇ A,記 L = ∫_I f_I = ∫_A f。f_I 在 A 上等於 f ≥ 0、在 I ∖ A 上等於 0,所以處處非負。
證明計畫 · 由所求想起 所求是 L ≥ 0,走反證。 每個 Riemann 和都非負;若 L 是負的,取 ε 恰好等於它的絕對值,見證分割上的和就被迫落到零以下。
Proof. Every Riemann sum S(P; f_I) = Σ f_I(xⱼ)c(Jⱼ) is a sum of products of nonnegative numbers, so S(P; f_I) ≥ 0. Suppose L < 0 and let ε = −L > 0. For the partition Pε of 43.3, which refines itself, any Riemann sum satisfies |S(Pε; f_I) − L| < −L, so S(Pε; f_I) < L + (−L) = 0, a contradiction. Therefore L ≥ 0.
這一步的所求:排除負的積分值。每一項是非負的函數值乘上正的 content,所以每個和都不小於零,這是例行核對。反證的關鍵是挑 ε:把它取成 L 到 0 的距離,43.3 就要求見證分割上的和離 L 比離 0 還近,可是和本身不小於零,離 L 至少有 −L 那麼遠。見證分割是它自己的加細,所以它本身的和也在 43.3 的保證範圍內。拿數字對照:若 L = −0.3,取 ε = 0.3,和必須落在 (−0.6, 0) 裡,而每個和都不小於 0,落不進去。∎