Partial Orderings
A partial order is a binary relation on a set that allows you to compare elements in a specific way. Unlike a total order, where any two elements must be comparable, a partial order only requires that some elements can be compared, while others may not be. Partial orderings are used in various branches of mathematics and computer science, such as in ordering tasks in scheduling or arranging sets of objects in terms of some hierarchical structure.
1. Definition of a Partial Order
A partial order on a set A is a relation ≤ on A that satisfies the following three properties:
-
Reflexivity: Every element is related to itself.
∀a∈A,a≤a.
This means that for every element a∈A, a is always less than or equal to itself.
-
Antisymmetry: If a≤b and b≤a, then a=b.
∀a,b∈A,ifa≤b and b≤a, then a=b.
This means that if a is less than or equal to b and b is less than or equal to a, then a and b must be the same element.
-
Transitivity: If a≤b and b≤c, then a≤c.
∀a,b,c∈A,ifa≤b and b≤c, then a≤c.
This means that if a is less than or equal to b, and b is less than or equal to c, then a is less than or equal to c.
A partial order allows some elements of the set to be compared, but not all of them may be comparable. If two elements cannot be compared, they are said to be incomparable.
Example of Partial Order:
Consider the set A={1,2,3,4} and the relation ≤ on this set. This relation is reflexive, antisymmetric, and transitive, so it is a partial order. The set A with the usual less than or equal relation is an example of a partial order.
2. Hasse Diagrams
A Hasse diagram is a graphical representation of a partially ordered set (poset). In a Hasse diagram, elements are represented by vertices, and edges indicate the ordering between them. The diagram is drawn in such a way that:
- If a≤b and there is no element c such that a≤c≤b, then there is an edge from a to b.
- The diagram is drawn so that lower elements are placed below higher elements.
Example:
Let’s consider the set A={1,2,3,4} and the relation ≤, where the set is ordered as follows:
1≤2,1≤3,1≤4,2≤4,3≤4.
The Hasse diagram for this partial order would look like this:
4
/ | \
2 3 1
In this diagram:
- 1 is less than 2, 3, and 4.
- 2 and 3 are less than 4, but not comparable with each other.
- 4 is the greatest element in the set.
3. Types of Partial Orders
There are several types of partial orders based on the level of comparability between elements. Two important types are total orders and strict partial orders.
Total Order (Linear Order)
A total order is a special type of partial order where every pair of elements is comparable. That is, for any two elements a and b in a set A, either a≤b or b≤a.
For example, the usual "less than or equal to" (≤) relation on the integers Z is a total order because for any two integers, one will always be less than or equal to the other.
Strict Partial Order
A strict partial order is a binary relation < that satisfies:
- Irreflexivity: a<a for all a∈A.
- Transitivity: If a<b and b<c, then a<c.
For example, the usual "less than" (<) relation on integers Z is a strict partial order.
4. Example of Partial Order
Let’s consider a set of divisors of 12: A={1,2,3,4,6,12}, and define the relation ≤ by a≤b if a divides b.
We can verify that this relation is a partial order because:
- Reflexivity: Every number divides itself.
- Antisymmetry: If a divides b and b divides a, then a=b.
- Transitivity: If a divides b and b divides c, then a divides c.
The Hasse diagram for this partial order looks like this:
12
/ \
6 3
/ \ /
2 4 1
Here:
- 1 divides everything.
- 2 divides 4 and 6.
- 3 divides 6 and 12.
- 4 divides 12.
- 6 divides 12.
- 12 is the largest element, divisible by all others.
5. Important Concepts Related to Partial Orders
- Greatest Element: An element g∈A is the greatest element of the partially ordered set if g≥a for all a∈A.
- Least Element: An element l∈A is the least element of the partially ordered set if l≤a for all a∈A.
- Upper Bound: An element u∈A is an upper bound of a subset B⊆A if for all b∈B, b≤u.
- Lower Bound: An element l∈A is a lower bound of a subset B⊆A if for all b∈B, l≤b.
- Maximal Element: An element m∈A is maximal if there is no element a∈A such that m<a.
- Minimal Element: An element m∈A is minimal if there is no element a∈A such that a<m.
6. Summary
- A partial order is a relation that satisfies reflexivity, antisymmetry, and transitivity, allowing for partial comparisons between elements.
- A total order is a special type of partial order where every pair of elements is comparable.
- Hasse diagrams provide a visual representation of partial orders by displaying elements as vertices and the ordering relationship as edges.
- Partitions and lattices are examples of structures built upon partially ordered sets.
Partial orders are a fundamental concept in mathematics and computer science, with applications in organizing elements, scheduling tasks, data classification, and many other areas.