第 02 章
完备性:最小上界与 √2 的存在
先证明 √2 不是有理数,再引入上界与最小上界,用「每个有界子集都有最小上界」定义完备有序域;随后在实数中造出 √2,并证明阿基米德性质与有理数的稠密性。
Completeness: Least Upper Bounds and the Existence of √2
We first prove that √2 is irrational, then introduce upper bounds and least upper bounds, and define a complete ordered field as one where every bounded subset has a least upper bound. We then construct √2 inside the reals and prove the Archimedean property and the density of the rationals.
篇内目录
- What was still missing
- Timeline
- is not rational
- Where lives: a limit of a sequence
- Upper bounds and least upper bounds
- Upper bounds
- Least upper bounds
- Complete ordered fields
- Constructing in
- The set
- Step one:
- Step two:
- Corollary: is not complete
- The Archimedean property
- Corollary: the rationals are dense in the reals
- What this lecture establishes
- Comprehension check
- Relation to neighbouring lectures
回顾:还缺哪一块
上一讲为介值定理准备了「有序域」,但明确留下了「完备」没有定义。本讲补上这一块,并回答一个具体问题: 到底是什么数?
先把上一讲的结构压缩成一张表:
| 概念 | 要求 |
|---|---|
| 域 | 加法五条 + 乘法五条 + 分配律 |
| 有序集 | 任意两元素可比较(三歧性)+ 传递性 |
| 有序域 | 域 + 序,且 、 |
本讲新增的传递性很关键:若 且 ,则 。它让「小于」可以串起来用,后面几乎所有不等式论证都靠它。
时间轴
| 时间 | 内容 |
|---|---|
| 0:00 | 回顾域、有序集、有序域 |
| 8:24 | 不是有理数:反证法完整证明 |
| 16:18 | 把 看成序列的极限 |
| 20:31 | 上界与最小上界的定义 |
| 28:03 | 完备有序域的定义;存在最小完备有序域 |
| 31:25 | 在 中构造 :两步不等式 |
| 52:52 | 推论: 不完备 |
| 54:54 | 阿基米德性质及其证明 |
| 1:01:53 | 推论:有理数在实数中稠密 |
不是有理数
是满足 且 的数。要说明它不属于 ,就是证明:不存在 、,使 。
命题。 不存在有理数 使 。
证明(反证)。 假设存在 ,其中 、,且 。
首先可以假设 与 没有公因子。理由:有理数的表示不唯一,若分子分母有公因子 ,把两者同除以 ,得到同一个有理数的另一组表示;反复约分,最终可以取到互素的 。这一步不是可有可无的,它是后面产生矛盾的支点。
由 得
右边是偶数,所以 是偶数。偶数的平方根仍是偶数:若 为奇数,设 ,则 为奇数,矛盾。因此 是偶数,写 ,其中 。
代入:
于是 是偶数,同理 也是偶数。
现在 与 都被 整除,与「 互素」矛盾。所以假设不成立,。
证明只用了两件事:有理数的约分、以及「若整数的平方是偶数则整数是偶数」。后者本身也值得写清楚,因为它是证明的一部分。
在哪里:作为序列的极限
既然 里没有 ,就要问:实数怎样容纳它?
先看十进制展开:
逐位截断得到一串数
每一个截断都是有理数,而且随着位数增加越来越接近 。所以一种想法是:把 定义为这串数的极限。
这引出两个后面要花很多时间的概念:数列与极限。「越来越接近」只是直觉,真正要写出来,需要 语言,那是第 4 讲的内容。这里只借用它说明完备性要解决的问题:有理数没有 ,实数用「极限」把这个洞补上。
上界与最小上界
上界
设 是有序集,。称 是 的上界,如果
注意 不必属于 。例子:
- ,。则 是上界, 也是上界; 不是,因为 。
- ,。则 没有上界——不管取多大的有理数,总有更大的自然数。
最小上界
设 有上界。称 是 的最小上界(或上确界,记 ),如果
- 是 的上界;
- 对 的任意上界 ,都有 。
换成一句更常用的话: 是最小的上界。它同时承担两个角色——够大(压得住 的所有元素),又够小(没有任何更小的数还能压住)。
这里有一个容易被忽略的细节:最小上界不一定属于 。例如 的 ,而 。
完备有序域
定义很短:
完备有序域是一个有序域,其中每个有界子集都有最小上界。
「有界」指有上界。课程说明,只定义上界而不定义下界并不损失一般性:把集合换成它的「反向」,上界就变成下界;两种说法等价,多写一遍是冗余。当然,也可以对 使用上确界来得到下确界。
接下来是一个不证明的定理:
定理。 存在一个最小的完备有序域,它包含有理数 。
这个域就是实数域 。证明它需要从 出发构造 (例如用戴德金分割或柯西序列),超出了本课范围;课程把它当作出发点。
有了这条定理,上一讲的介值定理才终于有了所需的性质。但「完备」这个定义是否真的能推出我们想要的东西?课程选择用 来检验。
在 中造出
思路:不直接解方程,而是把 定义为某个集合的最小上界,再验证这个上界确实平方等于 。
集合
先检查定义用得上:
- 非空:,因为 且 。
- 有上界:若 ,则 且 。由于 ,必有 。为什么不可能是 ?因为 时 ,与 矛盾。所以 是上界。
由完备性, 存在。令
课程特意不把它记作 :如果在证明途中就叫它 ,大脑会自动使用「 的平方等于 」这条还没证明的性质。
由 且 是上界,得 ,所以 。
剩下要证 。分成两个不等式。
第一步:
反设 。于是 ,可以取一个很小的正数 ,满足
(,所以右端为正,这样的 存在。)计算
因为 ,两边乘以 得 ,即 。于是
现在任取 。由 、(因为 )以及 ,开方保序给出 。所以 是 的上界,而 ,与 是最小上界矛盾。
因此 。
第二步:
反设 。于是 。取 满足
计算
因为 ,有 。所以
由 得
同时 ,所以 。但 ,与 是 的上界矛盾。
因此 。
两步合起来,。于是 就是 ,实数中确实存在这个数。
这两步的构造值得记住:要证明「上确界满足某个等式」,就用两次反证——若偏大,往左挪一点仍压得住集合;若偏小,往右挪一点就落进集合。挪动的幅度由 与 的差决定。
推论: 不完备
把上面的论证整理一下就能得到:
推论。 有理数域 不是完备的。
证明。 设 是任一完备的有序域,且包含 。上面的构造只用到了域运算、次序与完备性,所以 必在 中。但第一段已证明 。若 完备,取 就矛盾。
再看集合 。它在 中有上界(例如 ),却没有最小上界。验证如下:设 是它的任一上界。因为 ,有 。若 ,则 ,与 是上界矛盾;若 ,则 是有理数的平方根,已证不可能。所以 。
令
是有理数且为正。比较大小:
成立。再看 是不是上界:任取 ,则 ,而
由 成立。于是 ,开方得 。所以 是更小的有理上界。
每个有理上界都对应一个更小的有理上界,因此不存在最小上界。这正是「 有空隙」的精确含义:空隙就在 的位置。
阿基米德性质
定理(阿基米德性质)。 对任意实数 ,存在自然数 使 。
直觉上显然:自然数没有上限。但「显然」恰恰是需要用完备性证明的东西。
证明(反证)。 假设存在实数 ,使得对一切 都有 。于是 是 的上界, 作为 的子集有上界。
由完备性,令
因为 是上界,对每个 都有 。另一方面 也是自然数,所以
这说明 也是 的上界。但 ,与 是最小上界矛盾。
这个证明很短,却用尽了三条性质: 对 封闭、序的传递性、以及最小上界的「最小」。课程强调,这类证明正是分析课的基本功。
推论:有理数在实数中稠密
推论。 若 是实数,则存在有理数 使
证明。 令 。由阿基米德性质,存在 使 ,等价地
现在取最小的整数 使 。这样的 存在:由阿基米德性质可取整数 ,则 ,所以满足条件的整数集合非空;整数集有下界,故有最小元。
由 的最小性, 不满足条件,即
于是
结合 ,得到 。
几何上就是:取一根长度 的「尺子」,它比 到 的距离还短;从 出发向右数格子,第一个越过 的格子点一定还没越过 。
本节结论
- ;反证法的支点是「先约分到互素」。
- 完备性 = 每个有界子集都有最小上界(上确界)。
- 是最小的完备有序域,它包含 。
- 在 中, 存在且平方为 ,这就是 的构造。
- 不是完备的:同一集合在 中没有最小上界。
- 阿基米德性质:自然数无上界;它由完备性推出,而不是假设。
- 有理数在实数中稠密:任意开区间 内都有有理数。
理解检验
1. 证明 不是有理数时,为什么可以先假设 与 互素?这一步在证明中起什么作用?
参考答案:有理数的表示不唯一, 与 表示同一个数。若 有公因子 ,就同除以 ,反复进行直到互素;这不改变所表示的有理数,所以「存在有理数 使 」等价于「存在互素的 使 」。它的作用是制造矛盾:论证会推出 同时整除 和 ,这与互素直接冲突。若不做约分, 同乘 后仍然满足 ,就得不出矛盾。
2. 在证明 时,若 ,为什么选 就能让 仍是上界?请把逻辑补全。
参考答案:目标是找 使 。展开得 ,所以只要 即可,即 (这里 ,不等号方向不变)。此时对任意 ,有 ;又 、,开方保序得 。所以 是 的上界。但 ,与 是最小上界矛盾。还需保证 ,故同时要求 ,这由取 保证。
3. 在证明 时,为什么要额外要求 ?如果没有这个条件,论证会在哪一步断掉?
参考答案:这一步要证 ,即 。展开为 ,其中 无法直接控制。条件 给出 ,于是 ,把二次项压成了一次项。再取 就得到 。若没有 , 不成立,就无法把 吸收进 ,估计失效。
4. 阿基米德性质的证明中,为什么「 也是上界」会构成矛盾?
参考答案: 被定义为 的最小上界,即任何上界都不小于 。而 ,若它也是上界,就出现了一个比最小上界更小的上界,直接违反最小性。矛盾说明「 有上界」的假设不成立。证明中「 也是自然数」这一步保证了 对所有 成立,从而 确实是上界。
5. 用稠密性证明:任意两个实数之间有无穷多个有理数。
参考答案:设 。稠密性给出有理数 使 。对区间 再用一次稠密性,得有理数 使 。如此反复:已知 ,对 用稠密性得到 ,满足 。每一步都严格递增,因此得到无穷多个互不相同的有理数,全部落在 内。这里只需要稠密性可以反复使用,而不需要选择公理之类的额外工具,因为每次都是在具体的非空开区间上做一次构造。
与前后课的关系
本讲补上了「完备」, 的定义终于完整:完备的有序域。但到目前为止,「极限」还只是直观说法。第三讲先把证明的写法系统化(量词、反证、 论证),第四讲才正式定义数列收敛,并用本讲的完备性去证明单调收敛定理与柯西收敛定理。
可以这样看这条线索:第 1 讲给出公理,第 2 讲补全公理并演示如何从公理造数,第 3–6 讲开始用这些公理去证明关于极限的定理。
What was still missing
The previous lecture prepared an ordered field for the intermediate value theorem but left "complete" undefined. This lecture supplies it and answers a concrete question: what kind of number is ?
First, compress the previous lecture into a table:
| Concept | Requirements |
|---|---|
| Field | five axioms for addition, five for multiplication, distributivity |
| Ordered set | any two elements comparable (trichotomy) plus transitivity |
| Ordered field | field plus order, with and |
Transitivity is new here: if and then . It is what allows inequalities to be chained, and nearly every later argument uses it.
Timeline
| Time | Topic |
|---|---|
| 0:00 | Review: fields, ordered sets, ordered fields |
| 8:24 | is not rational: a complete proof by contradiction |
| 16:18 | Viewing as a limit of a sequence |
| 20:31 | Upper bounds and least upper bounds |
| 28:03 | Complete ordered fields; the least complete ordered field is |
| 31:25 | Constructing in via two inequalities |
| 52:52 | Corollary: is not complete |
| 54:54 | The Archimedean property and its proof |
| 1:01:53 | Corollary: the rationals are dense in the reals |
is not rational
is the positive number satisfying . To show it is not in means showing that no , satisfy .
Claim. No rational satisfies .
Proof (by contradiction). Suppose with , and .
We may assume and share no common factor. Why: a rational has many representations, and if divides both, dividing both by gives another representation of the same rational. Repeating, we arrive at coprime . This reduction is not cosmetic; it is the hinge of the contradiction.
From ,
The right side is even, so is even. An even square has an even root: if were odd then would be odd. Hence with .
Substituting,
So is even, and by the same argument is even.
Now divides both and , contradicting coprimality. The assumption fails, so .
Only two facts are used: cancellation of common factors in a rational, and "an integer whose square is even is even". The latter deserves to be spelled out, since it is part of the proof.
Where lives: a limit of a sequence
If does not contain , how do the reals accommodate it?
Look at the decimal expansion:
Truncating digit by digit gives
Each truncation is rational, and the later ones sit closer and closer to . So one idea is: define as the limit of this sequence.
That introduces two notions that will occupy much of the course: sequences and limits. "Getting closer" is only intuition; writing it down needs the language of Lecture 4. Here it only illustrates what completeness must accomplish: the rationals have a hole at , and the reals fill it with a limit.
Upper bounds and least upper bounds
Upper bounds
Let be an ordered set and . An element is an upper bound for if
need not belong to . Examples:
- , . Then is an upper bound, and so is ; is not, because .
- , . Then has no upper bound: however large a rational is chosen, some natural number is larger.
Least upper bounds
Suppose has an upper bound. Then is the least upper bound (or supremum, written ) if
- is an upper bound for ;
- for every upper bound of , .
In one phrase: is the smallest upper bound. It plays two roles at once — large enough to dominate every element of , small enough that nothing smaller can.
One detail is easy to miss: the least upper bound need not belong to . For , , but .
Complete ordered fields
The definition is short:
A complete ordered field is an ordered field in which every bounded subset has a least upper bound.
"Bounded" means bounded above. The lecture notes that defining only upper bounds loses nothing: replace a set by its "mirror image" and upper bounds become lower bounds, so the two notions are equivalent and stating both would be redundant. Concretely, lower bounds and infima come from applying suprema to .
Next comes a theorem that is not proved here:
Theorem. There exists a smallest complete ordered field containing the rationals .
That field is the real numbers . Proving existence requires building from (Dedekind cuts, or Cauchy sequences), which lies outside the course; the lecture takes it as a starting point.
With this theorem the intermediate value theorem finally has the property it needs. But does the definition of completeness really deliver what we want? The lecture tests it on .
Constructing in
The plan: do not solve an equation. Define as a least upper bound, then verify that this bound really squares to .
The set
Check that the definition applies:
- Nonempty: , since and .
- Bounded above: if then and . Since , necessarily . Indeed would force . So is an upper bound.
By completeness, exists. Set
The lecture deliberately avoids writing during the proof: using that name would tempt one to invoke "" before it has been proved.
Since and is an upper bound, , so .
It remains to prove , in two inequalities.
Step one:
Suppose instead that . Then , so we may choose a small positive with
(The right side is positive because , so such an exists.) Compute
Since , multiplying by gives , i.e. . Hence
Now take any . Because , (since ), and , taking square roots preserves the order and yields . So is an upper bound for , and , contradicting minimality of .
Therefore .
Step two:
Suppose instead that . Then . Choose with
Compute
Since , we have , so
From ,
Also , hence . But , contradicting that is an upper bound.
Therefore .
Together, . So is : the number genuinely exists in .
The device is worth remembering: to prove that a supremum satisfies an equation, argue twice by contradiction — if it is too large, shift left a little and it still dominates the set; if too small, shift right a little and it lands inside the set. The size of the shift is governed by the gap between and .
Corollary: is not complete
Corollary. The rationals do not form a complete ordered field.
Proof. Let be any complete ordered field containing . The construction above uses only field operations, order and completeness, so must lie in . But the first part of the lecture showed . If were complete, taking would be a contradiction.
Concretely, consider . It has upper bounds in (for instance ) but no least upper bound. Indeed, let be any upper bound. Since , . If then , contradicting that bounds the set; if then is a rational square root of , which is impossible. Hence .
Define
Then is rational and positive. Compare:
which holds. Is an upper bound? For any we have , and
true because . Hence , so .
Every rational upper bound admits a smaller rational upper bound, so no least upper bound exists. This is the precise sense in which has a gap — and the gap sits exactly at .
The Archimedean property
Theorem (Archimedean property). For every real there is a natural number with .
It looks obvious — the naturals are unbounded. But "obvious" is precisely what completeness has to prove.
Proof (by contradiction). Suppose some real satisfies for all . Then bounds above, so , viewed as a subset of , is bounded above.
By completeness, let
As an upper bound, for every . But is also natural, so
Thus is also an upper bound for . Yet , contradicting that is the least upper bound.
The proof is short but uses three things: closure of under , transitivity of order, and minimality of the least upper bound. The lecture stresses that arguments of this kind are the basic craft of analysis.
Corollary: the rationals are dense in the reals
Corollary. If are real, there is a rational with
Proof. Let . By the Archimedean property there is with , equivalently
Now take the smallest integer with . Such an exists: by the Archimedean property there is an integer , so and the set of admissible integers is nonempty; since it is bounded below, it has a least element.
By minimality of , the integer does not satisfy the condition, so
Therefore
With , this gives .
Geometrically: choose a ruler of length , shorter than the distance from to . Walk rightward from in steps of that length; the first grid point past cannot yet have passed .
What this lecture establishes
- ; the pivot of the contradiction is reducing to coprime .
- Completeness = every bounded subset has a least upper bound (supremum).
- is the smallest complete ordered field, and it contains .
- In , exists and squares to ; that is the construction of .
- is not complete: the same set has no least upper bound among the rationals.
- The Archimedean property — the naturals are unbounded — follows from completeness rather than being assumed.
- The rationals are dense in the reals: every open interval contains a rational.
Comprehension check
1. When proving irrational, why may we assume and are coprime? What role does it play?
Reference answer: A rational has many representations, since . If divides both, divide both by and repeat until coprime; this does not change the rational, so "there is a rational with " is equivalent to "there are coprime with ". The role is to create a contradiction: the argument forces to divide both and , which directly contradicts coprimality. Without the reduction, multiplying a solution by in numerator and denominator still satisfies , so no contradiction would arise.
2. In the proof of , why does make an upper bound? Complete the logic.
Reference answer: The goal is with . Expanding, , so it suffices that , i.e. (the direction is unchanged because ). Then for any , ; with and , taking roots gives . So bounds above. But , contradicting minimality of . One must also keep , i.e. , which the choice of guarantees.
3. In the proof of , why require ? Where would the argument break without it?
Reference answer: The goal is , i.e. . Expanding gives , and is not directly controlled. The condition gives , hence , replacing a quadratic term by a linear one. Choosing then yields . Without the inequality fails and cannot be absorbed into , so the estimate collapses.
4. In the Archimedean proof, why does " is also an upper bound" contradict something?
Reference answer: is defined as the least upper bound of , so no upper bound is smaller than . But ; if it were an upper bound there would be an upper bound smaller than the least one, violating minimality. The contradiction refutes the assumption that is bounded above. The step " is natural" is what makes hold for every , so that really is an upper bound.
5. Use density to show that between any two reals there are infinitely many rationals.
Reference answer: Let . Density gives a rational with . Apply density again to to get a rational with . Inductively, given , density applied to produces with . The sequence is strictly increasing, so the are distinct, and all lie in . Only repeated use of density on concrete nonempty open intervals is needed — no extra set-theoretic tools.
Relation to neighbouring lectures
This lecture completes the definition of as a complete ordered field. Limits, however, are still only intuitive. Lecture 3 systematises proof writing — quantifiers, contradiction, -arguments — and Lecture 4 finally defines convergence, after which completeness is used to prove the monotone convergence theorem and the Cauchy criterion.
The thread so far: Lecture 1 states the axioms, Lecture 2 completes them and shows how to build numbers from them, and Lectures 3–6 begin proving limit theorems with those axioms.