Parial Order and Hasse Diagram
Consider the recent renovation of Hall. In this process several things had to be done.
- Remove Asbestos
- Replace Windows
- Paint Walls
- Refinish Floors
- Assign Offices
- Move in Office-Furniture.
Clearly, some things had to be done before others could even begin Asbestos had to be removed before anything; painting had to be done before the floors to avoid ruining them, etc. On the other hand, several things could have been done concurrently painting could be done while replacing the windows and assigning office could have been done at anytime. Such a scenario can be nicely modeled using partial orderings.
Partial Order Definition
A relation on a set is called a partial order if it is reflexive, antisymmetric and transitive. A set together with a partial ordering is called a partially ordered set or poset for short and is denoted by
Partial orderings are used to give an order to sets that may not have a natural one. In our renovation example, we could define an ordering such that if a must be done before can be done. We use the notation
to indicate that is a partial order and when .
Comparability Definition
The elements a and b of a poset are called comparable if either a b or b a. When such that neither are comparable, we say that they are incomparable. Looking back at our renovation example, we can see that
Remove Asbestos for all activities . Also, Paint Walls Refinish Floors.
Some items are also incomparable replacing windows can be done before, after or during the assignment of offices.
Total Orders Definition
If is a poset and every two elements of S are comparable, S is called a totally ordered set. The relation is said to be a total order.
Example
The set of integers over the relation “less than equal to” is a total order; since for every , it must be the case that or .
What happens if we replace with
Hasse Diagram
As with relations and functions, there is a convenient graphical representation for partial orders Hasse Diagrams. Consider the digraph representation of a partial order since we know we are dealing with a partial order, we implicitly know that the relation must be reflexive and transitive. Thus we can simplify the graph as follows:
- Remove all self-loops.
- Remove all transitive edges.
- Make the graph direction-less that is, we can assume that the orientations are upwards.
The resulting diagram is far simpler.
Of course, you need not always start with the complete relation in the partial order and then trim everything. Rather, you can build a Hasse directly from the partial order
Draw a Hasse diagram for the partial ordering {(a, b) | a | b} on {1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60} (these are the divisors of 60)
Extremal Elements
We will define the following terms:
- A maximal/minimal element in a poset .
- The maximum (greatest)/minimum (least) element of a poset .
- An upper/lower bound element of a subset of a poset .
- The greatest upper/least lower bound element of a subset of a poset . Lattice
Maximal Element Definition
An element a in a poset is called maximal if it is not less than any other element in . That is, If there is one unique maximal element a, we call it the maximum element (or the greatest element)
Minimal Element Definition
An element a in a poset is called minimal if it is not greater than any other element in . That is, If there is one unique minimal element a, we call it the minimum element (or the least element).
Example
Given the set A={2,3,4,5,8,10,12,24,30} and the divisibility relation on it.
Find the maximal elements.
- We first draw the Hasse diagram for the poset.
The maximal elements are 24,30