第 03 章
怎样写证明:上确界、√2 与阿基米德性质
先厘清上界、下界与完备性的定义(包括「边界元不必属于子集」这个坑),再把 √2 存在性重写成一份可直接交作业的正式证明,最后用同样格式证明阿基米德性质并引出数列。
How to Write a Proof: Suprema, √2, and the Archimedean Property
We first fix the definitions of upper and lower bounds and of completeness, including the trap that a bound need not belong to the subset. We then rewrite the existence of √2 as a formal proof suitable for submission, and prove the Archimedean property in the same format before introducing sequences.
篇内目录
- Two different things
- Timeline
- Upper bounds, lower bounds, boundedness
- Definitions
- A bound need not belong to the subset
- A subtle example: which set is A a subset of?
- Completeness: suprema and infima
- Writing a formal proof: the case of
- The theorem and the set
- Part one:
- Part two:
- From scratch paper to formal proof
- A formal proof of the Archimedean property
- Sequences: placing on the real line
- What this lecture establishes
- Comprehension check
- Relation to neighbouring lectures
两件不同的事
这门课有两个目标,本讲专门处理第二个:怎样把「为什么应该成立」写成一份正式的数学证明。
这两件事不一样。第 2 讲证明 存在时,讲的是想法:假设上确界偏大或偏小,各挪一点制造矛盾。那是草稿纸上的推理。真正交上去的证明则是另一套写法——先把要用的量(比如 )一次性定义好,再按固定结构走完。正式证明看起来「从天而降」,但读起来清楚得多。
课程用同一个 例子演示两遍:一遍当草稿,一遍当正式证明。
时间轴
| 时间 | 内容 |
|---|---|
| 0:00 | 本讲重点:如何写证明 |
| 4:48 | 复习上界、下界; 不必属于子集 |
| 9:43 | 推广到一般有序集;半直线上的反例 |
| 16:10 | 完备性:上确界与下确界 |
| 22:39 | 正式证明的意义 |
| 25:18 | 定理: 是实数;完整正式证明 |
| 1:08:56 | 用同样格式证明阿基米德性质 |
| 1:14:57 | 引入数列: 作为递增序列的极限 |
上界、下界与有界
定义
设 是有序集,。
- 有上界:存在 ,使 对一切 成立。这样的 叫上界。
- 有下界:存在 ,使 对一切 成立。这样的 叫下界。
- 有界:既有上界又有下界。
边界元不必属于子集
这是同学们在讨论区问得最多的一点: 必须在哪个集合里?
答案是: 只需在更大的集合 里,不必属于 。
例子:。 是上界, 是下界,但 都不属于 。而且 中没有任何元素能当上界:任取 ,总有 比它大。所以上界只能来自集合外部。
一般情形下,上确界与下确界也可能不在 内。它们可以属于 ,但不是必须。
一个容易错的例子:A 是谁的子集
定义里有一个容易被忽略的动作:所有边界元都要取自 ,而不是取自整个 。
取 ,,把 看作 的子集。
- 有上界: 是上界,因为 对一切 成立,而 。
- 没有下界。任何下界 都必须在 中,因此 。取 ,则 ,与 是下界矛盾。
同一个 ,若看作 的子集, 就是下界。差别不在 ,而在「谁允许提供边界元」。这说明谈上界、下界之前必须先说清楚环境集合 。
课程还顺带澄清: 与 不是实数,不能拿来当上界或下界。写「上界是 」在实数系里没有意义。
完备性:上确界与下确界
设 是有序集, 有上界。若存在 满足
- 是 的上界;
- 对 的任意上界 ,都有 ,
则称 为 的最小上界,记 。
对称地,若 有下界,存在最大的下界 ,即
- 是下界;
- 对任意下界 ,有 ,
则称 为最大下界,记 。
定义。 有序集 称为完备的,如果它的每个有上界子集都有最小上界。
完备,因此每个有界子集既有上确界也有下确界。两者的关系是
所以只证上确界就够,下确界可以照搬。
正式证明的写法:以 为例
定理与集合
定理。 存在 ,,使 。
证明。 令
注意这里把集合清楚写出,并注明 ——正式证明里不能省这一步。
第一步: 非空。 ,因为 且 。
第二步: 有上界。 断言 是上界。若 且 ,则 ,与 矛盾。所以 ,即 是上界。
第三步:取定 。 由 非空有上界与 完备,令
第四步:。 因为 ,而 是上界,所以 ,特别地 。同时 ,因为 是上界而 是最小的。
剩下只需证 ,分两部分。
第一部分:
反设 。目标:构造一个比 小的上界,与最小性矛盾。
定义
:分子 ,分母 。
:因为
所以 。
:展开并丢掉正项 ,
代入 :
于是
最后一个不等号用了假设 。
现在任取 。由 、、,开方得 。所以 是 的上界,而 ,与 是最小上界矛盾。
故 。
第二部分:
反设 。目标:找一个属于 且大于 的数,与「 是上界」矛盾。
定义
:分子为正,分母为正,故 ;又 ,所以
:展开,
因为 ,有 ,故
代入 ,并用 (由 得 ,故 ),得到
同时 ,所以 。但 ,与 是 的上界矛盾。
故 。
两部分合起来给出 ,定理得证。
从草稿到正式证明
对比第 2 讲与上面的写法,差别在信息的顺序:
| 草稿纸 | 正式证明 |
|---|---|
| 假设 ,想找一个 使 | 一开始就写出 |
| 边算边试,最后才确定 | 先定义 ,再验证它满足性质 |
| 关心「为什么该这么做」 | 关心「每一步是否成立」 |
正式证明里, 看起来凭空出现。它的来源是草稿纸上的计算:要让 ,只需 。正式写法把这次计算压缩成一句「定义 」,代价是读者看不到动机,好处是逻辑链条没有缺口。
课程给了一个实用建议:只写需要用到的性质。若为了「完整」把集合的其它性质也证一遍,反而让读者抓不住重点。
阿基米德性质的正式证明
定理。 自然数集 在 中无上界。
等价的说法是:对每个实数 ,存在 使 。
证明(反证)。 假设 有上界。由 完备,令
矛盾将来自「 也是上界」。
因为 是上界,对每个 有 。又 ,所以
于是 也是 的上界。但 ,而 是最小上界,矛盾。故 无上界。
这份证明只有四行,但每一行都有明确作用:第一行用反证假设,第二行用完备性取上确界,第三行用 对 封闭,第四行用最小性。写正式证明时,可以逐行问自己「这一行用了哪条已知事实」。
数列:把 放到实轴上
定理只保证 作为一个数存在。若要把它定位在实轴上,一个好办法是看它的十进制截断:
每一项都小于后一项,而 是这串数的极限。
定义。 实数列是函数 ,常记作 ,其中 。
把下标当自变量,是为了强调「序列是一个函数」;写成 而不是 只是传统。
上面那串数就是一个递增序列:,且 。但「极限」目前仍只是直观说法,要等到下一讲才用 语言定义。
本节结论
- 上界、下界必须取自环境集合 ,不必属于子集 。
- 在 中有上界、无下界;换成 则有下界 。
- 完备 = 每个有上界子集都有上确界;。
- 正式证明的结构:写出定理 → 构造集合 → 验证非空与有界 → 取上确界 → 分两部分反证。
- 证明中出现「凭空定义的 」,它来自草稿纸上的估算,正式稿把动机压缩掉了。
- 阿基米德性质由完备性推出: 会导出 也是上界。
- 数列是 的函数; 是截断序列的极限。
理解检验
1. 为什么上界 不必属于集合 ?举一个 中根本没有上界的例子。
参考答案:定义只要求 属于环境集合 ,并且压住 的所有元素。取 , 是上界但 。而且 内没有任何元素是上界:对任意 ,令 ,则 ,所以 且 。因此上界只能从集合外部取。
2. 设 ,。把 看作 的子集,为什么 没有下界?这与把 看作 的子集有何不同?
参考答案:下界必须属于 ,因此任何候选下界 都满足 。取 (若 则取 ),则 且 ,所以 不是下界; 任意,故无下界。若把 看作 的子集, 且 对一切 成立,所以 是下界。区别不在于 ,而在于允许边界元取自哪个集合。
3. 正式证明里 看起来凭空出现。它在草稿纸上是怎么被找到的?
参考答案:草稿上的目标是找一个 ,使 。展开得 ,丢掉 后只需 ,即 。取一个具体的小值,例如把分母放大一倍,得 ;它既满足所需不等式,又便于在正式稿里算出显式的下界 。正式证明把这个摸索过程藏起来,只保留结果。
4. 第一部分为什么必须单独验证 ?如果不验证,后面的哪一步会失效?
参考答案:后面要用「 推出 」,这一步需要 (开方保序要求两边非负)。若 ,即使平方大于 也不能推出 ,因为负数平方大并不代表它大。验证方式是 ,故 。
5. 在第二部分中, 这个已知条件分别在哪里被用到?
参考答案:两处。第一处用来估计 :,需要 ,即 , 足够。第二处用来得到 ,从而 ,把 中的 压成 。若没有这个上界,就无法把二次项吸收,最后的估计 不成立。
与前后课的关系
第 1–2 讲建立公理与完备性,本讲把这些材料当作已知,专注训练「写」。下一讲开始正式定义数列收敛:- 语言会把这一讲反复强调的「每一行都要指出依据」变成固定格式。之后的单调收敛定理、柯西准则,都是在这套写法上继续叠加。
课程反复提醒:写证明需要时间,前几周写不顺是正常的。本讲的两份正式证明可以当作模板——先列结构,再填细节,最后检查每一行是否都有出处。
Two different things
The course has two goals, and this lecture is devoted to the second: how to turn "why it ought to be true" into a formal mathematical proof.
These are not the same activity. Lecture 2 argued that exists by imagining the supremum slightly too large or too small and shifting it to create a contradiction. That is scratch-paper reasoning. A proof you hand in is written differently: every quantity (such as ) is defined up front, and the argument then follows a fixed structure. A formal proof can look like it comes from nowhere, but it reads far more clearly.
The lecture demonstrates both versions on the same example.
Timeline
| Time | Topic |
|---|---|
| 0:00 | Focus of the lecture: how to write a proof |
| 4:48 | Review: upper and lower bounds; need not belong to the subset |
| 9:43 | General ordered sets; the half-line counterexample |
| 16:10 | Completeness: suprema and infima |
| 22:39 | Why formal proofs matter |
| 25:18 | Theorem: is real; a complete formal proof |
| 1:08:56 | The Archimedean property in the same format |
| 1:14:57 | Sequences: as the limit of an increasing sequence |
Upper bounds, lower bounds, boundedness
Definitions
Let be an ordered set and .
- is bounded above if there is with for all . Such an is an upper bound.
- is bounded below if there is with for all . Such an is a lower bound.
- is bounded if it is bounded both above and below.
A bound need not belong to the subset
This was the most frequently asked question on the discussion board: which set must live in?
The answer: only has to lie in the ambient set ; it need not belong to .
Example: . Then is an upper bound and is a lower bound, yet neither belongs to . In fact no element of is an upper bound for : given , the point lies in and is larger. Bounds can only come from outside.
In general, suprema and infima may also lie outside . They may belong to , but that is not required.
A subtle example: which set is A a subset of?
One move inside the definition is easy to miss: all bounds must be taken from , not from all of .
Take and , viewed as a subset of .
- is bounded above: is an upper bound, since for every and .
- has no lower bound. Any lower bound must lie in , so . Take ; then , contradicting that is a lower bound.
The same , viewed as a subset of , does have the lower bound . The difference is not in but in which set supplies the bounds. Hence one must always specify the ambient set before discussing bounds.
The lecture also clarifies that and are not real numbers and cannot serve as bounds in .
Completeness: suprema and infima
Let be an ordered set and bounded above. An element is the least upper bound of , written , if
- is an upper bound for ;
- for every upper bound of .
Symmetrically, if is bounded below, the greatest lower bound satisfies
- is a lower bound;
- for every lower bound .
Definition. An ordered set is complete if every subset bounded above has a least upper bound.
is complete, so every bounded subset has both a supremum and an infimum, related by
So proving the supremum property suffices; the infimum case follows.
Writing a formal proof: the case of
The theorem and the set
Theorem. There is with and .
Proof. Let
The set is written out explicitly, including — a formal proof may not skip this.
Step 1: is nonempty. , since and .
Step 2: is bounded above. Claim that is an upper bound. If and , then , contradicting . Hence .
Step 3: fix . Since is nonempty and bounded above and is complete, set
Step 4: . Since and is an upper bound, , so in particular . Also , because is an upper bound and is the least one.
It remains to prove , in two parts.
Part one:
Suppose not, i.e. . The goal is to build an upper bound smaller than , contradicting minimality.
Define
: the numerator is positive because , and the denominator is positive.
: since
we get .
: expand and drop the positive term :
Substituting ,
so
where the last inequality uses the hypothesis .
Now take any . Since , , and , taking roots gives . So is an upper bound for , and , contradicting that is the least upper bound.
Hence .
Part two:
Suppose not, i.e. . The goal is to find an element of larger than , contradicting that is an upper bound.
Define
: numerator and denominator are positive, so ; and since ,
: expand,
Because , we have , hence
Substituting and using (which follows from , i.e. ), we obtain
Also , so . But , contradicting that bounds .
Hence .
Together, , completing the proof.
From scratch paper to formal proof
Compare Lecture 2 with the argument above; the difference is the order in which information appears:
| Scratch paper | Formal proof |
|---|---|
| Assume and look for with | Write immediately |
| Compute and experiment; pin down at the end | Define first, then verify its properties |
| Concerned with why one would do this | Concerned with whether each step holds |
In the formal version seems to fall from the sky. Its origin is the scratch calculation: to get it suffices that . The formal write-up compresses that calculation into "define ", sacrificing visible motivation for a gapless logical chain.
One practical rule from the lecture: prove only the properties you need. Establishing every property of the set for the sake of completeness makes the argument harder to follow.
A formal proof of the Archimedean property
Theorem. The natural numbers are not bounded above in .
Equivalently, for every real there is with .
Proof (by contradiction). Suppose is bounded above. By completeness, let
The contradiction will come from " is also an upper bound".
Since is an upper bound, for every . Also , so
Thus is an upper bound for . But , contradicting that is the least upper bound. Therefore is unbounded.
Four lines, each with a job: the first states the contradictory hypothesis, the second invokes completeness, the third uses closure of under , the fourth uses minimality. When writing a formal proof, one can ask of every line: which known fact does this use?
Sequences: placing on the real line
The theorem guarantees that exists as a number. To locate it on the line, one good device is its decimal truncations:
Each is smaller than the next, and is their limit.
Definition. A real sequence is a function , usually written with .
Writing the index as a subscript rather than an argument emphasises that a sequence is a function.
The list above is increasing, , and . But "limit" is still only intuitive; the definition arrives in the next lecture.
What this lecture establishes
- Upper and lower bounds must come from the ambient set and need not belong to .
- has an upper bound but no lower bound inside ; inside it has the lower bound .
- Complete = every subset bounded above has a supremum; .
- A formal proof proceeds: state the theorem → build the set → verify nonempty and bounded → take the supremum → argue in two parts by contradiction.
- A quantity such as that appears "from nowhere" comes from scratch work; the formal draft suppresses the motivation.
- The Archimedean property follows from completeness: would make an upper bound too.
- A sequence is a function ; is the limit of its truncations.
Comprehension check
1. Why need an upper bound not belong to ? Give an example where no element of is an upper bound.
Reference answer: The definition only requires and for all . Take ; then is an upper bound but . Moreover no element of bounds : for any , let , so and with . Bounds must come from outside.
2. Let and . Why does have no lower bound as a subset of ? How does this differ from viewing as a subset of ?
Reference answer: A lower bound must lie in , so any candidate satisfies . Take (or if ); then and , so fails. Since was arbitrary, there is no lower bound. Viewed inside , and for all , so is a lower bound. The difference lies in which set is allowed to supply bounds, not in .
3. In the formal proof, appears from nowhere. How was it found on scratch paper?
Reference answer: The scratch goal is with . Expanding gives ; dropping , it suffices that , i.e. . Choosing a concrete small value — for instance doubling the denominator — gives , which satisfies the needed inequality and also yields the explicit bound . The formal proof hides the search and keeps only the result.
4. Why must part one verify separately? Which later step would fail without it?
Reference answer: The later step "from conclude " requires , since taking square roots preserves order only for nonnegative quantities. If , a large square would not imply a large value. The verification is , hence .
5. In part two, where exactly is the known fact used?
Reference answer: Twice. First, to bound : , which needs , i.e. ; is more than enough. Second, to obtain and hence , which absorbs the quadratic term in . Without that bound the estimate fails.
Relation to neighbouring lectures
Lectures 1–2 built the axioms and completeness; this lecture treats them as known and concentrates on writing. The next lecture defines convergence with - language, turning the insistence that "every line names its justification" into a fixed format. The monotone convergence theorem and the Cauchy criterion then build on that format.
The course repeats that proof writing takes time and that early struggles are normal. The two formal proofs here can serve as templates: list the structure, fill in details, then check that every line has a source.