Altanis

1.3Relations

Updated 11 May 2026Chapter (PDF)

[1.3.1]Definition(Relation)#

A relation on a set AA is some subset CA×AC \subseteq A \times A. We say that x,yAx, 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:AAf: A \to A determines a relation

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

This relation is unique in that each aAa \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. xxx \sim x for every xAx \in A.

  • Symmetry. xy    yxx \sim y \iff y \sim x for every x,yAx, y \in A.

  • Transitivity. xyx \sim y and yz    xzy \sim z \implies x \sim z for every x,y,zAx, 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]={xA:ax}.[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

EEE=AEEE=.\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,xAx, x' \in A. EE and EE' are either disjoint or equal.

Proof.

Suppose EE0E \cap E' \ne 0, so there is some a(EE)a \in (E \cap E'). Then xax \sim a and axa \sim x', so xxx \sim x'. Thus EEE \subseteq E' (and by symmetry, since xxx \sim x' means xxx' \sim x), EEE' \subseteq E. Thus E=EE = 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 xyx \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,yAx, y\in A are such that xyx \ne y, then xCyxCy or yCxyCx.

  2. Nonreflexivity. For any xAx \in A, xCxxCx is false.

  3. Transitivity. For any x,y,zAx, 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 A0AA_0 \subseteq A, the set of upper bounds on A0A_0 has a least element. The greatest lower bound is defined conversely.