In set theory, the **cardinality of the continuum** is the cardinality or "size" of the set of real numbers , sometimes called the continuum. It is an infinite cardinal number and is denoted by (lowercase fraktur "c") or .^{[1]}

The real numbers are more numerous than the natural numbers . Moreover, has the same number of elements as the power set of Symbolically, if the cardinality of is denoted as , the cardinality of the continuum is

This was proven by Georg Cantor in his uncountability proof of 1874, part of his groundbreaking study of different infinities. The inequality was later stated more simply in his diagonal argument in 1891. Cantor defined cardinality in terms of bijective functions: two sets have the same cardinality if, and only if, there exists a bijective function between them.

Between any two real numbers *a* < *b*, no matter how close they are to each other, there are always infinitely many other real numbers, and Cantor showed that they are as many as those contained in the whole set of real numbers. In other words, the open interval (*a*,*b*) is equinumerous with This is also true for several other infinite sets, such as any *n*-dimensional Euclidean space (see space filling curve). That is,

The smallest infinite cardinal number is (aleph-null). The second smallest is (aleph-one). The continuum hypothesis, which asserts that there are no sets whose cardinality is strictly between and , means that .^{[2]} The truth or falsity of this hypothesis is undecidable and cannot be proven within the widely used Zermelo–Fraenkel set theory with axiom of choice (ZFC).

Georg Cantor introduced the concept of cardinality to compare the sizes of infinite sets. He famously showed that the set of real numbers is uncountably infinite. That is, is strictly greater than the cardinality of the natural numbers, :

In practice, this means that there are strictly more real numbers than there are integers. Cantor proved this statement in several different ways. For more information on this topic, see Cantor's first uncountability proof and Cantor's diagonal argument.

A variation of Cantor's diagonal argument can be used to prove Cantor's theorem, which states that the cardinality of any set is strictly less than that of its power set. That is, (and so that the power set of the natural numbers is uncountable). In fact, one can show^{[citation needed]} that the cardinality of is equal to as follows:

- Define a map from the reals to the power set of the rationals, , by sending each real number to the set of all rationals less than or equal to (with the reals viewed as Dedekind cuts, this is nothing other than the inclusion map in the set of sets of rationals). Because the rationals are dense in , this map is injective, and because the rationals are countable, we have that .
- Let be the set of infinite sequences with values in set . This set has cardinality (the natural bijection between the set of binary sequences and is given by the indicator function). Now, associate to each such sequence the unique real number in the interval with the ternary-expansion given by the digits , i.e., , the -th digit after the fractional point is with respect to base . The image of this map is called the Cantor set. It is not hard to see that this map is injective, for by avoiding points with the digit 1 in their ternary expansion, we avoid conflicts created by the fact that the ternary-expansion of a real number is not unique. We then have that .

By the Cantor–Bernstein–Schroeder theorem we conclude that

The cardinal equality can be demonstrated using cardinal arithmetic:

By using the rules of cardinal arithmetic, one can also show that

where *n* is any finite cardinal ≥ 2, and

where is the cardinality of the power set of **R**, and .

Every real number has at least one infinite decimal expansion. For example,

1/2 = 0.50000...

1/3 = 0.33333...

π = 3.14159....

(This is true even in the case the expansion repeats, as in the first two examples.)

In any given case, the number of digits is countable since they can be put into a one-to-one correspondence with the set of natural numbers . This makes it sensible to talk about, say, the first, the one-hundredth, or the millionth digit of π. Since the natural numbers have cardinality each real number has digits in its expansion.

Since each real number can be broken into an integer part and a decimal fraction, we get:

where we used the fact that

On the other hand, if we map to and consider that decimal fractions containing only 3 or 7 are only a part of the real numbers, then we get

and thus

Main article: Beth number |

The sequence of beth numbers is defined by setting and . So is the second beth number, **beth-one**:

The third beth number, **beth-two**, is the cardinality of the power set of (i.e. the set of all subsets of the real line):

Main article: Continuum hypothesis |

The famous continuum hypothesis asserts that is also the second aleph number, .^{[2]} In other words, the continuum hypothesis states that there is no set whose cardinality lies strictly between and

This statement is now known to be independent of the axioms of Zermelo–Fraenkel set theory with the axiom of choice (ZFC), as shown by Kurt Gödel and Paul Cohen.^{[3]}^{[4]}^{[5]} That is, both the hypothesis and its negation are consistent with these axioms. In fact, for every nonzero natural number *n*, the equality = is independent of ZFC (case being the continuum hypothesis). The same is true for most other alephs, although in some cases, equality can be ruled out by König's theorem on the grounds of cofinality (e.g., ). In particular, could be either or , where is the first uncountable ordinal, so it could be either a successor cardinal or a limit cardinal, and either a regular cardinal or a singular cardinal.

A great many sets studied in mathematics have cardinality equal to . Some common examples are the following:

- the real numbers
- any (nondegenerate) closed or open interval in (such as the unit interval )
- the irrational numbers
- the transcendental numbers We note that the set of real algebraic numbers is countably infinite (assign to each formula its Gödel number.) So the cardinality of the real algebraic numbers is . Furthermore, the real algebraic numbers and the real transcendental numbers are disjoint sets whose union is . Thus, since the cardinality of is , the cardinality of the real transcendental numbers is . A similar result follows for complex transcendental numbers, once we have proved that .
- the Cantor set
- Euclidean space
^{[6]} - the complex numbers
We note that, per Cantor's proof of the cardinality of Euclidean space,
^{[6]}. By definition, any can be uniquely expressed as for some . We therefore define the bijection - the power set of the natural numbers (the set of all subsets of the natural numbers)
- the set of sequences of integers (i.e. all functions , often denoted )
- the set of sequences of real numbers,
- the set of all continuous functions from to
- the Euclidean topology on (i.e. the set of all open sets in )
- the Borel σ-algebra on (i.e. the set of all Borel sets in ).

Sets with cardinality greater than include:

- the set of all subsets of (i.e., power set )
- the set 2
^{R}of indicator functions defined on subsets of the reals (the set is isomorphic to – the indicator function chooses elements of each subset to include) - the set of all functions from to
- the Lebesgue σ-algebra of , i.e., the set of all Lebesgue measurable sets in .
- the set of all Lebesgue-integrable functions from to
- the set of all Lebesgue-measurable functions from to
- the Stone–Čech compactifications of , and
- the set of all automorphisms of the (discrete) field of complex numbers.

These all have cardinality (beth two).