markdown
関係の基本md 90cdd65
lecture/math/discrete-math/relation-basics.lecture.n.md
Download PDF

関係かんけいrelationの基本きほん

date2026-07-14document_iddoc_7662c798e226dbe0530ccd74876c6b05description関係を直積集合の部分集合として定義し、二項関係、反射性・対称性・反対称性・推移性を、具体例と表で整理する講義である。prerequisites集合の基本 / 直積集合の基本type講義content_typelecturestatusactiverelateddata/lecture/math/discrete-math/discrete-mathematics-portal.lecture.n.md / data/lecture/math/discrete-math/cartesian-product-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/partial-and-total-orders.lecture.n.md / data/lecture/math/discrete-math/map-basics.lecture.n.md / data/exercise/math/discrete-math/relations-and-equivalence-relations.exercise.n.md
mathdiscrete-mathrelationlecture

Basics of relations関係かんけい

1導入どうにゅう

関係かんけいrelationを学まなぶときの中心ちゅうしんの問といは、「対象たいしょうobjectどうしの結むすびつきを、どの順序対じゅんじょついordered pairを採用さいようするかで記録きろくできるか」である。関係かんけいrelationは曖昧あいまいな言葉ことばではなく、直積集合ちょくせきしゅうごうCartesian productの部分集合ぶぶんしゅうごうsubsetである。

この定義ていぎにより、「a は b と等ひとしい」「a は b 以下いかである」「a は b を割わり切きる」「固定こていした正せいの整数せいすう m で割わった a と b の余あまりが同おなじ」のような異ことなる見みた目めの主張しゅちょうを、同おなじ形式けいしきformで扱あつかえる。

この形式化けいしきかにより、言葉ことばの違ちがいではなく、どの順序対じゅんじょついordered pairが入はいっているかで性質せいしつを判定はんていできる。したがって、後あとで反射性はんしゃせい・対称性たいしょうせい・反対称性はんたいしょうせい・推移性すいいせいを調しらべるときも、同おなじ集合しゅうごうとしての見方みかたを使つかう。

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 and b have the same remainder when divided by a fixed positive integer m,” be treated in the same form形式けいしき.

Once these statements are formalized, their properties can be determined by which ordered pairs順序対じゅんじょつい are included rather than by differences in wording. The same set-theoretic viewpoint will be used below to test reflexivity, symmetry, antisymmetry, and transitivity.

2用語ようごと定義ていぎ

集合しゅうごうset A,B に対たいして、A から B への関係かんけいrelationとは、A×B の部分集合ぶぶんしゅうごうsubsetである。

R⊆A×B

と書かく。(a,b)∈R のとき、a は b と関係かんけいrelation R で結むすばれるといい、しばしば

aRb

と書かく。

A=B の場合ばあい、R⊆A×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×B.

R⊆A×B.

When (a,b)∈R, we say that a is related to b by R, and often write

aRb.

When A=B, a relation R⊆A×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/cartesian-product-basics.lecture.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.

To prove a universal condition全称条件ぜんしょうじょうけん, begin with arbitrary elements. To show that a property fails, exhibit one ordered pair順序対じゅんじょつい or tuple that violates its condition.

data/lecture/math/discrete-math/cartesian-product-basics.lecture.n.md

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

関係かんけいrelationは、表ひょうのマスに印しるしを付つけることとして見みるとよい。A×B の各かく順序対じゅんじょついordered pair (a,b) は、行ぎょう a と列れつcolumn b の交点こうてんに対応たいおうする。関係かんけいrelation R は、その表ひょうの内うち「成立せいりつする」と判断はんだんしたマスの集合しゅうごうである。

関係かんけいrelationを変かえるとは、採用さいようする順序対じゅんじょついordered pairを変かえることである。母体ぼたいとなる A×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×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×B is fixed, the type is preserved: first components come from A and second components come from B.

The table viewpoint also prepares for later operations: an inverse relation逆関係ぎゃくかんけい swaps rows and columns, while composition合成ごうせい of relations follows a connection through an intermediate element元げん.

5重要じゅうような性質せいしつproperty

A 上うえの二項関係にこうかんけいbinary relation R に対たいして、次つぎの性質せいしつpropertyを考かんがえる。表ひょうの a,b,c はすべて A の任意にんいの元げんelementとする。

