Cantor's diagonal argument

Note: in order to fully understand this article you may want to refer to the set theory portion of the table of mathematical symbols.

Cantor's diagonal argument is a proof devised by Georg Cantor to demonstrate that the real numbers are not countably infinite. (It is also called the diagonalization argument or the diagonal slash argument or the diagonal method.)

The diagonal argument was not Cantor's first proof of the uncountability of the real numbers, but was published three years after his first proof. His original argument did not mention decimal expansions, nor any other numeral system.

Since this technique was first used, similar proof constructions have been used many times in a wide range of proofs. These are also known as diagonal arguments by analogy with the argument used in this proof.

Real numbers

Cantor's original proof shows that the interval [0,1] is not countably infinite.

The proof by contradiction proceeds as follows:

  1. Assume (for the sake of argument) that the interval [0,1] is countably infinite.
  2. We may then enumerate all numbers in this interval as a sequence, ( r1, r2, r3, ... )
  3. We already know that each of these numbers may be represented as a decimal expansion.
  4. We arrange the numbers in a list (they do not need to be in order). In the case of numbers with two decimal expansions, like 0.499 ... = 0.500 ..., we pick the one ending in nines. Assume, for example, that the decimal expansions of the beginning of the sequence are as follows:
    r1 = 0 . 5 1 0 5 1 1 0 ...
    r2 = 0 . 4 1 3 2 0 4 3 ...
    r3 = 0 . 8 2 4 5 0 2 6 ...
    r4 = 0 . 2 3 3 0 1 2 6 ...
    r5 = 0 . 4 1 0 7 2 4 6 ...
    r6 = 0 . 9 9 3 7 8 3 8 ...
    r7 = 0 . 0 1 0 5 1 3 5 ...
    ...
  5. We shall now construct a real number x in [0,1] by considering the kth digit after the decimal point of the decimal expansion of rk. The digits we will consider are underlined and in bold face, illustrating why this is called the diagonal proof.
    r1 = 0 . 5 1 0 5 1 1 0 ...
    r2 = 0 . 4 1 3 2 0 4 3 ...
    r3 = 0 . 8 2 4 5 0 2 6 ...
    r4 = 0 . 2 3 3 0 1 2 6 ...
    r5 = 0 . 4 1 0 7 2 4 6 ...
    r6 = 0 . 9 9 3 7 8 3 8 ...
    r7 = 0 . 0 1 0 5 1 3 5 ...
    ...
  6. From these digits we define the digits of x as follows.
    • if the kth digit of rk is 5 then the kth digit of x is 4
    • if the kth digit of rk is not 5 then the kth digit of x is 5
  7. The number x is clearly a real number (since all decimal expansions represent real numbers) in [0,1]. For the above sequence, for example, we obtain the following decimal expansion:
    x = 0 . 4 5 5 5 5 5 4 ...
  8. Hence we must have rn = x for some n, since we have assumed that ( r1, r2, r3, ... ) enumerates all real numbers in [0, 1].
  9. However, because of the way we have chosen 4's and 5's as digits in step (6), x differs in the nth decimal place from rn, so x is not in the sequence ( r1, r2, r3, ... ).
  10. This sequence is therefore not an enumeration of the set of all reals in the interval [0,1]. This is a contradiction.
  11. Hence the assumption (1) that the interval [0,1] is countably infinite must be false.

It is a direct corollary of this result that the set R of all real numbers is uncountable. If R were countable, we could enumerate all of the real numbers in a sequence, and then get a sequence enumerating [0,1] by removing all of the real numbers outside this interval. But we have just shown that this latter list cannot exist. Alternatively, we could show that [0,1] and R are the same size by constructing a bijection between them. This is slightly awkward to do, though possible, for the closed interval [0,1]; for the open interval (0,1) we might use <math>f\colon (0,1)\rightarrow\mathbb{R}<math> defined by <math>f(x) = \tan\left(\pi\left(x-\frac{1}{2}\right)\right)<math>.

Why this does not work on integers

People sometimes think that the above proof can be adapted to the integers to show that they too are uncountable. They try to do this by dropping the decimal point in the expansions above. The trouble is that an infinite sequence of non-zero digits does not represent an integer. This is the reason for step (7) above.

General sets

A generalized form of the diagonal argument was used by Cantor to prove Cantor's theorem: for every set S the power set of S, i.e., the set of all subsets of S (here written as P(S)), is larger than S itself. This proof proceeds as follows:

Let f be any one-to-one function from S to P(S). It suffices to prove f cannot be surjective. That means that some member of P(S), i.e., some subset of S, is not in the image of f. That set is

<math>T=\{\,s\in S: s\not\in f(s)\,\}.<math>

If T is in the range of f, then for some t in S we have T = f(t). Either t is in T or not. If t is in T, then t is in f(t), but, by definition of T, that implies t is not in T. On the other hand, if t is not in T, then t is not in f(t), and by definition of T, that implies t is in T. Either way, we have a contradiction.

Note the similarity between the construction of T and the set in Russell's paradox. Its result can be used to show that the notion of the set of all sets is an inconsistent notion in normal set theory; if S would be the set of all sets then P(S) would at the same time be bigger than S and a subset of S.

The above proof fails for W. V. Quine's "New Foundations" set theory, which has a different version of the axiom of separation in which <math>\{\,s\in S: s\not\in f(s)\,\}<math> cannot be expressed.

For a more concrete account of this proof that is possibly easier to understand see Cantor's theorem.

Analogues of the diagonal argument are widely used in mathematics to prove the existence or nonexistence of certain objects. For example, the conventional proof of the unsolvability of the halting problem is essentially a diagonal argument.

The diagonal argument shows that the set of real numbers is "bigger" than the set of integers. Therefore, we can ask if there is a set whose cardinality is "between" that of the integers and that of the reals. This question leads to the famous continuum hypothesis. Similarly, the question of whether there exists a set whose cardinality is between s and P(s) for some s, leads to the generalized continuum hypothesis.de:Cantors zweites Diagonalargument et:Cantori diagonaaltõestus he:האלכסון של קנטור ja:カントールの対角線論法 nl:Diagonaalbewijs van Cantor pl:Rozumowanie przekątniowe fr:Argument de la diagonale de Cantor tr:Cantor'un Diagonal Yöntemi

Navigation

  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools