第 06 章

柯西收敛定理:不用猜极限也能证明存在

先证柯西数列必有界,再借 Bolzano–Weierstrass 定理证明柯西收敛定理;随后用它证明压缩映射定理(不动点存在唯一),并以牛顿法为例;最后给出连续性的 ε-δ 定义与最值定理。

The Cauchy Convergence Theorem: Proving Existence Without Guessing the Limit

We prove that Cauchy sequences are bounded, deduce the Cauchy convergence theorem from Bolzano–Weierstrass, use it to prove the contraction mapping theorem (existence and uniqueness of fixed points), illustrate with Newton's method, and close with ε-δ continuity and the extreme value theorem.

首发于 2025.09.02中 / EN
系统课程real-analysiscauchy-sequencecontraction-mappingcontinuityextreme-value-theorem
语言
字号
目录
篇内目录

为什么需要柯西判据

到目前为止,证明一个数列收敛的标准做法是:先猜出极限,再用 ε\varepsilon-NN 定义验证。但很多极限根本写不出闭式——微分方程的解、压缩映射的不动点都是这样。

柯西判据把「极限存在」改写成一条只涉及数列本身的条件:远处各项彼此靠拢。它的价值在于:不必知道极限是什么,也能断定极限存在。

时间轴

时间内容
0:00回顾单调收敛定理与柯西数列
3:53定理:柯西数列必有界
9:27柯西收敛定理;压缩映射定理
14:41压缩映射至多一个不动点
21:36迭代序列 an+1=T(an)a_{n+1}=T(a_n) 的柯西估计
28:09用柯西收敛定理证明压缩映射定理
38:06牛顿法作为应用
50:17Bolzano–Weierstrass 定理(下讲证明)
59:08连续性、最值定理

柯西数列

定义。 数列 (xn)(x_n) 是柯西数列,如果

∀ε>0 ∃N ∀n,m≥N:∣xn−xm∣<ε.\forall\varepsilon>0\ \exists N\ \forall n,m\ge N:\quad |x_n-x_m|<\varepsilon .

与收敛的定义相比,这里没有出现候选极限 aa。直观上:收敛说「远处的项都聚在 aa 附近」,柯西说「远处的项彼此聚在一起」。

定理。 柯西数列必有界。

证明。 在柯西定义中取 ε=1\varepsilon=1,得到 NN,使 n,m≥Nn,m\ge N 时 ∣xn−xm∣<1|x_n-x_m|<1。

固定 m=Nm=N。则对一切 n≥Nn\ge N,

∣xn∣=∣xn−xN+xN∣≤∣xn−xN∣+∣xN∣<1+∣xN∣.|x_n|=|x_n-x_N+x_N|\le|x_n-x_N|+|x_N|<1+|x_N| .

前面只剩 x1,…,xN−1x_1,\dots,x_{N-1} 这有限多项。令

M=max⁡{∣x1∣,…,∣xN−1∣, 1+∣xN∣},M=\max\{|x_1|,\dots,|x_{N-1}|,\,1+|x_N|\},

则 ∣xn∣≤M|x_n|\le M 对一切 nn 成立。□\square

手法与第 4 讲「收敛必有界」完全一样:固定一个参考点 m=Nm=N,用三角不等式把尾巴压住,头部取最大值。区别只在于参考点从极限 aa 换成了数列自身的第 NN 项。

柯西收敛定理

定理。 在 R\mathbb R 中,数列收敛当且仅当它是柯西数列。

「收敛 ⇒ 柯西」容易:若 xn→xx_n\to x,给定 ε>0\varepsilon>0,取 NN 使 n≥Nn\ge N 时 ∣xn−x∣<ε/2|x_n-x|<\varepsilon/2。则 n,m≥Nn,m\ge N 时

∣xn−xm∣≤∣xn−x∣+∣x−xm∣<ε2+ε2=ε.|x_n-x_m|\le|x_n-x|+|x-x_m|<\frac\varepsilon2+\frac\varepsilon2=\varepsilon .

反方向「柯西 ⇒ 收敛」需要完备性。课程用 Bolzano–Weierstrass 定理(下一讲证明)来推:

有界数列必有收敛子列。

证明(柯西 ⇒ 收敛)。 设 (xn)(x_n) 是柯西数列。

由上一节,(xn)(x_n) 有界。由 Bolzano–Weierstrass 定理,存在子列 xnk→xx_{n_k}\to x。

现在证明整条数列也收敛到 xx。给定 ε>0\varepsilon>0。

  • 由柯西性,存在 N1N_1,使 n,m≥N1n,m\ge N_1 时 ∣xn−xm∣<ε/2|x_n-x_m|<\varepsilon/2。
  • 由子列收敛,存在 N2N_2,使 k≥N2k\ge N_2 时 ∣xnk−x∣<ε/2|x_{n_k}-x|<\varepsilon/2。

取 k≥N2k\ge N_2 使 nk≥N1n_k\ge N_1(这样的 kk 存在,因为 nkn_k 严格递增趋于无穷)。令 N=max⁡{N1,nk}N=\max\{N_1,n_k\}。当 n≥Nn\ge N 时,

∣xn−x∣≤∣xn−xnk∣+∣xnk−x∣<ε2+ε2=ε.|x_n-x|\le|x_n-x_{n_k}|+|x_{n_k}-x|<\frac\varepsilon2+\frac\varepsilon2=\varepsilon .

