Ordinal number

Commonly, ordinal numbers, or ordinals for short, are numbers used to denote the position in an ordered sequence: first, second, third, fourth, etc. (See How to name numbers.)
In mathematics, ordinal numbers are an extension of the natural numbers to accommodate infinite sequences, introduced by Georg Cantor in 1897. It is this generalization which will be explained below.
Contents 
Introduction
A natural number can be used for two purposes: to describe the size of a set, or to describe the position of an element in a sequence. While in the finite world these two concepts coincide, when dealing with infinite sets one has to distinguish between the two. The size aspect leads to cardinal numbers, which were also discovered by Cantor, while the position aspect is generalized by the ordinal numbers described here.
In set theory, the natural numbers are commonly constructed as sets, such that each natural number is the set of all smaller natural numbers:
 0 = {} (empty set)
 1 = {0} = { {} }
 2 = {0,1} = { {}, { {} } }
 3 = {0,1,2} = {{}, { {} }, { {}, { {} } }}
 4 = {0,1,2,3} = { {}, { {} }, { {}, { {} } }, {{}, { {} }, { {}, { {} } }} }
etc.
Viewed this way, every natural number is a wellordered set: the set 4 for instance has the elements 0, 1, 2, 3 which are of course ordered as 0 < 1 < 2 < 3 and this is a wellorder. A natural number is smaller than another if and only if it is an element of the other.
We don't want to distinguish between two wellordered sets if they only differ in the "notation for their elements", or more formally: if we can pair off the elements of the first set with the elements of the second set in a onetoone fashion and such that if one element is smaller than another in the first set, then the partner of the first element is smaller than the partner of the second element in the second set, and vice versa. Such a onetoone correspondence is called an order isomorphism and the two wellordered sets are said to be orderisomorphic.
With this convention, one can show that every finite wellordered set is orderisomorphic to one (and only one) natural number. This provides the motivation for the generalization to infinite numbers.
Modern definition and first properties
We want to construct ordinal numbers as special wellordered sets in such a way that every wellordered set is orderisomorphic to one and only one ordinal number. The following definition improves on Cantor's approach and was first given by John von Neumann:
 A set S is an ordinal if and only if S is totally ordered with respect to set containment and every element of S is also a subset of S.
(Here, "set containment" is another name for the subset relationship.) Such a set S is automatically wellordered with respect to set containment. This relies on the axiom of well foundation: every nonempty set S has an element a which is disjoint from S.
Note that the natural numbers are ordinals by this definition. For instance, 2 is an element of 4 = {0, 1, 2, 3}, and 2 is equal to {0, 1} and so it is a subset of {0, 1, 2, 3}.
It can be shown by transfinite induction that every wellordered set is orderisomorphic to exactly one of these ordinals.
Furthermore, the elements of every ordinal are ordinals themselves. Whenever you have two ordinals S and T, S is an element of T if and only if S is a proper subset of T, and moreover, either S is an element of T, or T is an element of S, or they are equal. So every set of ordinals is totally ordered. And in fact, much more is true: Every set of ordinals is wellordered. This important result generalizes the fact that every set of natural numbers is wellordered and it allows us to use transfinite induction liberally with ordinals.
Another consequence is that every ordinal S is a set having as elements precisely the ordinals smaller than S. This statement completely determines the settheoretic structure of every ordinal in terms of other ordinals. It's used to prove many other useful results about ordinals. One example of these is an important characterization of the order relation between ordinals: every set of ordinals has a supremum, the ordinal obtained by taking the union of all the ordinals in the set. Another example is the fact that the collection of all ordinals is not a set. Indeed, since every ordinal contains only other ordinals, it follows that every member of the collection of all ordinals is also its subset. Thus, if that collection were a set, it would have to be an ordinal itself by definition; then it would be its own member, which contradicts the axiom of regularity. (See also the BuraliForti paradox).
An ordinal is finite if and only if the opposite order is also wellordered, which is the case if and only if each of its subsets has a greatest element.
Other definitions
There are other modern formulations of the definition of ordinal. Each of these is essentially equivalent to the definition given above. One of these definitions is the following. A class S is elementtransitive (or etransitive) if, whenever x is an element of y and y is an element of S, then x is an element of S. An ordinal is then defined to be a class S which is etransitive, and such that every member of S is also etransitive.
Arithmetic of ordinals
To define the sum S + T of two ordinal numbers S and T, one proceeds as follows: first the elements of T are relabeled so that S and T become disjoint, then the wellordered set S is written "to the left" of the wellordered set T, meaning one defines an order on S∪T in which every element of S is smaller than every element of T. The sets S and T themselves keep the ordering they already have. This way, a new wellordered set is formed, and this wellordered set is orderisomorphic to a unique ordinal, which is called S + T. This addition is associative and generalizes the addition of natural numbers.
The first transfinite ordinal is ω, the set of all natural numbers. Let's try to visualize the ordinal ω+ω: two copies of the natural numbers ordered in the normal fashion and the second copy completely to the right of the first. If we write the second copy as {0'<1'<2',...} then ω+ω looks like
 0 < 1 < 2 < 3 < ... < 0' < 1' < 2' < ...
This is different from ω because in ω only 0 does not have a direct predecessor while in ω+ω the two elements 0 and 0' don't have direct predecessors. Here's 3 + ω:
 0 < 1 < 2 < 0' < 1' < 2' < ...
