markdown
集合の濃度と可算性md 69f8c88
lecture/math/discrete-math/集合の濃度と可算性-講義.n.md
Download PDF

集合しゅうごうset濃度のうどcardinality可算性かさんせいcountability

date2026-06-06description集合の濃度を全単射で比較する考え方として導入し、有限集合、可算集合、非可算集合の違いを整理する講義である。prerequisites集合の基本type講義statusactiverelateddata/lecture/math/discrete-math/離散数学ポータル-講義.n.md / data/lecture/math/discrete-math/集合の基本-講義.n.md / data/lecture/math/discrete-math/単射・全射・全単射-講義.n.md / data/exercise/math/discrete-math/集合と集合演算-基本演習.n.mdrelateddata/lecture/math/discrete-math/離散数学ポータル-講義.n.md
mathdiscrete-mathcardinalitycountabilitylecture

Cardinality濃度のうど and countability可算性かさんせい of sets集合しゅうごう

1導入どうにゅう

集合しゅうごうsetおおきさsizeくらべるとき、有限集合ゆうげんしゅうごうならげんelement個数こすうかぞえればよい。しかし無限集合むげんしゅうごうでは、かぞえることができない。そこで重要じゅうようになる発想はっそうは、「一対一対応いちたいいちたいおうつくれるならおなおおきさとなす」である。

この見方みかたでは、濃度のうどcardinality全単射ぜんたんしゃbijectionによって比較ひかくされる。全単射ぜんたんしゃbijectionあまりもかさなりもない対応たいおうcorrespondenceなので、げんelementを 1 つずつ対応たいおうさせるかぞかた抽象化ちゅうしょうかである。

濃度のうどcardinalityくらべるときは、おおきさではなく全単射ぜんたんしゃbijection使つかう。無限集合むげんしゅうごうでは、かぞげられるかどうかと、対角線論法たいかくせんろんぽう列挙れっきょやぶれるかどうかが境界きょうかいになる。

順序上じゅんじょじょう注意ちゅういとして、写像しゃぞうmap単射たんしゃinjection全射ぜんしゃsurjection全単射ぜんたんしゃbijection正式せいしき講義こうぎあとにある。このページでは、写像しゃぞうを「かく入力にゅうりょく出力しゅつりょくを 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 AB存在そんざいするとき、ABおな濃度のうどcardinalityつという。

集合しゅうごうset A有限集合ゆうげんしゅうごうfinite setであるとは、ある自然数しぜんすうnatural number n について A{1,2,[PARSE ERROR: Undefined("Command(\"dots\")")],n}あいだ全単射ぜんたんしゃbijection存在そんざいすることである。n=0場合ばあいは、A=[PARSE ERROR: Undefined("Command(\"varnothing\")")]対応たいおうする。

集合しゅうごうset A可算集合かさんしゅうごうcountable setであるとは、A有限集合ゆうげんしゅうごうfinite setであるか、自然数しぜんすうnatural number全体ぜんたい Nおな濃度のうどcardinalityつことである。

2Terms and definitions

Two sets集合しゅうごう A,B have the same cardinality濃度のうど when there exists a bijection全単射ぜんたんしゃ AB.

A set A is a finite set有限集合ゆうげんしゅうごう if, for some natural number自然数しぜんすう n, there is a bijection between A and {1,2,[PARSE ERROR: Undefined("Command(\"dots\")")],n}. The case n=0 corresponds to A=[PARSE ERROR: Undefined("Command(\"varnothing\")")].

A set A is a countable set可算集合かさんしゅうごう if it is finite or has the same cardinality濃度のうど as the set of natural numbers自然数しぜんすう N.

3方針ほうしん

濃度のうどcardinality比較ひかくするときは、実際じっさいかぞえるのではなく、写像しゃぞうmap構成こうせいする。|A|[PARSE ERROR: Undefined("Command(\"le\")")]|B|いたいなら、A から B への単射たんしゃinjectionさがす。|A|[PARSE ERROR: Undefined("Command(\"ge\")")]|B|いたいなら、A から B への全射ぜんしゃsurjectionさがす。|A|=|B|いたいなら、全単射ぜんたんしゃbijection構成こうせいする。

data/lecture/math/discrete-math/単射・全射・全単射-講義.n.md

3Method

To compare cardinalities濃度のうど, construct a map写像しゃぞう rather than trying to count directly. To show |A|[PARSE ERROR: Undefined("Command(\"le\")")]|B|, look for an injection単射たんしゃ from A to B. To show |A|[PARSE ERROR: Undefined("Command(\"ge\")")]|B|, look for a surjection全射ぜんしゃ from A to B. To show |A|=|B|, construct a bijection全単射ぜんたんしゃ.

data/lecture/math/discrete-math/単射・全射・全単射-講義.n.md

4直感的ちょっかんてき説明せつめい

偶数ぐうすう全体ぜんたい 2N は、自然数しぜんすう全体ぜんたい N一部いちぶである。しかし n2nN から 2N への全単射ぜんたんしゃbijectionである。したがって、濃度のうどcardinality意味いみでは N2Nおなおおきさである。

これは無限集合むげんしゅうごう直感ちょっかん有限集合ゆうげんしゅうごうことなるてんである。有限集合ゆうげんしゅうごうでは、しん部分集合ぶぶんしゅうごうproper subsetげん個数こすうすくない。しかし無限集合むげんしゅうごうでは、しん部分集合ぶぶんしゅうごうproper subset全体ぜんたい全単射ぜんたんしゃbijection対応たいおうすることがある。

