JustToThePoint
English Website Version JustToThePoint en español
Skip to main content

Partially Ordered Sets and Hasse Diagrams

“Mr. Smith, could you explain to us what recursion is all about?” The professor in Introduction to Programming asked an apathetic student. “I don’t know the question, but sex, money, or both is definitely the answer, and God, justice, our values, and love are just the excuses,” I replied. “You shall not pass,” the teacher was far from amused, Apocalypse, Anawim, #justtothepoint.

Partially Ordered Sets (Posets)

In mathematics, we are used to comparing numbers: given any two real numbers, one is always less than, greater than, or equal to the other. However, many mathematical structures—such as sets under inclusion, tasks with dependencies, or subgroups of a group—have a natural notion of “preceding” or “being contained in” where not every pair of elements can be compared. This generalization of order is captured by the concept of a partially ordered set.

Definition. Let $X$ be a set. A partial order on $X$ is a binary relation $\preceq$ on $X$ (formally, a subset $\preceq \subseteq X \times X$) that satisfies the following three axioms for all $x, y, z \in X$:

  1. Reflexivity: $x \preceq x$.
  2. Antisymmetry: If $x \preceq y$ and $y \preceq x$, then $x = y$.
  3. Transitivity: If $x \preceq y$ and $y \preceq z$, then $x \preceq z$.

A partially ordered set, or poset for short, is an ordered pair $(X, \preceq)$ consisting of a set $X$ equipped with a partial order $\preceq$.

Given two elements $x, y \in X$:

If every pair of elements in $X$ is comparable, then $\preceq$ is called a total order (or linear order), and $(X, \preceq)$ is a totally ordered set (or chain). Every total order is a partial order, but the converse is false.

We also define the associated strict partial order $\prec$ by: $x \prec y \iff (x \preceq y \text{ and } x \neq y)$.

Notice that $\prec$ is irreflexive ($x \not\prec x$), asymmetric (if $x \prec y$, then $y \not\prec x$), and transitive.

Class background  

Core Examples and Non-Examples

The usual order $\le$ on $\mathbb{R}$ (as well as $\mathbb{Q}$, $\mathbb{Z}$, and $\mathbb{N}$), defined by $a \le b \iff b - a \ge 0$ ($b - a$ is non-negative), is a partial order. In fact, it is a total order, because for any $a, b \in \mathbb{R}$, either $a \le b$ or $b \le a$.

Let $X$ be any set, and let $\mathcal{P}(X)$ denote its power set—the set of all subsets of $X$, including $\emptyset$ and $X$ itself. Then $(\mathcal{P}(X), \subseteq)$ is a poset.

Proof: Let $A, B, C \in \mathcal{P}(X)$.

  1. Reflexivity: For any $x \in A$, we trivially have $x \in A$, so $A \subseteq A$.
  2. Antisymmetry: If $A \subseteq B$ and $B \subseteq A$, then $A$ and $B$ contain the exact same elements, so $A = B$ by the axiom of extensionality.
  3. Transitivity: Suppose $A \subseteq B$ and $B \subseteq C$. For any $x \in A$, $A \subseteq B$ implies $x \in B$, and $B \subseteq C$ implies $x \in C$. Thus $A \subseteq C$.

The Axiom of Extensionality is one of the fundamental axioms of set theory and states that two sets are equal if and only if they have exactly the same elements. Symbolically, $A = B \quad\Longleftrightarrow\quad (\forall x)\,(x \in A \iff x \in B).$

If $\vert{}X\vert{} \ge 2$, this order is strictly partial, not total. For instance, if $X = \{a, b, c, d\}$, the subsets $A = \{a, b\}$ and $B = \{c, d\}$ satisfy $A \not\subseteq B$ and $B \not\subseteq A$, so they are indeed incomparable. The word partial is used to indicate that not every pair of elements needs to be comparable.

Let $\mathbb{Z}^+ = \{1, 2, 3, \dots\}$ be the set of positive integers equipped with the divisibility relation $\mid$, defined by: $m \mid n \iff \exists k \in \mathbb{Z}^+ \text{ such that } n = km$.

Then, $(\mathbb{Z}^+, \mid)$ is a poset.

