Cardinality Explained

In mathematics, cardinality describes a relationship between sets which compares their relative size.[1] For example, the sets

A=\{1,2,3\}

and

B=\{2,4,6\}

are the same size as they each contain 3 elements. Beginning in the late 19th century, this concept was generalized to infinite sets, which allows one to distinguish between different types of infinity, and to perform arithmetic on them. There are two notions often used when referring to cardinality: one which compares sets directly using bijections and injections, and another which uses cardinal numbers.The cardinality of a set may also be called its size, when no confusion with other notions of size is possible.

When two sets, and, have the same cardinality, it is usually written as

|A|=|B|

; however, if referring to the cardinal number of an individual set

A

, it is simply denoted

|A|

, with a vertical bar on each side;[2] this is the same notation as absolute value, and the meaning depends on context. The cardinal number of a set

A

may alternatively be denoted by

n(A)

,

A

,

\operatorname{card}(A)

, or

\#A

.

History

A crude sense of cardinality, an awareness that groups of things or events compare with other groups by containing more, fewer, or the same number of instances, is observed in a variety of present-day animal species, suggesting an origin millions of years ago.[3] Human expression of cardinality is seen as early as years ago, with equating the size of a group with a group of recorded notches, or a representative collection of other things, such as sticks and shells.[4] The abstraction of cardinality as a number is evident by 3000 BCE, in Sumerian mathematics and the manipulation of numbers without reference to a specific group of things or events.[5]

From the 6th century BCE, the writings of Greek philosophers show hints of the cardinality of infinite sets. While they considered the notion of infinity as an endless series of actions, such as adding 1 to a number repeatedly, they did not consider the size of an infinite set of numbers to be a thing.[6] The ancient Greek notion of infinity also considered the division of things into parts repeated without limit. In Euclid's Elements, commensurability was described as the ability to compare the length of two line segments, a and b, as a ratio, as long as there were a third segment, no matter how small, that could be laid end-to-end a whole number of times into both a and b. But with the discovery of irrational numbers, it was seen that even the infinite set of all rational numbers was not enough to describe the length of every possible line segment.[7] Still, there was no concept of infinite sets as something that had cardinality.

To better understand infinite sets, a notion of cardinality was formulated by Georg Cantor, the originator of set theory. He examined the process of equating two sets with bijection, a one-to-one correspondence between the elements of two sets based on a unique relationship. In 1891, with the publication of Cantor's diagonal argument, he demonstrated that there are sets of numbers that cannot be placed in one-to-one correspondence with the set of natural numbers, i.e. uncountable sets that contain more elements than there are in the infinite set of natural numbers.[8]

Comparing sets

While the cardinality of a finite set is simply comparable to its number of elements, extending the notion to infinite sets usually starts with defining the notion of comparison of arbitrary sets (some of which are possibly infinite).

Definition 1: =

Two sets have the same cardinality if there exists a bijection (a.k.a., one-to-one correspondence) from to,[9] that is, a function from to that is both injective and surjective. Such sets are said to be equipotent, equipollent, or equinumerous.

For example, the set

E=\{0,2,4,6,...\}

of non-negative even numbers has the same cardinality as the set

\N=\{0,1,2,3,...\}

of natural numbers, since the function

f(n)=2n

is a bijection from to (see picture).

For finite sets and, if some bijection exists from to, then each injective or surjective function from to is a bijection. This is no longer true for infinite and . For example, the function from to, defined by

g(n)=4n

is injective, but not surjective since 2, for instance, is not mapped to, and from to, defined by

h(n)=n-(nmod2)

(see: modulo operation) is surjective, but not injective, since 0 and 1 for instance both map to 0. Neither nor can challenge

|E|=|\N|

, which was established by the existence of .

Definition 2: ≤

has cardinality less than or equal to the cardinality of, if there exists an injective function from into .

If

|A|\leq|B|

and

|B|\leq|A|

, then

|A|=|B|

(a fact known as Schröder–Bernstein theorem). The axiom of choice is equivalent to the statement that

|A|\leq|B|

or

|B|\leq|A|

for every and .[10]

Definition 3: <

has cardinality strictly less than the cardinality of, if there is an injective function, but no bijective function, from to .

For example, the set of all natural numbers has cardinality strictly less than its power set, because

g(n)=\{n\}

is an injective function from to, and it can be shown that no function from to can be bijective (see picture). By a similar argument, has cardinality strictly less than the cardinality of the set of all real numbers. For proofs, see Cantor's diagonal argument or Cantor's first uncountability proof.

Cardinal numbers

See main article: article and Cardinal number.

In the above section, "cardinality" of a set was defined functionally. In other words, it was not defined as a specific object itself. However, such an object can be defined as follows.

The relation of having the same cardinality is called equinumerosity, and this is an equivalence relation on the class of all sets. The equivalence class of a set A under this relation, then, consists of all those sets which have the same cardinality as A. There are two ways to define the "cardinality of a set":

  1. The cardinality of a set A is defined as its equivalence class under equinumerosity.
  2. A representative set is designated for each equivalence class. The most common choice is the initial ordinal in that class. This is usually taken as the definition of cardinal number in axiomatic set theory.

Assuming the axiom of choice, the cardinalities of the infinite sets are denoted

\aleph0<\aleph1<\aleph2<\ldots.

For each ordinal

\alpha

,

\aleph\alpha

is the least cardinal number greater than

\aleph\alpha

.

The cardinality of the natural numbers is denoted aleph-null (

\aleph0

), while the cardinality of the real numbers is denoted by "

akc

" (a lowercase fraktur script "c"), and is also referred to as the cardinality of the continuum. Cantor showed, using the diagonal argument, that

{akc}>\aleph0

. We can show that

akc=

\aleph0
2
, this also being the cardinality of the set of all subsets of the natural numbers.

The continuum hypothesis says that

\aleph1=

\aleph0
2
, i.e.
\aleph0
2
is the smallest cardinal number bigger than

\aleph0

, i.e. there is no set whose cardinality is strictly between that of the integers and that of the real numbers. The continuum hypothesis is independent of ZFC, a standard axiomatization of set theory; that is, it is impossible to prove the continuum hypothesis or its negation from ZFC—provided that ZFC is consistent. For more detail, see § Cardinality of the continuum below.[11] [12]

Finite, countable and uncountable sets

If the axiom of choice holds, the law of trichotomy holds for cardinality. Thus we can make the following definitions:

\aleph0

, is said to be a countably infinite set.

akc

> | N |, is said to be uncountable.

Infinite sets

Our intuition gained from finite sets breaks down when dealing with infinite sets. In the late 19th century Georg Cantor, Gottlob Frege, Richard Dedekind and others rejected the view that the whole cannot be the same size as the part.[13] One example of this is Hilbert's paradox of the Grand Hotel.Indeed, Dedekind defined an infinite set as one that can be placed into a one-to-one correspondence with a strict subset (that is, having the same size in Cantor's sense); this notion of infinity is called Dedekind infinite. Cantor introduced the cardinal numbers, and showed—according to his bijection-based definition of size—that some infinite sets are greater than others. The smallest infinite cardinality is that of the natural numbers (

\aleph0

).

Cardinality of the continuum

See main article: article and Cardinality of the continuum.

One of Cantor's most important results was that the cardinality of the continuum (

ak{c}

) is greater than that of the natural numbers (

\aleph0

); that is, there are more real numbers R than natural numbers N. Namely, Cantor showed that

ak{c}=

\aleph0
2

=\beth1

(see Beth one) satisfies:
\aleph0
2

>\aleph0

(see Cantor's diagonal argument or Cantor's first uncountability proof).

The continuum hypothesis states that there is no cardinal number between the cardinality of the reals and the cardinality of the natural numbers, that is,

\aleph0
2

=\aleph1

However, this hypothesis can neither be proved nor disproved within the widely accepted ZFC axiomatic set theory, if ZFC is consistent.

Cardinal arithmetic can be used to show not only that the number of points in a real number line is equal to the number of points in any segment of that line, but that this is equal to the number of points on a plane and, indeed, in any finite-dimensional space. These results are highly counterintuitive, because they imply that there exist proper subsets and proper supersets of an infinite set S that have the same size as S, although S contains elements that do not belong to its subsets, and the supersets of S contain elements that are not included in it.

