markdown
同値関係と分割md c8ce07b
lecture/math/discrete-math/同値関係と分割-講義.n.md
Download PDF

同値関係どうちかんけいequivalence relation分割ぶんかつpartition

date2026-06-06description同値関係を、対象を重ならない同値類へ分類するための関係として導入し、分割との対応を丁寧に示す講義である。prerequisites集合の基本 / 関係の基本type講義statusactiverelateddata/lecture/math/discrete-math/離散数学ポータル-講義.n.md / data/lecture/math/discrete-math/関係の基本-講義.n.md / data/lecture/math/abstract-algebra/同値関係と剰余類の基本-講義.n.md / data/exercise/math/discrete-math/関係と同値関係-基本演習.n.mdrelateddata/lecture/math/discrete-math/離散数学ポータル-講義.n.md
mathdiscrete-mathequivalence-relationlecture

Equivalence relations同値関係どうちかんけい and partitions分割ぶんかつ

1導入どうにゅう

同値関係どうちかんけいequivalence relation目的もくてきは、対象たいしょうobjectを「おなじものとなす」基準きじゅん分類ぶんるいすることである。ここで重要じゅうようなのは、完全かんぜんひとしいという意味いみではなく、いま目的もくてきたいしておなあつかいをする、という意味いみである。

たとえば整数せいすうを 3 でったあまりで分類ぶんるいすると、1,4,7おな分類ぶんるいはいる。これは 1=4 という意味いみではない。3 でったあまりをかぎおなじ、という意味いみである。

同値関係どうちかんけいequivalence relationは、対象たいしょうを「おな種類しゅるい」としてけるための関係かんけいである。順序じゅんじょのようにうえしためるのではなく、同値類どうちるいequivalence classというはこ分類ぶんるいする。

1Introduction

The purpose of an equivalence relation同値関係どうちかんけい is to classify objects対象たいしょう by a rule that says when they should be treated as the same. The point is not that the objects are literally equal, but that they are the same for the purpose currently being considered.

For example, if integers are classified by their remainder when divided by 3, then 1,4,7 belong to the same class. This does not mean 1=4. It means they are the same as long as only the remainder modulo 3 is being observed.

2用語ようご定義ていぎ

集合しゅうごうset A うえ二項関係にこうかんけいbinary relation 同値関係どうちかんけいequivalence relationであるとは、つぎの 3 条件じょうけんたすことである。

条件じょうけんしき意味いみ
反射性はんしゃせいreflexivityaa自分じぶん自分じぶん同類どうるいである
対称性たいしょうせいsymmetryabba同類どうるいであることにきはない
推移性すいいせいtransitivityab,bcac同類どうるい連鎖れんさ同類どうるいである

aAたいして、a同値類どうちるいequivalence class

[a]={xAxa}

定義ていぎする。同値類どうちるいequivalence classは、a同類どうるいなされるげんelementあつめた集合しゅうごうsetである。

同値関係どうちかんけいequivalence relationには反射性はんしゃせいreflexivity対称性たいしょうせいsymmetry推移性すいいせいtransitivityみっつがすべて必要ひつようである。そこからられる分割ぶんかつpartitionは、からでない部分集合ぶぶんしゅうごうたちがたがいにかさならず、全体ぜんたいおお構造こうぞうである。分割ぶんかつつくかく部分集合ぶぶんしゅうごうsubsetは、分割ぶんかつブロックblockばれることがある。

2Terms and definitions

A binary relation二項関係にこうかんけい on a set集合しゅうごう A is an equivalence relation同値関係どうちかんけい if it satisfies the following three conditions.

ConditionFormulaMeaning
reflexivity反射性はんしゃせいaaevery element is equivalent to itself
symmetry対称性たいしょうせいabbabeing equivalent has no direction
transitivity推移性すいいせいab,bcaca chain of equivalences remains an equivalence

For aA, the equivalence class同値類どうちるい of a is defined by

[a]={xAxa}.

An equivalence class is the set of elements regarded as the same kind as a.

A partition分割ぶんかつ of A is a collection of nonempty subsets of A that are pairwise disjoint and whose union is all of A. The subsets in the partition are often called blocks.

3方針ほうしん

同値関係どうちかんけいequivalence relation確認かくにんするときは、3 条件じょうけん別々べつべつ証明しょうめいする。とく推移性すいいせいtransitivity見落みおとしやすい。abbc から acみちびけるかをかなら確認かくにんする。

