Hasse Diagram — Definition, Formula & Examples
A Hasse diagram is a drawing of a finite partially ordered set (poset) where elements are represented as points, and an edge connects element below element whenever with no element in between. Edges implied by transitivity are omitted, and arrows are unnecessary because the vertical position encodes direction.
Given a finite poset , the Hasse diagram is the directed graph of the covering relation: is connected to (with drawn above ) if and only if , meaning and there is no with . The transitive and reflexive edges are suppressed.
How It Works
To build a Hasse diagram, first list all pairs where . Then remove any pair for which some satisfies ; the remaining pairs are the covering relations. Draw each element as a node, placing smaller elements lower. Connect each covering pair with a line segment. Because lower always means smaller, no arrowheads are needed.
Worked Example
Problem: Draw the Hasse diagram for the poset , where denotes the divisibility relation.
Step 1: List all divisibility pairs where and .
Step 2: Remove pairs implied by transitivity. Since and , the pair is not a covering relation. All other pairs have no element strictly between them.
Step 3: Place 1 at the bottom, 2 and 3 at the middle level (side by side), and 6 at the top. Draw edges for each covering pair.
Answer: The Hasse diagram has four nodes arranged in a diamond shape: 1 at the bottom connected to 2 and 3, which are each connected to 6 at the top. No edge connects 1 directly to 6.
Why It Matters
Hasse diagrams appear throughout discrete mathematics, abstract algebra, and lattice theory whenever you need to visualize ordering structures. In computer science, they help illustrate class hierarchies, task dependencies, and the structure of Boolean algebras used in digital logic design.
Common Mistakes
Mistake: Including edges that follow from transitivity, such as drawing a line from 1 to 6 in the divisibility example.
Correction: Only draw covering relations — pairs with no element strictly between and . Transitive edges clutter the diagram and violate the convention.
