LectureNote MA221 06aug
LectureNote MA221 06aug
• Example:
Consider the poset (ℤ+, |) where a | b means a divides b
1. Are the integers 3 and 9 comparable?
2. Are 5 and 7 comparable?
Directed Graph Representation of a Finite Poset
• A finite poset (X, ) is represented by a picture (directed graph).
• The process is described below.
1. Put a dot (called a node) for each element of X and label it with that
element.
2. If a b, draw a directed line (an arrow) from the node labeled a to the node
labeled b.
3. Put a loop at the node labeled a for each a X.
Directed Graph Representation of a Finite Poset
• A directed graph representation of the poset (A, ) with A = {1, 2, 3, 9, 18} and as
the `divides’ relation (a b if a|b) is given below.
18
2
3
1
The Hasse diagram of a Finite poset
• Picture drawn in the following way for a finite poset (X, )
1. Each element of X is represented by a point and is labeled with the element
2. If a b then the point labeled a must appear at a lower height than the
point labeled b and further the two points are joined by a line.
3. If a b and b c then the line between a and c is removed.
• You can examine that for each finite poset a Hasse diagram exists
Hasse Diagrams
• Since partial orderings is a binary relation, it can
be represented by a directed graph.
• However, many edges can be omitted, because
such an ordering must be reflexive and transitive. 18
1
Hasse diagram for the poset (A, ) with A = {1, 2, 3, 9, 18} and as the
`divides’ relation (a b if a|b) is given below.
18 18
9 9
2 2
3 3
1 1
Hasse diagram
Hasse Diagrams
• To summarize, the following are the steps to obtain a Hasse diagram:
• a, b, e are minimal
a
Hasse diagram
Cover
• An item x in a poset (X, ) is said cover j k
another item y if y x and for no other
item z, y z x.
• f covers b, f covers c but f does not cover a h i
f g
b c d e
Hasse diagram
Maximal and Minimal Items
• Which items are maximal ? Which are minimal ?
Hasse diagram
Maximal and Minimal Items
• We have the following observation :
Every finite nonempty poset (S, ) has as at least one minimal item
• Proof : We give a method to find a minimal item.
• Pick any item x.
• Either x is minimal, then we are done.
• Else, we get some y (x y) such that y x, and repeat the process.
• Each time, we must either get a minimal item, or test a new item in S.
• Since S is finite, this process must end.
Total Orderings
• Let (S, ) be a poset.
• If any two elements in the poset (S, ) are comparable, then is called a
linear order and (S, ) is called a linearly ordered set.
• Often a linear order is also referred to as a total order or a complete order
and denoted as “<“
• Which of the following is a totally ordered set ?
1. (ℝ, )
2. (2Q , ), Q = a set of people
3. (ℤ+, |)
Chain and Anti-chain
• A subset, C of X, is called a chain if and only if induces a linear order
on C. If C is a finite set, then the length of C is equal to the number of
elements of C. If C is not a finite set, then the length of C is said to be
infinite.
• A subset, A of X, is called an antichain if and only if no two elements
of A are comparable. The length of an antichain is defined in precisely
the same manner as that of the chain.
• The maximum of the lengths of the chains of X is called the height of
X and the maximum of the lengths of the antichains of X is called the
width of X.