1導入
集合の大きさを比べるとき、有限集合なら元の個数を数えればよい。しかし無限集合では、数え終えることができない。そこで重要になる発想は、「一対一対応を作れるなら同じ大きさと見なす」である。
この見方では、濃度は全単射によって比較される。全単射は余りも重なりもない対応なので、元を 1 つずつ対応させる数え方の抽象化である。
濃度を比べるときは、見た目の大きさではなく全単射を使う。無限集合では、数え上げられるかどうかと、対角線論法で列挙を破れるかどうかが境界になる。
順序上の注意として、写像、単射、全射、全単射の正式な講義は後にある。このページでは、写像を「各入力に出力を 1 つ割り当てる規則」、単射を「重なりがない」、全射を「余りがない」、全単射を「重なりも余りもない」として最小限に使う。
1Introduction
For a finite set, we compare size大きさ by counting elements元げん. For an infinite set無限集合むげんしゅうごう, counting to the end is impossible. The key idea is: if a one-to-one correspondence can be built, the sets have the same size.
In this viewpoint, cardinality濃度のうど is compared using a bijection全単射ぜんたんしゃ. A bijection is a correspondence対応たいおう with no leftovers and no overlaps, so it abstracts the act of matching elements one by one.
When comparing cardinality濃度のうど, use bijections rather than visual size. For infinite sets, the boundary is whether the set can be listed and whether a diagonal argument対角線論法たいかくせんろんぽう can defeat any proposed listing.
Order note: the formal lectures on maps写像しゃぞう, injections単射たんしゃ, surjections全射ぜんしゃ, and bijections全単射ぜんたんしゃ appear later. On this page, use the minimum needed meanings: a map assigns one output to each input, an injection has no overlaps, a surjection has no leftovers, and a bijection has neither overlaps nor leftovers.
2用語ようごと定義ていぎ
集合しゅうごうset A,B の間あいだに全単射ぜんたんしゃbijection A\to B が存在そんざいするとき、A と B は同おなじ濃度のうどcardinalityを持もつという。
n\ge0 に対たいし、[n]=\{1,2,\dots,n\} と書かく。ただし [0]=\varnothing と定さだめる。集合しゅうごうset A が有限集合ゆうげんしゅうごうfinite setであるとは、ある 0 以上いじょうの整数せいすう n について A と [n] の間あいだに全単射ぜんたんしゃbijectionが存在そんざいすることである。
この講義こうぎでは \mathbb N=\{1,2,3,\dots\} とする。集合しゅうごうset A が可算集合かさんしゅうごうcountable setであるとは、A が有限集合ゆうげんしゅうごうfinite setであるか、自然数しぜんすうnatural number全体ぜんたい \mathbb N と同おなじ濃度のうどcardinalityを持もつことである。
2Terms and definitions
Two sets集合しゅうごう A,B have the same cardinality濃度のうど when there exists a bijection全単射ぜんたんしゃ A\to B.
For n\ge0, write [n]=\{1,2,\dots,n\}, with the convention [0]=\varnothing. A set A is a finite set有限集合ゆうげんしゅうごう if, for some nonnegative integer n, there is a bijection between A and [n].
In this lecture, \mathbb N=\{1,2,3,\dots\}. A set A is a countable set可算集合かさんしゅうごう if it is finite or has the same cardinality濃度のうど as \mathbb N.
4直感的ちょっかんてきな説明せつめい
偶数ぐうすう全体ぜんたい 2\mathbb N は、自然数しぜんすう全体ぜんたい \mathbb N の一部いちぶである。しかし n\mapsto 2n は \mathbb N から 2\mathbb N への全単射ぜんたんしゃbijectionである。したがって、濃度のうどcardinalityの意味いみでは \mathbb N と 2\mathbb N は同おなじ大おおきさである。
これは無限集合むげんしゅうごうの直感ちょっかんが有限集合ゆうげんしゅうごうと異ことなる点てんである。有限集合ゆうげんしゅうごうでは、真しんの部分集合ぶぶんしゅうごうproper subsetは元げんの個数こすうが少すくない。しかし無限集合むげんしゅうごうでは、真しんの部分集合ぶぶんしゅうごうproper subsetと全体ぜんたいが全単射ぜんたんしゃbijectionで対応たいおうすることがある。
可算かさんcountableとは、有限個ゆうげんこの番号ばんごう、または \mathbb N で重複ちょうふくなく漏もれなく番号ばんごうを付つけられるということである。一方いっぽう、対角線論法たいかくせんろんぽうdiagonal argumentは、どんな一覧いちらんを仮定かていしても、そこに載のらない対象たいしょうを作つくる。
4Intuitive explanation
The set of even natural numbers 2\mathbb N is a part of \mathbb N. However, n\mapsto 2n is a bijection全単射ぜんたんしゃ from \mathbb N to 2\mathbb N. Therefore, in the sense of cardinality濃度のうど, \mathbb N and 2\mathbb N have the same size.
This is where intuition for infinite sets無限集合むげんしゅうごう differs from intuition for finite sets. For finite sets, a proper subset真部分集合しんぶぶんしゅうごう has fewer elements. For infinite sets, a proper subset can correspond bijectively to the whole set.
To say that a set is countable可算かさん means that its elements can be labeled without duplication or omission by a finite initial segment of the natural numbers, or by all of \mathbb N. A diagonal argument対角線論法たいかくせんろんぽう instead starts from any proposed infinite list and constructs an object missing from it.
5厳密げんみつな説明せつめい:対角線論法たいかくせんろんぽうdiagonal argumentの入口いりぐち
可算集合かさんしゅうごうcountable setは、有限個ゆうげんこの番号ばんごうまたは \mathbb N で重複ちょうふくなく漏もれなく番号ばんごうを付つけられる集合しゅうごうsetである。一方いっぽう、0<x<1 を満みたす実数じっすうreal number x の集合しゅうごうは可算集合かさんしゅうごうcountable setではない。
この集合しゅうごうが可算集合かさんしゅうごうcountable setだと仮定かていすると、その全要素ぜんようそを含ふくむ列れつ r_1,r_2,r_3,\dots を作つくれる。可算無限かさんむげんなら \mathbb N との全単射ぜんたんしゃbijectionの順じゅんに並ならべればよい。有限ゆうげんなら全要素ぜんようそを一度いちど並ならべた後あと、この集合しゅうごうの元げん 1/2 を繰くり返かえせばよい。
ここで対角線論法たいかくせんろんぽうdiagonal argumentを用もちいる。各かく r_i について、末尾まつびが 9 だけで続つづく表示ひょうじを使つかわない小数表示しょうすうひょうじ r_i=0.d_{i1}d_{i2}d_{i3}\dots を選えらぶ。s=0.s_1s_2s_3\dots の i 桁目けためを、d_{ii}\ne1 なら s_i=1、d_{ii}=1 なら s_i=2 と定さだめる。すると s は 0 と 1 の間あいだにあり、r_i とは i 桁目けためで異ことなる。また s の各桁かくけたは 1 または 2 なので、別べつの「9 が続つづく表示ひょうじ」と同おなじ実数じっすうになる問題もんだいも起おこらない。したがって s は列れつに含ふくまれず、この列れつが全要素ぜんようそを含ふくむという仮定かていに矛盾むじゅんする。
対角線論法たいかくせんろんぽうdiagonal argumentでは、任意にんいの列挙れっきょを仮定かていし、n 番目ばんめの対象たいしょうと n 番目ばんめの位置いちで必かならず違ちがう新あたらしい対象たいしょうを作つくる。この構成こうせいにより、その列挙れっきょが全射ぜんしゃでないことを示しめす。
5Precise idea: entrance to the diagonal argument対角線論法たいかくせんろんぽう
A countable set可算集合かさんしゅうごう is a set集合しゅうごう whose elements can be labeled without duplication or omission by finitely many indices or by \mathbb N. In contrast, the set of real numbers実数じっすう x satisfying 0<x<1 is not countable.
Suppose this set were countable可算かさん. We could then form a sequence r_1,r_2,r_3,\dots containing every one of its elements. In the countably infinite case, list them in the order given by a bijection全単射ぜんたんしゃ with \mathbb N. In the finite case, list every element once and then repeat the element 1/2.
Now apply Cantor's diagonal argument対角線論法たいかくせんろんぽう. For each r_i, choose the decimal expansion r_i=0.d_{i1}d_{i2}d_{i3}\dots that does not end in an infinite string of 9s. Define s=0.s_1s_2s_3\dots by taking s_i=1 when d_{ii}\ne1 and s_i=2 when d_{ii}=1. Then 0<s<1, and s differs from r_i in the i-th digit. Because every digit of s is either 1 or 2, no alternative expansion ending in 9s can identify it with an entry in the list. Thus s is missing from the sequence, contradicting the assumption that the sequence contains every element.
In a diagonal argument対角線論法たいかくせんろんぽう, assume an arbitrary listing and construct a new object that differs from the n-th listed object at the n-th position. This construction shows that the listing is not a surjection全射ぜんしゃ.
6例題れいだい:偶数ぐうすう全体ぜんたいは可算集合かさんしゅうごうcountable setである
6.1問題もんだい
正せいの偶数ぐうすう全体ぜんたい E=\{2,4,6,\dots\} が \mathbb N=\{1,2,3,\dots\} と同おなじ濃度のうどcardinalityを持もつことを示しめせ。
6Worked example: the positive even numbers are countable可算かさん
6.1Problem
Show that the set of positive even numbers E=\{2,4,6,\dots\} has the same cardinality濃度のうど as \mathbb N=\{1,2,3,\dots\}.
6.2解説かいせつ
f:\mathbb N\to E を f(n)=2n で定義ていぎする。任意にんいの n_1,n_2\in\mathbb N について f(n_1)=f(n_2) なら 2n_1=2n_2 である。両辺りょうへんを非零定数ひれいていすう 2 で割わって n_1=n_2 を得える。したがって f は単射たんしゃinjectionである。
任意にんいの e\in E を取とる。E の定義ていぎより、ある n\in\mathbb N が存在そんざいして e=2n である。したがって f(n)=e であり、f は全射ぜんしゃsurjectionである。よって f は全単射ぜんたんしゃbijectionであり、E と \mathbb N は同おなじ濃度のうどcardinalityを持もつ。
6.2Explanation
Define f:\mathbb N\to E by f(n)=2n. If f(n_1)=f(n_2), then 2n_1=2n_2. Dividing by the nonzero constant 2 gives n_1=n_2, so f is an injection単射たんしゃ.
Take arbitrary e\in E. By the definition of E, there exists n\in\mathbb N such that e=2n. Therefore f(n)=e, so f is a surjection全射ぜんしゃ. Hence f is a bijection全単射ぜんたんしゃ, and E and \mathbb N have the same cardinality濃度のうど.