Countable set: Difference between revisions
imported>Larry Sanger m (Enumerable moved to Enumerability) |
imported>Michael Hardy mNo edit summary |
||
Line 3: | Line 3: | ||
Enumerable sets are subject to many useful properties. [[inductive proof|Inductive proofs]] rely upon enumeration of induction variables. | Enumerable sets are subject to many useful properties. [[inductive proof|Inductive proofs]] rely upon enumeration of induction variables. | ||
== Examples of | == Examples of enumerable sets == | ||
The [[rational number|set of rational numbers]] is an enumerable set. Envision a table which contains all rational numbers (below). One can make a function that ''dovetails'' back and forth across the entire area of the table. This function enumerates all rational numbers. | The [[rational number|set of rational numbers]] is an enumerable set. Envision a table which contains all rational numbers (below). One can make a function that ''dovetails'' back and forth across the entire area of the table. This function enumerates all rational numbers. | ||
Line 34: | Line 34: | ||
<math>i \mapsto \begin{cases} a_i, & i \le n \\ i-n, & otherwise \end{cases}</math> | <math>i \mapsto \begin{cases} a_i, & i \le n \\ i-n, & otherwise \end{cases}</math> | ||
== Counterexamples == | |||
== | |||
The [[real number|set of real numbers]] is not enumerable, which we will prove by contraction. Suppose you had an infinitely long list of all real numbers (below), in no particular order, expressed in decimal notation. This table, itself, is an enumeration function. We demonstrate the absurdity of such a list by finding a number which is not in the list. | The [[real number|set of real numbers]] is not enumerable, which we will prove by contraction. Suppose you had an infinitely long list of all real numbers (below), in no particular order, expressed in decimal notation. This table, itself, is an enumeration function. We demonstrate the absurdity of such a list by finding a number which is not in the list. | ||
Line 65: | Line 64: | ||
Specifically, we construct a number which differs from each real number by at least one digit, using this procedure: If the ith digit after the decimal place in the ith number in the list is a five, then our constructed number will have a four in the ith place, otherwise a five. From our example list, we would construct the number 0.55544... By construction, this number is a real number, but not in our list. As a result, the enumeration function is not onto. | Specifically, we construct a number which differs from each real number by at least one digit, using this procedure: If the ith digit after the decimal place in the ith number in the list is a five, then our constructed number will have a four in the ith place, otherwise a five. From our example list, we would construct the number 0.55544... By construction, this number is a real number, but not in our list. As a result, the enumeration function is not onto. | ||
== See | == See also == | ||
* [[cardinality]] | * [[cardinality]] |
Revision as of 14:51, 19 April 2007
In mathematics, a set X is said to be enumerable or countable if there exists a one-to-one mapping from the set of integers onto X. By the definition, an enumerable set has the same cardinality as the set of integers.
Enumerable sets are subject to many useful properties. Inductive proofs rely upon enumeration of induction variables.
Examples of enumerable sets
The set of rational numbers is an enumerable set. Envision a table which contains all rational numbers (below). One can make a function that dovetails back and forth across the entire area of the table. This function enumerates all rational numbers.
0 | 1 | 2 | ||
---|---|---|---|---|
1 | ||||
2 | ||||
3 | ||||
The union of the set of integers with any finite set is enumerable. For instance, given the finite set
With cardinality n, this function will enumerate all elements of :
Counterexamples
The set of real numbers is not enumerable, which we will prove by contraction. Suppose you had an infinitely long list of all real numbers (below), in no particular order, expressed in decimal notation. This table, itself, is an enumeration function. We demonstrate the absurdity of such a list by finding a number which is not in the list.
Order | Real Number |
---|---|
0 | 0.32847... |
1 | 0.48284... |
2 | 0.89438... |
3 | 0.00154... |
4 | 0.32425... |
... | ... |
Specifically, we construct a number which differs from each real number by at least one digit, using this procedure: If the ith digit after the decimal place in the ith number in the list is a five, then our constructed number will have a four in the ith place, otherwise a five. From our example list, we would construct the number 0.55544... By construction, this number is a real number, but not in our list. As a result, the enumeration function is not onto.