# Equinumerosity

{{#invoke:Hatnote|hatnote}}Template:Main other

In mathematics, two sets A and B are equinumerous if there exists a one-to-one correspondence (a bijection) between them, i.e. if there exists a function from A to B such that for every element y of B there is exactly one element x of A with Template:Nowrap beginf(x) = yTemplate:Nowrap end.[1] This definition can be applied to both finite and infinite sets and allows one to state whether two sets have the same size even if they are infinite.

The study of cardinality is often called equinumerosity (equalness-of-number). The terms equipollence (equalness-of-strength) and equipotence (equalness-of-power) are sometimes used instead. The statement that two sets A and B are equinumerous is usually denoted

${\displaystyle A\approx B\,}$ or ${\displaystyle A\sim B}$, or ${\displaystyle |A|=|B|.}$

Georg Cantor, the inventor of set theory, showed in 1874 that there is more than one kind of infinity, specifically that the collection of all natural numbers and the collection of all real numbers, while both infinite, are not equinumerous (see Cantor's first uncountability proof). In a controversial 1878 paper, Cantor explicitly defined the notion of "power" of sets and used it to prove that the set of all natural numbers and the set of all rational numbers are equinumerous, and that the Cartesian product of even a countably infinite number of copies of the real numbers is equinumerous to a single copy of the real numbers. Cantor's theorem from 1891 implies that no set is equinumerous to its power set.[1] This allows the definition of greater and greater infinite sets starting from a single infinite set.

Equinumerous finite sets have the same number of elements. Equinumerosity has the characteristic properties of an equivalence relation.[1] Equinumerous sets are said to have the same cardinality,[2] and the cardinal number of a set is the equivalence class of all sets equinumerous to it.[1] The statement that any two sets are either equinumerous or one has a smaller cardinality than the other is equivalent to the axiom of choice.[3] Unlike finite sets, some infinite sets are equinumerous to proper subsets of themselves.[1]

## Reflexivity, symmetry, and transitivity

Equinumerosity has the characteristic properties of an equivalence relation (reflexivity, symmetry, and transitivity):[1]

Reflexivity
Given a set A, the identity function on A is a bijection from A to itself, showing that every set A is equinumerous to itself: A ~ A.
Symmetry
For every bijection between two sets A and B there exists an inverse function which is a bijection between B and A, implying that if a set A is equinumerous to a set B then B is also equinumerous to A: A ~ B implies B ~ A.
Transitivity
Given three sets A, B and C with two bijections f : AB and g : BC, the composition gf of these bijections is a bijection from A to C, so if A and B are equinumerous and B and C are equinumerous then A and C are equinumerous: A ~ B and B ~ C together imply A ~ C.

Equinumerosity is not usually considered an equivalence relation, because relations are by definition restricted to sets (a binary relation on a set A is a subset of the Cartesian product A × A), and there is no set of all sets in Zermelo–Fraenkel set theory, the standard form of axiomatic set theory. In some other systems of axiomatic set theory, e.g. Von Neumann–Bernays–Gödel set theory and Morse–Kelley set theory, relations are extended to classes.

## Cardinality

Equinumerous sets are said to have the same cardinality. The cardinality of a set X is a measure of the "number of elements of the set" and can be defined as the equivalence class of all sets equinumerous to X.[1] This definition is problematic in Zermelo–Fraenkel set theory, because the equivalence class of a non-empty set is too large to be a set. Instead one tries to assign a representative set to each equivalence class (cardinal assignment).

A set A is said to have cardinality smaller than or equal to the cardinality of a set B if there exists a one-to-one function (an injection) from A into B. This is denoted Template:Nowrap begin|A| ≤ |B|.Template:Nowrap end If A and B are not equinumerous, then the cardinality of A is said to be strictly smaller than the cardinality of B. This is denoted Template:Nowrap begin|A| < |B|.Template:Nowrap end The axiom of choice is equivalent to the statement that any two sets are either equinumerous, or one has a strictly smaller cardinality than the other.[3] This implies the law of trichotomy for cardinal numbers.[1]

The Cantor–Bernstein–Schröder theorem states that any two sets A and B for which there exist two one-to-one functions f : AB and g : BA are equinumerous: if Template:Nowrap begin|A| ≤ |B|Template:Nowrap end and Template:Nowrap begin|B| ≤ |A|,Template:Nowrap end then Template:Nowrap begin|A| = |B|.Template:Nowrap end[1][3] This theorem does not rely on the axiom of choice.

## Compatibility with set operations

Equinumerosity is compatible with the basic set operations in a way that allows the definition of cardinal arithmetic.[1] Specifically, equinumerosity is compatible with disjoint unions: Given four sets A, B, C and D with A and C on the one hand and B and D on the other hand pairwise disjoint and with A ~ B and C ~ D then AC ~ BD. This is used to justify the definition of cardinal addition.

Furthermore, equinumerosity is compatible with cartesian products:

• If A ~ B and C ~ D then A × C ~ B × D.
• A × B ~ B × A
• (A × B) × C ~ A × (B × C)

These properties are used to justify cardinal multiplication.

Exponentiation:

• If A ~ B and C ~ D then AC ~ BD. (Here XY denotes the set of all functions from Y to X.)
• ABC ~ AB × AC for disjoint B and C.
• (A × B)C ~ AC × BC
• (AB)C ~ AB×C

These properties are used to justify cardinal exponentiation.

Furthermore, the power set of a given set A (the set of all subsets of A) is equinumerous to the set 2A, the set of all functions from the set A to a set containing exactly two elements.

## Cantor's theorem

Cantor's theorem implies that no set is equinumerous to its power set (the set of all its subsets).[1] This holds even for infinite sets. Specifically, the power set of a countably infinite set is an uncountable set.

Assuming the existence of an infinite set N consisting of all natural numbers and assuming the existence of the power set of any given set allows the definition of a sequence N, P(N), P(P(N)), P(P(P(N))), … of infinite sets where each set is the power set of the set preceding it. By Cantor's theorem, the cardinality of each set in this sequence strictly exceeds the cardinality of the set preceding it, leading to greater and greater infinite sets.

Cantor's work was harshly criticized by some of his contemporaries, e.g. by Leopold Kronecker, who strongly adhered to a finitist[4] philosophy of mathematics and rejected the idea that numbers can form an actual, completed totality (an actual infinity). However, Cantor's ideas were defended by others, e.g. by Richard Dedekind, and ultimately were largely accepted, strongly supported by David Hilbert. See Controversy over Cantor's theory.

Within the framework of Zermelo–Fraenkel set theory, the axiom of power set guarantees the existence of the power set of any given set. Furthermore, the axiom of infinity guarantees the existence of at least one infinite set, namely a set containing the natural numbers. There are alternative set theories, e.g. "general set theory" (GST), Kripke–Platek set theory, and pocket set theory (PST), that deliberately omit the axiom of power set and the axiom of infinity and do not allow the definition of the infinite hierarchy of infinites proposed by Cantor.

The cardinalities corresponding to the sets N, P(N), P(P(N)), P(P(P(N))), … are the beth numbers ${\displaystyle \beth _{0}}$, ${\displaystyle \beth _{1}}$, ${\displaystyle \beth _{2}}$, with the first beth number ${\displaystyle \beth _{0}}$ being equal to ${\displaystyle \aleph _{0}}$ (aleph naught), the cardinality of any countably infinite set, and the second beth number ${\displaystyle \beth _{1}}$ being equal to ${\displaystyle {\mathfrak {c}}}$, the cardinality of the continuum.

## Dedekind-infinite sets

A given set may be equinumerous to some proper subset of itself, e.g. the set of natural numbers is equinumerous to the set of even natural numbers. Such a set is called Dedekind-infinite.[1][3]

Some weak variant of the axiom of choice (AC) is needed to show that a set that is not Dedekind-infinite is finite in the sense of having a finite number of elements. The axioms of Zermelo–Fraenkel set theory without the axiom of choice (ZF) are not strong enough to prove that every infinite set is Dedekind-infinite, but e.g. the axioms of Zermelo–Fraenkel set theory without the axiom of choice but with the axiom of countable choice (ZF + ACω) are strong enough.[5] Other definitions of finiteness and infiniteness of sets do not require the axiom of choice for this.[1]

## Categorial definition

In Set, the category of all sets with functions as morphisms, an isomorphism between two sets is precisely a bijection, and two sets are equinumerous precisely if they are isomorphic in this category.