markdown
関係と同値関係-基本演習md f1787da
exercise/math/discrete-math/relations-and-equivalence-relations.exercise.n.md

関係かんけいrelationと同値関係どうちかんけいequivalence relation-基本演習きほんえんしゅう

date2026-07-01document_iddoc_3d64ac8d0c67ee7e829ec17376498c88description関係の性質、関係の合成、閉包、同値関係、商集合を定義から確認する基本演習である。prerequisites関係の基本 / 関係の合成と閉包 / 同値関係と分割 / 商集合と自然な射影type問題演習content_typeexercisestatusactiverelateddata/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/equivalence-relations-and-partitions.lecture.n.md / data/lecture/math/discrete-math/quotient-sets-and-canonical-projections.lecture.n.md / data/lecture/math/discrete-math/discrete-mathematics-portal.lecture.n.md
mathdiscrete-mathexerciserelationequivalence-relation
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/equivalence-relations-and-partitions.lecture.n.md data/lecture/math/discrete-math/quotient-sets-and-canonical-projections.lecture.n.md

Relations関係かんけい and equivalence relations同値関係どうちかんけい - basic exercises

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/equivalence-relations-and-partitions.lecture.n.md data/lecture/math/discrete-math/quotient-sets-and-canonical-projections.lecture.n.md

1演習えんしゅう方針ほうしん

関係かんけいrelationの性質せいしつは、名前なまえではなく反射性はんしゃせいreflexivity、対称性たいしょうせいsymmetry、反対称性はんたいしょうせいantisymmetry、推移性すいいせいtransitivityの定義ていぎに戻もどって判定はんていする。


1Exercise method

For a relation関係かんけい, judge properties by returning to the definitions of reflexivity反射性はんしゃせい, symmetry対称性たいしょうせい, antisymmetry反対称性はんたいしょうせい, and transitivity推移性すいいせい, not by the names alone.


2問題もんだい 1

A={1,2,3} 上うえの関係かんけいrelation R={(1,1),(2,2),(3,3),(1,2),(2,1)} について、反射性はんしゃせいreflexivityと対称性たいしょうせいsymmetryを判定はんていせよ。

2Problem 1

For the relation関係かんけい R={(1,1),(2,2),(3,3),(1,2),(2,1)} on A={1,2,3}, decide whether it is reflexive反射性はんしゃせい and symmetric対称性たいしょうせい.

2.1解答かいとう

(1,1),(2,2),(3,3) がすべて含ふくまれるので、R は反射性はんしゃせいreflexivityを満みたす。また (1,2) と (2,1) は両方りょうほう含ふくまれ、対角成分たいかくせいぶんは逆向ぎゃくむきにしても同おなじなので、R は対称性たいしょうせいsymmetryを満みたす。

2.1Answer

The pairs (1,1),(2,2),(3,3) are all included, so R is reflexive反射性はんしゃせい. Also, (1,2) and (2,1) are both included, and diagonal pairs remain the same when reversed. Hence R is symmetric対称性たいしょうせい.

2.2解説かいせつ

反射性はんしゃせいreflexivityではすべての a∈A について (a,a) が必要ひつようである。対称性たいしょうせいsymmetryでは、入はいっている矢印やじるしの逆向ぎゃくむきが必要ひつようである。

2.2Explanation

For reflexivity反射性はんしゃせい, every a∈A must have (a,a) in the relation. For symmetry対称性たいしょうせい, every arrow present in the relation must also have its reversed arrow present.

2.3よくある誤あやまり

(1,1) だけを見みて反射性はんしゃせいreflexivityを判断はんだんする誤あやまりである。反射性はんしゃせいreflexivityには、すべての自己対じこつい (a,a) が必要ひつようである。


2.3Common mistake

A common mistake is to check only (1,1) and conclude reflexivity. Reflexivity requires all self-pairs.


3問題もんだい 2

A={1,2,3} 上うえの R={(1,2),(2,3)} の推移閉包すいいへいほうtransitive closureを求もとめよ。

3Problem 2

Find the transitive closure推移閉包すいいへいほう of R={(1,2),(2,3)} on A={1,2,3}.

3.1解答かいとう