and after relabeling, this just looks like ω itself: we have 3 + ω = ω. But ω + 3 is not equal to ω since the former has a largest element and the latter doesn't. So our addition is not commutative.
You should now be able to see that (ω + 4) + ω = ω + (4 + ω) = ω + ω for example.
To multiply the two ordinals S and T you write down the wellordered set T and replace each of its elements with a different copy of the wellordered set S. This results in a wellordered set, which defines a unique ordinal; we call it ST. Again, this operation is associative and generalizes the multiplication of natural numbers.
Here's ω2:
 0_{0} < 1_{0} < 2_{0} < 3_{0} < ... < 0_{1} < 1_{1} < 2_{1} < 3_{1} < ...
and we see: ω2 = ω + ω. But 2ω looks like this:
 0_{0} < 1_{0} < 0_{1} < 1_{1} < 0_{2} < 1_{2} < 0_{3} < 1_{3} < ...
and after relabeling, this looks just like ω and so we get 2ω = ω. Multiplication of ordinals is not commutative.
Distributivity partially holds for ordinal arithmetic: R(S+T) = RS + RT. One can actually see that. However, the other distributive law (T+U)R = TR + UR is not generally true: (1+1)ω is equal to 2ω = ω while 1ω + 1ω equals ω+ω. Therefore, the ordinal numbers do not form a ring.
One can now go on to define exponentiation of ordinal numbers and explore its properties. Ordinal numbers present an extremely rich arithmetic. There are ordinal numbers which can not be reached from ω with a finite number of the arithmetical operations addition, multiplication and exponentiation. The smallest such is denoted by ε_{0}. This ordinal is very important in many induction proofs, because for many purposes, transfinite induction is only required up to ε_{0}. Note that <math>\epsilon_0 = \omega^{\omega^{\omega^{\cdots}}}<math>, so that <math>\epsilon_0 = \omega^{\epsilon_0}<math>.
Every ordinal number <math>\alpha>0<math> can be uniquely written as <math>\omega^{\beta_1} c_1 + \omega^{\beta_2}c_2 + \ldots + \omega^{\beta_k}c_k<math>, where <math>k, c_1, c_2, \ldots, c_k<math> are positive integers, and <math>\beta_1 > \beta_2 > \ldots > \beta_k<math> are ordinal numbers (possibly <math>\beta_k=0<math>). This decomposition of <math>\alpha<math> is called the Cantor normal form of <math>\alpha<math>, and can be considered the positional baseω numeral system. The highest exponent <math>\beta_1<math> is called the degree of <math>\alpha<math>, and satisfies <math>\beta_1\le\alpha<math>. In case <math>\alpha<\epsilon_0<math>, we even have <math>\beta_1<\alpha<math>, resulting in a finite representation of α with integers only (attached to a skeleton of ωs, additions, multiplications, and exponentiations). Here is an example of an ordinal number in Cantor normal form, with exponents also in Cantor normal form: <math>\omega^{\omega^{\omega^{0}2}3+\omega^{\omega^{0}1}1}1 + \omega^{\omega^{\omega^{0}1}5+\omega^{0}2}1 + \omega^{3}4 + \omega^{0}17<math>, which usually is written more simply as <math>\omega^{\omega^{2}3+\omega} + \omega^{\omega5+2} + \omega^{3}4 + 17<math>. Arithmetic operations on ordinals can be captured by algorithms that transform Cantor normal forms, similar to, but more complicated than, the algorithms for integer arithmetic in terms of the decimal notation usually taught in primary education. Also see (Sierpinski, 1965).
There exist uncountable ordinals. The smallest uncountable ordinal is equal to the set of all countable ordinals, and is usually denoted by ω_{1}.
Topology and limit ordinals
The ordinals also carry an interesting order topology by virtue of being totally ordered. In this topology, the sequence 0, 1, 2, 3, 4, ... has limit ω and the sequence ω, ω^ω, ω^(ω^ω), ... has limit ε_{0}. Ordinals which don't have an immediate predecessor can always be written as a limit of a net of other ordinals (but not necessarily as the limit of a sequence, i.e. as a limit of countably many smaller ordinals) and are called limit ordinals; the other ordinals are the successor ordinals.
The topological spaces ω_{1} and its successor ω_{1}+1 are frequently used as the textbook examples of noncountable topologies. For example, in the topological space ω_{1}+1, the element ω_{1} is in the closure of the subset ω_{1} even though no sequence of elements in ω_{1} has the element ω_{1} as its limit. The space ω_{1} is firstcountable, but not secondcountable, and ω_{1}+1 has none of these two properties.
Some special ordinals can be used to measure the size or cardinality of sets. These are the cardinal numbers.
See also
References
 Conway, J. H. and Guy, R. K. "Cantor's Ordinal Numbers." In The Book of Numbers. New York: SpringerVerlag, pp. 266267 and 274, 1996.
 Sierpinski, W. (1965). Cardinal and Ordinal Numbers (2nd ed.). Warszawa: Pantswowe Wydawnictwo Naukowe. Also defines ordinal operations in terms of the Cantor Normal Form.
Topics in mathematics related to quantity  
Numbers  Natural numbers  Integers  Rational numbers  Constructible numbers  Algebraic numbers  Computable numbers  Real numbers  Complex numbers  Splitcomplex numbers  Bicomplex numbers  Hypercomplex numbers  Quaternions  Octonions  Sedenions  Superreal numbers  Hyperreal numbers  Surreal numbers  Nominal numbers  Ordinal numbers  Cardinal numbers  padic numbers  Integer sequences  Mathematical constants  Large numbers  Infinity 
da:Ordinaltal de:Ordinalzahl it:Numeri ordinali ja:順序数 hu:rendszm (halmazelmlet) nl:Rangtelwoord sv:Ordinaltal zh:序数