所以 xn→xx_n\to x。□\square

这里的逻辑是:子列给出一条「已知极限的锚」,柯西性保证整条数列与这条子列不能分道扬镳。子列收敛靠 Bolzano–Weierstrass(其证明依赖完备性),所以这条定理本质上是完备性的另一种表述。

压缩映射

定义。 映射 T:R→RT:\mathbb R\to\mathbb R 称为压缩映射,如果存在常数 cc,满足

  1. c≥0c\ge0;
  2. c<1c<1;
  3. ∣T(x)−T(y)∣≤c∣x−y∣|T(x)-T(y)|\le c|x-y| 对一切 x,yx,y 成立。

第三点强调「同一个 cc」:不能对这一对点用一个常数、对另一对点换一个。

定义。 xx 是 TT 的不动点,如果 T(x)=xT(x)=x。

引理。 压缩映射至多有一个不动点。

证明。 设 x,yx,y 都是不动点。则

∣x−y∣=∣T(x)−T(y)∣≤c∣x−y∣.|x-y|=|T(x)-T(y)|\le c|x-y| .

移项得 (1−c)∣x−y∣≤0(1-c)|x-y|\le0。因为 c<1c<1,有 1−c>01-c>0,所以 ∣x−y∣≤0|x-y|\le0,即 x=yx=y。□\square

证明只有一行,关键是 c<1c<1:若 c=1c=1,(1−c)∣x−y∣≤0(1-c)|x-y|\le0 不提供任何信息,结论就不成立(平移 T(x)=x+1T(x)=x+1 没有不动点)。

迭代序列为什么是柯西列

定理只说「至多一个」,还要证明「至少一个」。构造方法是迭代:任取 xx,令

a0=x,an+1=T(an)=Tn+1(x).a_0=x, \qquad a_{n+1}=T(a_n)=T^{n+1}(x).

第一步:相邻两项的距离按几何速度缩小。 由压缩性,

∣an+1−an∣=∣T(an)−T(an−1)∣≤c∣an−an−1∣.|a_{n+1}-a_n|=|T(a_n)-T(a_{n-1})|\le c|a_n-a_{n-1}| .

反复使用:

∣an+1−an∣≤cn∣a1−a0∣.|a_{n+1}-a_n|\le c^n|a_1-a_0| .

第二步:任意两项的距离可控。 设 m>nm>n,用三角不等式把中间各项串起来:

∣am−an∣≤∑k=nm−1∣ak+1−ak∣≤∑k=nm−1ck∣a1−a0∣.|a_m-a_n|\le\sum_{k=n}^{m-1}|a_{k+1}-a_k| \le\sum_{k=n}^{m-1}c^k|a_1-a_0| .

几何级数求和:

∑k=nm−1ck≤∑k=n∞ck=cn1−c.\sum_{k=n}^{m-1}c^k\le\sum_{k=n}^{\infty}c^k=\frac{c^n}{1-c} .

所以

∣am−an∣≤cn1−c ∣a1−a0∣.|a_m-a_n|\le\frac{c^n}{1-c}\,|a_1-a_0| .

因为 0≤c<10\le c<1,cn→0c^n\to0。给定 ε>0\varepsilon>0,取 nn 足够大使右端小于 ε\varepsilon,则所有 m>nm>n 都满足 ∣am−an∣<ε|a_m-a_n|<\varepsilon。故 (an)(a_n) 是柯西数列。

这里两个条件都用上了:c<1c<1 让几何级数收敛,c≥0c\ge0 让 cnc^n 单调趋于 00。若 c=1c=1,估计变成 (m−n)∣a1−a0∣(m-n)|a_1-a_0|,随 mm 增大而无界,迭代点可能一路漂走。

压缩映射定理

定理。 设 T:R→RT:\mathbb R\to\mathbb R 是压缩映射,则 TT 有唯一不动点。

证明。 唯一性已由引理给出。存在性:

任取 a0∈Ra_0\in\mathbb R,令 an+1=T(an)a_{n+1}=T(a_n)。上一节证明了 (an)(a_n) 是柯西数列。由柯西收敛定理,存在 aa 使 an→aa_n\to a。

证明 T(a)=aT(a)=a。由压缩性,

∣T(an)−T(a)∣≤c∣an−a∣→0,|T(a_n)-T(a)|\le c|a_n-a|\to0,

所以 T(an)→T(a)T(a_n)\to T(a)。另一方面 T(an)=an+1→aT(a_n)=a_{n+1}\to a。数列 (T(an))(T(a_n)) 只能有一个极限,故

T(a)=a.T(a)=a .

所以 aa 是不动点。□\square

这条定理的构造性很强:它不仅断言不动点存在,还给出了求法——从任意点出发反复迭代。即使写不出不动点的闭式,也能任意逼近。课程说,正是这一点让它在微分方程(ODE 与 PDE)里极其有用:把方程改写成 x=T(x)x=T(x) 的形式,验证 TT 压缩,就得到解的存在唯一性,第 24 讲会这样做。

牛顿法:一个应用

求方程 f(x)=0f(x)=0 的根。若 ff 可导且 f′(x)≠0f'(x)\ne0,定义

