Lecture from: 16.10.2024 | Video: Videos ETHZ

Relations Repetition

In this lecture, we’ll focus on relations defined over the same set.

Let:

  • ip denote the relation: ” is parent of ”.
  • ic denote the relation: ” is child of “.

Identity Relation

The identity relation over a set is defined as:

Reflexive Relation

A relation over a set is reflexive if for every element in the set, .

Example: Reflexivity of and

  • (child of parent of): This relation is reflexive. Everyone is a child of their parent.

  • (parent of child of): This relation is not reflexive. Not everyone is a parent.

Note: The lecturer initially made a mistake switching these two examples, but the corrected explanation is presented above.

Relation Properties

See: [[08 Relations, Compositions and Properties#Properties and Rules#4. Reflexivity, Symmetry, Antisymmetry, Transitivity, Asymmetry]]

Equivalence Relation

An equivalence relation on a set satisfies reflexivity, symmetry, and transitivity.

Example 1: Identity Relation

The identity relation on any set is an equivalence relation because:

  • Reflexive: Every element is related to itself.
  • Symmetric: There is no pair where , so symmetry trivially holds.
  • Transitive: Since no pairs exist with , transitivity also holds.

Example 2: Equality on

The relation “is equal to” on real numbers is an equivalence relation because:

  • Reflexive: For every , .
  • Symmetric: If , then .
  • Transitive: If and , then .

Thus, it satisfies all conditions of an equivalence relation.

Equivalence Class

Given an equivalence relation on a set , the equivalence class of is:

Modular Congruency

Integers and are congruent modulo () if divides .

Example:

Partition of a Set

An equivalence relation divides a set into distinct, non-overlapping subsets, known as equivalence classes. Together, these equivalence classes form a partition of the set.

A partition of a set is a collection of non-empty subsets of such that:

  1. Non-overlapping: No two subsets have elements in common.
  2. Complete: Every element of belongs to one of these subsets.

Therefore, an equivalence relation on a set is essentially the same thing as a partition of , where each equivalence class forms one of the subsets in the partition.

Quotient Set

The quotient set, denoted (read as “A modulo theta” or “A mod theta”), arises when you have a set and an equivalence relation defined on it. Remember, an equivalence relation partitions the set into distinct, non-overlapping subsets called equivalence classes. The quotient set is simply the set of all these equivalence classes.

Formal Definition

Given a set and an equivalence relation on , the quotient set is defined as:

where represents the equivalence class of element under the relation . Recall that an equivalence class is the set of all elements in that are related to by :

Example: Modular Arithmetic

Let (the set of integers) and let be the congruence modulo 3 relation, denoted . This means that two integers and are related () if their difference is divisible by 3:

This equivalence relation divides the integers into three distinct equivalence classes:

  • (integers divisible by 3)
  • (integers leaving a remainder of 1 when divided by 3)
  • (integers leaving a remainder of 2 when divided by 3)

Notice that these three equivalence classes are disjoint (they have no elements in common) and they cover all the integers.

The quotient set is then the set of these equivalence classes:

So, the quotient set in this case has only three elements, even though the original set is infinite. Each element of the quotient set represents a whole class of integers. This is a powerful way to group together related elements and work with the groups (equivalence classes) rather than individual elements.

The quotient set takes a set and an equivalence relation, and it gives you a new set whose elements are the equivalence classes formed by that relation. It’s a way of “reducing” a set by grouping together equivalent elements.

Example: Definition of Rational Numbers

Let , and define the relation . We aim to prove that is an equivalence relation by verifying the three required properties: reflexivity, symmetry, and transitivity.

Reflexiv:

Rigorous:

  • (Definition of )
  • (Commutativity of multiplication)

Simple: To show that :

  • By the definition of , we have , which is trivially true because multiplication is commutative.

Symmetry:

Simple: To show that if , then :

  • Assume , meaning .
  • Rearranging this, we get , which is exactly the condition for .
  • Therefore, symmetry holds.

Transitivity:

Rigorous:

  • Given: (1): ; (2):
  • To prove: (1)(2) (S)
  • (3): (1) (Definition of )
  • (4): (2) (Same as above)
  • (5): (3),(4) (Multiplication is a common function)
  • (6): (5) (cancel )
  • Now we might think that we can simply cancel , but we don’t know if it’s 0 or not. So here we’d need to do case distinction.
    • (7): (if then trivially the latter is true)
    • (8): (6) (cancel )
    • (9): (7) and (3) (since )
    • (10): (7) and (4) (since )
    • (11): (7) and (10) (since both )
  • (12): (8) or (11)

Simple: To show that if and , then :

  • Assume and . This means:

  • We want to prove that , i.e., . To do this:

    • Multiply the two conditions:
    • This simplifies to:
    • Now, cancel (if ), and we are left with , which is the desired condition for .
  • If , then from , we get , and from , we get . Hence, trivially holds since both sides are .

Thus, transitivity holds.

Conclusion

Since reflexivity, symmetry, and transitivity are all satisfied, the relation is an equivalence relation. Notice how this relation resembles the structure of rational numbers. We can use this relation as a foundation for defining rational numbers.

Thus, the set of rational numbers can be represented as the set of equivalence classes of pairs of integers (where the second element is non-zero):

This means each rational number corresponds to an equivalence class where and are integers, and , under the relation .

Partially Ordered Sets (Posets)

A poset is a set with a partial order relation that is reflexive, antisymmetric, and transitive.

A partially ordered set (or poset) is a set equipped with a partial order relation that is reflexive, antisymmetric, and transitive. A partial order describes how elements within the set are ordered in a way that might not allow comparison between all elements, meaning that some elements could be incomparable.

Properties of a Partial Order

For a relation to be considered a partial order, it must satisfy the following three properties:

  1. Reflexive: For every element in the set, . This means every element is related to itself.

  2. Antisymmetric: For all elements and , if and , then . In other words, if two elements mutually “cover” each other, they must be identical.

  3. Transitive: For all elements , , and , if and , then . The relation can “pass through” intermediate elements.

Example: Covering Relationship of Convex Polygons

Let’s consider a partial order based on the covering relationship between convex polygons (where lines between any two points within the polygon are straight). A polygon is said to cover polygon if can fit entirely inside without any overlap beyond ‘s boundary.

Now, let’s check the three properties of a partial order:

  • Reflexive: Any polygon covers itself, so the relation is reflexive.
  • Antisymmetric: If polygon covers polygon and polygon covers polygon , then and must be the same polygon. This makes the relation antisymmetric.
  • Transitive: If polygon covers polygon , and polygon covers polygon , then polygon will also cover polygon . This satisfies transitivity.

Symbol for Partial Order

We commonly use the symbol "" (a “curvy” ) to denote a partial order relation. If we write: It means that polygon is related to polygon in the sense of our defined “covering” relationship, i.e., polygon either covers or is equal to .

Other Symbols for Partial Order Relations

In addition to the symbol for partial orders, there are other symbols used to describe specific types of relationships within a partially ordered set:

  • Strict Precedes: The symbol is used to indicate that strictly precedes in the partial order. This means that but (i.e., is not equal to ).
    • Formally, we write:
  • Incomparable: If two elements and cannot be compared (i.e., neither nor ), they are said to be incomparable. This is common in partial orders where not all elements have a defined order relative to each other.

Exam Question: Transitivity of

Is transitive? Answer: Yes, but we need to prove it.

Proof:

  • Given:

    • (1):
    • (2):
    • We need to prove that and imply .
  • Definitions:

    • By definition of , we have:

Steps to Prove:

  1. Proving :

    • From (1), we have .
    • From (2), we have .
    • By the transitivity of , if and , then:
    • Therefore:
  2. Proving :

    • From (1), we know .
    • From (2), we know .

    Now, assume, for the sake of contradiction, that:

    • What does this assumption imply?: If , then from the definition of , we have: This implies:

    • Using the antisymmetric property: The antisymmetric property of states that if and , then: However, this contradicts our earlier conclusion that from (1).

    • Contradiction: Thus, assuming leads to a contradiction.

    • Conclusion: Therefore, we must reject the assumption that , which implies:

Final Step:

  • From the substeps, we have shown that:
    • (from step 1)
    • (from step 2)
  • Thus, we conclude:

Continue here: 10 Posets, Hasse Diagrams, Lexicographical Ordering, Special Elements, Functions, Countability, Infinities