第 22 章
一致极限:连续性的保持、完备性与积分交换
证明连续函数的一致极限连续,把一致收敛改写为 sup 度量下的收敛,证明 C([a,b]) 完备,并用上下和证明积分可与一致极限交换。
Uniform Limits: Preserving Continuity, Completeness, and Swapping Integrals
We prove that a uniform limit of continuous functions is continuous, recast uniform convergence as convergence in the sup metric, show that C([a,b]) is complete, and use upper and lower sums to prove that integration commutes with uniform limits.
篇内目录
- Two notions of convergence, recalled
- Timeline
- Theorem: uniform limits preserve continuity
- The full proof
- An immediate corollary
- Uniform convergence is convergence in the sup metric
- is complete
- Step 1: build the limit pointwise
- Step 2: upgrade pointwise to uniform
- Step 3: the limit stays in the space
- Theorem: integration commutes with uniform limits
- Idea of the proof
- Estimating the upper and lower sums
- Choose a partition; get integrability
- Convergence of the integrals
- Integrating a power series term by term
- What this lecture establishes
- Comprehension check
- Relation to neighbouring lectures
上节课留下的两个收敛
设区间 上有一列函数 与一个函数 。
- 逐点收敛:固定每个 ,数列 收敛到 。
- 一致收敛:对每个 ,存在 ,使得 时
区别只在最后那句「对一切 」:逐点收敛允许 依赖 ,一致收敛不允许。
课程反复使用的反例是 上的 。它逐点收敛到
每个 都连续,极限 却在 处跳跃。为什么不一致?由介值定理,对每个 都存在 使 ,于是
这个误差不随 变小,所以 ,不可能趋于 。
逐点收敛不足以保住连续性;一致收敛可以。
时间轴
| 时间 | 内容 |
|---|---|
| 0:00 | 复习逐点收敛与一致收敛; 的例子 |
| 6:29 | 定理:连续函数的一致极限连续 |
| 9:07 | 用 拆分证明 |
| 16:24 | 例:指数级数在任意有界区间上一致收敛,故连续 |
| 19:02 | 把一致收敛看作 sup 度量下的收敛 |
| 25:36 | 定理: 在 sup 度量下完备 |
| 28:31 | 先用逐点极限构造候选函数 |
| 35:11 | 再把逐点收敛提升为一致收敛 |
| 40:30 | 定理:积分与一致极限可交换 |
| 46:46 | 用上下和与 完成证明 |
| 1:13:28 | 应用到幂级数的逐项积分 |
| 1:18:36 | 预告下节课:求导与一致极限 |
定理:一致极限保持连续
定理。 设 在区间 上连续,且 一致。则 在 上连续。
完整证明
任取 ,证明 在 连续。给定 。
第一步:用一致收敛固定一个下标。 因为 一致,存在 ,使 时对所有 都有
只需取 :
这一步允许我们把 换成固定的 ,而且换的代价在所有点上一致地小。
第二步:用 的连续性找 。 因为 在 连续,存在 ,使
第三步:三角不等式。 对满足 的 ,插入 与 :
所以 在 连续。由于 任意, 在 上连续。
三段的来源要分清:第一段和第三段来自一致收敛(同一个点、同一个下标 ,误差对所有 统一),中间一段来自 的连续性(同一个函数、两个邻近的点)。逐点收敛做不到第一段和第三段统一,因为那里的 会随 变大。
立刻可用的推论
设
是多项式,连续。由 Weierstrass 判别法(上一讲证明),在任意固定区间 上,级数被 控制,因此 在 上一致。由上面的定理, 在每个 上连续,从而在 上连续。
注意「一致」的范围:不是在整个 上一致,而是在每个有界区间上一致。这类收敛通常叫「内闭一致收敛」。
一致收敛就是 sup 度量下的收敛
表示闭区间上全体连续函数。它带有天然的距离
这个 确实取得到: 连续,取绝对值后仍连续,由最值定理在有界闭区间上达到最大值。
命题。 一致,当且仅当 。
证明。 两个方向都是重写定义。
若 一致:给定 ,存在 ,使 时 对一切 成立。对固定 取上确界(此时一致收敛已保证误差对所有 一致地小),得到 。故 。
反之,若 :给定 ,取 使 时 。由于每个点上的值不超过最大值,
同时成立。这正是 一致。
这个改写把「函数列的一致收敛」变成了「度量空间中点列的收敛」,于是度量空间的全部工具(Cauchy 列、完备性、压缩映射)都可以直接使用。这不是记号上的方便,而是后面解常微分方程的关键入口。
是完备的
定理。 度量空间 是 Cauchy 完备的:每个 Cauchy 列都收敛到该空间中的某个函数。
设 是 Cauchy 列。要证明两件事:先构造候选极限 ,再证明它在空间里并且收敛。
第一步:逐点构造极限
固定 。由
可知实数列 是 Cauchy 列。实数系完备,所以它收敛。定义
每个 给出唯一一个实数,因此 是一个函数。此时只知道逐点收敛,还不知道 连续。
第二步:把逐点提升为一致
给定 。因为 在度量意义下是 Cauchy 列,存在 ,使 时
于是对每个 ,
固定 ,让 。左边趋于 ,右边是常数,于是
这一步只能得到「不超过 」,因为不等式在取极限时会保留 。现在对所有 取上确界:
这里必须用 而不是 :此刻还不知道 连续,最值定理还不能用,最大值可能取不到。等会儿证明 连续之后, 就等于 。
结论是 一致,即 。
第三步:极限仍在空间里
都连续,且 一致,由本节第一个定理, 连续。所以 。结合第二步, 在度量 下成立。
整个证明的分工值得记住:完备性只在第一步用到(实数的完备性),一致收敛性在第二步建立,闭包性(连续性)在第三步补上。三步各管一件事,缺一不可。
定理:积分与一致极限可交换
设 在 上可积,且 一致。定理断言:
- 可积;
- ,特别地,右边的极限存在。
注意这里只假设 可积,没有假设连续。极限 也可能不连续(如 的例子),因此不能靠「连续函数可积」蒙混过去。
证明思路
Riemann 可积的判据是:对每个 ,存在分割 ,使得
其中 分别是上、下和。
思路是:先用一致收敛把 的上下和夹在 的上下和之间,误差是 ;再对 选一个使上下和接近的分割;两者合成,得到 的上下和之差小于 。
上、下和的逐项估计
设分割 的分点为 ,小区间 ,长度 。记
因为 一致,取 足够大,使
固定这样一个 。对任意 ,
在小区间 上取上确界:
同理,从 取下确界得
把两条不等式分别乘 并对 求和。注意 ,常数项正好消掉分母:
这一步对任意分割 都成立,只用到一致收敛。
选分割,得到可积性
上面那个 固定后, 是可积的。于是存在分割 ,使
对这个 ,
由可积判据, 可积。这就完成了第一件事。
积分的收敛
对任何分割 ,积分被上下和夹住:
取上面那个使 的 (把 取成 )。由上、下和的夹逼,
同时
所以 与 都落在长度为 的区间
内(其长度为 )。于是
对任意 找到这样的 ,就证明了 。
课程末尾回应了一个提问:证明中有些地方写 、有些写 ,这无关紧要,因为 是任取的,把常数取成 之类的更小量即可得到严格不等号。
用幂级数算积分
回到 ,它在 上一致收敛到 。 是多项式,可以逐项积分:
由积分交换定理,左边趋于 ,于是
每一项可以直接算。找 求导:
所以
结论:一致收敛把「对无穷级数积分」合法地变成「对每一项积分再求和」。有限和当然可以随便交换,无限和不行——这里的一致性正是许可证。
本节结论
- 连续函数的一致极限连续;逐点极限不一定连续( 是反例)。
- 连续性的证明固定一个 ,用 三段估计。
- 一致收敛等价于 sup 度量下的收敛; 与 的区别在于极限函数是否已知连续。
- 在 sup 度量下 Cauchy 完备。
- 可积函数的一致极限可积,且积分与极限可交换。
- 幂级数在其收敛区间内可以逐项积分;逐项求导留到下一讲。
理解检验
1. 用 说明:为什么逐点收敛不能保证极限连续?请写出使一致收敛失败的那组点。
参考答案:逐点极限是 、,在 处不连续,而每个 连续,所以逐点收敛不保连续性。取 ,则 ,而 ,故 。于是 对所有 成立,不趋于 ,一致收敛失败。
2. 证明「 一致」等价于「」,并指出证明中哪一步用了「对所有 同时成立」。
参考答案:两个方向都只是把定义换个写法。若一致收敛,给定 ,存在 使 时 对所有 同时成立;这个同一个 上界对所有 有效,所以取上确界得 。反过来,若 ,因为每个点的值不超过最大值, 对所有 同时成立。关键就是「同一个 界对所有 有效」;逐点收敛时 界依赖于 ,无法取上确界。
3. 在完备性证明中,已经得到 (逐点),为什么还必须再证一致收敛?
参考答案:逐点收敛只能说明每个点上的值收敛,还不足以保证 连续,也不足以说明 在度量 下收敛。完备性要求的是:Cauchy 列在该度量下收敛到空间内的点,而 度量的是全体点上误差的上确界。只有把逐点收敛提升为 ,才能得到 ;也只有再用一次「一致极限保连续」,才能确认 ,即极限没有跑出空间。
4. 积分定理的证明里, 中的 和 各起什么作用?
参考答案: 用来抵消求和后出现的区间总长:常数误差在长度为 的区间上积分,总量是 ,于是上下和各自偏移 。 用来分配总误差: 与 的上下和之间共偏移 ,再留 给 自身的上下和之差(可积性),合计小于 。换成 或别的常数同样可行,只要三部分之和小于 。
5. 定理只假设 可积,没有假设连续。为什么不能直接说「 是连续函数的极限所以可积」?
参考答案:因为一致极限虽然保持连续,但这里的 未必连续,而且即便 连续,逐点极限也可能不连续(),所以「极限连续」这条路线本身就不总可用。定理的结论是 可积,这必须用 Riemann 判据直接证明:对给定 构造分割 使 。证明中把 的上下和夹在 的上下和之间,正是绕开连续性、只依赖可积性与一致收敛的做法。
与前后课的关系
上一讲建立了 Weierstrass 判别法与逐点/一致收敛的区别;本讲把它们组织成一套工具:连续性的保持、度量观点、完备性、积分交换。下一讲处理剩下的那块——求导能否与极限交换。答案需要更强的假设(导数一致收敛),得到之后就能证明幂级数在收敛区间内可以逐项求导任意多次,并导出指数函数满足 。
再往后, 的完备性与 sup 度量会被直接用来证明 Picard–Lindelöf 定理:把微分方程的解写成积分算子的不动点。本讲看似抽象的三步证明,正是那条主线的地基。
Two notions of convergence, recalled
On an interval we have a sequence of functions and a function .
- Pointwise convergence: for each fixed , the numerical sequence converges to .
- Uniform convergence: for every there is such that for ,
The only difference is that last clause: pointwise convergence lets depend on , uniform convergence does not.
The example used repeatedly in the course is on . It converges pointwise to
Every is continuous, yet jumps at . Why is the convergence not uniform? By the intermediate value theorem, for each there is with , so
This error does not shrink with ; hence and cannot tend to .
Pointwise convergence does not preserve continuity; uniform convergence does.
Timeline
| Time | Topic |
|---|---|
| 0:00 | Review of pointwise and uniform convergence; the example |
| 6:29 | Theorem: a uniform limit of continuous functions is continuous |
| 9:07 | Proof by splitting into three pieces |
| 16:24 | Example: the exponential series converges uniformly on bounded intervals, hence is continuous |
| 19:02 | Uniform convergence as convergence in the sup metric |
| 25:36 | Theorem: is complete in the sup metric |
| 28:31 | First construct a candidate limit pointwise |
| 35:11 | Then upgrade pointwise convergence to uniform convergence |
| 40:30 | Theorem: integration commutes with uniform limits |
| 46:46 | Proof with upper and lower sums and |
| 1:13:28 | Application to term-by-term integration of power series |
| 1:18:36 | Preview: differentiation and uniform limits |
Theorem: uniform limits preserve continuity
Theorem. Let be continuous on an interval and suppose uniformly. Then is continuous on .
The full proof
Fix ; we show is continuous at . Let .
Step 1: freeze an index using uniform convergence. Since uniformly, there is such that for every and every ,
Take :
This lets us replace by the single fixed function , at a cost that is uniformly small over all points.
Step 2: use continuity of to find . Since is continuous at , there is such that
Step 3: triangle inequality. For , insert and :
So is continuous at . Since was arbitrary, is continuous on .
Note where each piece comes from. The first and third terms come from uniform convergence: same point, same index , error controlled for all at once. The middle term comes from continuity of : same function, two nearby points. Pointwise convergence cannot supply the first and third terms uniformly, because there the index would grow with .
An immediate corollary
Let
Each is a polynomial, hence continuous. By the Weierstrass -test (proved in the previous lecture), on any fixed interval the series is dominated by , so uniformly on . The theorem then gives continuity of on every , hence on all of .
Watch the scope: the convergence is not uniform on , only on each bounded interval. This is usually called locally uniform convergence.
Uniform convergence is convergence in the sup metric
Let be the set of continuous functions on a closed interval, with
The maximum exists: is continuous, so is , and the extreme value theorem gives a maximum on the compact interval.
Proposition. uniformly if and only if .
Proof. Both directions just rewrite the definitions.
If uniformly: given , there is such that for , for all . This single bound is valid for every , so taking the supremum gives , hence .
Conversely, if : given , choose with for . Since a value at one point never exceeds the maximum,
which is exactly uniform convergence.
This rewriting turns a statement about sequences of functions into a statement about sequences of points in a metric space. All the metric machinery — Cauchy sequences, completeness, contractions — becomes available. That is not a notational convenience; it is the doorway used later to solve differential equations.
is complete
Theorem. The metric space is Cauchy complete: every Cauchy sequence converges to a function in the space.
Let be Cauchy. Two things must be done: build a candidate limit , then show it lies in the space and that convergence holds.
Step 1: build the limit pointwise
Fix . Since
the sequence of real numbers is Cauchy. The reals are complete, so it converges. Define
Each gives exactly one real number, so is a function. At this stage only pointwise convergence is known; continuity of is not yet established.
Step 2: upgrade pointwise to uniform
Let . Since is Cauchy in the metric, there is such that for ,
Hence for every ,
Fix and let . The left side tends to and the right side is constant, so
Only "at most " survives, because limits preserve non-strict inequalities. Taking the supremum over ,
Here one must use , not : continuity of is not yet known, so the extreme value theorem does not apply and the maximum might not be attained. Once continuity is proved, .
Thus uniformly, i.e. .
Step 3: the limit stays in the space
Each is continuous and uniformly, so by the first theorem of this lecture, is continuous. Hence , and Step 2 gives in the metric .
The division of labour is worth remembering: completeness is used only in Step 1 (completeness of the reals), uniform convergence is established in Step 2, and closure (continuity) is supplied in Step 3. Each step handles one thing.
Theorem: integration commutes with uniform limits
Let be integrable on and uniformly. The theorem asserts:
- is integrable;
- ; in particular the limit on the left exists.
Only integrability of is assumed, not continuity. The limit may be discontinuous (as with ), so the conclusion cannot be smuggled in through "continuous implies integrable".
Idea of the proof
The Riemann criterion says: for every there is a partition with
where are the upper and lower sums. The plan is to squeeze the upper and lower sums of between those of , with an error of , and then choose for a partition whose upper and lower sums are close.
Estimating the upper and lower sums
Let have division points , with subintervals of length . Write
Because uniformly, choose large enough that
Fix this . For every ,
Taking the supremum over ,
Likewise, from , taking the infimum gives
Multiply by and sum over . Since , the constant terms cancel the denominator:
This holds for every partition and uses only uniform convergence.
Choose a partition; get integrability
With that fixed, is integrable, so there is a partition with
For this ,
By the integrability criterion, is integrable.
Convergence of the integrals
For any partition , the integral is trapped between the sums:
Take the partition for which . The squeezing estimates give
while also
So both and lie in
an interval of length . Therefore
Since was arbitrary, .
At the end of the lecture a student asked about strict versus non-strict inequalities. The lecturer's answer: it does not matter, because is arbitrary; choosing constants like produces strict inequalities whenever desired.
Integrating a power series term by term
Return to , which converges uniformly to on . Each is a polynomial, so
By the interchange theorem the left side tends to , hence
Each term is computed by finding an antiderivative. Since
we get
So uniform convergence licenses swapping an infinite sum with an integral. Finite sums may be swapped freely; infinite sums may not — uniform convergence is the licence.
What this lecture establishes
- Uniform limits of continuous functions are continuous; pointwise limits need not be ( is the counterexample).
- The proof freezes one and uses a three-part estimate.
- Uniform convergence is convergence in the sup metric; the versus distinction tracks whether the limit is known to be continuous.
- is Cauchy complete in the sup metric.
- Uniform limits of integrable functions are integrable, and integration commutes with the limit.
- Power series may be integrated term by term inside the radius of convergence; term-by-term differentiation is postponed to the next lecture.
Comprehension check
1. Use to explain why pointwise convergence does not preserve continuity. Write down the points that make uniform convergence fail.
Reference answer: The pointwise limit is , , which is discontinuous at , although every is continuous. Take ; then while , so . Hence for every , which does not tend to ; uniform convergence fails.
2. Prove that uniformly if and only if , and identify where the proof uses "for all simultaneously".
Reference answer: Both directions merely rewrite the definition. If convergence is uniform, then for a given there is such that for , holds for all at once; because one bound works for every , taking the supremum gives . Conversely, if , then since a pointwise value never exceeds the maximum, for all simultaneously. The key is exactly that one -bound holds for all ; under pointwise convergence the bound depends on , and no supremum can be taken.
3. In the completeness proof we already know pointwise. Why must we still prove uniform convergence?
Reference answer: Pointwise convergence only controls each point separately. It does not ensure that is continuous, nor that converges in the metric . Completeness requires convergence in that metric to a point of the space, and measures the supremum of the error over all points. Only upgrading to gives ; and only applying "uniform limits preserve continuity" once more confirms , i.e. that the limit has not left the space.
4. In the integration theorem, what roles do the and the in play?
Reference answer: cancels the total length produced by summing: a constant error of integrated over an interval of length totals , so each of the upper and lower sums shifts by . The splits the total error budget: the two shifts between and cost , leaving for the gap supplied by integrability, for a total below . Any constants with the same total work, e.g. quarters.
5. The theorem assumes only that is integrable, not continuous. Why can we not simply say "the limit of continuous functions is integrable"?
Reference answer: Because a uniform limit of continuous functions is continuous, but here the need not be continuous; and even if they were, the pointwise limit can be discontinuous (), so the route through continuity is not always available. The conclusion that is integrable must be proved directly from the Riemann criterion: construct, for a given , a partition with . The proof squeezes the upper and lower sums of between those of , which is exactly how it avoids continuity and uses only integrability plus uniform convergence.
Relation to neighbouring lectures
The previous lecture established the Weierstrass -test and the pointwise/uniform distinction; this lecture turns them into a toolkit: preservation of continuity, the metric viewpoint, completeness, and interchange with integrals. The next lecture handles the remaining piece — whether differentiation commutes with limits — which needs a stronger hypothesis (uniform convergence of the derivatives). With it, power series can be differentiated term by term arbitrarily often, and the exponential satisfies .
Further on, the completeness of in the sup metric is used directly to prove the Picard–Lindelöf theorem, by writing the solution of a differential equation as a fixed point of an integral operator. The abstract three-step proof in this lecture is the foundation of that line.