{
  "id": "uncountable-set",
  "title": "Uncountable Set",
  "lang": "en",
  "source_lang": "en",
  "summary": "An uncountable set is a set too large to have its elements listed in a sequence indexed by the natural numbers.",
  "category": "mathematics",
  "subcategory": "discrete-logic",
  "type": "concept",
  "aliases": [
    "Uncountably infinite set",
    "Nondenumerable set"
  ],
  "generated_at": "2026-11-05",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/uncountable-set/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/uncountable-set/",
      "json": "https://aiwiki.page/zh/uncountable-set.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "An uncountable set is a set that is neither finite nor countably infinite: its elements cannot all be listed in a sequence indexed by the natural numbers. Equivalently, there is no injective function from it into \\(\\mathbb{N}\\). The real numbers are the standard example. Uncountability is a property of a set’s size, or cardinality, rather than its geometric extent, density, or the ease with which its elements can be described."
    },
    {
      "heading": "Definition and comparison with countability",
      "text": "A set is called countable if it is finite or admits a bijection with \\(\\mathbb{N}\\). Some authors reserve “countable” for countably infinite sets and use “at most countable” for the broader class; the meaning of uncountable is the same under either convention.\n\nFor a nonempty set \\(S\\), uncountability can also be expressed by saying that no sequence\n\n\\[s_1,s_2,s_3,\\ldots\\]\n\ncontains every element of \\(S\\). Repetitions are allowed in this formulation: even a list with repetitions cannot exhaust an uncountable set.\n\nIn the usual framework of set theory with the axiom of choice, an uncountable set has cardinality strictly greater than\n\n\\[\\aleph_0=|\\mathbb{N}|,\\]\n\nthe cardinality of a countably infinite set. Uncountability therefore distinguishes different sizes of infinity, not merely infinite sets from finite ones."
    },
    {
      "heading": "Why the real numbers are uncountable",
      "text": "The most familiar proof uses Cantor’s diagonal argument. Suppose, for contradiction, that every real number in the interval \\((0,1)\\) could be listed:\n\n\\[x_1,x_2,x_3,\\ldots.\\]\n\nWrite each number in decimal notation, consistently choosing the expansion that is not eventually all \\(9\\)s:\n\n\\[\\begin{aligned} x_1&=0.a_{11}a_{12}a_{13}\\ldots,\\\\ x_2&=0.a_{21}a_{22}a_{23}\\ldots,\\\\ x_3&=0.a_{31}a_{32}a_{33}\\ldots. \\end{aligned}\\]\n\nDefine a new number\n\n\\[y=0.b_1b_2b_3\\ldots\\]\n\nby setting \\(b_n=2\\) when \\(a_{nn}=1\\), and \\(b_n=1\\) otherwise. The number \\(y\\) lies in \\((0,1)\\), but differs from \\(x_n\\) in its \\(n\\)th decimal digit for every \\(n\\). Because its digits are only \\(1\\) and \\(2\\), ambiguity between terminating decimals and expansions ending in recurring \\(9\\)s causes no difficulty.\n\nThus \\(y\\) is absent from the supposedly complete list. No such list exists, so \\((0,1)\\), and hence \\(\\mathbb{R}\\), is uncountable.\n\nThis argument does not merely show that a particular listing fails. It provides a way to construct a missing element from any proposed listing."
    },
    {
      "heading": "Principal examples",
      "text": "Sets with the cardinality of the continuum\n\nThe cardinality of the real numbers is denoted by \\(\\mathfrak{c}\\) and called the cardinality of the continuum. Several apparently different sets have this same size:\n\n- Every real interval containing two distinct points.\n- The set of all irrational numbers.\n- The set of complex numbers.\n- Every finite-dimensional Euclidean space \\(\\mathbb{R}^n\\), for a positive integer \\(n\\).\n- The Cantor set.\n- The set \\(\\{0,1\\}^{\\mathbb{N}}\\) of all infinite binary sequences.\n- The power set \\(\\mathcal{P}(\\mathbb{N})\\), consisting of all subsets of the natural numbers.\n\nThe last two examples are naturally in bijection: a subset of \\(\\mathbb{N}\\) is represented by the binary sequence whose \\(n\\)th entry records whether \\(n\\) belongs to that subset. Their relationship with the real numbers yields\n\n\\[\\mathfrak{c}=2^{\\aleph_0}.\\]\n\nAlthough individual real numbers can have two binary expansions, this ambiguity can be handled when establishing the cardinal equality.\n\nBy contrast, the rational numbers are countable. Their occurrence throughout every real interval does not make them uncountable.\n\nThe first uncountable ordinal\n\nThe ordinal \\(\\omega_1\\) is the set of all countable ordinals. It is the least uncountable ordinal, and its cardinality is denoted by \\(\\aleph_1\\), the least uncountable cardinal.\n\nThe existence of \\(\\omega_1\\) supplies a fundamental example of uncountability arising from order structure rather than from the real line.\n\nSets larger than the continuum\n\nCantor’s theorem states that every set has strictly smaller cardinality than its power set:\n\n\\[|S|<|\\mathcal{P}(S)|.\\]\n\nConsequently,\n\n\\[|\\mathbb{R}|<|\\mathcal{P}(\\mathbb{R})|.\\]\n\nTaking successive power sets produces indefinitely larger infinite cardinalities. There is therefore no single “size of uncountability” and no largest cardinality."
    },
    {
      "heading": "Basic properties and proof methods",
      "text": "Several standard principles make it possible to establish uncountability without constructing a diagonal argument each time.\n\nContainment. Any set containing an uncountable subset is uncountable. More generally, an injection from a known uncountable set into another set proves that the latter is uncountable.\n\nSurjections. If there is a surjection from \\(A\\) onto an uncountable set \\(B\\), then \\(A\\) is uncountable: the image of a countable set is countable.\n\nRemoving countably many elements. If \\(A\\) is uncountable and \\(B\\) is countable, then \\(A\\setminus B\\) remains uncountable. Otherwise, \\(A\\) would be a union of two countable sets and would itself be countable.\n\nCountable unions. In standard set theory with choice, a countable union of countable sets is countable. Therefore, if an uncountable set is expressed as a countable union, at least one member of that union must be uncountable.\n\nProducts. A Cartesian product with an uncountable factor and a nonempty other factor is uncountable, because fixing an element of the other factor gives an injection of the uncountable factor into the product.\n\nThese principles are frequently used in mathematical analysis and other branches of mathematics."
    },
    {
      "heading": "Uncountability, measure, and topology",
      "text": "Uncountability must be distinguished from other notions of mathematical size.\n\nMeasure\n\nIn measure theory, every countable subset of \\(\\mathbb{R}\\) has Lebesgue measure zero. It follows that any subset of positive Lebesgue measure is uncountable.\n\nThe converse fails. The Cantor set is uncountable but has measure zero. Thus a set can contain as many points as the whole real line while occupying no positive length in the measure-theoretic sense.\n\nA related distinction appears in probability. Under the uniform distribution on \\([0,1]\\), every individual outcome has probability zero, while the entire interval has probability one. There is no contradiction: probability measures are countably additive, not additive over arbitrary uncountable families.\n\nTopological structure\n\nIn topology, uncountability does not imply that a set contains an interval or has nonempty interior. The Cantor set again provides a counterexample.\n\nConversely, a dense set need not be uncountable. The rational numbers are dense in the real line but countable. The real line is also a separable space because it has a countable dense subset, despite being uncountable itself."
    },
    {
      "heading": "The continuum hypothesis",
      "text": "Because \\(\\mathbb{R}\\) is uncountable,\n\n\\[\\aleph_1\\leq\\mathfrak{c}.\\]\n\nThe continuum hypothesis asserts that\n\n\\[\\mathfrak{c}=\\aleph_1.\\]\n\nEquivalently, it states that there is no set whose cardinality lies strictly between that of the natural numbers and that of the real numbers.\n\nThis assertion is independent of the standard axioms of Zermelo–Fraenkel set theory together with the axiom of choice, abbreviated ZFC, assuming those axioms are consistent. It is therefore important to distinguish uncountable, meaning larger than countable, from having the cardinality of the continuum. ZFC does not prove that every uncountable subset of \\(\\mathbb{R}\\) has cardinality \\(\\mathfrak{c}\\)."
    },
    {
      "heading": "Historical development and foundational qualifications",
      "text": "Georg Cantor established the uncountability of the real numbers in work published in 1874. His original proof differed from the diagonal argument, which he published in 1891. These results helped establish the study of infinite cardinalities as a central part of set theory.\n\nMost standard treatments assume ZFC. Without the axiom of choice, some familiar statements about infinite sets require qualification. In particular, a countable union of countable sets need not be countable, and an infinite set need not contain a countably infinite subset. The definition of uncountability as the absence of an injection into \\(\\mathbb{N}\\) remains meaningful, but identifying it with a position in a hierarchy of well-ordered cardinalities requires additional care.\n\nUncountability is also relative to the sets and functions available within a model of set theory. A model that is countable from an external perspective may contain a set it regards as uncountable because it contains no function enumerating that set. This distinction underlies the apparent paradox associated with the Löwenheim–Skolem theorem; it does not produce a contradiction in the definition of uncountability."
    }
  ],
  "links": [
    "set-mathematics",
    "natural-number",
    "injective-function",
    "real-number",
    "cardinality",
    "countable-set",
    "bijective-function",
    "cantors-diagonal-argument",
    "irrational-number",
    "complex-number",
    "euclidean-space",
    "cantor-set",
    "power-set",
    "rational-number",
    "ordinal-number",
    "cantors-theorem",
    "subset",
    "surjective-function",
    "cartesian-product",
    "mathematical-analysis",
    "measure-theory",
    "lebesgue-measure",
    "probability",
    "topology",
    "dense-set",
    "separable-space",
    "continuum-hypothesis",
    "zermelo-fraenkel-set-theory",
    "axiom-of-choice",
    "georg-cantor",
    "set-theory",
    "lowenheim-skolem-theorem"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}