Countablality of Sets
在数学中, 有限大小的集合很好处理, 但无限大小的集合却并非如此. 本文探讨集合的可数性, 某些无限大小集合是不可数的, 例如全体实数
Ref:
Intro
In mathematics, a set is countable if
- either it is finite
- or it can be made in one to one correspondence (or bijection)with the set of natural numbers
.
一个有限大小的集合必定是可数的. 但无限大小的集合既有可数的, 也有不可数的. 不可数集合是无限大小集合的子集.
有时我们会用"可数集"来指代"可数无穷集", 这样的指代应当是清晰的, 因为集合是否无穷很容易分辨.
Countably Infinite Sets
A set is countably infinite if its elements can be put in one-to-one correspondence with the set of natural numbers. That is we can build a bijection between itself and natural numbers
In other words, one can count off all elements in the set in such a way that, even though the counting will take forever, you will get to any particular element in a finite amount of time.
For example, the set of integers {0,1,−1,2,−2,3,−3,…} is clearly infinite. However, as suggested by the above arrangement, we can count off all the integers. Counting off every integer will take forever. But, if you specify any integer, say −10,234,872,306, we will get to this integer in the counting process in a finite amount of time.
Sometimes, we can just use the term “countable” to mean countably infinite. But to stress that we are excluding finite sets, we usually use the term countably infinite.
Countably infinite is in contrast to uncountable, which describes a set that is so large, it cannot be counted even if we kept counting forever.
Uncountable Sets
A set is uncountable if it contains so many elements that they cannot be put in one-to-one correspondence with the set of natural numbers. In other words, there is no way that one can count off all elements in the set in such a way that, even though the counting will take forever, you will get to any particular element in a finite amount of time.
Uncountable is in contrast to countably infinite or countable.
For example, the set of real numbers in the interval [0,1] is uncountable. There are a continuum of numbers in that interval, and that is too many to be put in a one-to-one correspondence with the natural numbers. One can show using Cantor's diagonal argument(见下文) that for any infinite list of numbers in the interval [0,1], there will always be numbers in [0,1] that are not on the list.
Theorem: Rational Numbers are Countable
An easy proof that rational numbers are countable
Theorem: The set
Proof:
我们只需证明, 对于全体有理数集合
我们知道, 有理数也就是分数. 我们先证明正有理数的情况, 将全体正有理数
- | 1 | 2 | 3 | 4 | 5 | 6 | 7 | ... |
---|---|---|---|---|---|---|---|---|
1 | 1/1 | 1/2 | 1/3 | 1/4 | 1/5 | 1/6 | 1/7 | ... |
2 | 2/1 | 2/2 | 2/3 | 2/4 | 2/5 | 2/6 | 2/7 | ... |
3 | 3/1 | 3/2 | 3/3 | 3/4 | 3/5 | 3/6 | 3/7 | ... |
4 | 4/1 | 4/2 | 4/3 | 4/4 | 4/5 | 4/6 | 4/7 | ... |
5 | 5/1 | 5/2 | 5/3 | 5/4 | 5/5 | 5/6 | 5/7 | ... |
6 | 6/1 | 6/2 | 6/3 | 6/4 | 6/5 | 6/6 | 6/7 | ... |
7 | 7/1 | 7/2 | 7/3 | 7/4 | 7/5 | 7/6 | 7/7 | ... |
... | ... | ... | ... | ... | ... | ... | ... | ... |
接下来, 我们按照如下箭头的顺序来索引每个分数, 如果遇到重复的数则跳过(见绿色叉叉).

因此, 用如上的方式, 我们得到了全体正有理数
接着, 你可以把
还可以将表格中正对角线以下的元素全部去掉, 这样剩下的元素就都属于
Georg Cantor showed that the number of real numbers is rigorously larger than a countably infinite set, and the postulate that this number, the so-called "continuum," is equal to aleph-1 is called the continuum hypothesis. Examples of nondenumerable sets include the real, complex, irrational, and transcendental numbers.
Theorem: Real Numbers are Uncountable
NOTE: This section is WRONG, don't trust it, since Cantor’s Diagonal Argument is not correct.
Theorem: The set
Proof:
证明一个集合不可数 <==> 证明该集合和自然数集合
Source: wiki
一个无穷集合和自然数集之间要是不存在一个双射,那么它就是一个不可数集。集合的不可数性与它的基数密切相关:如果一个集合的基数大于自然数的基数,那么它就是不可数的。
We will instead show that
We will go by contradiction. Suppose that
What we'd like to show this is not actually a bijection. Motivated by the idea that
We denote the
To define
As the end we will have defined a sequence
We claim this is not on our list. For instance, if it were
This proof method is called Cantor's diagonal argument.
A more specific example(->Source):
Let
Since
Theorem: Irrational Numbers are Uncountable
Theorem: The set
Proof:
- From Real Numbers are Uncountable,
is an uncountable set. - From Rational Numbers are Countably Infinite
is countable. - The result follows from Uncountable Set less Countable Set is Uncountable.