また、同値関係どうちかんけいequivalence relation導入どうにゅうする理由りゆうは、集合しゅうごうset同値類どうちるいequivalence classけるためである。したがって「なにわるか」よりも、「なに無視むしして同一視どういつしするか」をさきかんがえる。

証明しょうめいでは、みっつの性質せいしつ別々べつべつ確認かくにんする。失敗しっぱいしめすときは、反射性はんしゃせいなら aRaけるげんelement対称性たいしょうせい推移性すいいせいなら条件じょうけんやぶくみを 1 つしめせばよい。

data/lecture/math/discrete-math/関係の基本-講義.n.md

3Strategy

To verify an equivalence relation同値関係どうちかんけい, prove the three conditions separately. In particular, transitivity推移性すいいせい is easy to miss: from ab and bc, one must be able to derive ac.

The reason to introduce an equivalence relation is to divide a set into equivalence classes. Therefore, before asking what changes, ask what feature is being ignored so that objects are identified.

data/lecture/math/discrete-math/関係の基本-講義.n.md

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

同値関係どうちかんけいequivalence relationは、集合しゅうごうsetげんelementいろけることとしてかんがえられる。おないろげんelement同類どうるいなす。反射性はんしゃせいreflexivityかくげんelementなんらかのいろつこと、対称性たいしょうせいsymmetryおないろであることにきがないこと、推移性すいいせいtransitivityいろ途中とちゅうわらないことに対応たいおうする。

この色分いろわけがただしくできると、集合しゅうごうsetたがいにかさならない部分集合ぶぶんしゅうごうsubsetかれる。このかた分割ぶんかつpartitionである。

同値類どうちるいequivalence classたがいにかさならないはこであり、かくげんelementかならず 1 つのはこはいる。2 つのはこすこしでもかさなれば、推移性すいいせいtransitivityによりじつおなはこになる。

4Intuitive explanation

An equivalence relation同値関係どうちかんけい can be imagined as coloring the elements of a set. Elements with the same color are treated as equivalent. Reflexivity反射性はんしゃせい means every element has some color, symmetry対称性たいしょうせい means sameness of color has no direction, and transitivity推移性すいいせい means the color does not change in the middle of a chain.

When this coloring is valid, the set is divided into non-overlapping subsets. That division is a partition分割ぶんかつ.

5厳密げんみつ説明せつめい同値関係どうちかんけいequivalence relationから分割ぶんかつpartition

同値関係どうちかんけいequivalence relation あたえられると、同値類どうちるいequivalence classあつまりは A分割ぶんかつpartitionになる。つまり、つぎの 2 つがつ。

  1. 任意にんいaAすくなくとも 1 つの同値類どうちるいequivalence classぞくする。
  2. 2 つの同値類どうちるいequivalence classは、一致いっちするか、まじわらないかのどちらかである。

まず 1 つは、反射性はんしゃせいreflexivityより aa なので a[a] である。

つぎに 2 つしめす。[a][b][PARSE ERROR: Undefined("Command(\"varnothing\")")] とする。このとき、ある x存在そんざいして x[a] かつ x[b] である。定義ていぎより xa かつ xb である。対称性たいしょうせいsymmetryより ax であり、推移性すいいせいtransitivityより ab である。

任意にんいy[a]ると、ya である。さらに ab なので、推移性すいいせいtransitivityより yb である。したがって y[b] であり、[a][b] である。同様どうよう[b][a] なので [a]=[b] である。

5Precise explanation: from equivalence relations to partitions

Suppose an equivalence relation同値関係どうちかんけい is given on A. The collection of equivalence classes forms a partition分割ぶんかつ of A. This means two things.

  1. Every aA belongs to at least one equivalence class.
  2. Any two equivalence classes are either equal or disjoint.

The first point follows from reflexivity反射性はんしゃせい. Since aa, we have a[a].

For the second point, suppose [a][b][PARSE ERROR: Undefined("Command(\"varnothing\")")]. Then there exists x such that x[a] and x[b]. By definition, xa and xb. By symmetry対称性たいしょうせい, ax, and by transitivity推移性すいいせい, ab.

Now take any y[a]. Then ya. Since ab, transitivity gives yb, so y[b]. Hence [a][b]. The same argument gives [b][a], so [a]=[b].

