# Order dimension

In mathematics, the **dimension** of a partially ordered set (poset) is the smallest number of total orders the intersection of which gives rise to the partial order.
This concept is also sometimes called the **order dimension** or the **Dushnik–Miller dimension** of the partial order.
Template:Harvtxt first studied order dimension; for a more detailed treatment of this subject than provided here, see Template:Harvtxt.

## Formal definition

The dimension of a poset *P* is the least integer *t* for which there exists a family

of linear extensions of *P* so that, for every *x* and *y* in *P*, *x* precedes *y* in *P* if and only if it precedes *y* in each of the linear extensions. That is,

An alternative definition of order dimension is as the minimal number of total orders such that *P* embeds to the product of these total orders for the componentwise ordering, in which if and only if for all *i* (Template:Harvnb, Template:Harvnb).

## Realizers

A family of linear orders on *X* is called a **realizer** of a poset *P* = (*X*, <_{P}) if

which is to say that for any *x* and *y* in *X*,
*x* <_{P} *y* precisely when *x* <_{1} *y*, *x* <_{2} *y*, ..., and *x* <_{t} *y*.
Thus, an equivalent definition of the dimension of a poset *P* is "the least cardinality of a realizer of *P*."

It can be shown that any nonempty family *R* of linear extensions is a realizer of a finite partially ordered set *P* if and only if, for every critical pair (*x*,*y*) of *P*, *y* <_{i} *x* for some order
<_{i} in *R*.

## Example

Let *n* be a positive integer, and let *P* be the partial order on the elements *a _{i}* and

*b*(for 1 ≤

_{i}*i*≤

*n*) in which

*a*≤

_{i}*b*whenever

_{j}*i*≠

*j*, but no other pairs are comparable. In particular,

*a*and

_{i}*b*are incomparable in

_{i}*P*;

*P*can be viewed as an oriented form of a crown graph. The illustration shows an ordering of this type for

*n*= 4.

Then, for each *i*, any realizer must contain a linear order that begins with all the *a _{j}* except

*a*(in some order), then includes

_{i}*b*, then

_{i}*a*, and ends with all the remaining

_{i}*b*. This is so because if there were a realizer that didn't include such an order, then the intersection of that realizer's orders would have

_{j}*a*preceding

_{i}*b*, which would contradict the incomparability of

_{i}*a*and

_{i}*b*in

_{i}*P*. And conversely, any family of linear orders that includes one order of this type for each

*i*has

*P*as its intersection. Thus,

*P*has dimension exactly

*n*. In fact,

*P*is known as the

*standard example*of a poset of dimension

*n*, and is usually denoted by

*S*.

_{n}## Order dimension two

The partial orders with order dimension two may be characterized as the partial orders whose comparability graph is the complement of the comparability graph of a different partial order Template:Harv. That is, *P* is a partial order with order dimension two if and only if there exists a partial order *Q* on the same set of elements, such that every pair *x*, *y* of distinct elements is comparable in exactly one of these two partial orders. If *P* is realized by two linear extensions, then partial order *Q* complementary to *P* may be realized by reversing one of the two linear extensions. Therefore, the comparability graphs of the partial orders of dimension two are exactly the permutation graphs, graphs that are both themselves comparability graphs and complementary to comparability graphs.

The partial orders of order dimension two include the series-parallel partial orders Template:Harv. They are exactly the partial orders whose Hasse diagrams have dominance drawings, which can be obtained by using the positions in the two permutations of a realizer as Cartesian coordinates.

## Computational complexity

It is possible to determine in polynomial time whether a given finite partially ordered set has order dimension at most two, for instance, by testing whether the comparability graph of the partial order is a permutation graph. However, for any *k* ≥ 3, it is NP-complete to test whether the order dimension is at most *k* Template:Harv.

## Incidence posets of graphs

The incidence poset of any undirected graph *G* has the vertices and edges of *G* as its elements; in this poset, *x* ≤ *y* if either *x* = *y* or *x* is a vertex, *y* is an edge, and *x* is an endpoint of *y*. Certain kinds of graphs may be characterized by the order dimensions of their incidence posets: a graph is a path graph if and only if the order dimension of its incidence poset is at most two, and according to Schnyder's theorem it is a planar graph if and only if the order dimension of its incidence poset is at most three Template:Harv.

For a complete graph on *n* vertices, the order dimension of the incidence poset is Template:Harv. It follows that all simple *n*-vertex graphs have incidence posets with order dimension .

## k-dimension and 2-dimension

A generalization of dimension is the notion of *k*-dimension (written ) which is the minimal number of chains of length at most *k* in whose product the partial order can be embedded. In particular, the 2-dimension of an order can be seen as the size of the smallest set such that the order embeds in the containment order on this set.

## See also

## References

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}.

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}.

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}.

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}.

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}.

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}.

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}.

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}.

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}.