Definition.
Any subset of is called a relation.
There are many important types of relations such as orders, equivalence relations and functions. For the first two, I am only interested in , in which case I call it a relation on ; for the latter, I often want different sets. Depending on the context, I may abbreviate by .
Exercise.
Say is the set of students of MAT246. Determine which of the following are relations on .
- Friendship. That is, if is a friend of .
- Blood. That is, if is a blood relative of .
- The empty set.
- Every possible ordered pair of students.
- The collection of subsets of .
- The collection defined by the formula: if and only if the first names of and start with the same letter of the alphabet.
Equivalence relations
It will be more convenient to denote these types of relations by the symbol instead of .
Definition.
A relation on a set is called an equivalence relation on if the following three things hold for any .
- (Reflexivity, like the reflection of a mirror);
- implies (Symmetry, as in, you can flip the order); and
- and implies that (Transitivity, like there are shortcuts in the transit).
Exercise.
In the examples above, decide which satisfy each of the three conditions in the definition. Which are equivalence relations? Prove all your claims.
Exercise.
Compare the above properties with the basic properties of the relation.
Exercise.
For each subset of the above properties (e.g., non-reflexive, symmetric and non-transitive), find an example of a relation that satisfies exactly those properties.
Definition.
Let be an equivalence relation on a set and .
- An equivalence class is a set of the form ;
- I say is a representative of the class .
- The quotient is the set of all equivalence classes.
For an example, I define an equivalence relation on the set of all students taking this course by having two students be related if their first name starts with the same letter. In this case, each equivalence class corresponds to a letter of the alphabet, and the quotient is essentially the set of all letters needed to cover all the students. Thus if say no student’s name starts with the letter Ñ
, this letter is omitted from the quotient.
Proposition.
- Equivalence classes are pairwise disjoint, that is, the intersection of two different classes is the empty set.
- if and only if .
Hard problem.
Given any relation on a set , you should find it easy to extend it (that is, to find a relation ) to a relation that is reflexive. You should also find it straightforward to extend it to a reflexive relation. Can you extend it to a transitive one? How?
Hint:
This problem has a “trivial” solution if you consider the equivalence relation iff . The idea is to find a solution that is minimal. That is, one that contains the given relation , but no other relation satisfying the properties.