In mathematics, the cardinality of a set is the number of its members, which may be infinite. The cardinality or cardinal number of a set formula_1 and is written as formula_2 between two vertical bars. The term derives from the grammatical term "cardinal numeral", meaning, numbers used for counting. For finite sets, cardinality coincides with the natural number found by counting its elements. Infinite sets are encountered in nearly every area of mathematics, including mathematical analysis, abstract algebra, number theory, and so on. Two sets are said to be "equinumerous" or "have the same cardinality" if there exists a one-to-one correspondence between them. That is, if their elements can be paired such that each element has a pair, and no element is paired more than once (see image). A set is countably infinite if it can be placed in one-to-one correspondence with the set of natrual numbers formula_3 For example, the set of even numbers formula_4, the set of prime numbers formula_5, and the set of rational numbers. A set is uncountable if it is both infinite and cannot be put in correspondence with the set of natural numbers. For example, the set of real numbers or the powerset of the set of natural numbers. Cardinal numbers extend the natural numbers as representatives of size. Most commonly, the aleph numbers are defined via ordinal numbers, and represent a large class of sets. The first aleph, aleph-null formula_6, represents the cardinality of the set of natural numbers and all other countable sets. The cardinality of the continuum is represented with the symbol formula_7. Whether formula_7 corresponds to the next largest aleph, aleph-one formula_9, is known as the continuum hypothesis, which has been shown to be unprovable in standard set theories such as Zermelo–Fraenkel set theory. Etymology. In English, the term "cardinality" originates from the post-classical Latin "cardinalis", meaning "principal" or "chief", which derives from "cardo", a noun meaning "hinge". In Latin, "cardo" referred to something central or pivotal, both literally and metaphorically. This concept of centrality passed into medieval Latin and then into English, where "cardinal" came to describe things considered to be, in some sense, fundamental, such as "cardinal virtues", "cardinal sins", "cardinal directions", and (in the grammatical sense) "cardinal numbers." The last of which referred to numbers used for counting (e.g., one, two, three), as opposed to "ordinal numbers", which express order (e.g., first, second, third), and "nominal numbers" used for labeling without meaning (e.g., jersey numbers and serial numbers). In mathematics, the notion of cardinality was first introduced by Georg Cantor in the late 19th century, wherein he used the used the term "Mächtigkeit", which may be translated as "magnitude" or "power", though Cantor credited the term to a work by Jakob Steiner on projective geometry. The terms "cardinality" and "cardinal number" were eventually adopted from the grammatical sense, and later translations would use these terms. History. Prehistory. 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. 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. 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. Ancient history. From the 6th century BCE, the writings of Greek philosophers, such as Anaximander, show hints of comparing infinite sets or shapes. While the Greeks considered notions of infinity, they viewed it as paradoxical and imperfect (cf. "Zeno's paradoxes"), often associating good and evil with finite and infinite. Aristotle distinguished between the notions of actual infinity and potential infinity, arguing that Greek mathematicians understood the difference, and that they "do not need the [actual] infinite and do not use it." The greek notion of number ("αριθμός", "arithmos") was used exclusively for a definite number of definite objects (i.e. finite numbers). This would be codified in Euclid's "Elements", where the fifth common notion states "The whole is greater than the part", often called the "Euclidean principle". This principle would be the dominating philosophy in mathematics until the 19th century. Around the 4th century BCE, Jaina mathematics would be the first to discuss different sizes of infinity. They defined three major classes of number: enumerable (finite numbers), unenumerable ("asamkhyata", roughly, countably infinite), and infinite ("ananta"). Then they had five classes of infinite numbers: infinite in one direction, infinite in both directions, infinite in area, infinite everywhere, and infinite perpetually. One of the earliest explicit uses of a one-to-one correspondence is recorded in Aristotle's "Mechanics" (), known as Aristotle's wheel paradox. The paradox can be briefly described as follows: A wheel is depicted as two concentric circles. The larger, outer circle is tangent to a horizontal line (e.g. a road that it rolls on), while the smaller, inner circle is rigidly affixed to the larger. Assuming the larger circle rolls along the line without slipping (or skidding) for one full revolution, the distances moved by both circles are the same: the circumference of the larger circle. Further, the lines traced by the bottom-most point of each is the same length. Since the smaller wheel does not skip any points, and no point on the smaller wheel is used more than once, there is a one-to-one correspondence between the two circles. Pre-Cantorian set theory. Galileo Galilei presented what was later coined Galileo's paradox in his book "Two New Sciences" (1638), where he attempts to show that infinite quantities cannot be called greater or less than one another. He presents the paradox roughly as follows: a square number is one which is the product of another number with itself, such as 4 and 9, which are the squares of 2 and 3, respectively. Then the square root of a square number is that multiplicand. He then notes that there are as many square numbers as there are square roots, since every square has its own root and every root its own square, while no square has more than one root and no root more than one square. But there are as many square roots as there are numbers, since every number is the square root of some square. He denied that this was fundamentally contradictory, however, he concluded that this meant we could not compare the sizes of infinite sets, missing the opportunity to discover cardinality. Bernard Bolzano's "Paradoxes of the Infinite" ("Paradoxien des Unendlichen", 1851) is often considered the first systematic attempt to introduce the concept of sets into mathematical analysis. In this work, Bolzano defended the notion of actual infinity, examined various properties of infinite collections, including an early formulation of what would later be recognized as one-to-one correspondence between infinite sets, and proposed to base mathematics on a notion similar to sets. He discussed examples such as the pairing between the intervals formula_10 and formula_11 by the relation formula_12 Bolzano also revisited and extended Galileo's paradox. However, he too resisted saying that these sets were, in that sense, the same size. Thus, while "Paradoxes of the Infinite" anticipated several ideas central to later set theory, the work had little influence on contemporary mathematics, in part due to its posthumous publication and limited circulation. Other, more minor contributions include David Hume in "A Treatise of Human Nature" (1739), who said ""When two numbers are so combined, as that the one has always a unit answering to every unit of the other, we pronounce them equal"," now called "Hume's principle", which was used extensively by Gottlob Frege later during the rise of set theory. Jakob Steiner, whom Georg Cantor credits the original term, "Mächtigkeit", for cardinality (1867). Peter Gustav Lejeune Dirichlet is commonly credited for being the first to explicitly formulate the pigeonhole principle in 1834, though it was used at least two centuries earlier by Jean Leurechon in 1624. Early set theory. Georg Cantor. The concept of cardinality, as a formal measure of the size of a set, emerged nearly fully formed in the work of Georg Cantor during the 1870s and 1880s, in the context of mathematical analysis. In a series of papers beginning with "On a Property of the Collection of All Real Algebraic Numbers" (1874), Cantor introduced the idea of comparing the sizes of infinite sets, through the notion of one-to-one correspondence. He showed that the set of real numbers was, in this sense, strictly larger than the set of natural numbers using a nested intervals argument. This result was later refined into the more widely known diagonal argument of 1891, published in "Über eine elementare Frage der Mannigfaltigkeitslehre," where he also proved the more general result (now called Cantor's Theorem) that the power set of any set is strictly larger than the set itself. Cantor introduced the notion cardinal numbers in terms of ordinal numbers. He viewed cardinal numbers as an abstraction of sets, introduced the notations, where, for a given set formula_13, the order type of that set was written formula_14, and the cardinal number was formula_13, a double abstraction. He also introduced the Aleph sequence for infinite cardinal numbers. These notations appeared in correspondence and were formalized in his later writings, particularly the series "Beiträge zur Begründung der transfiniten Mengenlehre" (18951897). In these works, Cantor developed an arithmetic of cardinal numbers, defining addition, multiplication, and exponentiation of cardinal numbers based on set-theoretic constructions. This led to the formulation of the Continuum Hypothesis (CH), the proposition that no set has cardinality strictly between formula_6 and the cardinality of the continuum, that is formula_17. Cantor was unable to resolve CH and left it as an open problem. Other contributors. Parallel to Cantor’s development, Richard Dedekind independently formulated a definition of infinite set as one that can be placed in bijection with a proper subset of itself, which was shown to be equivalent with Cantor’s definition of cardinality (given the axiom of choice). Dedekind’s "Was sind und was sollen die Zahlen?" (1888) emphasized structural properties over extensional definitions, and supported the bijective formulation of size and number. Dedekind was in correspondence with Cantor during the development of set theory; he supplied Cantor with a proof of the countability of the algebraic numbers, and gave feedback and modifications on Cantor's proofs before publishing. After Cantor's 1883 proof that all finite-dimensional spaces formula_18 have the same cardinality, in 1890, Giuseppe Peano introduced the Peano curve, which was a more visual proof that the unit interval formula_19 has the same cardinality as the unit square on formula_20 This created a new area of mathematical analysis studying what is now called space-filling curves. German logician Gottlob Frege attempted to ground the concepts of number and arithmetic in logic using Cantor's theory of cardinality and Hume's principle in "Die Grundlagen der Arithmetik" (1884) and the subsequent "Grundgesetze der Arithmetik" (1893, 1903). Frege defined cardinal numbers as equivalence classes of sets under equinumerosity. However, Frege's approach to set theory was later shown to be flawed. His approach was eventually reformalized by Bertrand Russell and Alfred Whitehead in "Principia Mathematica" (19101913, vol. II) using a theory of types. Though Russell initially had difficulties understanding Cantor's and Frege’s intuitions of cardinality. This definition of cardinal numbers is now referred to as the "Frege-Russell" definition. Axiomatic set theory. In 1908, Ernst Zermelo proposed the first axiomatization of set theory, now called Zermelo set theory, primarily to support his earlier (1904) proof of the Well-ordering theorem, which showed that all cardinal numbers could be represented as Alephs, though the proof required a controversial principle now known as the Axiom of Choice (AC). Zermelo's system would later be extended by Abraham Fraenkel and Thoralf Skolem in the 1920s to create the standard foundation of set theory, called Zermelo–Fraenkel set theory (ZFC, "C" for the Axiom of Choice). ZFC provided a rigorous, albeit non-categorical, foundation through which infinite cardinals could be systematically studied while avoiding the paradoxes of naive set theory. In 1940, Kurt Gödel showed that CH cannot be "disproved" from ZF set theory (ZFC without Choice), even if the axiom of choice is adopted, i.e. from ZFC. Gödel's proof shows that both CH and AC hold in the constructible universe, an inner model of ZF set theory, assuming only the axioms of ZF. The existence of an inner model of ZF in which additional axioms hold shows that the additional axioms are (relatively) consistent with ZF, provided ZF itself is consistent. In 1963, Paul Cohen showed that CH cannot be "proven" from the ZFC axioms, which showed that CH was independent from ZFC. To prove his result, Cohen developed the method of forcing, which has become a standard tool in set theory. Essentially, this method begins with a model of ZFC in which CH holds and constructs another model which contains more sets than the original in a way that CH does not hold in the new model. Cohen was awarded the Fields Medal in 1966 for his proof. Comparing sets. Introduction. The basic notions of sets and functions are used to develop the concept of cardinality, and technical terms therein are used throughout this article. A set can be understood as any collection of objects, usually represented with curly braces. For example, formula_21 specifies a set, called formula_22, which contains the numbers 1, 2, and 3. The symbol formula_23 represents set membership, for example formula_24 says "1 is a member of the set formula_22" which is true by the definition of formula_22 above. A function is an association that maps elements of one set to the elements of another, often represented with an arrow diagram. For example, the adjacent image depicts a function which maps the set of natural numbers to the set of even numbers by multiplying by 2. If a function does not map two elements to the same place, it is called injective. If a function covers every element in the output space, it is called surjective. If a function is both injective and surjective, it is called bijective. (For further clarification, see "Bijection, injection and surjection".) Equinumerosity. The intuitive property of two sets having the "same size" is that their objects can be paired one-to-one. For example, in the image above, a set of apples is paired with a set of oranges, proving the sets are the same size without referring to these sets' "number of elements" at all. A one-to-one pairing between two sets defines a bijective function between them by mapping each object to its pair. Similarly, a bijection between two sets defines a pairing of their elements by pairing each object with the one it maps to. Therefore, these notions of "pairing" and "bijection" are intuitively equivalent. In fact, it is often the case that functions are defined literally as this set of pairings (see ""). Thus, the following definition is given: Two sets formula_1 and formula_28 are said to have the "same cardinality" if their elements can be paired one-to-one. That is, if there exists a function formula_29 which is bijective. This is written as formula_30 formula_31 formula_32 and eventually formula_33 once formula_2 has been defined. Alternatively, these sets, formula_35 and formula_36 may be said to be "similar", "equinumerous", or "equipotent". For example, the set formula_37 of non-negative even numbers has the same cardinality as the set formula_38 of natural numbers, since the function formula_39 is a bijection from to (see picture above). For finite sets and , if "some" bijection exists from to , then "each" injective or surjective function from to is a bijection. This property is no longer true for infinite and . For example, the function from to , defined by formula_40 is injective, but not surjective since 2, for instance, is not mapped to, and from to , defined by formula_41 (see: "floor function") is surjective, but not injective, since 0 and 1 for instance both map to 0. Neither nor can challenge formula_42 which was established by the existence of . Equivalence. A fundamental result necessary in developing a theory of cardinality is relating it to an equivalence relation. A binary relation is an equivalence relation if it satisfies the three basic properties of equality: reflexivity, symmetry, and transitivity. Since equinumerosity satisfies these three properties, it forms an equivalence relation. This means that cardinality, in some sense, partitions sets into equivalence classes, and one may assign a representative to denote this class. This motivates the notion of a cardinal number. Somewhat more formally, a relation must be a certain set of ordered pairs. Since there is no set of all sets in standard set theory (see: ""), equinumerosity is not a relation in the usual sense, but a predicate or a relation over classes. Inequality. A set formula_1 is not larger than a set formula_28 if it can be mapped into formula_28 without overlap. That is, the cardinality of formula_1 is less than or equal to the cardinality of formula_28 if there is an injective function from formula_1 to formula_28. This is written formula_79 formula_80 and eventually formula_81 If formula_79 but there is no injection from formula_28 to formula_45 then formula_1 is said to be "strictly" smaller than formula_50 written without the underline as formula_87 or formula_88 For example, if formula_1 has four elements and formula_28 has five, then the following are true formula_91 formula_79 and formula_93 The basic properties of an inequality are reflexivity (for any formula_94 formula_95), transitivity (if formula_96 and formula_97 then formula_98) and antisymmetry (if formula_96 and formula_100 then formula_101) (See "Inequality § Formal definitions"). Cardinal inequality formula_102 as defined above is reflexive since the identity function is injective, and is transitive by function composition. Antisymmetry is established by the Schröder–Bernstein theorem. The proof roughly goes as follows. Given sets formula_1 and formula_28, where formula_29 is the function that proves formula_106 and formula_107 proves formula_108, then consider the sequence of points given by applying formula_51 then formula_66 over and over. Then we can define a bijection formula_111 as follows: If a sequence forms a cycle, begins with an element formula_112 not mapped to by formula_66, or extends infinitley in both directions, define formula_114 for each formula_115 in those sequences. The last case, if a sequence begins with an element formula_116, not mapped to by formula_51, define formula_118 for each formula_115 in that sequence. Then formula_120 is a bijection. The above shows that cardinal inequality is a partial order. A total order has the additional property that, for any formula_121 and formula_122, either formula_96 or formula_124 This can be established by the well-ordering theorem. Every well-ordered set is isomorphic to a unique ordinal number, called the order type of the set. Then, by comparing their order types, one can show that formula_106 or formula_108. This result is equivalent to the axiom of choice. Countable sets. A set is called "countable" if it is finite or has a bijection with the set of natural numbers formula_127 in which case it is called "countably infinite". The term "denumerable" is also sometimes used for countably infinite sets. For example, the set of all even natural numbers is countable, and therefore has the same cardinality as the whole set of natural numbers, even though it is a proper subset. Similarly, the set of square numbers is countable, which was considered paradoxical for hundreds of years before modern set theory (see: ""). However, several other examples have historically been considered surprising or initially unintuitive since the rise of set theory. The rational numbers formula_128 are those which can be expressed as the quotient or fraction of two integers. The rational numbers can be shown to be countable by considering the set of fractions as the set of all ordered pairs of integers, denoted formula_129 which can be visualized as the set of all integer points on a grid. Then, an intuitive function can be described by drawing a line in a repeating pattern, or spiral, which eventually goes through each point in the grid. For example, going through each diagonal on the grid for positive fractions, or through a lattice spiral for all integer pairs. These technically over cover the rationals, since, for example, the rational number formula_130 gets mapped to by all the fractions formula_131 as the grid method treats these all as distinct ordered pairs. So this function shows formula_132 not formula_133 This can be corrected by "skipping over" these numbers in the grid, or by designing a function which does this naturally, for example using the Calkin–Wilf tree. A number is called algebraic if it is a solution of some polynomial equation (with integer coefficients). For example, the square root of two formula_134 is a solution to formula_135 and the rational number formula_136 is the solution to formula_137 Conversely, a number which cannot be the root of any polynomial is called transcendental. Two examples include Euler's number (') and pi (). In general, proving a number is transcendental is considered to be very difficult, and only a few classes of transcendental numbers are known. However, it can be shown that the set of algebraic numbers is countable (for example, see '). Since the set of algebraic numbers is countable while the real numbers are uncountable (shown in the following section), the transcendental numbers must form the vast majority of real numbers, even though they are individually much harder to identify. That is to say, almost all real numbers are transcendental. Uncountable sets. A set is called "uncountable" if it is not countable. That is, it is infinite and strictly larger than the set of natural numbers. The usual first example of this is the set of real numbers formula_138, which can be understood as the set of all numbers on the number line. One method of proving that the reals are uncountable is called Cantor's diagonal argument, credited to Cantor for his 1891 proof, though his differs from the more common presentation. It begins by assuming, by contradiction, that there is some one-to-one mapping between the natural numbers and the set of real numbers between 0 and 1 (the interval formula_19). Then, take the decimal expansions of each real number, which looks like formula_140 Considering these real numbers in a column, create a new number such that the first digit of the new number is different from that of the first number in the column, the second digit is different from the second number in the column and so on. We also need to make sure that the number we create has a unique decimal representation, that is, it cannot end in repeating nines or repeating zeros. For example, if the digit isn't a 7, make the digit of the new number a 7, and if it was a seven, make it a 3. Then, this new number will be different from each of the numbers in the list by at least one digit, and therefore must not be in the list. This shows that the real numbers cannot be put into a one-to-one correspondence with the naturals, and thus must be strictly larger. Another classical example of an uncountable set, established using a related reasoning, is the power set of the natural numbers, denoted formula_141. This is the set of all subsets of formula_142, including the empty set and formula_142 itself. The method is much closer to Cantor's original diagonal argument. Again, assume by contradiction that there exists a one-to-one correspondence formula_51 between formula_142 and formula_141, so that every subset of formula_142 is assigned to some natural number. These subsets are then placed in a column, in the order defined by formula_51 (see image). Now, one may define a subset formula_149 of formula_142 which is not in the list by taking the negation of the "diagonal" of this column as follows: If formula_151, then formula_152, that is, if 1 is in the first subset of the list, then 1 is "not" in the subset formula_149. Further, if formula_154, then formula_155, that is if the number 2 is not in the second subset of the column, then 2 "is" in the subset formula_149. Then in general, for each natural number formula_157, formula_158 if and only if formula_159, meaning formula_157 is put in the subset formula_149 only if the nth subset in the column does not contain the number formula_157. Then, for each natural number formula_157, formula_164, meaning, formula_149 is not the nth subset in the list, for any number formula_157, and so it cannot appear anywhere in the list defined by formula_51. Since formula_51 was chosen arbitrarily, this shows that every function from formula_142 to formula_141 must be missing at least one element, therefore no such bijection can exist, and so formula_141 must be not be countable. These two sets, formula_172 and formula_141 can be shown to have the same cardinality (by, for example, assigning each subset to a decimal expansion). Whether there exists a set formula_1 with cardinality between these two sets formula_175 is known as the continuum hypothesis. Cantor's theorem generalizes the second theorem above, showing that every set is strictly smaller than its powerset. The proof roughly goes as follows: Given a set formula_1, assume by contradiction that there is a bijection formula_51 from formula_1 to formula_179. Then, the subset formula_180 given by taking the negation of the "diagonal", formally, formula_181, cannot be in the list. Therefore, every function is missing at least one element, and so formula_182. Further, since formula_179 is itself a set, the argument can be repeated to show formula_184. Taking formula_185, this shows that formula_186 is even larger than formula_187, which was already shown to be uncountable. Repeating this argument shows that there are infinitely many "sizes" of infinity. Cardinal numbers. In the above section, "cardinality" of a set was defined relationally. In other words, while it was closely tied to the concept of number, the meaning of "number of elements" has not yet been defined. This can be formalized from basic set-theoretic principles, relying on some number-like structures. 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 formula_1 is generally denoted by formula_189 with a vertical bar on each side, though it may also be denoted by formula_190 formula_1, formula_192 or formula_193 For infinite sets, "cardinal number" is somewhat more difficult to define formally. However, cardinal numbers are not usually thought of in terms of their formal definition, but immaterially in terms of their arithmetic/algebraic properties. For example, defining formula_194, and formula_47 if and only if formula_196. Then formula_197 Finite sets. Given a basic sense of natural numbers, a set is said to have cardinality formula_157 if it can be put in one-to-one correspondence with the set formula_199 akin to counting its elements. For example, the set formula_200 has a natural correspondence with the set formula_201 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 axioms. 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 prove them. It can be shown by induction on the possible sizes of sets that finite cardinality corresponds uniquely with natural numbers, and therefore, formula_47 if and only if formula_203 for finite sets, formalizing the notion of a bijective proof. The addition principle asserts that given disjoint sets formula_1 and formula_28, formula_206, intuitively meaning that the sum of parts is equal to the sum of the whole. The multiplication principle asserts that given two sets formula_1 and formula_28, formula_209, intuitively meaning that there are formula_210 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. Aleph numbers. The aleph numbers are a sequence of cardinal numbers that denote the size of infinite sets, denoted with an aleph formula_211 the first letter of the Hebrew alphabet. The first aleph number is formula_212 called "aleph-nought", "aleph-zero", or "aleph-null", which represents the cardinality of the set of all natural numbers: formula_213 Then, formula_9 represents the next largest cardinality. 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 formula_215 and 3 comes after both, denoted formula_216 Then, one defines a new number, formula_217 which comes after every natural number, denoted formula_218 Further formula_219 and so on. More formally, these ordinal numbers can be defined as follows: formula_220 the empty set, formula_221 formula_222 formula_223 and so on. Then one can define formula_224 for examlpe, formula_225 therefore formula_226 Defining formula_227 (a limit ordinal) gives formula_228 the desired property of being the smallest ordinal greater than all finite ordinal numbers. Further, formula_229, and so on. Since formula_230 by the natural correspondence, one may define formula_6 as the set of all finite ordinals. That is, formula_232 Then, formula_9 is the set of all countable ordinals (all ordinals formula_234 with cardinality formula_235), the first uncountable ordinal. Since a set cannot contain itself, formula_9 must have a strictly larger cardinality: formula_237 Furthermore, formula_238 is the set of all ordinals with cardinality formula_239 and so on. By the well-ordering theorem, there cannot exist any set with cardinality between formula_6 and formula_239 and every infinite set has some cardinality corresponding to some aleph formula_242 for some ordinal formula_243 Cardinality of the continuum. The number line is a geometric construct of the intuitive notions of "space" and "distance" wherein each point corresponds to a distinct quantity or position along a continuous path. The terms "continuum" and "continuous" refer to the totality of this line, having some space (other points) between any two points on the line (dense and archimedian) and the absence of any gaps (completeness), This intuitive construct is formalized by the set of real numbers formula_138 which model the continuum as a complete, densely ordered, uncountable set. The cardinality of the continuum, denoted by "formula_7" (a lowercase fraktur script "c"), remains invariant under various transformations and mappings, many considered surprising. For example, all intervals on the real line e.g. formula_19, and formula_247, have the same cardinality as the entire set formula_172. First, formula_249 is a bijection from formula_19 to formula_247. Then, the tangent function is a bijection from the interval formula_252 to the whole real line. A more surprising example is the Cantor set, which is defined as follows: take the interval formula_19 and remove the middle third formula_254, then remove the middle third of each of the two remaining segments, and continue removing middle thirds (see image). The Cantor set is the set of points that survive this process. This set that remains is all of the points whose decimal expansion can be written in ternary without a 1. Reinterpreting these decimal expansions as binary (e.g. by replacing the 2s with 1s) gives a bijection between the Cantor set and the interval formula_19. Space-filling curves are continuous surjective maps from the unit interval formula_19 onto the unit square on formula_257, with classical examples such as the Peano curve and Hilbert curve. Although such maps are not injective, they are indeed surjective, and thus suffice to demonstrate cardinal equivalence. They can be reused at each dimension to show that formula_258 for any dimension formula_259 The infinite cartesian product formula_260, can also be shown to have cardinality formula_7. This can be established by cardinal exponentiation: formula_262. Thus, the real numbers, all finite-dimensional real spaces, and the countable cartesian product share the same cardinality. As shown in , the set of real numbers is strictly larger than the set of natural numbers. Specifically, formula_263. The Continuum Hypothesis (CH) asserts that the real numbers have the next largest cardinality after the natural numbers, that is formula_17. As shown by Gödel and Cohen, 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. The Generalized Continuum Hypothesis (GCH) extends this to all infinite cardinals, stating that formula_265 for every ordinal formula_266. Without GHC, the cardinality of formula_172 cannot be written in terms of alephs. The Beth numbers provide a concise notation for powersets of the real numbers starting from formula_268, then formula_269, and in general formula_270. Paradoxes. During the rise of set theory, several paradoxes (see: "Paradoxes of set theory"). These can be divided into two kinds: "real paradoxes" and "apparent paradoxes". Apparent paradoxes are those which follow a series of reasonable steps and arrive at a conclusion which seems impossible or incorrect according to one's intuition, but aren't necessarily logically impossible. Two historical examples have been given, "Galileo's Paradox" and "Aristotle's Wheel", in . Real paradoxes are those which, through reasonable steps, prove a logical contradiction. The real paradoxes here apply to naive set theory or otherwise informal statements, and have been resolved by restating the problem in terms of a formalized set theory, such as Zermelo–Fraenkel set theory. Apparent paradoxes. Hilbert's hotel. Hilbert's Hotel is a thought experiment devised by the German mathematician David Hilbert to illustrate a counterintuitive property of countably infinite sets, allowing them to have the same cardinality as a proper subset of themselves. The scenario begins by imagining a hotel with an infinite number of rooms, all of which are occupied. But then a new guest walks in asking for a room. The hotel accommodates by moving the occupant of room 1 to room 2, the occupant of room 2 to room 3, room three to room 4, and in general, room n to room n+1. Then every guest still has a room, but room 1 opens up for the new guest. Then, the scenario continues by imagining an infinite bus of new guests seeking a room. The hotel accommodates by moving the person in room 1 to room 2, room 2 to room 4, and in general, room n to room 2n. Thus, all the even-numbered rooms are occupied, but all the odd-numbered rooms are vacant, leaving room for the infinite bus of new guests. The scenario continues by assuming an infinite number of these infinite buses arrive at the hotel, and showing that the hotel is still able to accommodate. Finally, an infinite bus which has a seat for every real number arrives, and the hotel is no longer able to accommodate. Skolem's paradox. In model theory, a model corresponds to a specific interpretation of a formal language or theory. It consists of a domain (a set of objects) and an interpretation of the symbols and formulas in the language, such that the axioms of the theory are satisfied within this structure. The Löwenheim–Skolem theorem shows that any model of set theory in first-order logic, if it is consistent, has an equivalent model which is countable. This appears contradictory, because Georg Cantor proved that there exist sets which are not countable. Thus the seeming contradiction is that a model that is itself countable, and which therefore contains only countable sets, satisfies the first-order sentence that intuitively states "there are uncountable sets". A mathematical explanation of the paradox, showing that it is not a true contradiction in mathematics, was first given in 1922 by Thoralf Skolem. He explained that the countability of a set is not absolute, but relative to the model in which the cardinality is measured. Skolem's work was harshly received by Ernst Zermelo, who argued against the limitations of first-order logic and Skolem's notion of "relativity", but the result quickly came to be accepted by the mathematical community. Real paradoxes. Cantor's paradox. Cantor's theorem state's that, for any set formula_45 possibly infinite, its powerset formula_179 has a strictly greater cardinality. For example, this means there is no bijection from formula_142 to formula_274 Cantor's paradox is a paradox in naive set theory, which shows that there cannot exist a "set of all sets" or "universe set". It starts by assuming there is some set of all sets, formula_275 then it must be that formula_276 is strictly smaller than formula_277 thus formula_278 But since formula_276 contains all sets, we must have that formula_280 and thus formula_281 Therefore formula_282 contradicting Cantor's theorem. This was one of the original paradoxes that added to the need for a formalized set theory to avoid these paradoxes. This paradox is usually resolved in formal set theories by disallowing unrestricted comprehension and the existence of a universe set. Set of all cardinal numbers. Similar to Cantor's paradox, the paradox of the set of all cardinal numbers is a result due to unrestricted comprehension. It often uses the definition of cardinal numbers as ordinal numbers for representatives. It is related to the Burali-Forti paradox. It begins by assuming there is some set formula_283 Then, if there is some largest element formula_284 then the powerset formula_285 is strictly greater, and thus not in formula_286 Conversly, if there is no largest element, then the union formula_287 contains the elements of all elements of formula_288 and is therefore greater than or equal to each element. Since there is no largest element in formula_288 for any element formula_290 there is another element formula_291 such that formula_292 and formula_293 Thus, for any formula_290 formula_295 and so formula_296