markdown
Basics of relationsmd 90cdd65
lecture/math/discrete-math/relation-basics.lecture.n.md
Download PDF

Basics of relations関係かんけい

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

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.

2Terms and definitions

For sets集合しゅうごう A,B, a relation関係かんけい from A to B is a subset部分集合ぶぶんしゅうごう of A×B.

RA×B.

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

aRb.

When A=B, a relation RA×A is called a binary relation二項関係にこうかんけい on A. Equivalence relations同値関係どうちかんけい and order relations順序関係じゅんじょかんけい are special kinds of binary relations.

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

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げん.

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

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

For reflexivity反射性はんしゃせい, every aA 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 aA, a0, 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.

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