7 Equivalence Relations and Partitions
7.1 Introducing Relations
7.1.1 A More General “Function”
Example 7.1.1.
For each function given below, either confirm that the rule satisfies the definition of a function, or give an example of where the rule fails the definition of a function. You may want to fill in the function diagrams to help with your explanation.
-
(a)
,
-
(b)
,
We review a definition we gave back a few sections ago:
Definition 7.1.2.
Let and be sets. A relation from to is a subset of .
We did not discuss this very much when initially defining it; it was mere scaffolding, not an object of study in itself. This is for good reason: relations are harder to visualize from their definition.
The best visualization that can be offered comes in the form of an example: a relation from to is a generalization of a function in that it does not have to pass the vertical line test. The function is a perfect example:
However, relations are meant to be much, much more general than this. Part (b) of our first example in this section gives another example of what a relation can be: any one input can yield infinitely many outputs.
Here is a third example: let
Then while . We will sometimes use the notation “” and “” to describe these statements. This relation has a better name: “”, which is the one typically used. So we would write and .
7.1.2 Proving with Relations
Example 7.1.3.
Let . Define the relation (LaTeX sim) on by, for all and all ,
Give a few pairs of points in that are related. Do you notice any patterns? Make a conjecture of what our relation signifies.
Now that we have shown how general a relation is, let us show the function as a special type of relation.
Definition 7.1.4.
Let be a relation from a set to a set ; i.e., . The domain of is the set
A relation from a set to a set is a function if for all there exists a unique such that . I.e.,
This definition is vague enough to never see much use. We only include it as a formality. However, you might notice several connections between this definition and the definition of a function given in Section 5.1.