maths.free › Combinatorics & Graph Theory › 6. Partially Ordered Sets › Finding a Representation of an Interval Order
Finding a Representation of an Interval Order
In this section, we develop an algorithm for finding an interval representation of an interval order. In fact, this algorithm can be applied to any poset.
Finding a Representation of an Interval Order
In this section, we develop an algorithm for finding an interval representation of an interval order. In fact, this algorithm can be applied to any poset. Either it will find an interval representation or it will find a subposet isomorphic to \(\bftwo+\bftwo\). As a consequence, we establish the other half of .
When \(\PXP\) is an interval order and \(n\) is a positive integer, there may be many different ways to represent \(\bfP\) using intervals with integer end points in \([n]\). But there is certainly a least \(n\) for which a representation can be found, and here we see that the representation is unique. The discussion will again make use of the notation for down sets and up sets that we introduced prior to the proof of . As a reminder, we repeat it here. For a poset \(\PXP\) and a subset \(S\subset X\), let \(D(S) = \{y\in X:\) there exists some \(x\in S\) with \(y\lt x\) in \(P\}\). Also, let \(D[S]=D(S)\cup S\). When \(|S|=1\), say \(S=\{x\}\), we write \(D(x)\) and \(D[x]\) rather than \(D(\{x\})\) and \(D[\{x\}]\). Dually, for a subset \(S\subseteq X\), we define \(U(S) = \{y\in X:\) there exists some \(x\in X\) with \(y>x\) in \(P\}\). As before, set \(U[S]=U(S)\cup S\). And when \(S=\{x\}\), we just write \(U(x)\) for \(\{y\in X:x\lt y\) in \(P\}\) .
Let \(\PXP\) be a poset. We start our procedure by finding the following subsets of the ground set: \(\mathcal{D} = \{D(x):x\in X\}\). We then distinguish two cases. In the first case, there are distinct elements \(x\) and \(y\) for which \(D(x)\nsubseteq D(y)\) and \(D(y)\nsubseteq D(x)\). In this case, we choose an element \(z\in D(x)-D(y)\) and an element \(w\in D(y)-D(x)\). It follows that the four elements in \(\{x,y,z,w\}\) form a subposet of \(\bfP\) which is isomorphic to \(\bftwo+\bftwo\).
Our second case is that either \(D(x)\subseteq D(y)\) or \(D(y)\subseteq D(x)\) for all \(x,y\in X\). In this case, we will show that \(\bfP\) is an interval order. Now find the family: \(\mathcal{U} = \{U(x):x\in X\}\). In this case, it is easy to see that we will always have either \(U(x)\subseteq U(y)\) or \(U(y)\subseteq U(x)\) for all \(x,y\in X\).
Consider the poset shown in .
Condensed — the full section is in Keller & Trotter, Applied Combinatorics.
Practice (1)
Try each one on paper first. Reveal the answer to check; verified ones can be opened in the solver for every step.
-
Suppose you run the algorithm for finding an interval representation and learn that the down sets and up sets are totally ordered by inclusion and that there are \(d\) down sets (and thus \(d\) up sets). If the poset has a point that is incomparable to every other point, what would the interval be that the algorithm assigns? Explain why this makes sense.
Symbols used here
x belongs to A; every element of A is in B.
In either; in both; in A but not B.
n × (n−1) × … × 1; the number of orderings of n things. 0! = 1.
Number of k-element subsets of n things: n!/(k!(n−k)!).
Add a_k for k = 1 up to n.
Multiply a_k for k = 1 up to n.
The set with no elements; the number of elements of A.
Questions people ask
Permutation or combination?
Ask whether order matters. A lock code is a permutation (order matters); a hand of cards is a combination (it does not).
What is a graph in this sense?
Dots (vertices) joined by lines (edges) — not a plot. Road maps, social networks and molecules are graphs; questions like "is there a route" and "how few colours" are graph theory.
अपने आप की कोशिश करें
Parts of this page are adapted from Keller & Trotter, Applied Combinatorics (CC BY-SA 4.0). Condensed and re-explained here; errors are ours.
अधिक में Combinatorics & Graph Theory
The counting principlesPigeonhole principle and inclusion–exclusionBinomial coefficients and Pascal's triangleRecurrences and generating functionsGraphs: vertices, edges, degreesPaths, cycles, trees, Euler and HamiltonColouring and planar graphs