Proof: Let $a, b, c \in \mathbb{Z}^+$.

  1. Reflexivity: $a = 1 \cdot a$, so $a \mid a$.
  2. Antisymmetry: Suppose $a \mid b$ and $b \mid a$. Then $b = k_1 a$ and $a = k_2 b$ for some $k_1, k_2 \in \mathbb{Z}^+$. Substituting gives $a = (k_1 k_2)a$. Since $a \in \mathbb{Z}^+, a \gt 0$, we can divide by $a$ to get $k_1 k_2 = 1$. Because $k_1, k_2 \in \mathbb{Z}^+$, we must have $k_1 = k_2 = 1$ (the only positive integers whose product is $1$ are $k_1 = k_2 = 1$), hence $a = b$.
  3. Transitivity: If $a \mid b$ and $b \mid c$, then $b = k_1 a$ and $c = k_2 b$, so $c = (k_2 k_1)a$, which means $a \mid c$.

For example, $1 \mid 2$, $1 \mid 3$, and $2 \mid 4$, whereas $2 \nmid 3$ and $3 \nmid 2$, so $2$ and $3$ are incomparable.

Edge Case ($\mathbb{N}_0$ vs. $\mathbb{Z}$): If we include $0$ in $\mathbb{N}_0 = \{0, 1, 2, \dots\}$, divisibility remains a partial order, with $0$ acting as the greatest element (since $n \mid 0$ for every $n$). However, on all integers $\mathbb{Z}$, divisibility is not a partial order: $2 \mid -2$ and $-2 \mid 2$, yet $2 \neq -2$, violating antisymmetry.

Let $G$ be a group, and let $\mathrm{Sub}(G)$ be the set of all subgroups of $G$. Define $H \le K$ to mean that $H$ is a subgroup of $K$ (equivalently, $H \subseteq K$). Because subgroup inclusion inherits reflexivity, antisymmetry, and transitivity directly from set inclusion, $(\mathrm{Sub}(G), \le)$ is a poset.

Let $S$ be any set, let $(T, \le_T)$ be a poset, and let $\mathbb{F} = T^S$ be the set of all functions $f: S \to T$. Define the pointwise order $\le$ on $\mathbb{F}$ by: $f \le g \iff f(x) \le_T g(x) \quad \forall x \in S$.

Then, $(\mathbb{F}, \le)$ is a poset. Reflexivity, antisymmetry, and transitivity hold because they hold pointwise in $(T, \le_T)$ for every $x \in S.$

Let $(A, \preceq_A)$ and $(B, \preceq_B)$ be posets. The lexicographical order $\preceq_{\text{lex}}$ on the Cartesian product $A \times B$ is defined by: $(a, b) \preceq_{\text{lex}} (c, d) \iff (a \prec_A c) \text{ or } (a = c \text{ and } b \preceq_B d)$.

This is the exact mechanism behind alphabetical ordering in a dictionary. If both $A$ and $B$ are totally ordered, then $(A \times B, \preceq_{\text{lex}})$ is also totally ordered.

Be careful with real-world hierarchies. The relation “is father of” on a set of people is not a partial order: it is neither reflexive (no one is their own father -or their own ancestor-, assuming no bizarre time-travel family trees!) nor transitive (the father of your father is your grandfather, not your father). To obtain a valid partial order, one must use “is an ancestor of, or equal to”.

$a \prec b \iff a$ is an ancestor of $b$ or equal to, $a = b$. This relation is a valid partial order.

  1. Reflexive: $a = a$.
  2. Antisymmetric: If $a$ is an ancestor-or-equal of $b$ and vice versa, then $a = b$.
  3. Transitive: Ancestor relationships compose.

Minimal, Maximal, Least, and Greatest Elements

In a poset $(X, \preceq)$, we distinguish between local and global extremes:

If a least (or greatest) element exists, antisymmetry guarantees it is unique. However, a poset can have multiple minimal elements and no least element at all.

Hasse Diagram

A Hasse Diagram is a visual representation of a finite poset $(X, \preceq)$ that strips away redundant information.

First, we define the covering relation: we say $y$ covers $x$ (written $x \lessdot y$) if $x \prec y$ and there is no intermediate element $z \in X$ such that $x \prec z \prec y$.

