In the above sections, "the cardinality of a set" was described relationally. In other words, one set could be compared to another, intuitively comparing their "size".
Cardinal numbers are a means of measuring this "size" more explicitly. For finite sets, this is simply the
natural number found by counting the elements. This number is called the
cardinal number of that set, or simply
the cardinality of that set. The cardinal number of a set is generally denoted by , with a
vertical bar on each side, though it may also be denoted by , {{tmath|1=\operatorname{card}(A) }}, or . For infinite sets, "cardinal number" is somewhat more difficult to define formally. Cardinal numbers are not usually thought of in terms of their formal definition, but immaterially in terms of their arithmetic/algebraic properties. The assumption that there is
some cardinal function which satisfies , sometimes called the
axiom of cardinality or ''
Hume's principle'', is sufficient for deriving most properties of cardinal numbers. Commonly in mathematics, if a relation satisfies the properties of an
equivalence relation, the objects used to materialize this relation are
equivalence classes, which groups all the objects equivalent to one another. These called the
FregeRussell cardinal numbers. However, this would mean that cardinal numbers are too large to form sets (apart from the cardinal number whose only element is the
empty set), since, for example, the cardinal number would be the set of all sets with one element, then {{tmath|1=\{ \bold 1 \} \in \bold 1 }}, and would therefore contain itself, violating
regularity. Thus, due to
John von Neumann, it is more common to assign
representatives of these classes.
Finite cardinals , from the set {{nowrap|X {1,2,3,4}}} to the set Y demonstrates that Y has cardinality 4.|class=skin-invert-image Given a basic sense of
natural numbers, a set is said to have cardinality if it can be put in one-to-one correspondence with the set {{tmath|\{1,\,2,\, \dots, \, n \} }}, analogous to
counting its elements. For example, the set {{tmath|1=S = \{ A,B,C,D \} }} has a natural correspondence with the set {{tmath|\{1,2,3,4\} }}, and therefore is said to have cardinality 4. Other terminologies include "Its cardinality is 4" or "Its cardinal number is 4". In formal contexts, the natural numbers can be understood as some construction of objects satisfying the
Peano axiomsa list of properties, such that any system satisfying these properties is,
in a certain sense, just like the natural numbers. Showing that such a correspondence exists is not always trivial.
Combinatorics is the area of mathematics primarily concerned with
counting, both as a means and as an end to obtaining results, and certain properties of finite structures. The notion cardinality of finite sets is closely tied to many basic
combinatorial principles, and provides a set-theoretic foundation to recover them. It can be shown
by induction on the possible sizes of sets that finite cardinality corresponds uniquely with natural numbers (cf. ''''). This is related to several other concepts, verifying Hume's principle and the basis of
bijective proofs, and is equivalent to a certain formulation of the
pigeonhole principle, that a finite set cannot be put in one to one correspondence with a proper subset of itself. The
addition principle asserts that given
disjoint sets and , , intuitively meaning that the sum of the parts is equal to the whole. The
multiplication principle asserts that given two sets and , , intuitively meaning that there are ways to pair objects from these sets. Both of these can be proven by a
bijective proof, together with induction. The more general result is the
inclusion–exclusion principle, which defines how to count the number of elements in overlapping sets. Naturally, a set is defined to be finite if it is
empty or can be put in correspondence with the set {{tmath|\{1,\,2,\, \dots, \, n\} }}, for some natural number .
Aleph numbers , aleph-zero, or aleph-null: the smallest infinite cardinal number, and the cardinal number of the set of natural numbers. The first aleph number is , called "aleph-nought", "aleph-zero", or "aleph-null", which represents the cardinality of the set of all
natural numbers: {{tmath|1=\aleph_0 = \vert \N \vert = \vert\{0,1,2,3,\cdots\}\vert }}. Then, represents the next largest cardinality, then , and so on. The most common way this is formalized in set theory is through
Von Neumann ordinals, known as
Von Neumann cardinal assignment.
Ordinal numbers generalize the notion of
order to infinite sets. For example, 2 comes after 1, denoted , and 3 comes after both, denoted . Then, one defines a new number, , which comes after every natural number, denoted . Further , and so on. More formally, these ordinal numbers can be defined as follows: {{tmath|1=0 := \{\} }}, the
empty set, {{tmath|1=1 := \{0\} }}, {{tmath|1=2 := \{0,1\} }}, {{tmath|1=3 := \{0,1,2\} }}, and so on. Then one can define {{tmath|1=m < n \text{, if } \, m \in n }}, for example, {{tmath|1=2 \in \{0,1,2\} = 3 }}, therefore . Defining {{tmath|1=\omega := \{0,1,2,3,\cdots\} }} gives the desired property of being the smallest ordinal greater than all finite ordinal numbers. Further, {{tmath|1=\omega+1 := \{1,2,\cdots,\omega\} }}, and so on. Since by the natural correspondence, one may define as the set of all finite ordinals. That is, . Then, is the set of all countable ordinals (all ordinals with cardinality ), the
first uncountable ordinal. Since a set cannot contain itself, must have a strictly larger cardinality: . Furthermore, is the set of all ordinals with cardinality less than or equal to , and in general the
successor cardinal is the set of all ordinals with cardinality up to . Put another way for infinite cardinals, is the number of possible
well-orderings on up to
order isomorphism. Proving that such a set always exists is known as Hartogs' theorem, wherein the smallest ordinal not less than or equal to than a set is called the
Hartogs number of . Then, for a limit ordinal is the
union of all lesser alephs. The importance of ordinal numbers here is to generalize the notion of counting to infinite sets. When counting, one implicitly assigns an order to their set of objects, but no matter what order one assigns the final result of the count is always the same, which demonstrates the connection between cardinal and ordinal numbers. Further, by the
well-ordering theorem, there cannot exist any set with cardinality between and , and every infinite set has some cardinality corresponding uniquely to some aleph , for some ordinal . This allows one to use a constructive definition of the cardinality function, by assigning each set to its equinumerous aleph.
Cardinal arithmetic Basic arithmetic can be done on cardinal numbers in a very natural way, by extending the theorems for finite combinatorial principles above. The intuitive principle that is and are disjoint then addition of these sets is simply taking their
union, written as . Thus if and are infinite, cardinal addition is defined as where denotes
disjoint union. Similarly, the multiplication of two sets is intuitively the number of ways to pair their elements (as in the
multiplication principle), therefore cardinal multiplication is defined as , where denotes the
Cartesian product. These definitions can be shown to satisfy the basic properties of standard arithmetic: •
Associativity: , and •
Commutativity: , and •
Distributivity: Although a lot of properties of finite arithmetic hold for infinite arithmetic, as above and in the table below, strict inequalities (such as
Kőnig's theorem) are rare. For example, in finite arithmetic, for any nonzero number , . However, since both the set of even numbers and set of odd numbers have cardinality , it shows thus . In fact, for any infinite cardinal, . In this way, infinite cardinal addition and multiplication are considered to be remarkably well-behaved (at least under the
Axiom of Choice). Cardinal exponentiation {{tmath|1=\vert A \vert^{\vert B \vert} }} is defined via
set exponentiation, the set of all functions , that is, {{tmath|1=\vert A \vert^{\vert B \vert} := \vert A^B\vert }} which naturally extends the role of "repeated multiplication" to infinite sets. For finite sets this can be shown to coincide with standard
natural number exponentiation, but includes as a corollary that
zero to the power of zero is one since there is exactly one function from the
empty set to itself: the
empty function. A combinatorial argument can be used to show {{tmath|1=2^{\vert A \vert} = \vert\mathcal{P}(A)\vert }}, by considering the
indicator function of each subset. In general, cardinal exponentiation is not as well-behaved as addition and multiplication. For example, even though it can be proven that the expression {{tmath|1=2^{\aleph_0} }}does indeed correspond to some aleph, it is
unprovable from standard set theories which aleph it corresponds to.
Set of all cardinal numbers The
set of all cardinal numbers refers to a hypothetical set which contains all cardinal numbers. Such a set cannot exist, which has been considered paradoxical, and related to the
Burali-Forti paradox. Using the definition of cardinal numbers as representatives of their cardinalities. It begins by assuming there is some set {{tmath|1=S := \{ X \, \vert X \text{ is a cardinal number}\} }}. Then, if there is some largest cardinal , then the powerset is strictly greater, and thus not in . Conversely, if there is no largest element, then the
union contains the elements of all elements of , and is therefore greater than or equal to each element. Since there is no largest element in , for any element , there is another element such that and . Thus, for any , , and so . Thus, the collection of all cardinal numbers is too large to form a set, and is a
proper class. == Cardinality of the continuum ==