Total order

Revision as of 15:51, 11 May 2025 by imported>Jochen Burghardt (undid 4 edits: numbering and English circumscription of junctors are intentional)
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Template:Short description Template:Redirect-distinguish Template:More footnotes Template:Use dmy dates

In mathematics, a total order or linear order is a partial order in which any two elements are comparable. That is, a total order is a binary relation <math>\leq</math> on some set <math>X</math>, which satisfies the following for all <math>a, b</math> and <math>c</math> in <math>X</math>:

  1. <math>a \leq a</math> (reflexive).
  2. If <math>a \leq b</math> and <math>b \leq c</math> then <math>a \leq c</math> (transitive).
  3. If <math>a \leq b</math> and <math>b \leq a</math> then <math>a = b</math> (antisymmetric).
  4. <math>a \leq b</math> or <math>b \leq a</math> (strongly connected, formerly called totality).

Requirements 1. to 3. just make up the definition of a partial order. Reflexivity (1.) already follows from strong connectedness (4.), but is required explicitly by many authors nevertheless, to indicate the kinship to partial orders.Template:Sfn Total orders are sometimes also called simple,Template:Sfn connex,Template:Sfn or full orders.Template:Sfn

A set equipped with a total order is a totally ordered set;Template:Sfn the terms simply ordered set,Template:Sfn linearly ordered set,Template:SfnTemplate:Sfn toset<ref name="Young 2016">Template:Cite conference</ref> and loset<ref>Template:Cite journal</ref><ref>Template:Cite journal</ref> are also used. The term chain is sometimes defined as a synonym of totally ordered set,Template:Sfn but generally refers to a totally ordered subset of a given partially ordered set.

An extension of a given partial order to a total order is called a linear extension of that partial order.

Strict and non-strict total ordersEdit

For delimitation purposes, a total order as defined above is sometimes called non-strict order. For each (non-strict) total order <math>\leq</math> there is an associated relation <math><</math>, called the strict total order associated with <math>\leq</math> that can be defined in two equivalent ways:

  • <math>a < b</math> if <math>a \leq b</math> and <math>a \neq b</math> (reflexive reduction).
  • <math>a < b</math> if not <math>b \leq a</math> (i.e., <math><</math> is the complement of the converse of <math>\leq</math>).

Conversely, the reflexive closure of a strict total order <math><</math> is a (non-strict) total order.

Thus, a Template:Em on a set <math>X</math> is a strict partial order on <math>X</math> in which any two distinct elements are comparable. That is, a strict total order is a binary relation <math><</math> on some set <math>X</math>, which satisfies the following for all <math>a, b</math> and <math>c</math> in <math>X</math>:

  1. Not <math>a < a</math> (irreflexive).
  2. If <math>a < b</math> then not <math> b < a </math> (asymmetric).
  3. If <math>a < b</math> and <math>b < c</math> then <math>a < c</math> (transitive).
  4. If <math>a \neq b</math>, then <math>a < b</math> or <math>b < a</math> (connected).

Asymmetry follows from transitivity and irreflexivity;<ref>Let <math>a < b</math>, assume for contradiction that also <math> b < a </math>. Then <math>a < a</math> by transitivity, which contradicts irreflexivity.</ref> moreover, irreflexivity follows from asymmetry.<ref>If <math>a < a</math>, the not <math>a < a</math> by asymmetry.</ref>

ExamplesEdit

ChainsEdit

The term chain is sometimes defined as a synonym for a totally ordered set, but it is generally used for referring to a subset of a partially ordered set that is totally ordered for the induced order.Template:Sfn<ref>Template:Cite book Here: p. 35</ref> Typically, the partially ordered set is a set of subsets of a given set that is ordered by inclusion, and the term is used for stating properties of the set of the chains. This high number of nested levels of sets explains the usefulness of the term.

