1導入
関係を学ぶときの中心の問いは、「対象どうしの結びつきを、どの順序対を採用するかで記録できるか」である。関係は曖昧な言葉ではなく、直積集合の部分集合である。
この定義により、「a は b と等しい」「a は b 以下である」「a は b を割り切る」「a と b は同じ余りを持つ」のような異なる見た目の主張を、同じ形式で扱える。
この形式化により、言葉の違いではなく、どの順序対が入っているかで性質を判定できる。したがって、後で反射性・対称性・推移性を調べるときも、同じ集合としての見方を使う。
1Introduction
The central question for a relation is whether connections between objects対象たいしょう can be recorded by choosing which ordered pairs順序対じゅんじょつい to include. A relation is not a vague word; it is a subset部分集合ぶぶんしゅうごう of a Cartesian product直積集合ちょくせきしゅうごう.
This definition lets statements that look different, such as “a equals b,” “a is below b,” “a divides b,” and “a has the same remainder as b,” be treated in the same form形式けいしき.
2用語ようごと定義ていぎ
集合しゅうごうset A,B に対たいして、A から B への関係かんけいrelationとは、A\times B の部分集合ぶぶんしゅうごうsubsetである。
R\subseteq A\times B
と書かく。(a,b)\in R のとき、a は b と関係かんけいrelation R で結むすばれるといい、しばしば
aRb
と書かく。
A=B の場合ばあい、R\subseteq A\times A を A 上うえの二項関係にこうかんけいbinary relationという。同値関係どうちかんけいequivalence relationや順序関係じゅんじょかんけいorder relationは、どちらも二項関係にこうかんけいbinary relationの特別とくべつな場合ばあいである。
2Terms and definitions
For sets集合しゅうごう A,B, a relation関係かんけい from A to B is a subset部分集合ぶぶんしゅうごう of A\times B.
R\subseteq A\times B.
When (a,b)\in R, we say that a is related to b by R, and often write
aRb.
When A=B, a relation R\subseteq A\times A is called a binary relation二項関係にこうかんけい on A. Equivalence relations同値関係どうちかんけい and order relations順序関係じゅんじょかんけい are special kinds of binary relations.
3方針ほうしん
関係かんけいrelationを調しらべるときは、まず母体ぼたいとなる直積集合ちょくせきしゅうごうCartesian productを確認かくにんする。次つぎに、その内うち採用さいようされている順序対じゅんじょついordered pairがどれかを確認かくにんする。
性質せいしつpropertyを判定はんていするときは、全すべての元げんelementについて条件じょうけんが成なり立たつかを確認かくにんする。1 例れいだけで反射性はんしゃせいreflexivityや推移性すいいせいtransitivityを証明しょうめいすることはできない。失敗しっぱいを示しめすには 1 つの反例はんれいcounterexampleで十分じゅうぶんである。
全称条件ぜんしょうじょうけんuniversal conditionを示しめすときは、任意にんいの元げんelementから始はじめる。一方いっぽう、性質せいしつが成なり立たたないことを示しめすときは、その条件じょうけんを破やぶる順序対じゅんじょついordered pairや組くみを 1 つ示しめせばよい。
data/lecture/math/discrete-math/直積集合の基本-講義.n.md
3Strategy
When studying a relation関係かんけい, first identify the ambient Cartesian product直積集合ちょくせきしゅうごう. Then identify which ordered pairs順序対じゅんじょつい are included.
To prove a property性質せいしつ, check that the condition holds for all relevant elements元げん. One example cannot prove reflexivity反射性はんしゃせい or transitivity推移性すいいせい. To show failure, one counterexample反例はんれい is enough.
data/lecture/math/discrete-math/直積集合の基本-講義.n.md
4直感的ちょっかんてきな説明せつめい
関係かんけいrelationは、表ひょうのマスに印しるしを付つけることとして見みるとよい。A\times B の各かく順序対じゅんじょついordered pair (a,b) は、行ぎょう a と列れつcolumn b の交点こうてんに対応たいおうする。関係かんけいrelation R は、その表ひょうの内うち「成なり立たつ」と判断はんだんしたマスの集合しゅうごうである。
関係かんけいrelationを変かえるとは、採用さいようする順序対じゅんじょついordered pairを変かえることである。母体ぼたいとなる A\times B を固定こていしている限かぎり、第だい 1 成分せいぶんは A から、第だい 2 成分せいぶんは B から来くるという型かたは保存ほぞんされる。
表ひょうの見方みかたは、逆関係ぎゃくかんけいinverse relationでは行ぎょうと列れつcolumnを入いれ替かえること、関係かんけいの合成ごうせいcomposition of relationsでは中間ちゅうかんの元げんelementを経由けいゆすることにも接続せつぞくする。
4Intuitive explanation
A relation関係かんけい can be viewed as marking cells in a table. Each ordered pair順序対じゅんじょつい (a,b) in A\times B corresponds to the cell at row a and column列れつ b. The relation R is the set of cells judged to hold.
Changing a relation means changing which ordered pairs are included. As long as the ambient product A\times B is fixed, the type is preserved: first components come from A and second components come from B.
5重要じゅうような性質せいしつproperty
A 上うえの二項関係にこうかんけいbinary relation R に対たいして、次つぎの性質せいしつpropertyを考かんがえる。
| 性質せいしつ | 定義ていぎ | 直感ちょっかん |
| 反射性はんしゃせいreflexivity | すべての a\in A について aRa | 自分じぶんと自分じぶんが結むすばれる |
| 対称性たいしょうせいsymmetry | aRb なら bRa | 向むきを逆ぎゃくにしても成なり立たつ |
| 反対称性はんたいしょうせいantisymmetry | aRb かつ bRa なら a=b | 相互そうごに結むすばれる別物べつものを許ゆるさない |
| 推移性すいいせいtransitivity | aRb かつ bRc なら aRc | 中継ちゅうけいして結むすべる |
対称性たいしょうせいsymmetryと反対称性はんたいしょうせいantisymmetryは名前なまえが似にているが、意味いみは反対はんたいではない。
対称性たいしょうせいsymmetryと反対称性はんたいしょうせいantisymmetryは同時どうじに成なり立たつことも、両方りょうほうとも失敗しっぱいすることもある。等号とうごうの関係かんけいは両方りょうほうを満みたす典型例てんけいれいであり、名前なまえだけで反対はんたいの性質せいしつだと判断はんだんしない。
5Important properties性質せいしつ
For a binary relation二項関係にこうかんけい R on A, consider the following properties性質せいしつ.
| Property | Definition | Intuition |
| Reflexivity反射性はんしゃせい | aRa for every a\in A | each element is related to itself |
| Symmetry対称性たいしょうせい | aRb implies bRa | the relation holds in the reverse direction |
| Antisymmetry反対称性はんたいしょうせい | aRb and bRa imply a=b | two different elements cannot be mutually related |
| Transitivity推移性すいいせい | aRb and bRc imply aRc | relations can be chained |
Symmetry対称性たいしょうせい and antisymmetry反対称性はんたいしょうせい have similar names, but their meanings are not opposites.
6例題れいだい:整除関係せいじょかんけいdivisibility relationを判定はんていする
6.1問題もんだい
A=\{1,2,3,6\} 上うえの関係かんけいrelation R を、aRb とは「a が b を割わり切きる」ことだと定義ていぎする。R が反射性はんしゃせいreflexivity、反対称性はんたいしょうせいantisymmetry、推移性すいいせいtransitivityを満みたすことを確認かくにんせよ。
6Worked example: check the divisibility relation整除関係せいじょかんけい
6.1Problem
On A=\{1,2,3,6\}, define a relation関係かんけい R by letting aRb mean “a divides b.” Check that R satisfies reflexivity反射性はんしゃせい, antisymmetry反対称性はんたいしょうせい, and transitivity推移性すいいせい.
6.2解説かいせつ
反射性はんしゃせいreflexivityについて、任意にんいの a\in A に対たいして a=a\cdot1 なので、a は a を割わり切きる。したがって aRa である。
反対称性はんたいしょうせいantisymmetryについて、aRb かつ bRa とする。すると b=ak、a=b\ell を満みたす正せいの整数せいすうinteger k,\ell が存在そんざいする。したがって a=ak\ell である。a\in A なので a\ne0 であり、両辺りょうへんを a で割わって 1=k\ell を得える。k,\ell は正せいの整数せいすうintegerなので k=\ell=1 であり、a=b である。
推移性すいいせいtransitivityについて、aRb かつ bRc とする。すると b=ak、c=b\ell と書かける。したがって c=a(k\ell) であり、aRc である。
6.2Explanation
For reflexivity反射性はんしゃせい, every a\in A satisfies a=a\cdot1, so a divides itself. Hence aRa.
For antisymmetry反対称性はんたいしょうせい, suppose aRb and bRa. Then there are positive integers整数せいすう k,\ell such that b=ak and a=b\ell. Hence a=ak\ell. Since a\in A, a\ne0, so dividing by a gives 1=k\ell. Because k,\ell are positive integers, k=\ell=1, and therefore a=b.
For transitivity推移性すいいせい, suppose aRb and bRc. Then b=ak and c=b\ell. Thus c=a(k\ell), so aRc.