ArticleslgStudy

science

Hasse diagram

Hasse diagram is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Hasse diagram rather than just read about it. In short: In order theory, a Hasse diagram (; German: [ˈhasə]) is a type of mathematical diagram used to represent a finite partially ordered set, in the form of a drawing of its transitive reduction. Concretely, for a partially ordered set ( S , ≤ ) {\displaystyle (S,\leq )} one represents each element of S {\displaystyle S} as a vertex in the plane and draws a line segment or curve that goes upward from one vertex x {\displ…

Hasse diagram — main illustration
Hasse diagram — illustration

Key takeaways

  • Hasse diagram belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Hasse diagram to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Hasse diagram from memory before moving on to harder problems.

Reference excerpt

In order theory, a Hasse diagram (; German: [ˈhasə]) is a type of mathematical diagram used to represent a finite partially ordered set, in the form of a drawing of its transitive reduction. Concretely, for a partially ordered set ( S , ≤ ) {\displaystyle (S,\leq )} one represents each element of S {\displaystyle S} as a vertex in the plane and draws a line segment or curve that goes upward from one vertex x {\displaystyle x} to another vertex y {\displaystyle y} whenever y {\displaystyle y} covers x {\displaystyle x} (that is, whenever x ≠ y {\displaystyle x\neq y} , x ≤ y {\displaystyle x\leq y} and there is no z {\displaystyle z} distinct from x {\displaystyle x} and y {\displaystyle y} with x ≤ z ≤ y {\displaystyle x\leq z\leq y} ). These curves may cross each other but must not touch any vertices other than their endpoints. Such a diagram, with labeled vertices, uniquely determines its partial order. Hasse diagrams are named after Helmut Hasse (1898–1979); according to Garrett Birkhoff, they are so called because of the effective use Hasse made of them. However, Hasse was not the first to use these diagrams. One example that predates Hasse can be found in an 1895 work by Henri Gustave Vogt. Although Hasse diagrams were originally devised as a technique for making drawings of partially ordered sets by hand, they have more recently been created automatically using graph drawing techniques. In some sources, the phrase "Hasse diagram" has a different meaning: the directed acyclic graph obtained from the covering relation of a partially ordered set, independently of any drawing of that graph.

Diagram design Although Hasse diagrams are simple, as well as intuitive, tools for dealing with finite posets, it turns out to be rather difficult to draw "good" diagrams. The reason is that, in general, there are many different possible ways to draw a Hasse diagram for a given poset. The simple technique of just starting with the minimal elements of an order and then drawing greater elements incrementally often produces quite poor results: symmetries and internal structure of the order are easily lost. The following example demonstrates the issue. Consider the power set of a 4-element set ordered by inclusion ⊆ {\displaystyle \subseteq } . Below are four different Hasse diagrams for this partial order. Each subset has a node labelled with a binary encoding that shows whether a certain element is in the subset (1) or not (0):

The first diagram makes clear that the power set is a graded poset. The second diagram has the same graded structure, but by making some edges longer than others, it emphasizes that the 4-dimensional cube is a combinatorial union of two 3-dimensional cubes, and that a tetrahedron (abstract 3-polytope) likewise merges two triangles (abstract 2-polytopes). The third diagram shows some of the internal symmetry of the structure. In the fourth diagram the vertices are arranged in a 4×4 grid.

Upward planarity

If a partial order can be drawn as a Hasse diagram in which no two edges cross, its covering graph is said to be upward planar. A number of results on upward planarity and on crossing-free Hasse diagram construction are known:

If the partial order to be drawn is a lattice, then it can be drawn without crossings if and only if it has order dimension at most two. In this case, a non-crossing drawing may be found by deriving Cartesian coordinates for the elements from their positions in the two linear orders realizing the order dimension, and then rotating the drawing counterclockwise by a 45-degree angle. If the partial order has at most one minimal element, or it has at most one maximal element, then it may be tested in linear time whether it has a non-crossing Hasse diagram. It is NP-complete to determine whether a partial order with multiple sources and sinks can be drawn as a crossing-free Hasse diagram. However, finding a crossing-free Hasse diagram is fixed-parameter tractable when parametrized by the number of articulation points and triconnected components of the transitive reduction of the partial order. If the y-coordinates of the elements of a partial order are specified, then a crossing-free Hasse diagram respecting those coordinate assignments can be found in linear time, if such a diagram exists. In particular, if the input poset is a graded poset, it is possible to determine in linear time whether there is a crossing-free Hasse diagram in which the height of each vertex is proportional to its rank.

Use in UML notation

In software engineering / Object-oriented design, the classes of a software system and the inheritance relation between these classes is often depicted using a class diagram, a form of Hasse diagram in which the edges connecting classes are drawn as solid line segments with an open triangle at the superclass end.

Notes

References

External links Related media at Wikimedia Commons: Hasse diagram (Gallery) Hasse diagrams (Category) Weisstein, Eric W., "Hasse Diagram", MathWorld

Illustrations

Hasse diagram: A Hasse diagram of the factors of 60 ordered by the is-a-divisor-of relation
A Hasse diagram of the factors of 60 ordered by the is-a-divisor-of relation
Hasse diagram illustration
Hasse diagram illustration
Hasse diagram illustration
Hasse diagram illustration

Worked examples

Example 1 — a first encounter with Hasse diagram

Start with the simplest possible case. Write down what Hasse diagram claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Hasse diagram before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Hasse diagram ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Hasse diagram

In research
Hasse diagram appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Hasse diagram in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Hasse diagram is common in secondary-school and first-year university syllabi. It links to neighbouring topics Directed acyclic graphs, Eponymous diagrams, Graph drawing, so understanding it makes those chapters shorter.
In everyday life
Look for Hasse diagram outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Hasse diagram” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Hasse diagram in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Hasse diagram means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Hasse diagram out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Hasse diagram in simple terms?

In order theory, a Hasse diagram (; German: [ˈhasə]) is a type of mathematical diagram used to represent a finite partially ordered set, in the form of a drawing of its transitive reduction. Concretely, for a partially ordered set ( S , ≤ ) {\displaystyle (S,\leq )} one represents each element of S…

Why does Hasse diagram matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Hasse diagram?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Hasse diagram.

Tags

  • Directed acyclic graphs
  • Eponymous diagrams
  • Graph drawing
  • Graphical concepts in set theory
  • Order theory

Keep exploring