(1,2)∈R かつ (2,3)∈R なので、推移性すいいせいtransitivityのために (1,3) が必要ひつようである。したがって推移閉包すいいへいほうtransitive closureは {(1,2),(2,3),(1,3)} である。

3.1Answer

Because (1,2)∈R and (2,3)∈R, transitivity推移性すいいせい requires (1,3). Therefore the transitive closure is

{(1,2),(2,3),(1,3)}.

3.2解説かいせつ

推移閉包すいいへいほうtransitive closureは、到達可能性とうたつかのうせいを直接ちょくせつの関係かんけいrelationとして追加ついかする操作そうさである。ここでは 1 から 2 を経へて 3 に到達とうたつできるので、直接ちょくせつの組くみ (1,3) を追加ついかする必要ひつようがある。

3.2Explanation

The transitive closure推移閉包すいいへいほう adds reachability as a direct relation関係かんけい. Here one can reach 3 from 1 through 2, so the direct pair (1,3) must be added.

3.3よくある誤あやまり

反射閉包はんしゃへいほうreflexive closureと混同こんどうし、(1,1),(2,2),(3,3) を追加ついかする誤あやまりである。これらは、この問題もんだいでは推移性すいいせいtransitivityからは要求ようきゅうされない。


3.3Common mistake

A common mistake is to confuse it with the reflexive closure反射閉包はんしゃへいほう and add (1,1),(2,2),(3,3). Those are not forced by transitivity here.


4問題もんだい 3

Z 上うえで a∼b を「a-b が 2 の倍数ばいすうである」と定義ていぎする。これは同値関係どうちかんけいequivalence relationであることを示しめせ。

4Problem 3

On Z, define a∼b to mean that a-b is divisible by 2. Prove that this is an equivalence relation同値関係どうちかんけい.

4.1解答かいとう

反射性はんしゃせいreflexivity: a-a=0 は 2 の倍数ばいすうなので a∼a である。

対称性たいしょうせいsymmetry: a-b=2k なら b-a=-2k=2(-k) なので b∼a である。

推移性すいいせいtransitivity: a-b=2k、b-c=2ℓ なら a-c=2(k+ℓ) なので a∼c である。

4.1Answer

Reflexivity反射性はんしゃせい: a-a=0 is divisible by 2, so a∼a.

Symmetry対称性たいしょうせい: if a-b=2k, then b-a=-2k=2(-k), so b∼a.

Transitivity推移性すいいせい: if a-b=2k and b-c=2ℓ, then a-c=2(k+ℓ), so a∼c.

4.2解説かいせつ

同値関係どうちかんけいequivalence relationは 3 条件じょうけんを別々べつべつに確認かくにんする。ここでは 2 で割わった余あまりが同おなじ、つまり moduloモジュロ 2 で同おなじという分類ぶんるいを作つくっている。

4.2Explanation

An equivalence relation同値関係どうちかんけい is checked by verifying the three conditions separately. In this example, the relation is classifying integers by having the same remainder modulo 2.

4.3よくある誤あやまり

偶数ぐうすうか奇数きすうかの直感ちょっかんだけで説明せつめいし、3 条件じょうけんを確認かくにんしない誤あやまりである。


4.3Common mistake

A common mistake is to rely only on the intuition of "even or odd" without verifying the three defining conditions.


5問題もんだい 4

問題もんだい 3 の同値関係どうちかんけいequivalence relationについて、商集合しょうしゅうごうquotient set Z/∼ を述のべよ。

5Problem 4

For the equivalence relation同値関係どうちかんけい in Problem 3, describe the quotient set商集合しょうしゅうごう Z/∼.

5.1解答かいとう

偶数ぐうすう全体ぜんたいの同値類どうちるいequivalence class [0] と、奇数きすう全体ぜんたいの同値類どうちるいequivalence class [1] に分わかれる。したがって Z/∼={[0],[1]} である。

5.1Answer

The integers split into the equivalence class同値類どうちるい [0] of all even integers and the equivalence class [1] of all odd integers. Therefore

Z/∼={[0],[1]}.

5.2解説かいせつ

商集合しょうしゅうごうquotient setの元げんelementは、元げんの整数せいすうではなく同値類どうちるいequivalence classである。

5.2Explanation

The elements元げん of a quotient set商集合しょうしゅうごう are not the original integers themselves. They are equivalence classes同値類どうちるい.