可算かさんcountableとは、自然数しぜんすう重複ちょうふくなくれなく番号ばんごうけられるということである。一方いっぽう対角線論法たいかくせんろんぽうdiagonal argumentは、どんな一覧いちらん仮定かていしても、そこにらない対象たいしょうつくる。

4Intuitive explanation

The set of even natural numbers 2N is a part of N. However, n2n is a bijection全単射ぜんたんしゃ from N to 2N. Therefore, in the sense of cardinality濃度のうど, N and 2N 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.

5厳密げんみつ説明せつめい対角線論法たいかくせんろんぽうdiagonal argument入口いりぐち

可算集合かさんしゅうごうcountable set列挙れっきょできる集合しゅうごうsetである。一方いっぽう実数じっすうreal number区間くかん (0,1)可算集合かさんしゅうごうcountable setではない。

この事実じじつ基本きほん対角線論法たいかくせんろんぽうdiagonal argumentである。もし (0,1)実数じっすうreal numberr1,r2,r3,[PARSE ERROR: Undefined("Command(\"dots\")")]列挙れっきょできたと仮定かていする。かく ri小数表示しょうすうひょうじならべ、i 番目ばんめrii 桁目けためことなる数字すうじえらんであたらしい実数じっすうreal number sつくる。すると s任意にんいrii 桁目けためことなるため、列挙れっきょなか存在そんざいしない。

対角線論法たいかくせんろんぽうdiagonal argumentでは、任意にんい列挙れっきょ仮定かていし、n 番目ばんめ対象たいしょうn 番目ばんめ位置いちかならちがあたらしい対象たいしょうつくる。この構成こうせいにより、その列挙れっきょ全射ぜんしゃでないことをしめす。

5Precise idea: entrance to the diagonal argument対角線論法たいかくせんろんぽう

A countable set可算集合かさんしゅうごう is a set集合しゅうごう that can be listed. In contrast, the interval (0,1) of real numbers実数じっすう is not countable.

The basic idea is Cantor's diagonal argument対角線論法たいかくせんろんぽう. Suppose the real numbers in (0,1) could be listed as r1,r2,r3,[PARSE ERROR: Undefined("Command(\"dots\")")]. Write their decimal expansions in a table, and choose a new real number s whose i-th digit differs from the i-th digit of ri. Then s differs from every ri at the i-th digit, so it is not in the list.

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,[PARSE ERROR: Undefined("Command(\"dots\")")]}N={1,2,3,[PARSE ERROR: Undefined("Command(\"dots\")")]}おな濃度のうどcardinalityつことをしめせ。

6Worked example: the positive even numbers are countable可算かさん

6.1Problem

Show that the set of positive even numbers E={2,4,6,[PARSE ERROR: Undefined("Command(\"dots\")")]} has the same cardinality濃度のうど as N={1,2,3,[PARSE ERROR: Undefined("Command(\"dots\")")]}.

6.2解説かいせつ

f:NEf(n)=2n定義ていぎする。任意にんいn1,n2N について f(n1)=f(n2) なら 2n1=2n2 である。両辺りょうへん非零定数ひれいていすう 2って n1=n2る。したがって f単射たんしゃinjectionである。

任意にんいeEる。E定義ていぎより、ある nN存在そんざいして e=2n である。したがって f(n)=e であり、f全射ぜんしゃsurjectionである。よって f全単射ぜんたんしゃbijectionであり、ENおな濃度のうどcardinalityつ。

6.2Explanation

Define f:NE by f(n)=2n. If f(n1)=f(n2), then 2n1=2n2. Dividing by the nonzero constant 2 gives n1=n2, so f is an injection単射たんしゃ.

Take arbitrary eE. By the definition of E, there exists nN such that e=2n. Therefore f(n)=e, so f is a surjection全射ぜんしゃ. Hence f is a bijection全単射ぜんたんしゃ, and E and N have the same cardinality濃度のうど.

7見分みわかた関連かんれんリンク

  • おおきさを比較ひかくするなら、全単射ぜんたんしゃbijectionさがす。
  • かぞげられることをしめすなら、自然数しぜんすうnatural numberからの列挙れっきょつくる。
  • かぞげられないことをしめすなら、任意にんい列挙れっきょかられるげんelement構成こうせいする。
  • 有限集合ゆうげんしゅうごう直感ちょっかんが、無限集合むげんしゅうごうでもつとはかぎらない。
data/exercise/math/discrete-math/集合と集合演算-基本演習.n.md data/lecture/math/discrete-math/単射・全射・全単射-講義.n.md

7How to identify it and related links

  • To compare sizes, look for a bijection全単射ぜんたんしゃ.
  • To prove countability, construct a listing from the natural numbers自然数しぜんすう.
  • To prove uncountability, construct an elementげん missing from an arbitrary list.
  • Intuition valid for finite sets may fail for infinite sets無限集合むげんしゅうごう.
data/exercise/math/discrete-math/集合と集合演算-基本演習.n.md data/lecture/math/discrete-math/単射・全射・全単射-講義.n.md
raw .n.md をコピー
loc をコピー (filepath:line ~ line)
copy share link
copy encoded share link
path をコピー
copy share link
copy encoded share link
copy share link
copy encoded share link
タブを全て閉じる