1導入
集合を学ぶときに最初に固定すべき問いは、「何を同じ対象の集まりとして扱い、何を別の集まりとして扱うか」である。集合は単なる袋ではない。条件を満たす対象を集め、含まれるかどうかで議論するための言語である。
この講義では、元、所属、空集合、部分集合、外延性を整理する。ここを曖昧にすると、後の関係、写像、べき集合で「元なのか、部分集合なのか」が混乱する。
集合では順序や重複ではなく、所属するかどうかだけが意味を持つ。したがって、同じ元を持つなら、書き方や並び順が違っても同じ集合である。
1Introduction
The first question to fix when studying sets is this: what are we treating as one collection, and what are we treating as a different collection? A set is not merely a bag. It is a language for collecting objects対象たいしょう that satisfy a condition条件じょうけん and then reasoning by whether each object is included.
This lecture organizes elements元げん, membership所属しょぞく, the empty set空集合くうしゅうごう, subsets部分集合ぶぶんしゅうごう, and extensionality外延性がいえんせい. If this point is vague, later topics such as relations関係かんけい, maps写像しゃぞう, and power sets冪集合べきしゅうごう become confusing because one loses track of whether something is an element or a subset.
2用語ようごと定義ていぎ
集合しゅうごうsetとは、対象たいしょうobjectを集あつめたものである。集合しゅうごうset A に対象たいしょうobject x が含ふくまれることを
x\in A
と書かき、x を A の元げんelementという。x\notin A は、x が A の元げんelementではないことを表あらわす。
空集合くうしゅうごうempty set \varnothing は、元げんelementを 1 つも持もたない集合しゅうごうsetである。空集合くうしゅうごうempty setは「存在そんざいしない集合しゅうごう」ではなく、「元げんelementが存在そんざいしない集合しゅうごうset」である。
部分集合ぶぶんしゅうごうsubsetは、包含ほうがんinclusionを表あらわす。A\subseteq B とは、すべての x について
x\in A \Longrightarrow x\in B
が成なり立たつことである。ここで A\subseteq B は A=B を許ゆるす。A\subsetneq B は A\subseteq B かつ A\ne B を表あらわす。
2Terms and definitions
A set集合しゅうごう is a collection of objects対象たいしょう. We write
x\in A
when an object x is contained in a set A, and we call x an element元げん of A. The notation x\notin A means that x is not an element of A.
The empty set空集合くうしゅうごう \varnothing is the set with no elements. It is not a nonexistent set; it is a set whose elements do not exist.
A subset部分集合ぶぶんしゅうごう expresses inclusion包含ほうがん. The statement A\subseteq B means that, for every x,
x\in A \Longrightarrow x\in B
holds. Here A\subseteq B allows A=B. The notation A\subsetneq B means A\subseteq B and A\ne B.
3方針ほうしん
集合しゅうごうsetを扱あつかうときは、図ずや直感ちょっかんだけで判断はんだんしない。まず「任意にんいの元げんelement x を取とる」と考かんがえ、x\in A という条件じょうけんを別べつの条件じょうけんへ変形へんけいする。
この方針ほうしんは単純たんじゅんだが、強力きょうりょくである。集合しゅうごうsetの等式とうしき A=B を示しめすには、
A\subseteq B
\quad\text{and}\quad
B\subseteq A
を示しめせばよい。これは、両方りょうほうの集合しゅうごうsetが同おなじ元げんelementを持もつことを確認かくにんする方法ほうほうである。
包含ほうがんinclusionを示しめすときは、任意にんいの x を取とって所属条件しょぞくじょうけんを追おう。具体例ぐたいれいをいくつか調しらべることは予想よそうには役立やくだつが、証明しょうめいには全すべての元げんelementを扱あつかう論理ろんりが必要ひつようである。
3Method
When working with sets集合しゅうごう, do not decide only from a picture or intuition. First take an arbitrary element元げん x and transform the condition x\in A into another membership condition.
This method is simple but powerful. To prove a set equality A=B, it is enough to prove
A\subseteq B
\quad\text{and}\quad
B\subseteq A.
This checks that the two sets have exactly the same elements from both directions.
4直感的ちょっかんてきな説明せつめい
集合しゅうごうsetは、名札なふだの付ついた対象たいしょうobjectの集あつまりとして考かんがえるとよい。x\in A は「x に A の名札なふだが付ついている」という主張しゅちょうである。A\subseteq B は「A の名札なふだが付ついているものには、必かならず B の名札なふだも付ついている」という主張しゅちょうである。
この見方みかたでは、空集合くうしゅうごうempty setは何なにも入はいっていない箱はこである。したがって、空集合くうしゅうごうempty setは任意にんいの集合しゅうごうset A の部分集合ぶぶんしゅうごうsubsetである。なぜなら、x\in\varnothing となる x が存在そんざいしないため、「x\in\varnothing なら x\in A」という条件文じょうけんぶんに反例はんれいが存在そんざいしないからである。
4Intuitive explanation
It is useful to imagine a set集合しゅうごう as a collection of objects carrying a label. The statement x\in A says that x has the label A. The statement A\subseteq B says that every object with label A also has label B.
From this point of view, the empty set空集合くうしゅうごう is an empty box. Therefore it is a subset部分集合ぶぶんしゅうごう of every set A. There is no x with x\in\varnothing, so the conditional statement "if x\in\varnothing, then x\in A" has no counterexample.
5厳密げんみつな説明せつめい
集合しゅうごうsetの同一性どういつせいは、外延性がいえんせいextensionalityで決きまる。外延性がいえんせいextensionalityとは、すべての x について
x\in A \Longleftrightarrow x\in B
が成なり立たつなら A=B と判断はんだんする、という原理げんりである。つまり、集合しゅうごうsetは作つくり方かたではなく、含ふくまれる元げんelementによって決きまる。
たとえば
A=\{1,2,3\},
\qquad
B=\{3,2,1,1\}
と書かいても、A=B である。集合しゅうごうsetでは順序じゅんじょと重複ちょうふくは記録きろくされない。ここで順序じゅんじょを記録きろくしたいなら順序対じゅんじょついordered pairや列れつsequenceを用もちいる。重複ちょうふくを記録きろくしたいなら多重集合しゅうごうmultisetを用もちいる。
外延性がいえんせいextensionalityにより、2 つの集合しゅうごうsetが同おなじ元げんelementを持もつなら同おなじ集合しゅうごうである。名前なまえや記法きほうではなく、所属条件しょぞくじょうけんを比較ひかくすることが厳密げんみつな判断はんだんになる。
5Rigorous explanation
The identity of a set集合しゅうごう is determined by extensionality外延性がいえんせい. Extensionality is the principle that if
x\in A \Longleftrightarrow x\in B
holds for every x, then A=B. In other words, a set is determined by its elements, not by the way it was written.
For example,
A=\{1,2,3\},
\qquad
B=\{3,2,1,1\}
still gives A=B. In a set, order and repetition are not recorded. If order must be recorded, use an ordered pair順序対じゅんじょつい or a sequence列れつ. If repetition must be recorded, use a multiset多重集合たじゅうしゅうごう.
6.1問題もんだい
A=\{2,4,6\}、B=\{n\in\mathbb Z\mid n\text{ は偶数で }1\le n\le 6\} とする。A=B を示しめせ。
6.1Problem
Let A=\{2,4,6\} and B=\{n\in\mathbb Z\mid n\text{ is even and }1\le n\le 6\}. Prove A=B.
6.2解説かいせつ
集合しゅうごうsetの等式とうしきは、両側りょうがわの包含ほうがんinclusionで示しめす。
まず x\in A とする。このとき x は 2,4,6 のいずれかである。いずれも整数せいすうintegerであり、偶数ぐうすうeven numberであり、1\le x\le6 を満みたす。したがって x\in B である。よって A\subseteq B である。
逆ぎゃくに x\in B とする。このとき x は 1\le x\le6 を満みたす偶数ぐうすうeven numberである。したがって x は 2,4,6 のいずれかであり、x\in A である。よって B\subseteq A である。
両方りょうほうの包含ほうがんinclusionが成なり立たつので A=B である。この例れいで確認かくにんしているのは、集合しゅうごうsetは表示ひょうじの仕方しかたではなく、元げんelementの一致いっちで比較ひかくするという点てんである。
6.2Explanation
A set equality is proved by proving inclusion包含ほうがん in both directions.
First take x\in A. Then x is one of 2,4,6. Each of these is an integer整数せいすう, is an even number偶数ぐうすう, and satisfies 1\le x\le 6. Hence x\in B, so A\subseteq B.
Conversely, take x\in B. Then x is an even integer satisfying 1\le x\le 6. Therefore x is one of 2,4,6, so x\in A. Hence B\subseteq A.
Both inclusions hold, so A=B. This example checks the central point of this page: sets are compared by equality of elements, not by the surface form of their descriptions.