Total order
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 on some set, which satisfies the following for all and in :
- .
- If and then .
- If and then .
- or .
Reflexivity already follows from strong connectedness, but is required explicitly by many authors nevertheless, to indicate the kinship to partial orders.
Total orders are sometimes also called simple, connex, or full orders.
A set equipped with a total order is a totally ordered set; the terms simply ordered set, linearly ordered set, toset and loset are also used. The term chain is sometimes defined as a synonym of totally ordered set, 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 orders
For delimitation purposes, a total order as defined [|above] is sometimes called non-strict order.For each total order there is an associated relation, called the strict total order associated with that can be defined in two equivalent ways:
- if and .
- if not .
Thus, a on a set is a strict partial order on in which any two distinct elements are comparable. That is, a strict total order is a binary relation on some set, which satisfies the following for all and in :
- Not .
- If then not .
- If and then .
- If, then or .
Examples
- Any subset of a totally ordered set is totally ordered for the restriction of the order on.
- The unique order on the empty set,, is a total order.
- Any set of ordinal numbers.
- If is any set and an injective function from to a totally ordered set then induces a total ordering on by setting if and only if.
- The lexicographical order on the Cartesian product of a family of totally ordered sets, indexed by a well ordered set, is itself a total order.
- The set of real numbers ordered by the usual "less than or equal to" or "greater than or equal to" relations is totally ordered. Hence each subset of the real numbers is totally ordered, such as the natural numbers, integers, and rational numbers. Each of these can be shown to be the unique "initial example" of a totally ordered set with a certain property, :
- * The natural numbers form an initial non-empty totally ordered set with no upper bound.
- * The integers form an initial non-empty totally ordered set with neither an upper nor a lower bound.
- * The rational numbers form an initial totally ordered set which is dense in the real numbers. Moreover, the reflexive reduction < is a dense order on the rational numbers.
- * The real numbers form an initial unbounded totally ordered set that is connected in the order topology.
- Ordered fields are totally ordered by definition. They include the rational numbers and the real numbers. Every ordered field contains an ordered subfield that is isomorphic to the rational numbers. Any Dedekind-complete ordered field is isomorphic to the real numbers.
- The letters of the alphabet ordered by the standard dictionary order, e.g., etc., is a strict total order.
Chains
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 has an upper bound in, then contains at least one maximal element. Zorn's lemma is commonly used with 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 is in. 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.
A partially ordered set has the descending chain condition if every descending chain eventually stabilizes. 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 between consecutive elements of the chain; that is, the number minus one of elements in the chain. 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 concepts
Lattice theory
One may define a totally ordered set as a particular kind of lattice, namely one in which we haveWe then write a ≤ b if and only if. Hence a totally ordered set is a distributive lattice.
Finite total orders
A simple counting argument will verify that any non-empty finite totally ordered set 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.Category theory
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 a ≤ b then f ≤ f.A bijective map between two totally ordered sets that respects the two orders is an isomorphism in this category.
Order topology
For any totally ordered set we can define the open intervals- ,
- ,
- , and
- .
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, is less than and greater than we might refer to the order topology on N induced by and the order topology on N induced by .
The order topology induced by a total order may be shown to be hereditarily normal.
Completeness
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 do not carry over to restrictions. For example, over the real numbers a property of the relation is that every non-empty subset S of R with an upper bound in R has a least upper bound 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 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
- X is complete if and only if every bounded set that is closed in the order topology is compact.
Sums of orders
For any two disjoint total orders and, there is a natural order on the set, which is called the sum of the two orders or sometimes just :Intuitively, this means that the elements of the second set are added on top of the elements of the first set.
More generally, if is a totally ordered index set, and for each the structure is a linear order, where the sets are pairwise disjoint, then the natural total order on is defined by