Altanis

1.3Relations

Updated 11 May 2026Chapter (PDF)

[1.3.1]Definition(Relation)#

A relation on a set AA is some subset C⊆A×AC \subseteq A \times A. We say that x,y∈Ax, y \in A are related under CC, denoted xCyxCy, if (x,y)∈C(x, y) \in C.

[1.3.2]Example(Function as Relation)#

Note a function f:A→Af: A \to A determines a relation

Γf={(a,f(a)):a∈A}⊆A×A.\Gamma_f = \{(a, f(a)): a \in A\} \subseteq A \times A.

This relation is unique in that each a∈Aa \in A is related to precisely one element, namely f(a)f(a).

[1.3.3]Definition(Equivalence Relation)#

A relation ∼\sim on a set AA is said to be an equivalence relation if the following hold true.

  • Reflexivity. x∼xx \sim x for every x∈Ax \in A.

  • Symmetry. x∼y  ⟺  y∼xx \sim y \iff y \sim x for every x,y∈Ax, y \in A.

  • Transitivity. x∼yx \sim y and y∼z  ⟹  x∼zy \sim z \implies x \sim z for every x,y,z∈Ax, y, z \in A.

[1.3.4]Definition(Equivalence Class)#

For a set AA equipped with an equivalence relation ∼\sim, we may write the equivalence class of aa:

[a]∼={x∈A:a∼x}.[a]_\sim = \{x \in A: a \sim x\}.
[1.3.5]Definition(Partition)#

A partition of some set AA is a set E\mathcal{E} such that

⋃E∈EE=A⋂E∈EE=∅.\bigcup_{E \in \mathcal{E}} E = A \qquad \bigcap_{E \in \mathcal{E}} E = \emptyset.

That is, E\mathcal{E} is a set of disjoint subsets of AA that, when combined, form AA.

[1.3.6]Theorem(Equivalence Classes Form a Partition)#

Supose AA is a set equipped with an equivalence relation ∼\sim. Suppose E=[x]∼E = [x]_\sim and E′=[x′]∼E' = [x']_\sim for some x,x′∈Ax, x' \in A. EE and E′E' are either disjoint or equal.

Proof.

Suppose E∩E′≠0E \cap E' \ne 0, so there is some a∈(E∩E′)a \in (E \cap E'). Then x∼ax \sim a and a∼x′a \sim x', so x∼x′x \sim x'. Thus E⊆E′E \subseteq E' (and by symmetry, since x∼x′x \sim x' means x′∼xx' \sim x), E′⊆EE' \subseteq E. Thus E=E′E = E'.

[1.3.7]Remark(Equivalence Relations and Partitions)#

As aforementioned, all equivalence relations partition a set. Moreover, a partition is induced by an equivalence relation. Indeed, if E\mathcal{E} is a partition of AA, we may define ∼\sim such that x∼yx \sim y if and only if xx and yy belong to the same set inside E\mathcal{E}.

[1.3.8]Definition(Order Relation)#

A relation CC on a set AA is called an order relation (or a simple/linear order) if it has the following properties.

  1. Comparability. If x,y∈Ax, y\in A are such that x≠yx \ne y, then xCyxCy or yCxyCx.

  2. Nonreflexivity. For any x∈Ax \in A, xCxxCx is false.

  3. Transitivity. For any x,y,z∈Ax, y, z \in A, if xCyxCy and yCzyCz, then xCzxCz.

An order relation on a set is typically denoted by <<.

[1.3.9]Example(Dictionary Order Relation)#

Suppose A,BA, B are sets equipped with order relations <A,<B<_A, <_B. Define << on A×BA \times B such that, for any (a1,b1),(a2,b2)∈A×B(a_1, b_1), (a_2, b_2) \in A \times B, it is such that

(a1,b1)<(a2,b2)(a_1, b_1) < (a_2, b_2)

if a1<Aa2a_1 <_A a_2, or a1=a2a_1 = a_2 and b1<Bb2b_1 <_B b_2.

[1.3.10]Definition(Greatest Lower Bound Property, Least Upper Bound Property)#

An ordered set AA is said to have the least upper bound property if, for any bounded A0⊆AA_0 \subseteq A, the set of upper bounds on A0A_0 has a least element. The greatest lower bound is defined conversely.