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 X, which satisfies the following for all a,b and c in X:
a≤a (reflexive). If a≤b and b≤c then a≤c (transitive). If a≤b and b≤a then a=b (antisymmetric). a≤b or b≤a (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. 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 (non-strict) total order ≤ there is an associated relation <, called the strict total order associated with ≤ that can be defined in two equivalent ways:
a<b if a≤b and a≠b (reflexive reduction). a<b if not b≤a (i.e., < is the complement of the converse of ≤). Conversely, the reflexive closure of a strict total order < is a (non-strict) total order. Thus, a strict total order on a set X is a strict partial order on X in which any two distinct elements are comparable. That is, a strict total order is a binary relation < on some set X, which satisfies the following for all a,b and c in X:
Not a<a (irreflexive). If a<b then not b<a (asymmetric). If a<b and b<c then a<c (transitive). If a≠b, then a<b or b<a (connected). Asymmetry follows from transitivity and irreflexivity; moreover, irreflexivity follows from asymmetry.
Examples Any subset of a totally ordered set X is totally ordered for the restriction of the order on X. The unique order on the empty set, ∅, is a total order. Any set of ordinal numbers (more strongly, these are well-orders). If X is any set and f an injective function from X to a totally ordered set then f induces a total ordering on X by setting x1 ≤ x2 if and only if f(x1) ≤ f(x2). 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 (up to an order isomorphism) "initial example" of a totally ordered set with a certain property, (here, a total order A is initial for a property, if, whenever B has the property, there is an order isomorphism from A to a subset of B): 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 (defined below). 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., A < B < C etc., is a strict total order.
… excerpt ends here. Continue reading the full article.