To draw the Hasse Diagram of $(X, \preceq)$:

  1. Represent each element of $X$ as a vertex.
  2. Draw a line segment between $x$ and $y$ if and only if $y$ covers $x$ ($x \lessdot y$).
  3. Position $y$ vertically higher than $x$ so that upward movement indicates the direction of the relation.

Because reflexivity (self-loops) and transitivity (shortcut edges) are implied by the axioms of a partial order, omitting them keeps the diagram clean. Consequently, $x \preceq y$ if and only if there is an upward path from $x$ to $y$ in the Hasse Diagram.

Hasse Diagram Examples

For $X = \{a, b\}$, $\vert{}\mathcal{P}(X)\vert{} = 2^2 = 4$. Its Hasse Diagram forms a diamond (a 2-dimensional square, Figure 1.a). For $X = \{a, b, c\}$, $\vert{}\mathcal{P}(X)\vert{} = 2^3 = 8$. Its Hasse Diagram forms the skeleton of a 3-dimensional cube, Figure 1.b, with $\emptyset$ as the least element at the bottom and $X$ as the greatest element at the top. Following any upward path—such as $\emptyset \subset \{a\} \subset \{a, b\} \subset \{a, b, c\}$—traces a chain of comparable subsets.

Partially ordered set  

Consider $A = \{2, 3, 4, 7, 8, 12, 14, 24, 35\}$ under divisibility $\mid$, Figure 1.c.

Subgroup posets reveal the internal structure of finite groups—even when two groups have the same order.

Partially ordered set  

A square is a regular quadrilateral with four equal sides and four $90^\circ$ ($\pi/2$ radian) angles. The dihedral group $D_4$ (using the convention where $D_n$ has order $2n$) is the symmetry group of the square, containing $8$ elements:

In terms of generators and relations: $D_4 = \langle r, s \mid r^4 = s^2 = e, \; rs = sr^3 \rangle = \{e, r, r^2, r^3, s, rs, r^2 s, r^3 s\}$

By Lagrange’s Theorem, the order of any subgroup of $D_4$ must divide $8$ (so orders $1, 2, 4,$ or $8$). Enumerating them gives 10 subgroups arranged across four levels in the Hasse Diagram:

Since $(r^2)^2=r^4=e,$ the element $r^2$ has order $2$, so $\langle r^2\rangle=\{e,r^2\}.$ Every reflection squares to the identity: $s^2=(rs)^2=(r^2s)^2=(r^3s)^2=e.$ Thus, each reflection generates a two-element subgroup.

Notice how cleanly the Hasse Diagram displays the group’s geometry: $\langle r^2 \rangle$ sits beneath all three subgroups of order 4, while the reflection subgroups pair off into the two Klein four-subgroups.

Hasse Diagram of D_4  

Why Posets Matter Beyond Pure Math

Partially ordered sets are not just an abstract curiosity; they model dependency structures across computer science and engineering:

Bibliography

This content is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. This post relies heavily on the following resources, especially on NPTEL-NOC IITM, Introduction to Galois Theory, Michael Penn, and Contemporary Abstract Algebra, Joseph A. Gallian.
  1. NPTEL-NOC IITM, Introduction to Galois Theory.
  2. Algebra, Second Edition, by Michael Artin.
  3. LibreTexts, Abstract and Geometric Algebra, Abstract Algebra: Theory and Applications (Judson).
  4. Field and Galois Theory, by Patrick Morandi. Springer.
  5. Michael Penn (Abstract Algebra), and MathMajor.
  6. Contemporary Abstract Algebra, Joseph, A. Gallian.
  7. Andrew Misseldine: College Algebra and Abstract Algebra.
Bitcoin donation
Children reading and learning

JustToThePoint Copyright © 2011 - 2026 Anawim. ALL RIGHTS RESERVED. Bilingual e-books, articles, and videos to help your child and your entire family succeed, develop a healthy lifestyle, and have a lot of fun. About us., Social Issues, Join us.

This website uses cookies to improve your navigation experience.
By continuing, you are consenting to our use of cookies, in accordance with our Cookies Policy and Website Terms and Conditions of use.