ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Discrete Structures
    GE-167
    Progress0 / 67 topics
    Topics
    1. Mathematical Reasoning: Propositional and Predicate Logic2. Propositional Logic: Logical Operators3. Translations Between Symbolic Expressions and Formal English Expression4. Logical Equivalences5. Predicate Logic: Quantifiers6. Nested Quantification7. Equivalences in Predicate Logic8. Translations Between Symbolic Forms and Formal English9. Rules of Inference: Proof Methods and Strategies10. Direct Proof11. Proof by Contraposition12. Proof by Induction13. Proof by Implication14. Existence Proof15. Uniqueness Proofs16. Trivial Proofs17. Vacuous Proofs18. Sets: Notations and Set Operations19. Venn Diagrams20. Countable and Uncountable Sets21. Relations: Equivalence Relations and Partitions22. Partial Orderings23. Recurrence Relations24. Functions: Injective, Surjective, Bijective25. Special Types of Functions26. Function Composition27. Inverse Functions28. Recursive Functions29. Compositions30. Number Theory: Sequences and Series31. Counting: Inclusion and Exclusion Principle32. Pigeonhole Principle33. Permutations and Combinations34. Integers and Divisibility: Division Theorem35. Modular Arithmetic36. LCM and GCD37. Euclidean and Extended Euclidean Method38. Finding Solutions to Congruence39. Primes: Fundamental Theorem of Arithmetic40. Characterizations of Primes41. Mersenne Primes42. Induction: Weak Induction43. Strong Induction44. Recursion and Recurrences: Formulation of Recurrences45. Closed Formulas46. Counting: Product Rule and Sum Rule47. Principle of Inclusion-Exclusion48. Binomial Coefficients49. Pascal's Identity and Pascal’s Triangle50. Binomial Theorem51. Relations: Reflexive, Symmetric, Transitive, and Antisymmetric52. Equivalence Relations and Equivalence Classes53. Partial Orders54. Graph Theory: Terminologies55. Elements of Graph Theory56. Planar Graphs57. Graph Coloring58. Euler Graph59. Hamiltonian Path60. Rooted Trees61. Graph Traversals62. Handshaking Lemma and Corollary63. Special Families of Graphs64. Graph Isomorphism65. Planarity in Graphs66. Eulerian and Hamiltonian Graphs67. Trees in Graph Theory
    GE-167›Partial Orderings
    Discrete StructuresTopic 22 of 67

    Partial Orderings

    10 minread
    1,645words
    Intermediatelevel

    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 AAA is a relation ≤\leq≤ on AAA that satisfies the following three properties:

    1. Reflexivity: Every element is related to itself.

      ∀a∈A, a≤a.\forall a \in A, \, a \leq a.∀a∈A,a≤a.

      This means that for every element a∈Aa \in Aa∈A, aaa is always less than or equal to itself.

    2. Antisymmetry: If a≤ba \leq ba≤b and b≤ab \leq ab≤a, then a=ba = ba=b.

      ∀a,b∈A, if a≤b and b≤a, then a=b.\forall a, b \in A, \, \text{if} \, a \leq b \text{ and } b \leq a, \text{ then } a = b.∀a,b∈A,ifa≤b and b≤a, then a=b.

      This means that if aaa is less than or equal to bbb and bbb is less than or equal to aaa, then aaa and bbb must be the same element.

    3. Transitivity: If a≤ba \leq ba≤b and b≤cb \leq cb≤c, then a≤ca \leq ca≤c.

      ∀a,b,c∈A, if a≤b and b≤c, then a≤c.\forall a, b, c \in A, \, \text{if} \, a \leq b \text{ and } b \leq c, \text{ then } a \leq c.∀a,b,c∈A,ifa≤b and b≤c, then a≤c.

      This means that if aaa is less than or equal to bbb, and bbb is less than or equal to ccc, then aaa is less than or equal to ccc.

    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}A = \{1, 2, 3, 4\}A={1,2,3,4} and the relation ≤\leq≤ on this set. This relation is reflexive, antisymmetric, and transitive, so it is a partial order. The set AAA 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≤ba \leq ba≤b and there is no element ccc such that a≤c≤ba \leq c \leq ba≤c≤b, then there is an edge from aaa to bbb.
    • The diagram is drawn so that lower elements are placed below higher elements.

    Example:

    Let’s consider the set A={1,2,3,4}A = \{1, 2, 3, 4\}A={1,2,3,4} and the relation ≤\leq≤, where the set is ordered as follows:

    1≤2,1≤3,1≤4,2≤4,3≤4.1 \leq 2, 1 \leq 3, 1 \leq 4, 2 \leq 4, 3 \leq 4.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 aaa and bbb in a set AAA, either a≤ba \leq ba≤b or b≤ab \leq ab≤a.

    For example, the usual "less than or equal to" (≤\leq≤) relation on the integers Z\mathbb{Z}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:

    1. Irreflexivity: a≮aa \not< aa<a for all a∈Aa \in Aa∈A.
    2. Transitivity: If a<ba < ba<b and b<cb < cb<c, then a<ca < ca<c.

    For example, the usual "less than" (<<<) relation on integers Z\mathbb{Z}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}A = \{1, 2, 3, 4, 6, 12\}A={1,2,3,4,6,12}, and define the relation ≤\leq≤ by a≤ba \leq ba≤b if aaa divides bbb.

    We can verify that this relation is a partial order because:

    • Reflexivity: Every number divides itself.
    • Antisymmetry: If aaa divides bbb and bbb divides aaa, then a=ba = ba=b.
    • Transitivity: If aaa divides bbb and bbb divides ccc, then aaa divides ccc.

    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∈Ag \in Ag∈A is the greatest element of the partially ordered set if g≥ag \geq ag≥a for all a∈Aa \in Aa∈A.
    • Least Element: An element l∈Al \in Al∈A is the least element of the partially ordered set if l≤al \leq al≤a for all a∈Aa \in Aa∈A.
    • Upper Bound: An element u∈Au \in Au∈A is an upper bound of a subset B⊆AB \subseteq AB⊆A if for all b∈Bb \in Bb∈B, b≤ub \leq ub≤u.
    • Lower Bound: An element l∈Al \in Al∈A is a lower bound of a subset B⊆AB \subseteq AB⊆A if for all b∈Bb \in Bb∈B, l≤bl \leq bl≤b.
    • Maximal Element: An element m∈Am \in Am∈A is maximal if there is no element a∈Aa \in Aa∈A such that m<am < am<a.
    • Minimal Element: An element m∈Am \in Am∈A is minimal if there is no element a∈Aa \in Aa∈A such that a<ma < ma<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.

    Previous topic 21
    Relations: Equivalence Relations and Partitions
    Next topic 23
    Recurrence Relations

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time10 min
      Word count1,645
      Code examples0
      DifficultyIntermediate