Mathematics · Glossary

What is Order relation?

Definition 1.33 University Mathematics — Year 1 · Chapter 1 — Logic, Sets and Maps

A relation \preceq on EE is an order when it is reflexive, antisymmetric (xyx \preceq y and yxy \preceq x imply x=yx = y) and transitive. The order is total when any two elements are comparable, partial otherwise. An element MAEM \in A \subseteq E is a greatest element of AA when aMa \preceq M for all aAa \in A; greatest (and least) elements are unique when they exist.

Examples

Example 1.34

(R,)(\R, \leq) is totally ordered. (P(E),)(\mathcal{P}(E), \subseteq) is partially ordered as soon as EE has two elements: {a}\{a\} and {b}\{b\} are not comparable. The subset A={{a},{b}}A = \{\{a\}, \{b\}\} of P({a,b})\mathcal{P}(\{a,b\}) has no greatest element, yet has an upper bound {a,b}\{a, b\}: the distinction between greatest elements and upper bounds returns, for R\R, in Chapter 10.

Example 1.35 (Two orders on the grid N2\N^2)

On pairs of naturals, compare componentwise: (a,b)(a,b)(a, b) \preceq (a', b') when aaa \leq a' and bbb \leq b' (the product order). This is an order — each axiom is inherited coordinate by coordinate — but a partial one: (1,3)(1, 3) and (2,0)(2, 0) are incomparable. Now compare like a dictionary: (a,b)lex(a,b)(a, b) \preceq_{\mathrm{lex}} (a', b') when a<aa < a', or a=aa = a' and bbb \leq b' (the lexicographic order). Transitivity requires a two-case check but holds, and any two pairs are now comparable: the order is total. The two orders rank the same set differently — (0,100)lex(1,0)(0, 100) \preceq_{\mathrm{lex}} (1, 0) though the product order says nothing — a reminder that an order is a structure one chooses, not a property of the set. Lexicographic comparison is also the standard trick for turning several sorting criteria into one.

Example 1.7 (Order of quantifiers)

The order of different quantifiers matters:

xR, yR, y>xis true (take y=x+1),\forall x \in \R,\ \exists y \in \R,\ y > x \quad\text{is true (take } y = x+1\text{),}
yR, xR, y>xis false (no real number exceeds all reals).\exists y \in \R,\ \forall x \in \R,\ y > x \quad\text{is false (no real number exceeds all reals).}

In the first statement yy may depend on xx; in the second, one single yy must work for all xx. Two identical quantifiers, on the other hand, always commute.

Read in context →