5.3よくある誤あやまり

Z/∼={0,1} と書かき、代表元だいひょうげんと同値類どうちるいequivalence classを混同こんどうする誤あやまりである。


5.3Common mistake

A common mistake is to write Z/∼={0,1} and confuse representatives with equivalence classes.


6問題もんだい 5

π:Z→Z/∼ を自然しぜんな射影しゃえいとする。問題もんだい 3 の同値関係どうちかんけいequivalence relationで、π(5) と π(-1) は等ひとしいか。

6Problem 5

Let π:Z→Z/∼ be the natural projection for the equivalence relation同値関係どうちかんけい in Problem 3. Are π(5) and π(-1) equal?

6.1解答かいとう

π(5)=[5]、π(-1)=[-1] である。5-(-1)=6 は 2 の倍数ばいすうなので 5∼-1 である。したがって [5]=[-1] であり、π(5)=π(-1) である。

6.1Answer

We have π(5)=[5] and π(-1)=[-1]. Since 5-(-1)=6 is divisible by 2, 5∼-1. Hence [5]=[-1] and π(5)=π(-1).

6.2解説かいせつ

自然しぜんな射影しゃえいcanonical projectionは、同値どうちequivalentな元げんelementを同おなじ同値類どうちるいequivalence classへ送おくる。

6.2Explanation

The canonical projection自然な射影 sends equivalent同値どうち elements to the same equivalence class同値類どうちるい.

6.3よくある誤あやまり

5≠-1 だから π(5)≠π(-1) と判断はんだんする誤あやまりである。商集合しょうしゅうごうquotient setでは、元げんの値あたいではなく同値類どうちるいequivalence classを比較ひかくする。

6.3Common mistake

A common mistake is to decide that π(5)≠π(-1) because 5≠-1. In a quotient set商集合しょうしゅうごう, one compares equivalence classes, not the original values alone.

8証明しょうめい演習えんしゅう:同値関係どうちかんけいから分割ぶんかつを作つくる

8Proof exercise: constructing a partition from an equivalence relation

8.1問題もんだい

∼ を X 上うえの同値関係どうちかんけいequivalence relationとする。同値類どうちるいequivalence class [x] の集あつまりが X の分割ぶんかつpartitionになることを証明しょうめいせよ。

8.1Problem

Let ∼ be an equivalence relation同値関係どうちかんけい on X. Prove that the collection of equivalence classes同値類どうちるい [x] is a partition分割ぶんかつ of X.

8.2解答かいとう

反射性はんしゃせいより x∼x なので、x∈[x] である。したがって、すべての元げんは少すくなくとも一ひとつの同値類どうちるいに属ぞくする。

つぎに [x]∩[y]≠[PARSE ERROR: Undefined("Command(\"varnothing\")")] とする。z∈[x]∩[y] を取とる。すると z∼x かつ z∼y である。対称性たいしょうせいより x∼z、推移性すいいせいより x∼y である。u∈[x] なら u∼x∼y なので u∈[y] である。よって [x]⊆[y] である。同様どうように [y]⊆[x] であり、[x]=[y] である。

8.2Answer

By reflexivity反射性はんしゃせい, x∼x, so x∈[x]. Therefore every element belongs to at least one equivalence class.

Next suppose [x]∩[y]≠[PARSE ERROR: Undefined("Command(\"varnothing\")")]. Take z∈[x]∩[y]. Then z∼x and z∼y. By symmetry対称性たいしょうせい, x∼z, and by transitivity推移性すいいせい, x∼y. If u∈[x], then u∼x∼y, so u∈[y]. Hence [x]⊆[y]. Similarly [y]⊆[x], so [x]=[y].

8.3解説かいせつ

同値関係どうちかんけいequivalence relationの三みっつの条件じょうけんは、分割ぶんかつpartitionの性質せいしつを保証ほしょうしている。反射性はんしゃせいreflexivityは各かく元げんelementを自分じぶんの類るいに入いれ、対称性たいしょうせいsymmetryと推移性すいいせいtransitivityは交まじわった類るいが一致いっちすることを強制きょうせいする。

8.3Explanation

The three conditions of an equivalence relation guarantee the partition properties. Reflexivity puts each element into its own class, while symmetry and transitivity force intersecting classes to coincide.

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