# Order type

In mathematics, especially in set theory, two ordered sets X and Y are said to have the same **order type** if they are order isomorphic, that is, if there exists a bijection (each element matches exactly one in the other set) such that both f and its inverse are monotonic (preserving orders of elements). In the special case when X is totally ordered, monotonicity of f implies monotonicity of its inverse.

For example, the set of integers and the set of even integers have the same order type, because the mapping is a bijection that preserves the order. But the set of integers and the set of rational numbers (with the standard ordering) do not have the same order type, because even though the sets are of the same size (they are both countably infinite), there is no order-preserving bijective mapping between them. To these two order types we may add two more: the set of positive integers (which has a least element), and that of negative integers (which has a greatest element). The open interval (0, 1) of rationals is order isomorphic to the rationals (since, for example, is a strictly increasing bijection from the former to the latter); the rationals contained in the half-closed intervals [0,1) and (0,1], and the closed interval [0,1], are three additional order type examples.

Since order-equivalence is an equivalence relation, it partitions the class of all ordered sets into equivalence classes.

## Contents

## Order type of well-orderingsEdit

Every well-ordered set is order-equivalent to exactly one ordinal number. The ordinal numbers are taken to be the canonical representatives of their classes, and so the order type of a well-ordered set is usually identified with the corresponding ordinal. For example, the order type of the natural numbers is ω.

The order type of a well-ordered set V is sometimes expressed as ord(*V*).^{[1]}

For example, consider the set V of even ordinals less than *ω* ⋅ 2 + 7:

Its order type is:

because there are 2 separate lists of counting and 4 in sequence at the end.

## Rational numbersEdit

Any countable totally ordered set can be mapped injectively into the rational numbers in an order-preserving way. Any dense countable totally ordered set with no highest and no lowest element can be mapped bijectively onto the rational numbers in an order-preserving way.

## NotationEdit

The order type of the rationals is usually denoted . If a set S has order type , the order type of the dual of S (the reversed order) is denoted .