The first of these results is apparent by considering, for instance, the tangent function, which provides a one-to-one correspondence between the interval (−½π, ½π) and R (see also Hilbert's paradox of the Grand Hotel).

The second result was first demonstrated by Cantor in 1878, but it became more apparent in 1890, when Giuseppe Peano introduced the space-filling curves, curved lines that twist and turn enough to fill the whole of any square, or cube, or hypercube, or finite-dimensional space. These curves are not a direct proof that a line has the same number of points as a finite-dimensional space, but they can be used to obtain such a proof.

Cantor also showed that sets with cardinality strictly greater than

akc

exist (see his generalized diagonal argument and theorem). They include, for instance:

Both have cardinality

2ak{c}=\beth2>akc

(see Beth two).

ak{c}2=ak{c},

\aleph0
akc

=akc,

and

akcakc=2akc

can be demonstrated using cardinal arithmetic:

ak{c}2=

\aleph0
\left(2

\right)2=

2 x {\aleph0
2
} = 2^ = \mathfrak,
\aleph0
akc

=

\aleph0
\left(2
\aleph0
\right)

=

{\aleph0
2

x {\aleph0}}=

\aleph0
2

=ak{c},

akcakc=

\aleph0
\left(2

\right)akc=

akc x \aleph0
2

=2akc.

Examples and properties

[0,1]

.

Union and intersection

See main article: article and Inclusion-exclusion principle.

If A and B are disjoint sets, then

\left\vertA\cupB\right\vert=\left\vertA\right\vert+\left\vertB\right\vert.

From this, one can show that in general, the cardinalities of unions and intersections are related by the following equation:[14]

\left\vertC\cupD\right\vert+\left\vertC\capD\right\vert=\left\vertC\right\vert+\left\vertD\right\vert.

Definition of cardinality in class theory (NBG or MK)

Here

V

denote a class of all sets, and

Ord

denotes the class of all ordinal numbers.

|A|:=Ord\capcap\{\alpha\inOrd|\exists(f:A\to\alpha):(finjective)\}

We use the intersection of a class which is defined by

(x\incapQ)\iff(\forallq\inQ:x\inq)

, therefore

cap\emptyset=V

.In this case

(x\mapsto|x|):V\toOrd

.This definition allows also obtain a cardinality of any proper class

P

, in particular

|P|=Ord

This definition is natural since it agrees with the axiom of limitation of size which implies bijection between

V

and any proper class.

See also

Notes and References

  1. Book: Stoll, Robert R.. 1963. Set Theory and Logic. Dover Publications. San Francisco, CA. 978-0-486-63829-4.
  2. Web site: Cardinality Brilliant Math & Science Wiki. 2020-08-23. brilliant.org. en-us.
  3. Cepelewicz, Jordana Animals Count and Use Zero. How Far Does Their Number Sense Go?, Quanta, August 9, 2021
  4. Web site: Early Human Counting Tools. Math Timeline. 2018-04-26.
  5. Duncan J. Melville (2003). Third Millennium Chronology, Third Millennium Mathematics. St. Lawrence University.
  6. Web site: Allen . Donald . 2003 . The History of Infinity . Nov 15, 2019 . Texas A&M Mathematics . August 1, 2020 . https://web.archive.org/web/20200801202539/https://www.math.tamu.edu/~dallen/masters/infinity/infinity.pdf . dead .
  7. The Discovery of Incommensurability by Hippasus of Metapontum. Kurt Von Fritz. The Annals of Mathematics. 1945.
  8. Georg Cantor . Ueber eine elementare Frage der Mannigfaltigkeitslehre . Jahresbericht der Deutschen Mathematiker-Vereinigung . 1 . 75–78 . 1891 .
  9. Web site: 2019-12-05. Infinite Sets and Cardinality. 2020-08-23. Mathematics LibreTexts. en.
  10. - Original edition (1914)
  11. Paul J. . Cohen . The Independence of the Continuum Hypothesis . Proceedings of the National Academy of Sciences of the United States of America . 50 . 6 . December 15, 1963 . 1143–1148 . 10.1073/pnas.50.6.1143 . 16578557 . 221287 . 71858 . 1963PNAS...50.1143C . free .
  12. Paul J. . Cohen . The Independence of the Continuum Hypothesis, II . Proceedings of the National Academy of Sciences of the United States of America . 51 . 1 . January 15, 1964 . 105–110 . 10.1073/pnas.51.1.105 . 16591132 . 300611 . 72252 . 1964PNAS...51..105C . free .

  13. Reprinted in: Here: p.413 bottom
  14. Applied Abstract Algebra, K.H. Kim, F.W. Roush, Ellis Horwood Series, 1983, (student edition), (library edition)