6ぎゃくに、分割ぶんかつpartitionから同値関係どうちかんけいequivalence relation

分割ぶんかつpartitionとは、Aからでない部分集合ぶぶんしゅうごうsubsetあつまりで、たがいにまじわらず、全体ぜんたいおおうものである。

分割ぶんかつpartitionあたえられたら、「abおな部品ぶひんぞくする」と定義ていぎして ab とする。このとき 同値関係どうちかんけいequivalence relationである。反射性はんしゃせいreflexivityaかならなんらかの部品ぶひんぞくすることからしたがう。対称性たいしょうせいsymmetryは「おな部品ぶひんぞくする」が対称たいしょう主張しゅちょうであることからしたがう。推移性すいいせいtransitivityは、部品ぶひんどうしがまじわらないことからしたがう。

分割ぶんかつpartitionから同値関係どうちかんけいequivalence relationつくるときは、「おなブロックblockぞくする」ことを関係かんけいにする。自分じぶん自分じぶんおなブロックblockぞくし、きをぎゃくにしてもわらず、おなブロックblock経由けいゆしてもおなブロックblockとどまる。

6Conversely, from partitions to equivalence relations

Let a partition分割ぶんかつ of A be given. Define ab to mean that a and b belong to the same block of the partition. Then is an equivalence relation同値関係どうちかんけい.

Reflexivity反射性はんしゃせい holds because every element belongs to some block. Symmetry対称性たいしょうせい holds because the statement "belong to the same block" is symmetric in a and b. Transitivity推移性すいいせい holds because distinct blocks of a partition do not overlap: if a,b are in the same block and b,c are in the same block, then those two blocks share b and therefore must be the same block, so a,c are in the same block.

7例題れいだい合同ごうどうによる同値関係どうちかんけいequivalence relation

7Example: equivalence by congruence

7.1問題もんだい

整数せいすう全体ぜんたい Zたいして、ab を「a-b が 3 の倍数ばいすうである」と定義ていぎする。これは同値関係どうちかんけいequivalence relationであることを確認かくにんし、同値類どうちるいequivalence classべよ。

7.1Problem

On the set of all integers Z, define ab to mean that a-b is a multiple of 3. Verify that this is an equivalence relation同値関係どうちかんけい and describe the equivalence classes同値類どうちるい.

7.2解説かいせつ

反射性はんしゃせいreflexivityについて、a-a=0 は 3 の倍数ばいすうなので aa である。

対称性たいしょうせいsymmetryについて、ab とすると a-b=3kける。すると b-a=-3k=3(-k) なので ba である。

推移性すいいせいtransitivityについて、ab かつ bc とする。すると a-b=3kb-c=3ける。両式りょうしきすと a-c=3(k+) なので ac である。

同値類どうちるいequivalence classは、3 でったあまりごとに

[0]={[PARSE ERROR: Undefined("Command(\"dots\")")],-6,-3,0,3,6,[PARSE ERROR: Undefined("Command(\"dots\")")]}
[1]={[PARSE ERROR: Undefined("Command(\"dots\")")],-5,-2,1,4,7,[PARSE ERROR: Undefined("Command(\"dots\")")]}
[2]={[PARSE ERROR: Undefined("Command(\"dots\")")],-4,-1,2,5,8,[PARSE ERROR: Undefined("Command(\"dots\")")]}

である。このれいは、同値関係どうちかんけいequivalence relation集合しゅうごうsetかさならない分類ぶんるいclassification分解ぶんかいすることをしめしている。

data/lecture/math/abstract-algebra/同値関係と剰余類の基本-講義.n.md

7.2Explanation

For reflexivity反射性はんしゃせい, a-a=0 is a multiple of 3, so aa.

For symmetry対称性たいしょうせい, suppose ab. Then a-b=3k for some integer k. Hence b-a=-3k=3(-k), so ba.

For transitivity推移性すいいせい, suppose ab and bc. Then a-b=3k and b-c=3 for integers k,. Adding the two equations gives a-c=3(k+), so ac.

The equivalence classes are the classes according to remainders modulo 3:

[0]={[PARSE ERROR: Undefined("Command(\"dots\")")],-6,-3,0,3,6,[PARSE ERROR: Undefined("Command(\"dots\")")]},
[1]={[PARSE ERROR: Undefined("Command(\"dots\")")],-5,-2,1,4,7,[PARSE ERROR: Undefined("Command(\"dots\")")]},
[2]={[PARSE ERROR: Undefined("Command(\"dots\")")],-4,-1,2,5,8,[PARSE ERROR: Undefined("Command(\"dots\")")]}.

This example shows how an equivalence relation同値関係どうちかんけい decomposes a set into non-overlapping classes.

data/lecture/math/abstract-algebra/同値関係と剰余類の基本-講義.n.md

8見分みわかた

  • 対象たいしょうを「おな種類しゅるい」にけたいなら、同値関係どうちかんけいequivalence relationかんがえる。
  • 同値関係どうちかんけいequivalence relation しめすには、反射性はんしゃせいreflexivity対称性たいしょうせいsymmetry推移性すいいせいtransitivity別々べつべつ確認かくにんする。
  • 同値類どうちるいequivalence class は、代表元だいひょうげんそのものではなく、代表元だいひょうげん同類どうるいげんelement集合しゅうごうsetである。
  • 分割ぶんかつpartition あらわれたら、おな部品ぶひんぞくするという同値関係どうちかんけいequivalence relationつくれる。

見分みわけるときは、関係かんけい性質せいしつ分類ぶんるい性質せいしつ対応たいおうさせる。同値類どうちるいequivalence classかさなるならおな同値類どうちるいであり、代表元だいひょうげんえてもぞくする同値類どうちるいわらない。

8Recognition criteria

  • Use an equivalence relation同値関係どうちかんけい when objects should be divided into classes of the same kind.
  • To prove that a relation is an equivalence relation, check reflexivity反射性はんしゃせい, symmetry対称性たいしょうせい, and transitivity推移性すいいせい separately.
  • An equivalence class同値類どうちるい is not a chosen representative. It is the set of all elements equivalent to the representative.
  • When a partition分割ぶんかつ appears, one can define an equivalence relation by saying that two elements are in the same block.

9証明しょうめい補足ほそく同値関係どうちかんけい分割ぶんかつおな情報じょうほうである

同値関係どうちかんけいequivalence relation からは、同値類どうちるいあつまり

X/={[x]xX}

ができる。これが X分割ぶんかつpartition になることを証明しょうめいする。

まず、反射性はんしゃせいより xx なので、x[x] である。したがってどの要素ようそすくなくともひとつのるいはいる。

つぎに、ふたつの同値類どうちるい [x][y]まじわるとする。z[x][y]る。このとき zx かつ zy である。対称性たいしょうせいより xz推移性すいいせいより xy である。すると u[x] なら uxy なので u[y] である。おな議論ぎろん[y][x]したがう。よって [x]=[y] である。

ぎゃくに、X分割ぶんかつ [PARSE ERROR: Undefined("Command(\"mathcal\")")]Cあたえられたとする。xy を「xyおな部品ぶひんぞくする」と定義ていぎする。各要素かくようそひとつの部品ぶひんぞくするので反射性はんしゃせいつ。おな部品ぶひんぞくするという条件じょうけん左右さゆうえてもわらないので対称性たいしょうせいつ。また、x,yおな部品ぶひんy,zおな部品ぶひんなら、分割ぶんかつ部品ぶひんかさならないため x,zおな部品ぶひんぞくする。よって推移性すいいせいつ。

9Proof supplement: equivalence relations and partitions are the same data

From an equivalence relation同値関係どうちかんけい, form the collection of equivalence classes

X/={[x]xX}.

This is a partition分割ぶんかつ of X. First, by reflexivity, xx, so x[x]. Therefore every element lies in at least one class.

Next, suppose two equivalence classes [x] and [y] intersect. Take z[x][y]. Then zx and zy. By symmetry, xz; by transitivity, xy. If u[x], then uxy, so u[y]. The same argument gives [y][x]. Hence [x]=[y].

Conversely, let [PARSE ERROR: Undefined("Command(\"mathcal\")")]C be a partition of X. Define xy to mean that x and y belong to the same block. Each element belongs to a block, so reflexivity holds. The condition is symmetric, so symmetry holds. If x,y are in the same block and y,z are in the same block, then the two blocks intersect at y, and because blocks of a partition do not overlap, they are the same block. Therefore x,z are in the same block, so transitivity holds.

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
タブを全て閉じる