A common example of the use of chain for referring to totally ordered subsets is Zorn's lemma which asserts that, if every chain in a partially ordered set Template:Mvar has an upper bound in Template:Mvar, then Template:Mvar contains at least one maximal element.<ref>Template:Cite book Here: p. 100</ref> Zorn's lemma is commonly used with Template:Mvar being a set of subsets; in this case, the upper bound is obtained by proving that the union of the elements of a chain in Template:Mvar is in Template:Mvar. This is the way that is generally used to prove that a vector space has Hamel bases and that a ring has maximal ideals.

In some contexts, the chains that are considered are order isomorphic to the natural numbers with their usual order or its opposite order. In this case, a chain can be identified with a monotone sequence, and is called an ascending chain or a descending chain, depending whether the sequence is increasing or decreasing.<ref>Yiannis N. Moschovakis (2006) Notes on set theory, Undergraduate Texts in Mathematics (Birkhäuser) Template:ISBN, p. 116</ref>

A partially ordered set has the descending chain condition if every descending chain eventually stabilizes.<ref>that is, beyond some index, all further sequence members are equal</ref> For example, an order is well founded if it has the descending chain condition. Similarly, the ascending chain condition means that every ascending chain eventually stabilizes. For example, a Noetherian ring is a ring whose ideals satisfy the ascending chain condition.

In other contexts, only chains that are finite sets are considered. In this case, one talks of a finite chain, often shortened as a chain. In this case, the length of a chain is the number of inequalities (or set inclusions) between consecutive elements of the chain; that is, the number minus one of elements in the chain.<ref>Davey and Priestly 1990, Def.2.24, p. 37</ref> Thus a singleton set is a chain of length zero, and an ordered pair is a chain of length one. The dimension of a space is often defined or characterized as the maximal length of chains of subspaces. For example, the dimension of a vector space is the maximal length of chains of linear subspaces, and the Krull dimension of a commutative ring is the maximal length of chains of prime ideals.

"Chain" may also be used for some totally ordered subsets of structures that are not partially ordered sets. An example is given by regular chains of polynomials. Another example is the use of "chain" as a synonym for a walk in a graph.

Further conceptsEdit

Lattice theoryEdit

One may define a totally ordered set as a particular kind of lattice, namely one in which we have

<math>\{a\vee b, a\wedge b\} = \{a, b\}</math> for all a, b.

We then write ab if and only if <math>a = a\wedge b</math>. Hence a totally ordered set is a distributive lattice.

Finite total ordersEdit

A simple counting argument will verify that any non-empty finite totally ordered set (and hence any non-empty subset thereof) has a least element. Thus every finite total order is in fact a well order. Either by direct proof or by observing that every well order is order isomorphic to an ordinal one may show that every finite total order is order isomorphic to an initial segment of the natural numbers ordered by <. In other words, a total order on a set with k elements induces a bijection with the first k natural numbers. Hence it is common to index finite total orders or well orders with order type ω by natural numbers in a fashion which respects the ordering (either starting with zero or with one).

Category theoryEdit

Totally ordered sets form a full subcategory of the category of partially ordered sets, with the morphisms being maps which respect the orders, i.e. maps f such that if ab then f(a) ≤ f(b).

A bijective map between two totally ordered sets that respects the two orders is an isomorphism in this category.

Order topologyEdit

For any totally ordered set Template:Mvar we can define the open intervals

We can use these open intervals to define a topology on any ordered set, the order topology.

When more than one order is being used on a set one talks about the order topology induced by a particular order. For instance if N is the natural numbers, Template:Char is less than and Template:Char greater than we might refer to the order topology on N induced by Template:Char and the order topology on N induced by Template:Char (in this case they happen to be identical but will not in general).

The order topology induced by a total order may be shown to be hereditarily normal.

CompletenessEdit

A totally ordered set is said to be complete if every nonempty subset that has an upper bound, has a least upper bound. For example, the set of real numbers R is complete but the set of rational numbers Q is not. In other words, the various concepts of completeness (not to be confused with being "total") do not carry over to restrictions. For example, over the real numbers a property of the relation Template:Char is that every non-empty subset S of R with an upper bound in R has a least upper bound (also called supremum) in R. However, for the rational numbers this supremum is not necessarily rational, so the same property does not hold on the restriction of the relation Template:Char to the rational numbers.

