In mathematics, a binary relation r on a set S is aTotal Order IfAndOnlyIf for every pair of elements A and B, in S, exactly one of the following is true:
(where = means equality)
Note that this relationship must be transitive and non-reflexive. In other words:
Loosely speaking, there together imply that there are no cycles in the directed graph where each element points at those that are smaller than in.
Note that calling something a TotalOrder requires that both the relation r and the set S be specified. A common sloppy shortcut is the assumption that r corresponds to the greater-than (or less-than) operator. When it is said that a set S is totally-ordered, that is shorthand for "there exists some binary relation r which makes a TotalOrder on S."
Examples of TotalOrders:
See also PartialOrder and WellOrdered.
Note that = means equality above. There are many set for which a looser set of rules applies; one can define two relations r and x and have that exactly one of A r B, B r A, or A x B is true. If x is an EquivalenceRelation, then such an ordering is isomorphic to a TotalOrder; however I'm not aware of a special name for this sort of ordering. The < operator over the complex numbers is such a set; none of 5 < 3+4j, 5 = 3+4j, or 3+4j < 5 is true. However, by mapping each complex number onto its magnitude (a set equal to the nonnegative reals) and then applying <, a TotalOrder is realized.
Someone wrote:
This is not transitivity. Transitivity is: a a
As the original author of the above, I agree; sorry if I was unclear. What I was trying to say is that the operators are transitive; 'and in addition' < and > are anti-reflexive and anti-symmetric, whereas = is both reflexive and symmetric.
If 'x is an EquivalenceRelation, such an ordering is isomorphic to a TotalOrder; however I'm not aware of a special name for this sort of ordering. (text quoted from comment two sections above)
http://mathworld.wolfram.com/EquivalenceRelation.html which is superior to the definition which I gave previously (and which I have now deleted).
By an EquivalenceRelation is usually meant a dyadic relation which is reflexive, symmetric and transitive. Please see the definition given above [previous definition deleted].
Substituting the EquivalenceRelation "x" for "=" in the definition of TotalOrder yields an ordering which is isomorphic to a TotalOrder. Since the only difference seems to be in the notation (using "x" instead of "=") why would it not be correct simply to call it a TotalOrder? The definitions of mathematics are formal and abstract, and do not depend on the meta-linguistic meanings which we attach to primitives such as "x" or "=". -- JohnReynoldsTheStudent