T(x)=x−f(x)f′(x).T(x)=x-\frac{f(x)}{f'(x)} .

这是牛顿迭代:从当前点沿切线走到横轴。

先看不动点意味着什么。若 T(x0)=x0T(x_0)=x_0,则

x0=x0−f(x0)f′(x0)  ⟹  f(x0)f′(x0)=0  ⟹  f(x0)=0.x_0=x_0-\frac{f(x_0)}{f'(x_0)} \implies \frac{f(x_0)}{f'(x_0)}=0 \implies f(x_0)=0 .

所以 TT 的不动点恰是 ff 的零点。

再看 TT 何时压缩。求导(用商法则):

T′(x)=1−(f′)2−ff′′(f′)2=ff′′(f′)2.T'(x)=1-\frac{(f')^2-ff''}{(f')^2} =\frac{ff''}{(f')^2} .

由中值定理,对 x≠yx\ne y,存在 ξ\xi 介于两者之间,使

∣T(x)−T(y)∣=∣T′(ξ)∣ ∣x−y∣.|T(x)-T(y)|=|T'(\xi)|\,|x-y| .

因此只要在考虑的区间上

∣f(x)f′′(x)f′(x)2∣≤c<1,\left|\frac{f(x)f''(x)}{f'(x)^2}\right|\le c<1,

TT 就是压缩映射,牛顿迭代收敛到唯一的零点。

「好的初值」由此有了精确含义:起点附近 ∣ff′′∣/(f′)2|ff''|/(f')^2 要小。但课程也提醒,牛顿法本身只保证「在一个压缩区域内」收敛,还必须另外论证迭代不会跑出这个区域——这一步定理并不自动提供。

Bolzano–Weierstrass 定理

定理。 有界数列必有收敛子列。

下一讲会给出证明。本讲已经两次用到它:证明柯西收敛定理、证明最值定理。它与完备性等价,是实数系「没有空隙」的另一种说法。

连续性与极限交换

柯西收敛定理的另一个应用是最值定理,先要定义连续。

定义。 ff 在 x0x_0 处连续,如果

∀ε>0 ∃δ>0:∣x−x0∣<δ⇒∣f(x)−f(x0)∣<ε.\forall\varepsilon>0\ \exists\delta>0:\quad |x-x_0|<\delta\Rightarrow|f(x)-f(x_0)|<\varepsilon .

ff 连续指它在定义域内每一点连续。

定理(序列刻画)。 若 ff 在 xx 处连续且 xn→xx_n\to x,则 f(xn)→f(x)f(x_n)\to f(x)。

证明。 给定 ε>0\varepsilon>0,由连续性取对应的 δ>0\delta>0。由 xn→xx_n\to x,存在 NN,使 n≥Nn\ge N 时 ∣xn−x∣<δ|x_n-x|<\delta。于是对这些 nn,∣f(xn)−f(x)∣<ε|f(x_n)-f(x)|<\varepsilon。□\square

这条定理把「连续」翻译成「可以与数列极限交换」:lim⁡f(xn)=f(lim⁡xn)\lim f(x_n)=f(\lim x_n)。它是后面所有最值、介值论证的桥梁。

最值定理

定理。 设 ff 在闭区间 [a,b][a,b] 上连续,则 ff 在 [a,b][a,b] 上取得最大值与最小值。即存在 xM,xm∈[a,b]x_M,x_m\in[a,b],使

f(xM)=sup⁡[a,b]f,f(xm)=inf⁡[a,b]f.f(x_M)=\sup_{[a,b]}f, \qquad f(x_m)=\inf_{[a,b]}f .

证明(最大值部分)。 令 S=sup⁡[a,b]fS=\sup_{[a,b]}f(暂允许 S=+∞S=+\infty)。由上确界的定义,存在数列 xn∈[a,b]x_n\in[a,b] 使

f(xn)→S.f(x_n)\to S .

(取 ε=1/n\varepsilon=1/n:因 S−1/nS-1/n 不是上界,存在 xnx_n 使 f(xn)>S−1/nf(x_n)>S-1/n。)

因为 a≤xn≤ba\le x_n\le b,(xn)(x_n) 有界。由 Bolzano–Weierstrass 定理,存在子列 xnk→Xx_{n_k}\to X。由于 [a,b][a,b] 是闭区间,X∈[a,b]X\in[a,b](极限保持非严格不等式:a≤xnk≤ba\le x_{n_k}\le b 推出 a≤X≤ba\le X\le b)。

由序列刻画,f(xnk)→f(X)f(x_{n_k})\to f(X)。另一方面 (f(xnk))(f(x_{n_k})) 是收敛到 SS 的数列的子列,故也收敛到 SS。极限唯一,所以

S=f(X).S=f(X).

于是 SS 是有限实数,且被 ff 在某点取到,即上确界就是最大值。最小值对 −f-f 用同样论证。□\square

闭区间这个条件不能省。 若区间开,例如 f(x)=xf(x)=x 在 (0,1)(0,1) 上,上确界 11 取不到。证明中「X∈[a,b]X\in[a,b]」正是靠端点被包含。

本节结论

  • 柯西数列必有界;证明手法与「收敛必有界」相同,参考点换成 xNx_N。
  • 在 R\mathbb R 中柯西 ⇔ 收敛;证明借助 Bolzano–Weierstrass 定理。
  • 压缩映射:同一个 c<1c<1 控制所有点对;至多一个不动点,因为 (1−c)∣x−y∣≤0(1-c)|x-y|\le0。
  • 迭代序列满足 ∣am−an∣≤cn1−c∣a1−a0∣|a_m-a_n|\le\dfrac{c^n}{1-c}|a_1-a_0|,故为柯西列;由此得到不动点存在。
  • 牛顿法把 f(x)=0f(x)=0 化为 T(x)=x−f/f′T(x)=x-f/f' 的不动点问题,T′=ff′′/(f′)2<1T'=ff''/(f')^2<1 时收敛。
  • 连续 ⇔ 可与数列极限交换;由此推出闭区间上连续函数取得最值。

理解检验

1. 证明柯西数列有界时,为什么要在 ε=1\varepsilon=1 的定义里固定 m=Nm=N?

参考答案:柯西定义对任意 n,m≥Nn,m\ge N 都给出 ∣xn−xm∣<1|x_n-x_m|<1。要把它变成对单个 xnx_n 的估计,需要引入一个固定的参照点,最方便的就是取 m=Nm=N,于是 ∣xn−xN∣<1|x_n-x_N|<1 对所有 n≥Nn\ge N 成立,再用三角不等式得到 ∣xn∣<1+∣xN∣|x_n|<1+|x_N|。若不让 mm 固定,估计里就会出现两个都随 nn 变化的量,无法得到统一的界。

2. 柯西收敛定理的证明为什么需要 Bolzano–Weierstrass 定理?只用柯西性本身能推出收敛吗?

参考答案:柯西性只说「远处各项彼此靠近」,它并不能凭空产生一个极限点。Bolzano–Weierstrass 定理利用有界性给出一个收敛子列,从而提供一个候选极限 xx;再用柯西性把整条数列与这个子列绑在一起,证明整条数列也收敛到 xx。只用柯西性在 Q\mathbb Q 中就会失败(2\sqrt2 的有理截断是柯西列但不收敛),所以必须借助完备性;而 Bolzano–Weierstrass 正是完备性的等价形式。

3. 压缩映射为什么要求对所有 x,yx,y 用同一个 cc,并且 c<1c<1?如果 c=1c=1 会怎样?

参考答案:同一个 cc 保证误差每一步按固定比例缩小,从而把相邻距离压成几何级数。若 c=1c=1,相邻距离估计变为 ∣an+1−an∣≤∣an−an−1∣|a_{n+1}-a_n|\le|a_n-a_{n-1}|,只能说明距离不增,无法趋于零;例如 T(x)=x+1T(x)=x+1 满足 ∣T(x)−T(y)∣=∣x−y∣|T(x)-T(y)|=|x-y|,却没有任何不动点。唯一性证明也依赖 c<1c<1:(1−c)∣x−y∣≤0(1-c)|x-y|\le0 只有在 1−c>01-c>0 时才能推出 ∣x−y∣=0|x-y|=0。

4. 迭代序列的柯西估计中,几何级数是怎么出现的?哪一步用到 c≥0c\ge0?

参考答案:由 ∣ak+1−ak∣≤ck∣a1−a0∣|a_{k+1}-a_k|\le c^k|a_1-a_0|,再用三角不等式把 ∣am−an∣|a_m-a_n| 拆成从 k=nk=n 到 m−1m-1 的相邻差之和,得到 ∑k=nm−1ck∣a1−a0∣\sum_{k=n}^{m-1}c^k|a_1-a_0|,这就是几何级数;它被 cn1−c∣a1−a0∣\frac{c^n}{1-c}|a_1-a_0| 控制。c≥0c\ge0 保证 cnc^n 单调递减趋于 00,并且幂次估计中不会出现符号翻转;若 c<0c<0,压缩性不等式本身仍可能成立,但通常把 cc 换成 ∣c∣|c| 处理。

5. 最值定理为什么必须要求闭区间?把证明中哪一步去掉就会失效?

参考答案:证明中先取 xn∈[a,b]x_n\in[a,b] 使 f(xn)→sup⁡ff(x_n)\to\sup f,再用 Bolzano–Weierstrass 得到子列 xnk→Xx_{n_k}\to X,然后断言 X∈[a,b]X\in[a,b],最后用连续性得 sup⁡f=f(X)\sup f=f(X)。若区间是开的,例如 (a,b)(a,b),XX 可能等于端点 aa 或 bb,而函数在端点没有定义,f(X)f(X) 无从谈起,结论也可能不成立(f(x)=xf(x)=x 在 (0,1)(0,1) 上取不到上确界 11)。

6. 用序列刻画证明:若 ff 在 xx 处连续,xn→xx_n\to x 且所有 xnx_n 在定义域内,则 f(xn)→f(x)f(x_n)\to f(x)。指出 δ\delta 与 NN 的依赖关系。

参考答案:给定 ε>0\varepsilon>0,连续性给出只依赖 ε\varepsilon(与 xx 有关、与 nn 无关)的 δ>0\delta>0,使 ∣y−x∣<δ|y-x|<\delta 时 ∣f(y)−f(x)∣<ε|f(y)-f(x)|<\varepsilon。再由 xn→xx_n\to x,对这个固定的 δ\delta 取 NN,使 n≥Nn\ge N 时 ∣xn−x∣<δ|x_n-x|<\delta。于是 n≥Nn\ge N 时 ∣f(xn)−f(x)∣<ε|f(x_n)-f(x)|<\varepsilon。依赖链是 ε↦δ↦N\varepsilon\mapsto\delta\mapsto N,NN 通过 δ\delta 依赖 ε\varepsilon,不依赖 nn。

与前后课的关系

本讲把完备性包装成两个可直接使用的工具:柯西收敛定理与压缩映射定理。下一讲证明 Bolzano–Weierstrass 定理,并把它与「闭区间套」「列紧性」联系起来。第 8 讲起处理级数,柯西判据会变成级数收敛的判据;第 21–24 讲的一致收敛与 Picard–Lindelöf 定理,则把本讲的压缩映射迭代直接用于微分方程。

一条线索贯穿:完备性 → 柯西判据 → 不动点与最值 → 后续所有存在性定理。

Why a Cauchy criterion

Until now, proving convergence meant guessing the limit and verifying it with the ε\varepsilon-NN definition. But many limits have no closed form — solutions of differential equations and fixed points of contractions, for example.

The Cauchy criterion rewrites "a limit exists" as a condition about the sequence alone: distant terms crowd together. Its value is that one can prove existence without knowing the limit.

Timeline

TimeTopic
0:00Review: monotone convergence and Cauchy sequences
3:53Theorem: Cauchy sequences are bounded
9:27The Cauchy convergence theorem; the contraction mapping theorem
14:41A contraction has at most one fixed point
21:36The Cauchy estimate for the iteration an+1=T(an)a_{n+1}=T(a_n)
28:09Proving the contraction mapping theorem via Cauchy convergence
38:06Newton's method as an application
50:17The Bolzano–Weierstrass theorem (proved next lecture)
59:08Continuity and the extreme value theorem

Cauchy sequences

Definition. A sequence (xn)(x_n) is Cauchy if

∀ε>0 ∃N ∀n,m≥N:∣xn−xm∣<ε.\forall\varepsilon>0\ \exists N\ \forall n,m\ge N:\quad |x_n-x_m|<\varepsilon .

Unlike convergence, no candidate limit aa appears. Intuitively: convergence says distant terms cluster around aa; Cauchy says distant terms cluster around each other.

Theorem. Every Cauchy sequence is bounded.

Proof. Apply the Cauchy condition with ε=1\varepsilon=1, obtaining NN such that ∣xn−xm∣<1|x_n-x_m|<1 whenever n,m≥Nn,m\ge N.

Fix m=Nm=N. Then for every n≥Nn\ge N,

∣xn∣=∣xn−xN+xN∣≤∣xn−xN∣+∣xN∣<1+∣xN∣.|x_n|=|x_n-x_N+x_N|\le|x_n-x_N|+|x_N|<1+|x_N| .

Only x1,…,xN−1x_1,\dots,x_{N-1} remain, finitely many. Let

M=max⁡{∣x1∣,…,∣xN−1∣, 1+∣xN∣},M=\max\{|x_1|,\dots,|x_{N-1}|,\,1+|x_N|\},

so ∣xn∣≤M|x_n|\le M for all nn. □\square

The device is identical to "convergent implies bounded" from Lecture 4: fix a reference point m=Nm=N, control the tail with the triangle inequality, bound the head by a maximum. Only the reference changes from the limit aa to the NN-th term itself.

The Cauchy convergence theorem

Theorem. In R\mathbb R, a sequence converges if and only if it is Cauchy.

"Convergent ⇒ Cauchy" is easy: if xn→xx_n\to x, given ε>0\varepsilon>0 choose NN with ∣xn−x∣<ε/2|x_n-x|<\varepsilon/2 for n≥Nn\ge N. Then for n,m≥Nn,m\ge N,

∣xn−xm∣≤∣xn−x∣+∣x−xm∣<ε2+ε2=ε.|x_n-x_m|\le|x_n-x|+|x-x_m|<\frac\varepsilon2+\frac\varepsilon2=\varepsilon .

The converse needs completeness. The lecture derives it from the Bolzano–Weierstrass theorem (proved next lecture):

Every bounded sequence has a convergent subsequence.

Proof (Cauchy ⇒ convergent). Let (xn)(x_n) be Cauchy.

By the previous theorem it is bounded. By Bolzano–Weierstrass there is a subsequence xnk→xx_{n_k}\to x.

We show the whole sequence converges to xx. Given ε>0\varepsilon>0:

  • Cauchy gives N1N_1 with ∣xn−xm∣<ε/2|x_n-x_m|<\varepsilon/2 for n,m≥N1n,m\ge N_1.
  • Subsequence convergence gives N2N_2 with ∣xnk−x∣<ε/2|x_{n_k}-x|<\varepsilon/2 for k≥N2k\ge N_2.

Choose k≥N2k\ge N_2 with nk≥N1n_k\ge N_1 (possible since nkn_k strictly increases to infinity). Let N=max⁡{N1,nk}N=\max\{N_1,n_k\}. For n≥Nn\ge N,

∣xn−x∣≤∣xn−xnk∣+∣xnk−x∣<ε2+ε2=ε.|x_n-x|\le|x_n-x_{n_k}|+|x_{n_k}-x|<\frac\varepsilon2+\frac\varepsilon2=\varepsilon .

Hence xn→xx_n\to x. □\square

The logic: the subsequence supplies an anchor with a known limit, and the Cauchy property prevents the rest of the sequence from drifting away from it. The subsequence's convergence rests on Bolzano–Weierstrass, whose proof uses completeness — so the theorem is another face of completeness.

Contractions

Definition. A map T:R→RT:\mathbb R\to\mathbb R is a contraction if there is a constant cc with

  1. c≥0c\ge0;
  2. c<1c<1;
  3. ∣T(x)−T(y)∣≤c∣x−y∣|T(x)-T(y)|\le c|x-y| for all x,yx,y.

The third point insists on a single cc: one cannot use one constant for one pair and another constant for another.

Definition. xx is a fixed point of TT if T(x)=xT(x)=x.

Lemma. A contraction has at most one fixed point.

Proof. Let x,yx,y both be fixed points. Then

∣x−y∣=∣T(x)−T(y)∣≤c∣x−y∣.|x-y|=|T(x)-T(y)|\le c|x-y| .

Rearranging, (1−c)∣x−y∣≤0(1-c)|x-y|\le0. Since c<1c<1, 1−c>01-c>0, so ∣x−y∣≤0|x-y|\le0, i.e. x=yx=y. □\square

One line, and the key is c<1c<1: with c=1c=1 the inequality (1−c)∣x−y∣≤0(1-c)|x-y|\le0 gives nothing, and the claim fails (the translation T(x)=x+1T(x)=x+1 has no fixed point).

Why the iteration is Cauchy

"At most one" still leaves existence open. The construction is iteration: pick any xx and set

a0=x,an+1=T(an)=Tn+1(x).a_0=x, \qquad a_{n+1}=T(a_n)=T^{n+1}(x).

Step one: consecutive distances shrink geometrically. By contractivity,

∣an+1−an∣=∣T(an)−T(an−1)∣≤c∣an−an−1∣.|a_{n+1}-a_n|=|T(a_n)-T(a_{n-1})|\le c|a_n-a_{n-1}| .

Iterating,

∣an+1−an∣≤cn∣a1−a0∣.|a_{n+1}-a_n|\le c^n|a_1-a_0| .

Step two: any two terms are controlled. For m>nm>n, chain the intermediate differences:

∣am−an∣≤∑k=nm−1∣ak+1−ak∣≤∑k=nm−1ck∣a1−a0∣.|a_m-a_n|\le\sum_{k=n}^{m-1}|a_{k+1}-a_k| \le\sum_{k=n}^{m-1}c^k|a_1-a_0| .

Summing the geometric series,

∑k=nm−1ck≤∑k=n∞ck=cn1−c,\sum_{k=n}^{m-1}c^k\le\sum_{k=n}^{\infty}c^k=\frac{c^n}{1-c},

hence

∣am−an∣≤cn1−c ∣a1−a0∣.|a_m-a_n|\le\frac{c^n}{1-c}\,|a_1-a_0| .

Since 0≤c<10\le c<1, cn→0c^n\to0. Given ε>0\varepsilon>0, choose nn large enough that the right side is below ε\varepsilon; then all m>nm>n satisfy ∣am−an∣<ε|a_m-a_n|<\varepsilon. So (an)(a_n) is Cauchy.

Both hypotheses are used: c<1c<1 makes the geometric series converge; c≥0c\ge0 makes cnc^n decrease to 00. With c=1c=1 the estimate becomes (m−n)∣a1−a0∣(m-n)|a_1-a_0|, unbounded in mm, and the iterates may wander off.

The contraction mapping theorem

Theorem. A contraction T:R→RT:\mathbb R\to\mathbb R has a unique fixed point.

Proof. Uniqueness is the lemma. For existence:

Pick any a0∈Ra_0\in\mathbb R and set an+1=T(an)a_{n+1}=T(a_n). By the previous section (an)(a_n) is Cauchy. By the Cauchy convergence theorem, an→aa_n\to a for some aa.

Show T(a)=aT(a)=a. Contractivity gives

∣T(an)−T(a)∣≤c∣an−a∣→0,|T(a_n)-T(a)|\le c|a_n-a|\to0,

so T(an)→T(a)T(a_n)\to T(a). But T(an)=an+1→aT(a_n)=a_{n+1}\to a. A sequence has only one limit, so

T(a)=a.T(a)=a .

Thus aa is a fixed point. □\square

The theorem is constructive: it asserts existence and simultaneously gives a method — iterate from any starting point. Even without a closed form for the fixed point, one can approximate it arbitrarily well. That is exactly what makes it valuable for differential equations (ODE and PDE): rewrite the equation as x=T(x)x=T(x), verify contractivity, and obtain existence and uniqueness. Lecture 24 carries this out.

Newton's method: an application

To solve f(x)=0f(x)=0 with ff differentiable and f′(x)≠0f'(x)\ne0, define

T(x)=x−f(x)f′(x).T(x)=x-\frac{f(x)}{f'(x)} .

This is Newton's iteration: follow the tangent line down to the axis.

What does a fixed point mean? If T(x0)=x0T(x_0)=x_0, then

x0=x0−f(x0)f′(x0)  ⟹  f(x0)f′(x0)=0  ⟹  f(x0)=0.x_0=x_0-\frac{f(x_0)}{f'(x_0)} \implies \frac{f(x_0)}{f'(x_0)}=0 \implies f(x_0)=0 .

So fixed points of TT are exactly zeros of ff.

When is TT a contraction? Differentiate with the quotient rule:

T′(x)=1−(f′)2−ff′′(f′)2=ff′′(f′)2.T'(x)=1-\frac{(f')^2-ff''}{(f')^2} =\frac{ff''}{(f')^2} .

By the mean value theorem, for x≠yx\ne y there is ξ\xi between them with

∣T(x)−T(y)∣=∣T′(ξ)∣ ∣x−y∣.|T(x)-T(y)|=|T'(\xi)|\,|x-y| .

Hence if on the relevant interval

∣f(x)f′′(x)f′(x)2∣≤c<1,\left|\frac{f(x)f''(x)}{f'(x)^2}\right|\le c<1,

then TT is a contraction and Newton's iteration converges to the unique zero.

A "good initial guess" now has a precise meaning: near the starting point, ∣ff′′∣/(f′)2|ff''|/(f')^2 must be small. But the lecture warns that Newton's method only guarantees convergence inside a contracting region; one must also argue that the iterates never leave it, which the theorem alone does not supply.

The Bolzano–Weierstrass theorem

Theorem. Every bounded sequence has a convergent subsequence.

The proof comes in the next lecture. It has already been used twice here: to derive the Cauchy convergence theorem and to prove the extreme value theorem. It is equivalent to completeness — another way of saying that the real line has no gaps.

Continuity and exchanging limits

The other application is the extreme value theorem, which needs continuity first.

Definition. ff is continuous at x0x_0 if

∀ε>0 ∃δ>0:∣x−x0∣<δ⇒∣f(x)−f(x0)∣<ε.\forall\varepsilon>0\ \exists\delta>0:\quad |x-x_0|<\delta\Rightarrow|f(x)-f(x_0)|<\varepsilon .

ff is continuous if it is continuous at every point of its domain.

Theorem (sequential characterisation). If ff is continuous at xx and xn→xx_n\to x, then f(xn)→f(x)f(x_n)\to f(x).

Proof. Given ε>0\varepsilon>0, continuity supplies δ>0\delta>0. Since xn→xx_n\to x, there is NN with ∣xn−x∣<δ|x_n-x|<\delta for n≥Nn\ge N. For those nn, ∣f(xn)−f(x)∣<ε|f(x_n)-f(x)|<\varepsilon. □\square

This translates continuity into "limits may pass through ff": lim⁡f(xn)=f(lim⁡xn)\lim f(x_n)=f(\lim x_n). It is the bridge behind every extreme-value and intermediate-value argument.

The extreme value theorem

Theorem. If ff is continuous on the closed interval [a,b][a,b], then ff attains its maximum and minimum there: there are xM,xm∈[a,b]x_M,x_m\in[a,b] with

f(xM)=sup⁡[a,b]f,f(xm)=inf⁡[a,b]f.f(x_M)=\sup_{[a,b]}f, \qquad f(x_m)=\inf_{[a,b]}f .

Proof (maximum). Let S=sup⁡[a,b]fS=\sup_{[a,b]}f, temporarily allowing S=+∞S=+\infty. By the definition of supremum there is a sequence xn∈[a,b]x_n\in[a,b] with

f(xn)→S.f(x_n)\to S .

(Take ε=1/n\varepsilon=1/n: since S−1/nS-1/n is not an upper bound, some xnx_n has f(xn)>S−1/nf(x_n)>S-1/n.)

Because a≤xn≤ba\le x_n\le b, the sequence (xn)(x_n) is bounded. Bolzano–Weierstrass gives a subsequence xnk→Xx_{n_k}\to X. Since [a,b][a,b] is closed, X∈[a,b]X\in[a,b] (limits preserve non-strict inequalities: a≤xnk≤ba\le x_{n_k}\le b gives a≤X≤ba\le X\le b).

By the sequential characterisation, f(xnk)→f(X)f(x_{n_k})\to f(X). On the other hand (f(xnk))(f(x_{n_k})) is a subsequence of a sequence converging to SS, hence also converges to SS. Limits are unique, so

S=f(X).S=f(X).

Thus SS is a finite real number attained by ff: the supremum is a maximum. The minimum follows by applying the result to −f-f. □\square

The closed interval cannot be dropped. On (0,1)(0,1), f(x)=xf(x)=x has supremum 11, which is never attained. In the proof, "X∈[a,b]X\in[a,b]" is exactly where endpoints being included matters.

What this lecture establishes

  • Cauchy sequences are bounded; the proof mirrors "convergent implies bounded" with xNx_N as the reference point.
  • In R\mathbb R, Cauchy ⇔ convergent, via Bolzano–Weierstrass.
  • A contraction uses one c<1c<1 for all pairs; it has at most one fixed point since (1−c)∣x−y∣≤0(1-c)|x-y|\le0.
  • The iteration satisfies ∣am−an∣≤cn1−c∣a1−a0∣|a_m-a_n|\le\dfrac{c^n}{1-c}|a_1-a_0|, hence is Cauchy, yielding existence of a fixed point.
  • Newton's method turns f(x)=0f(x)=0 into the fixed-point equation T(x)=x−f/f′T(x)=x-f/f', contracting when T′=ff′′/(f′)2<1T'=ff''/(f')^2<1.
  • Continuity ⇔ limits may pass through ff; hence a continuous function on a closed interval attains its extrema.

Comprehension check

1. In the boundedness proof for Cauchy sequences, why fix m=Nm=N after taking ε=1\varepsilon=1?

Reference answer: The Cauchy condition gives ∣xn−xm∣<1|x_n-x_m|<1 for all n,m≥Nn,m\ge N. To obtain an estimate for a single xnx_n, a fixed reference point must be introduced; taking m=Nm=N gives ∣xn−xN∣<1|x_n-x_N|<1 for every n≥Nn\ge N, and the triangle inequality then yields ∣xn∣<1+∣xN∣|x_n|<1+|x_N|. Without fixing mm, the estimate would involve two quantities both varying with nn and no uniform bound would follow.

2. Why does the proof of the Cauchy convergence theorem need Bolzano–Weierstrass? Can Cauchy-ness alone produce convergence?

Reference answer: Cauchy-ness only says distant terms are close to each other; it cannot manufacture a limit point. Bolzano–Weierstrass uses boundedness to produce a convergent subsequence, supplying a candidate limit xx; the Cauchy property then ties the whole sequence to that subsequence. Cauchy-ness alone fails in Q\mathbb Q — the rational truncations of 2\sqrt2 form a Cauchy sequence with no limit — so completeness must enter, and Bolzano–Weierstrass is one of its equivalent forms.

3. Why must a contraction use one cc for all x,yx,y, with c<1c<1? What happens when c=1c=1?

Reference answer: A single cc makes each step shrink the error by a fixed factor, turning successive differences into a geometric series. With c=1c=1 the estimate becomes ∣an+1−an∣≤∣an−an−1∣|a_{n+1}-a_n|\le|a_n-a_{n-1}|, which only says distances do not grow and cannot force them to zero; for example T(x)=x+1T(x)=x+1 satisfies ∣T(x)−T(y)∣=∣x−y∣|T(x)-T(y)|=|x-y| yet has no fixed point. Uniqueness also needs c<1c<1: (1−c)∣x−y∣≤0(1-c)|x-y|\le0 yields ∣x−y∣=0|x-y|=0 only when 1−c>01-c>0.

4. Where does the geometric series come from in the Cauchy estimate, and where is c≥0c\ge0 used?

Reference answer: From ∣ak+1−ak∣≤ck∣a1−a0∣|a_{k+1}-a_k|\le c^k|a_1-a_0|, the triangle inequality expands ∣am−an∣|a_m-a_n| into a sum of consecutive differences over k=n,…,m−1k=n,\dots,m-1, giving ∑ck∣a1−a0∣\sum c^k|a_1-a_0| — a geometric series bounded by cn1−c∣a1−a0∣\frac{c^n}{1-c}|a_1-a_0|. The condition c≥0c\ge0 makes cnc^n decrease monotonically to 00 and keeps the power estimates free of sign changes; for negative cc one usually replaces cc by ∣c∣|c|.

5. Why must the extreme value theorem require a closed interval? Which step of the proof fails otherwise?

Reference answer: The proof chooses xn∈[a,b]x_n\in[a,b] with f(xn)→sup⁡ff(x_n)\to\sup f, extracts xnk→Xx_{n_k}\to X by Bolzano–Weierstrass, asserts X∈[a,b]X\in[a,b], then uses continuity to get sup⁡f=f(X)\sup f=f(X). On an open interval (a,b)(a,b), XX might equal an endpoint where ff is undefined, so f(X)f(X) makes no sense and the conclusion can fail: f(x)=xf(x)=x on (0,1)(0,1) never attains its supremum 11.

6. Using the sequential characterisation, prove that continuity at xx and xn→xx_n\to x imply f(xn)→f(x)f(x_n)\to f(x). State how δ\delta and NN depend on each other.

Reference answer: Given ε>0\varepsilon>0, continuity gives δ>0\delta>0 depending only on ε\varepsilon (and on xx), such that ∣y−x∣<δ|y-x|<\delta implies ∣f(y)−f(x)∣<ε|f(y)-f(x)|<\varepsilon. Since xn→xx_n\to x, for this fixed δ\delta there is NN with ∣xn−x∣<δ|x_n-x|<\delta for n≥Nn\ge N. Then ∣f(xn)−f(x)∣<ε|f(x_n)-f(x)|<\varepsilon for n≥Nn\ge N. The dependency chain is ε↦δ↦N\varepsilon\mapsto\delta\mapsto N: NN depends on ε\varepsilon through δ\delta and never on nn.

Relation to neighbouring lectures

This lecture packages completeness into two immediately usable tools: the Cauchy convergence theorem and the contraction mapping theorem. The next lecture proves Bolzano–Weierstrass and connects it with nested intervals and sequential compactness. From Lecture 8 onward series are treated, with the Cauchy criterion becoming a convergence test; Lectures 21–24 on uniform convergence and Picard–Lindelöf apply the contraction iteration directly to differential equations.

One thread runs through: completeness → Cauchy criterion → fixed points and extrema → every later existence theorem.

来源