第 24 章
Picard–Lindelöf 定理:把微分方程变成不动点
证明压缩映射定理,构造积分算子并把初值问题化为它的不动点,再用闭球与显式常数证明该算子是压缩映射,从而得到局部存在唯一性。
The Picard–Lindelöf Theorem: Turning an ODE into a Fixed Point
We prove the contraction mapping theorem, build the integral operator whose fixed points are solutions of the initial value problem, and use a closed ball with explicit constants to show that the operator is a contraction, yielding local existence and uniqueness.
篇内目录
- Does a differential equation always have a solution?
- Timeline
- Two tools
- Tool one: the sup metric and completeness
- Tool two: contractions
- Theorem one: a contraction has at most one fixed point
- Theorem two: the contraction mapping theorem
- Step 1: iterate from an arbitrary point
- Step 2: consecutive errors shrink geometrically
- Step 3: the distance between any two terms
- Step 4: take the limit
- Step 5: the limit is a fixed point
- Turning the ODE into a fixed point problem
- The map
- Fixed points are exactly solutions
- Restricting the space: why not work on all continuous functions
- The closed ball
- Four constants
- Step one: maps the ball into itself
- Step two: the contraction property
- Conclusion
- What this lecture establishes
- Comprehension check
- Relation to neighbouring lectures
问题:微分方程一定有解吗
考虑初值问题
其中 可导且 连续, 连续, 是给定实数。
这不是一个可以套公式的问题。 可以任意非线性,显式解通常写不出来。真正要问的是两个定性问题:
- 存在性:给定 ,是否至少存在一个解?
- 唯一性:如果有两个解,它们是否必须相同?
这两个问题在整个科学与工程里反复出现:方程描述某个自然过程,首先得确认它至少有一个解,其次得确认这个解是唯一的,否则预测就没有意义。
Picard–Lindelöf 定理回答的正是这两个问题,而且答案是「局部」的:存在某个 ,在 上有解,且解唯一。为什么只能局部,最后一讲会用 的爆破说明。
证明的路线出人意料:用度量空间。具体说,把解写成某个积分算子的不动点,再对这个算子使用压缩映射定理。
时间轴
| 时间 | 内容 |
|---|---|
| 0:00 | 定理陈述:ODE、初值条件、局部存在唯一 |
| 6:14 | 证明用到的度量空间:区间上的连续函数与 sup 距离 |
| 8:19 | 工具一: 是 Cauchy 完备的 |
| 9:20 | 工具二:压缩映射的定义 |
| 12:21 | 压缩映射至多有一个不动点 |
| 14:57 | 压缩映射定理:完备空间中存在唯一不动点 |
| 16:19 | 迭代构造与 Cauchy 列估计 |
| 31:30 | 极限是不动点 |
| 36:20 | 把 ODE 化为积分算子的不动点 |
| 46:47 | 限制到闭球:定义 、、、 |
| 51:09 | 证明 把闭球映入自身 |
| 1:11:08 | 定义 与最终的 ,开始压缩性估计 |
| 1:19:30 | 用中值定理得到 $M |
两个工具
工具一:sup 度量与完备性
在区间 上的连续函数空间 上取
前面已经证明: 是 Cauchy 完备的:每个 Cauchy 列都收敛到某个连续函数。
还要用到一个简单事实:完备空间的闭子集也完备。若 是完备空间 的闭子集, 是 Cauchy 列,则在 中它收敛到某个 ;因为 闭,。所以 中的 Cauchy 列在 中收敛。
工具二:压缩映射
定义。 设 是度量空间,。若存在常数 ,使得
则称 是压缩映射。
这里的 必须严格小于 。等于 不够:恒等映射取 ,它每个点都是不动点,结论完全不成立。
定理一:压缩映射至多一个不动点
定理。 若 是压缩映射,则 至多有一个不动点。
证明。 设 、 都是不动点,即
由压缩性,
把右边移到左边:
因为 且 ,只能有 ,即 。
这个证明只用了两条:压缩性和度量的正定性。它甚至不需要空间完备。完备性是为下一个定理的存在性准备的。
定理二:压缩映射定理
定理。 设 是 Cauchy 完备的度量空间, 是压缩映射。则 有唯一不动点。
唯一性已经由定理一给出,剩下要证存在性:必须造出一个不动点。
第一步:从任意一点开始迭代
任取 ,定义
即 。这里不需要像 Newton 法那样先选一个好的初始点——任何点都可以,只是收敛速度可能慢一些。
目标:证明 收敛,且极限 满足 。
第二步:相邻两项的误差按几何级数缩小
对任意 ,
也就是说,每往后退一层,误差就乘一个 。反复使用:
第三步:任意两项的误差
设 ,。先在映射层面迭代 次:
现在估计 ,用三角不等式把它拆成 段相邻差:
最后一步用了几何级数求和:,所以 ,部分和不超过它。
合并两式:
右端与 无关,且当 时 。所以对任意 ,存在 ,使 时对一切 都有 。这正是 Cauchy 列的定义。
这里 是决定性的:若 , 不衰减,什么也证不出来。
第四步:取极限
完备,所以 收敛。记极限为
第五步:极限是不动点
要证 。考虑 作用在序列上:
因为 ,这串就是原序列去掉首项,所以它也收敛到 。
另一方面,用压缩性比较 与 :
因为 ,右端趋于 ,所以 。但已知 。度量空间中极限唯一,因此
于是 是不动点。
这个证明的结构值得记住:先用压缩性造出 Cauchy 列,再用完备性取到极限,最后用压缩性把「 与极限可交换」建立起来。最后一步实际上是在证明 连续:压缩映射自动是连续映射。
把 ODE 变成不动点问题
接下来是定理与微分方程的连接。
映射 的定义
设 是含 的区间。对连续函数 ,定义
逐条检查性质。
连续。 连续, 连续(可导), 连续,所以被积函数连续;可变上限积分连续。
可导,且导数为 。 由微积分基本定理,
所以 的像不只在连续函数空间里,还在连续可导函数空间里。
初值自动满足。
不动点等价于解
若 是 的不动点,即 ,则
右边可导,且由微积分基本定理 ;又 。所以 是 ODE 的解。
反之,若 是解,即 且 ,把 从 到 积分:
代入 得 。所以 是不动点。
两边都是微积分基本定理的直接应用。于是:
限制空间:为什么不能直接在全体连续函数上做
在全体 上不是压缩映射。问题出在这一项:
这里的 是 在某个范围上的最大值。但如果 的取值可以任意大, 就可能无界, 就不存在,压缩性失效。
这与 Newton 法里必须选一个好初始点是同一类现象:映射只在局部是压缩的。解决办法是把空间限制到一个闭球,在球上 有最大值,于是压缩常数可以算出来。
闭球
固定半径 ,定义
这是连续函数空间中、以零函数为中心、半径为 的闭球。
为什么必须闭?因为闭子集才继承完备性。开球不闭,Cauchy 列的极限可能落在球外,压缩映射定理的完备性前提就断了。
四个常数的定义
先取
多出来的 是留给积分项的余量: 本身加上一个严格小于 的量,仍在球内。
因为 连续、 连续,在紧集上有最大值。定义
再定义
三个选择各有用途:
- :保证区间 落在 中,这样 的最大值 才适用;
- :保证 ;
- :保证 。
分母加 只是为了防止 或 为零时除以零,同时让不等式变成严格的。
第一步: 把闭球映入自身
要证:若 ,则 。
连续已经知道。只需估计 时的绝对值。设 。
由三角不等式和积分绝对值不等式,
现在逐项放缩。
第一项。 意味着 ,所以 的自变量落在 内,由 的定义,
第二项。 位于 与 之间,而 ,所以 ,由 的定义,
长度。 积分区间的长度是 。
于是
代入 的两个上界:
所以
对一切 成立。因此 ,即
这一步的意义:迭代不会跑出球。若映射把点送到球外,压缩映射定理就没法迭代下去——这正是课程强调空间必须「稳定」的原因。
第二步:压缩性
还需要一个常数。定义
连续,在紧集上有最大值,所以 是有限的非负实数。再把区间收窄为
在 上重新取半径仍为 的闭球,仍记作 。因为 ,第一步的「映入自身」依然成立。
取 ,估计 。两式的常数 相减抵消, 也抵消:
取绝对值并把绝对值放进积分:
用中值定理处理被积函数。 固定 ,把 、 看成两个数,记为 。因为 ,两者都落在 。中值定理给出:存在介于 、 之间的 ,使
于是
代回积分:
由 ,
所以对一切 都有
取上确界(此时 ,因为 连续):
压缩常数可以取 ,严格小于 。
补充:课程在讲到这里时刚好下课,最后「」的收尾是在下一讲开头用同样的估计完成的;这里把两步合在一起写完整。下一讲把 记作 ,并把 取成 ,效果相同。
结论
把所有拼起来:
- 是完备空间 的闭子集,故完备。
- 。
- 在 上是压缩映射,压缩常数 。
- 由压缩映射定理, 有唯一不动点 。
- 不动点等价于 ODE 的解。
于是得到了 Picard–Lindelöf 定理的存在性与局部唯一性:在 上,给定初值 的 ODE 有且只有一个解。
这里证出的是「在一个小球内唯一」。若有两个解都定义在更大的区间上,在球内它们必须相同;球外怎么办,需要下一讲的连通性论证。
本节结论
- 压缩映射上至多一个不动点;完备空间中的压缩映射恰有一个。
- 构造不动点的迭代方法:任取一点开始,误差按 缩小。
- 完备性的作用是取极限;压缩性的作用是保证 Cauchy 且 连续。
- ODE 的解等价于积分算子 的不动点。
- 在全体连续函数上不压缩,必须限制到闭球。
- 常数 、 保证 映入自身; 保证压缩,常数为 。
理解检验
1. 证明压缩映射至多有一个不动点,并指出证明中哪一步用到 。
参考答案:设 都是不动点,则 ,移项得 。因为 且 ,只能 ,故 。 用在「」这一步:若 ,不等式变成 ,什么都推不出来(恒等映射就是反例)。
2. 为什么迭代序列 是 Cauchy 列?估计式中的 从哪来?
参考答案:先在映射层面迭代 次,压缩性给出 ;这里每用一次压缩性就提出一个 ,用 次得到 。再对 用三角不等式拆成 段相邻差,每段被 控制,求和后用几何级数放大为 。合起来 ,与 无关且随 趋于 ,故为 Cauchy 列。
3. 为什么 在全体连续函数空间上不是压缩映射?限制到闭球解决了什么?
参考答案:压缩性的估计需要 ,而 只在有界区域上才有有限值。若 的取值可以任意大, 可能无界, 不存在,估计失效。限制到闭球 后,球内 , 在 上连续、取到最大值 ,压缩性才能证明。
4. 常数 中的 ,与 中分母的「」,各起什么作用?
参考答案: 是留给两个积分项的余量。估计给出 ,而 、,两项合计严格小于 ,所以 ,映射留在球内。分母的 有两个作用:避免 或 为零时除以零;把 变成严格小于 ,从而得到严格不等式。
5. 为什么必须用闭球而不是开球?
参考答案:压缩映射定理要求空间 Cauchy 完备。完备空间的闭子集完备,而开子集一般不完备:Cauchy 列可能收敛到边界点上,而边界点不在开球里。用开球时,迭代序列的极限可能落到球外,定理的前提失效。闭球则保证极限仍在球内,「映入自身」与「完备」两条同时成立。
与前后课的关系
上一讲把求导与极限的交换讲完,并把常微分方程改写成了积分方程。本讲完成技术工作:压缩映射定理的完整证明、积分算子的构造、闭球上的自映射与压缩性,最终得到局部存在唯一性。
下一讲有两件事:第一,用区间连通性把「球内唯一」提升为「共同定义域上唯一」;第二,用 的显式解说明解确实可能在有限点爆破,所以定理只能局部。那两件事合起来,才是完整的 Picard–Lindelöf 定理。
Does a differential equation always have a solution?
Consider the initial value problem
where is differentiable with continuous, is continuous, and is a given real number.
This is not a problem with a plug-in formula. The nonlinearity can be arbitrary, and explicit solutions usually do not exist. The right questions are qualitative:
- Existence: given , is there at least one solution?
- Uniqueness: if there are two solutions, must they coincide?
These questions recur throughout science and engineering: an equation models some natural process, and one first needs to know that a solution exists at all, then that it is unique — otherwise prediction is meaningless.
The Picard–Lindelöf theorem answers exactly these questions, and the answer is local: there is some such that a solution exists on and is unique there. Why it can only be local is shown in the final lecture by the blow-up of .
The route of the proof is unexpected: it uses metric spaces. Specifically, the solution is written as a fixed point of an integral operator, and the contraction mapping theorem is applied to that operator.
Timeline
| Time | Topic |
|---|---|
| 0:00 | Statement: the ODE, the initial condition, local existence and uniqueness |
| 6:14 | The metric space used: continuous functions with the sup distance |
| 8:19 | Tool one: is Cauchy complete |
| 9:20 | Tool two: definition of a contraction |
| 12:21 | A contraction has at most one fixed point |
| 14:57 | Contraction mapping theorem: existence and uniqueness in a complete space |
| 16:19 | The iteration and the Cauchy estimate |
| 31:30 | The limit is a fixed point |
| 36:20 | Turning the ODE into a fixed point of an integral operator |
| 46:47 | Restricting to a closed ball: the constants , , , |
| 51:09 | Proving that maps the ball into itself |
| 1:11:08 | Defining and the final ; beginning the contraction estimate |
| 1:19:30 | The mean value theorem gives $M |
Two tools
Tool one: the sup metric and completeness
On the space of continuous functions on an interval , take
It was proved earlier that is Cauchy complete: every Cauchy sequence converges to a continuous function.
One more simple fact is needed: a closed subset of a complete space is complete. If is closed in a complete space and is Cauchy, then it converges in to some ; since is closed, . So Cauchy sequences in converge inside .
Tool two: contractions
Definition. Let be a metric space and . If there is a constant with
then is a contraction.
The constant must be strictly less than . Equality is not enough: the identity map has and fixes every point, so the conclusion would collapse.
Theorem one: a contraction has at most one fixed point
Theorem. If is a contraction, it has at most one fixed point.
Proof. Let and be fixed points:
By the contraction property,
Move the right side over:
Since and , necessarily , hence .
Only two facts are used: the contraction property and positive definiteness. Completeness is not needed here; it is there for existence in the next theorem.
Theorem two: the contraction mapping theorem
Theorem. Let be a Cauchy complete metric space and a contraction. Then has a unique fixed point.
Uniqueness is already covered by theorem one; existence must be constructed.
Step 1: iterate from an arbitrary point
Take any and define
that is, . Unlike Newton's method, no good starting point is needed — any point works, though convergence may be slower.
Goal: show that converges and that its limit satisfies .
Step 2: consecutive errors shrink geometrically
For any ,
Each step back multiplies the error by . Iterating,
Step 3: the distance between any two terms
Let and . First iterate the contraction times at the level of maps:
Now estimate by the triangle inequality, splitting it into consecutive differences:
The last step is the geometric series: since , , and partial sums do not exceed it.
Combining,
The right side does not depend on , and as . Hence for every there is such that for and every , . That is exactly the Cauchy condition.
The hypothesis is decisive: if , does not decay and nothing follows.
Step 4: take the limit
is complete, so converges. Write
Step 5: the limit is a fixed point
We show . Apply to the sequence:
Since , this is the original sequence with the first term removed, so it also converges to .
On the other hand, compare with using the contraction property:
As , the right side tends to , so . But . Limits in a metric space are unique, hence
So is a fixed point.
The structure is worth remembering: the contraction property produces a Cauchy sequence, completeness supplies the limit, and the contraction property again shows that commutes with the limit. The last step is in effect a proof that a contraction is continuous.
Turning the ODE into a fixed point problem
Now the connection to differential equations.
The map
Let be an interval containing . For a continuous , define
Check the properties one by one.
is continuous. is continuous, is continuous (differentiable), is continuous, so the integrand is continuous; an integral with variable upper limit is continuous.
is differentiable with derivative . By the fundamental theorem of calculus,
So the image of lies not merely in continuous functions but in continuously differentiable ones.
The initial value is automatic.
Fixed points are exactly solutions
If is a fixed point, , then
The right side is differentiable, and by the fundamental theorem ; also . So solves the ODE.
Conversely, if is a solution, and , integrate from to :
Substituting gives . So is a fixed point.
Both directions are direct applications of the fundamental theorem of calculus. Hence
Restricting the space: why not work on all continuous functions
is not a contraction on all of . The obstruction is the term
where is the maximum of on some range. But if take arbitrarily large values, may be unbounded, may not exist, and the contraction property fails.
This is the same phenomenon as the need for a good starting point in Newton's method: the map is only locally contracting. The remedy is to restrict the space to a closed ball, on which has a maximum and the contraction constant can be computed.
The closed ball
Fix a radius and define
This is the closed ball of radius about the zero function in the space of continuous functions.
Why closed? Because only a closed subset inherits completeness. An open ball is not closed, a Cauchy sequence may converge to a boundary point outside it, and the completeness hypothesis of the contraction theorem would fail.
Four constants
First take
The extra is slack for the integral terms: plus a quantity strictly below still lies inside the ball.
Since and are continuous, they attain maxima on compact sets. Define
Then set
Each choice has a job:
- : ensures , so that the bound for applies;
- : ensures ;
- : ensures .
The in the denominators only guards against dividing by zero when or vanishes, and it makes the inequalities strict.
Step one: maps the ball into itself
We show: if then .
Continuity of is known. It remains to bound the absolute value for . Let . By the triangle inequality and the integral inequality,
Now bound each piece.
First piece. means , so the argument of lies in ; by the definition of ,
Second piece. lies between and , and , so ; by the definition of ,
Length. The interval of integration has length .
Hence
Substituting the two upper bounds on ,
Therefore
for all . So , i.e.
Why this matters: the iteration must not leave the ball. If the map sent points outside, the contraction iteration could not be continued — exactly why the course insists that the space be stable under the map.
Step two: the contraction property
One more constant. Define
is continuous and attains a maximum on a compact set, so is a finite nonnegative number. Now shrink the interval to
On , take again the ball of radius , still denoted . Since , the "maps into itself" property still holds.
Take and estimate . The constants cancel, and so do the terms:
Take absolute values and move the absolute value inside the integral:
Apply the mean value theorem to the integrand. Fix and view , as two numbers . Since , both lie in . The mean value theorem gives a between and with
Hence
Substituting back into the integral,
Since ,
Therefore, for every ,
Taking the supremum (here , since is continuous),
So works, strictly less than .
Note: the lecture reached this point just as time ran out; the final step is completed at the start of the next lecture using the same estimate. Here the two halves are written together. The next lecture writes as and takes , with the same effect.
Conclusion
Assembling the pieces:
- is a closed subset of the complete space , hence complete.
- .
- is a contraction on with constant .
- By the contraction mapping theorem, has a unique fixed point .
- Fixed points are exactly solutions of the ODE.
This proves existence and local uniqueness in the Picard–Lindelöf theorem: on the ODE with initial value has exactly one solution.
What is proved is uniqueness "inside one small ball". If two solutions are defined on a larger interval, they must agree inside the ball; what happens outside requires the connectedness argument of the next lecture.
What this lecture establishes
- A contraction has at most one fixed point; in a complete space it has exactly one.
- The iteration starts from an arbitrary point and errors shrink like .
- Completeness supplies the limit; contraction supplies the Cauchy property and continuity of .
- Solutions of the ODE are exactly fixed points of the integral operator .
- is not a contraction on all continuous functions and must be restricted to a closed ball.
- The constants and make map the ball into itself; makes it a contraction with constant .
Comprehension check
1. Prove that a contraction has at most one fixed point, and identify where is used.
Reference answer: If are fixed points, then , so . Since and , necessarily and . The hypothesis enters through "": if the inequality becomes , which yields nothing (the identity map is a counterexample).
2. Why is the iteration Cauchy? Where does come from?
Reference answer: Iterating the contraction times at the level of maps gives ; each use of the contraction pulls out one factor , and uses give . Then is split by the triangle inequality into consecutive differences, each bounded by , and the sum is dominated by the geometric series . Hence , independent of and tending to with , which is the Cauchy condition.
3. Why is not a contraction on the whole space of continuous functions? What does restricting to a closed ball fix?
Reference answer: The contraction estimate needs , and is finite only on a bounded region. If can take arbitrarily large values, may be unbounded, may not exist, and the estimate fails. On the closed ball we have , so is continuous on the compact set , attains a maximum , and the contraction property can be proved.
4. What jobs do the in and the in the denominators of do?
Reference answer: The is slack for the two integral terms: the estimate gives with and , so the two terms total strictly less than and , keeping the map inside the ball. The in the denominators does two things: it avoids division by zero when or vanishes, and it turns into a strict inequality below .
5. Why must the ball be closed rather than open?
Reference answer: The contraction mapping theorem requires a Cauchy complete space. A closed subset of a complete space is complete, but an open subset generally is not: a Cauchy sequence may converge to a boundary point lying outside the open ball. With an open ball the limit of the iteration could fall outside, and the theorem's hypothesis would fail. With a closed ball the limit stays inside, so both "maps into itself" and "complete" hold.
Relation to neighbouring lectures
The previous lecture finished the interchange of differentiation and limits and rewrote the ODE as an integral equation. This lecture completes the technical work: a full proof of the contraction mapping theorem, the construction of the integral operator, the self-map and contraction properties on a closed ball, and finally local existence and uniqueness.
The next lecture does two things: first, use connectedness of intervals to upgrade "unique inside the ball" to "unique on the common domain"; second, use the explicit solution of to show that solutions really can blow up at a finite point, so the theorem can only be local. Together they form the complete Picard–Lindelöf theorem.