markdown
Equivalence relations and partitionsmd 8de591a
lecture/math/discrete-math/equivalence-relations-and-partitions.lecture.n.md
Download PDF

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

date2026-07-14document_iddoc_173d8184bd6dbb155a36f3e4350685e5description同値関係を、対象を重ならない同値類へ分類するための関係として導入し、分割との対応を丁寧に示す講義である。prerequisites集合の基本 / 関係の基本type講義content_typelecturestatusactiverelateddata/lecture/math/discrete-math/discrete-mathematics-portal.lecture.n.md / data/lecture/math/discrete-math/relation-basics.lecture.n.md / data/lecture/math/discrete-math/relation-composition-and-closure.lecture.n.md / data/lecture/math/discrete-math/quotient-sets-and-canonical-projections.lecture.n.md / data/lecture/math/abstract-algebra/equivalence-relations-and-cosets.lecture.n.md / data/exercise/math/discrete-math/relations-and-equivalence-relations.exercise.n.md
mathdiscrete-mathequivalence-relationlecture

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.

An equivalence relation divides objects into boxes called equivalence classes同値類どうちるい; unlike an order, it does not place one object above or below another.

2Terms and definitions

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

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.

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.

Prove the three properties separately. To disprove reflexivity, give an element for which a[PARSE ERROR: Undefined("Command(\"not\")")]a. To disprove symmetry or transitivity, give one pair or triple that violates the corresponding implication.

data/lecture/math/discrete-math/relation-basics.lecture.n.md data/lecture/math/discrete-math/relation-composition-and-closure.lecture.n.md

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分割ぶんかつ.

Equivalence classes behave like disjoint boxes: every element belongs to exactly one. If two classes overlap at even one element, symmetry and transitivity force them to be the same class.

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].

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.

7Example: equivalence by congruence

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.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/equivalence-relations-and-cosets.lecture.n.md

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.

Match properties of the relation with properties of the classification: overlapping equivalence classes are equal, and changing the representative does not change its equivalence class.

9Proof supplement: the two constructions are inverse

We have constructed the collection of equivalence classes

{[x]xA}.

from an equivalence relation同値関係どうちかんけい, and an equivalence relation from a partition分割ぶんかつ by declaring two elements equivalent when they lie in the same block. Applying these constructions successively returns the original data.

Starting with an equivalence relation, x and y lie in the same equivalence class exactly when [x]=[y], which is equivalent to xy. Thus the relation reconstructed from the partition is the original relation.

Starting with a partition [PARSE ERROR: Undefined("Command(\"mathcal\")")]C, the equivalence class of x is exactly the unique block of [PARSE ERROR: Undefined("Command(\"mathcal\")")]C containing x. Thus the partition reconstructed from the equivalence classes is [PARSE ERROR: Undefined("Command(\"mathcal\")")]C itself.

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