There are a number of results relating properties of the order topology to the completeness of X:

  • If the order topology on X is connected, X is complete.
  • X is connected under the order topology if and only if it is complete and there is no gap in X (a gap is two points a and b in X with a < b such that no c satisfies a < c < b.)
  • X is complete if and only if every bounded set that is closed in the order topology is compact.

A totally ordered set (with its order topology) which is a complete lattice is compact. Examples are the closed intervals of real numbers, e.g. the unit interval [0,1], and the affinely extended real number system (extended real number line). There are order-preserving homeomorphisms between these examples.

Sums of ordersEdit

For any two disjoint total orders <math>(A_1,\le_1)</math> and <math>(A_2,\le_2)</math>, there is a natural order <math>\le_+</math> on the set <math>A_1\cup A_2</math>, which is called the sum of the two orders or sometimes just <math>A_1+A_2</math>:

For <math>x,y\in A_1\cup A_2</math>, <math>x\le_+ y</math> holds if and only if one of the following holds:
  1. <math>x,y\in A_1</math> and <math>x\le_1 y</math>
  2. <math>x,y\in A_2</math> and <math>x\le_2 y</math>
  3. <math>x\in A_1</math> and <math>y\in A_2</math>

Intuitively, this means that the elements of the second set are added on top of the elements of the first set.

More generally, if <math>(I,\le)</math> is a totally ordered index set, and for each <math>i\in I</math> the structure <math>(A_i,\le_i)</math> is a linear order, where the sets <math>A_i</math> are pairwise disjoint, then the natural total order on <math>\bigcup_i A_i</math> is defined by

For <math>x,y\in \bigcup_{i\in I} A_i</math>, <math>x\le y</math> holds if:
  1. Either there is some <math>i\in I</math> with <math> x\le_i y </math>
  2. or there are some <math>i<j</math> in <math>I</math> with <math> x\in A_i</math>, <math> y\in A_j</math>

DecidabilityEdit

The first-order theory of total orders is decidable, i.e. there is an algorithm for deciding which first-order statements hold for all total orders. Using interpretability in S2S, the monadic second-order theory of countable total orders is also decidable.<ref>Template:Cite book</ref>

Orders on the Cartesian product of totally ordered setsEdit

There are several ways to take two totally ordered sets and extend to an order on the Cartesian product, though the resulting order may only be partial. Here are three of these possible orders, listed such that each order is stronger than the next:

  • Lexicographical order: (a,b) ≤ (c,d) if and only if a < c or (a = c and bd). This is a total order.
  • (a,b) ≤ (c,d) if and only if ac and bd (the product order). This is a partial order.
  • (a,b) ≤ (c,d) if and only if (a < c and b < d) or (a = c and b = d) (the reflexive closure of the direct product of the corresponding strict total orders). This is also a partial order.

Each of these orders extends the next in the sense that if we have xy in the product order, this relation also holds in the lexicographic order, and so on. All three can similarly be defined for the Cartesian product of more than two sets.

Applied to the vector space Rn, each of these make it an ordered vector space.

See also examples of partially ordered sets.

A real function of n real variables defined on a subset of Rn defines a strict weak order and a corresponding total preorder on that subset.

Related structuresEdit

Template:Stack A binary relation that is antisymmetric, transitive, and reflexive (but not necessarily total) is a partial order.

A group with a compatible total order is a totally ordered group.

There are only a few nontrivial structures that are (interdefinable as) reducts of a total order. Forgetting the orientation results in a betweenness relation. Forgetting the location of the ends results in a cyclic order. Forgetting both data results use of point-pair separation to distinguish, on a circle, the two intervals determined by a point-pair.<ref>Template:Citation</ref>

See alsoEdit

Template:Cols

Template:Colend

NotesEdit

Template:Reflist

ReferencesEdit

External linksEdit

Template:Order theory