性質せいしつ定義ていぎ直感ちょっかん
反射性はんしゃせいreflexivityすべての a∈A について aRa自分じぶんと自分じぶんが結むすばれる
対称性たいしょうせいsymmetryaRb なら bRa向むきを逆ぎゃくにしても成立せいりつする
反対称性はんたいしょうせいantisymmetryaRb かつ bRa なら a=b相互そうごに結むすばれる別物べつものを許ゆるさない
推移性すいいせいtransitivityaRb かつ bRc なら aRc中継ちゅうけいして結むすべる

対称性たいしょうせいsymmetryと反対称性はんたいしょうせいantisymmetryは名前なまえが似にているが、意味いみは反対はんたいではない。

対称性たいしょうせいsymmetryと反対称性はんたいしょうせいantisymmetryは同時どうじに成立せいりつすることも、両方りょうほうとも失敗しっぱいすることもある。等号とうごうの関係かんけいは両方りょうほうを満みたす典型例てんけいれいであり、名前なまえだけで反対はんたいの性質せいしつだと判断はんだんしない。

5Important properties性質せいしつ

For a binary relation二項関係にこうかんけい R on A, consider the following properties性質せいしつ. In the table, a,b,c denote arbitrary elements元げん of A.

PropertyDefinitionIntuition
Reflexivity反射性はんしゃせいaRa for every a∈Aeach element is related to itself
Symmetry対称性たいしょうせいaRb implies bRathe relation holds in the reverse direction
Antisymmetry反対称性はんたいしょうせいaRb and bRa imply a=btwo different elements cannot be mutually related
Transitivity推移性すいいせいaRb and bRc imply aRcrelations can be chained

Symmetry対称性たいしょうせい and antisymmetry反対称性はんたいしょうせい have similar names, but their meanings are not opposites.

They may hold simultaneously, and they may also both fail. Equality is a standard example satisfying both, so their names alone should not be used to treat them as opposite properties.

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∈A に対たいして a=a·1 なので、a は a を割わり切きる。したがって aRa である。

反対称性はんたいしょうせいantisymmetryについて、aRb かつ bRa とする。すると b=ak、a=bℓ を満みたす正せいの整数せいすうinteger k,ℓ が存在そんざいする。したがって a=akℓ である。a∈A なので a≠0 であり、両辺りょうへんを a で割わって 1=kℓ を得える。k,ℓ は正せいの整数せいすうintegerなので k=ℓ=1 であり、a=b である。

推移性すいいせいtransitivityについて、aRb かつ bRc とする。すると b=ak、c=bℓ と書かける。したがって c=a(kℓ) であり、aRc である。

6.2Explanation

For reflexivity反射性はんしゃせい, every a∈A satisfies a=a·1, so a divides itself. Hence aRa.

For antisymmetry反対称性はんたいしょうせい, suppose aRb and bRa. Then there are positive integers整数せいすう k,ℓ such that b=ak and a=bℓ. Hence a=akℓ. Since a∈A, a≠0, so dividing by a gives 1=kℓ. Because k,ℓ are positive integers, k=ℓ=1, and therefore a=b.

For transitivity推移性すいいせい, suppose aRb and bRc. Then b=ak and c=bℓ. Thus c=a(kℓ), so aRc.

7見分みわけ方かたと関連かんれんリンク

  • 「a と b が結むすばれるか」を判定はんていするなら、関係かんけいrelationである。
  • 同おなじ集合しゅうごうsetの中なかで対象たいしょうどうしを比較ひかくするなら、二項関係にこうかんけいbinary relationである。
  • 「同類どうるいに分わける」なら同値関係どうちかんけいequivalence relationを疑うたがう。
  • 「大小だいしょうや前後ぜんごとして比較ひかくする」なら順序関係じゅんじょかんけいorder relationを疑うたがう。
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/partial-and-total-orders.lecture.n.md data/lecture/math/discrete-math/map-basics.lecture.n.md

7How to identify it and related links

  • If the question is whether a and b are connected, think of a relation関係かんけい.
  • If objects in the same set集合しゅうごう are compared, think of a binary relation二項関係にこうかんけい.
  • If objects are grouped into classes, suspect an equivalence relation同値関係どうちかんけい.
  • If objects are compared by size or order, suspect an order relation順序関係じゅんじょかんけい.
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/partial-and-total-orders.lecture.n.md data/lecture/math/discrete-math/map-basics.lecture.n.md
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
タブを全て閉じる