How many infinities?
Esta página todavía no está disponible en Español, por eso se muestra en English.
Ayuda a traducir →La pregunta
There are infinitely many counting numbers and infinitely many infinite 0–1 sequences. Are these two infinities the same size?
Prueba el experimento antes de seguir leyendo. No hay una forma equivocada de explorar.
Experimento
La máquina diagonal
Esta es una lista de sucesiones infinitas de ceros y unos (solo podemos mostrar el principio). La sucesión dorada d invierte la diagonal.
| s1 | … | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| s2 | … | ||||||||||
| s3 | … | ||||||||||
| s4 | … | ||||||||||
| s5 | … | ||||||||||
| s6 | … | ||||||||||
| d | 1 | 0 | 1 | 0 | 0 | 1 | ? | ? | ? | ? | … |
Señala una fila (o llega a ella con el tabulador) para ver dónde se diferencia d de ella. Haz clic en cualquier dígito para cambiar la lista.
Añade d a la lista y aparecerá una nueva d que vuelve a ser distinta. Ninguna lista, por larga que sea, puede contener todas las sucesiones.
Pistas, si las quieres
Qué está pasando
Qué está pasando
Two sets have the same size — the same cardinality — when their elements can be paired off one-to-one, by a bijection. For finite sets this is just counting. For infinite sets it gives surprises: the even numbers can be paired with all counting numbers by , so there are "as many" even numbers as counting numbers. A set that can be listed as is called countable.
Are all infinite sets countable? In 1891 Georg Cantor gave a famous argument that the answer is no.
Suppose someone hands us a list of infinite 0–1 sequences. Build a new sequence by flipping the diagonal: let the -th digit of be the opposite of the -th digit of . Then differs from in position , from in position , and in general from in position . So is not anywhere on the list.
Since every list misses some sequence, the set of all infinite 0–1 sequences is uncountable: it is a strictly bigger infinity than the counting numbers.
Nota
The experiment shows the mechanism on a finite part of a list. It illustrates the idea; the argument above — which works for any list whatsoever — is the proof.
The same diagonal idea reappears across mathematics and computer science: in showing that the real numbers are uncountable, in Gödel's incompleteness theorems, and in Turing's proof that no program can decide whether every program halts.