Cardinality is a property of sets. For finite sets, the cardinality of is the number of elements in that set, i.e. the size of the set. The cardinality of is 2, the cardinality of is 3, and the cardinality of the empty set is 0.
The cardinality of a set is denoted by . In the above example, the cardinality of is . Sometimes, the notations and are used.
For infinite sets, cardinality also measures (in some sense) the "size" of the set, but an explicit formulation is more complicated: the cardinality of a set is the least cardinal that can be put in bijection with . With the Axiom of choice (), each set is well-orderable, and since the class of well-orderable cardinals is well-ordered, we can reasonably talk about the least cardinal in bijection with a set . In the absence of , one can define cardinals using equivalence classes, formed via the relation (there is a bijection between and ).
The notion of cardinalities for infinite sets is due to Georg Cantor and is one aspect of the field of set theory. Most significantly, Cantor showed that there are multiple infinite cardinalities. In other words, not all infinite sets are the same size.
This article is a stub. Help us out by expanding it.