markdown
Relations and equivalence relations - basic exercisesmd f1787da
exercise/math/discrete-math/relations-and-equivalence-relations.exercise.n.md

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

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

1Exercise method

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


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.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.2Explanation

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

2.3Common mistake

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


3Problem 2

Find the transitive closure推移閉包すいいへいほう of R={(1,2),(2,3)} on A={1,2,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.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.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.


4Problem 3

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

4.1Answer

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

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

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

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.3Common mistake

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


5Problem 4

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

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.2Explanation

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

5.3Common mistake

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


6Problem 5

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

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.2Explanation

The canonical projection自然な射影 sends equivalent同値どうち elements to the same 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.

8Proof exercise: constructing a partition from an equivalence relation

8.1Problem

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

8.2Answer

By reflexivity反射性はんしゃせい, xx, 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 zx and zy. By symmetry対称性たいしょうせい, xz, and by transitivity推移性すいいせい, xy. If u[x], then uxy, so u[y]. Hence [x][y]. Similarly [y][x], so [x]=[y].

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