In mathematics, an ordered field is a field together with a total ordering of its elements that is compatible with the field operations. Historically, the axiomatization of an ordered field was abstracted gradually from the real numbers, by mathematicians including David Hilbert, Otto Hölder and Hans Hahn. In 1926, this grew eventually into the Artin–Schreier theory of ordered fields and formally real fields.
An ordered field necessarily has characteristic 0, all natural numbers, i.e. the elements 0, 1, 1 + 1, 1 + 1 + 1, … are distinct. This implies that an ordered field necessarily contains an infinite number of elements: a finite field cannot be ordered.
Every subfield of an ordered field is also an ordered field in the inherited order. 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. Squares are necessarily non-negative in an ordered field. This implies that the complex numbers cannot be ordered since the square of the imaginary unit i is −1. Every ordered field is a formally real field (see below).
There are two equivalent definitions of an ordered field. The definition of total order appeared first historically and is a first-order axiomatization of the ordering ≤ as a binary predicate. Artin and Schreier gave the definition in terms of positive cone in 1926, which axiomatizes the subcollection of nonnegative elements. Although the latter is higher-order, viewing positive cones as maximal prepositive cones provides a larger context in which field orderings are extremal partial orderings.
Total order 
- if a ≤ b then a + c ≤ b + c
- if 0 ≤ a and 0 ≤ b then 0 ≤ a×b
The symbol for multiplication will be henceforth omitted.
Positive cone 
- For x and y in P, both x+y and xy are in P.
- If x is in F, then x2 is in P.
- The element −1 is not in P.
If in addition, the set F is the union of P and −P, we call P a positive cone of F. The non-zero elements of P are called the positive elements of F.
An ordered field is a field F together with a positive cone P.
The preorderings on F are precisely the intersections of families of positive cones on F. The positive cones are the maximal preorderings.
Equivalence of the two definitions 
Let F be a field. There is a bijection between the field orderings of F and the positive cones of F.
Given a field ordering ≤ as in Def 1, the elements such that x ≥ 0 forms a positive cone of F. Conversely, given a positive cone P of F as in Def 2, one can associate a total ordering ≤P by setting x ≤P y to mean y − x ∈ P. This total ordering ≤P satisfies the properties of Def 1.
Properties of ordered fields 
- If x < y and y < z, then x < z. (transitivity)
- If x < y and z > 0, then xz < yz.
- If x < y and x,y > 0, then 1/y < 1/x
For every a, b, c, d in F:
- Either −a ≤ 0 ≤ a or a ≤ 0 ≤ −a.
- We are allowed to "add inequalities": If a ≤ b and c ≤ d, then a + c ≤ b + d
- We are allowed to "multiply inequalities with positive elements": If a ≤ b and 0 ≤ c, then ac ≤ bc.
- 1 is positive. (Proof: either 1 is positive or −1 is positive. If −1 is positive, then (−1)(−1) = 1 is positive, which is a contradiction)
- An ordered field has characteristic 0. (Since 1 > 0, then 1 + 1 > 0, and 1 + 1 + 1 > 0, etc. If the field had characteristic p > 0, then −1 would be the sum of p − 1 ones, but −1 is not positive). In particular, finite fields cannot be ordered.
- Squares are non-negative. 0 ≤ a2 for all a in F. (Follows by a similar argument to 1 > 0)
Every subfield of an ordered field is also an ordered field (inheriting the induced ordering). The smallest subfield is isomorphic to the rationals (as for any other field of characteristic 0), and the order on this rational subfield is the same as the order of the rationals themselves. If every element of an ordered field lies between two elements of its rational subfield, then the field is said to be Archimedean. Otherwise, such field is a non-Archimedean ordered field and contains infinitesimals. For example, the real numbers form an Archimedean field, but hyperreal numbers form a non-Archimedean field, because it extends real numbers with elements greater than any standard natural number.
Vector spaces over an ordered field 
Vector spaces (particularly, n-spaces) over an ordered field exhibit some special properties and have some specific structures, namely: orientation, convexity, and positively-definite inner product. See Real coordinate space #Geometric properties and uses for discussion of those properties of Rn, which can be generalized to vector spaces over other ordered fields.
Examples of ordered fields 
Examples of ordered fields are:
- the rational numbers
- the real algebraic numbers
- the computable numbers
- the real numbers
- the field of real rational functions , where p(x) and q(x), are polynomials with real coefficients, can be made into an ordered field where the polynomial p(x) = x is greater than any constant polynomial, by defining that whenever , for and . This ordered field is not Archimedean.
- The field of formal Laurent series with real coefficients , where x is taken to be infinitesimal and positive
- real closed fields
- superreal numbers
- hyperreal numbers
Which fields can be ordered? 
Conversely, every formally real field can be equipped with a compatible total order, that will turn it into an ordered field. (This order need not be uniquely determined.)
Finite fields and more generally fields of finite characteristic cannot be turned into ordered fields, because in characteristic p, the element −1 can be written as a sum of (p − 1) squares 12. The complex numbers also cannot be turned into an ordered field, as −1 is a square (of the imaginary number i) and would thus be positive. Also, the p-adic numbers cannot be ordered, since Q2 contains a square root of −7 and Qp (p > 2) contains a square root of 1 − p.
Topology induced by the order 
Harrison topology 
The Harrison topology is a topology on the set of orderings XF of a formally real field F. Each order can be regarded as a multiplicative group homomorphism from F∗ onto ±1. Giving ±1 the discrete topology and ±1F the product topology induces the subspace topology on XF. The product is a Boolean space (compact, Hausdorff and totally disconnected), and XF is a closed subset, hence again Boolean.