Relations
Based on 21-127 Concepts of Mathematics
H2 Defining Relation
A relation applies to a set and talks about how elements in that set are related.
Formally, let there be set and a relation on the set . Then is a declaration for each pair as to whether they are related or not. If is related to , we write , otherwise we write .
H3 Relation extensionality axiom
This is similar to the Pure Math - Functions Function extensionality axiom
via Function extensionality axiom, which basically treats two functions as black box and see if they do the...Functions
H3 Graph of relation
Let there be set and a relation on the set . The graph of is the set of pairs such that . That is,
Relations are always well defined :)
Another way to define relation equality, therefore, is to say that they have the same graph:
where and are relations on .
H3 Empty relation
We can have relation with . This is the same thing as saying nothing is related.
H2 Properties of relations
Let be a relation on . can have these properties
Reflexivity: is reflexive if . That is, every element is related to itself
Symmetry: is symmetric if . That is, relation always go in two directions.
Antisymmetry: is antisymmetric if . That is, things related in both direction are equal.
Transitivity: is transitive if . Think of it as we can somehow chain relations.
H3 Proving properties of relations
The usual strategy is just to show the relation satisfy a property.
H2 Equivalence Relation
An equivalence relation is a relation that is reflexive, symmetric, and transitive. (Note it could be antisymmetry too)
H3 Equivalence class
Given equivalence relation on and element , we can create a set of all elements that is related to by . We call this a equivalence class. This set is defined by .
Notice that this means the same equivalence class could be represented using different element of , which we call representatives. Take the set and the relation , then $[0]{\equiv{2}} = [2]{\equiv{2}} = { 0,2 }[1]{\equiv{2}} = [3]{\equiv{2}} = { 1,3 }$.
H3 Quotient
The quotient is defined as viz. the set of all equivalence classes.
Lemma: equivalence in the set equality of equivalence class in . Symbolically, $\forall a, b \in X, (a \sim b)\Leftrightarrow([a]{\sim} = [b]{\sim})$. (The proof should be straightforward)
Theorem: each equivalence relation on corresponds with a unique partition of , namely . Proof omitted.
H2 Partial Order Relation
An partial order relation is a relation that is reflexive, not symmetric, antisymmetric, and transitive. (They behave like or , and their symbol often look like or ).
H3 Bounds and mums
Let be a partial order relation on and .
An upper bound for under is an element in that is “greater” than all elements in . That is, s.t. .
An lower bound for under is an element in that is “lower” than all elements in . That is, s.t. .
The supremum for under is the “least” upper bound. That is, such that viz. it’s an upper bound and it’s “less” than all other possible upper bounds.
The infimum for under is the “greatest” lower bound. That is, such that viz. it’s a lower bound and it’s “greater” than all other possible lower bounds.
Useful: The supremum of under where are sets is equal to . The infimum is .
H3 Existence of bounds and mums
Completeness axiom: for all subset of , has an upper bound implies it has a supremum. Simile for infimum. Think about why.
Uniqueness theorem: if a infimum exists, it’s unique; if a supremum exists it’s unique. This comes straight out of definition of the mums and antisymmetry of the partial order relation.