Countable set: Difference between revisions
imported>Ozan Demirlioglu |
imported>Jitse Niesen (some corrections, move see also to subpage) |
||
Line 1: | Line 1: | ||
{{subpages}} | {{subpages}} | ||
In [[mathematics]], a [[set]] X is said to be '''enumerable''' or '''countable''' if there exists a [[one-to-one | In [[mathematics]], a [[set]] ''X'' is said to be '''enumerable''' or '''countable''' if there exists a [[one-to-one mapping|injection]] from ''X'' to the set of [[natural number]]s. By the definition, an enumerable set either is finite or it has the same [[cardinality]] as the set of natural numbers. | ||
Enumerable sets are subject to many useful properties. | Enumerable sets are subject to many useful properties. Standard [[inductive proof]]s rely upon enumeration of induction variables. | ||
== Examples of enumerable sets == | == Examples of enumerable sets == | ||
Line 58: | Line 58: | ||
== Counterexamples == | == Counterexamples == | ||
The [[real number|set of real numbers]] is not enumerable, which we will prove by | The [[real number|set of real numbers]] is not enumerable, which we will prove by contradiction. 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. | ||
{| class="wikitable" style="text-align:center" | {| class="wikitable" style="text-align:center" | ||
Line 87: | Line 87: | ||
This is known as [[cantor's diagonal argument|Cantor's diagonalization argument]]. It is important to note that this argument assumes that two different decimal notations represent two different numbers. This is generally true, with one notable exception. Any digit followed by an infinite series of nines is equivalent to the same digit, increased by one, followed by an infinite series of zeros. For example, 0.3999… is equivalent to 0.4000…. This argument converts individual digits to either fours or fives, thereby avoiding any complications that could arise from this detail. | This is known as [[cantor's diagonal argument|Cantor's diagonalization argument]]. It is important to note that this argument assumes that two different decimal notations represent two different numbers. This is generally true, with one notable exception. Any digit followed by an infinite series of nines is equivalent to the same digit, increased by one, followed by an infinite series of zeros. For example, 0.3999… is equivalent to 0.4000…. This argument converts individual digits to either fours or fives, thereby avoiding any complications that could arise from this detail. | ||
Revision as of 17:22, 15 August 2008
In mathematics, a set X is said to be enumerable or countable if there exists a injection from X to the set of natural numbers. By the definition, an enumerable set either is finite or it has the same cardinality as the set of natural numbers.
Enumerable sets are subject to many useful properties. Standard inductive proofs rely upon enumeration of induction variables.
Examples of enumerable sets
The set of integers is enumerable. Indeed, the function
is a bijection between the natural numbers and the integers:
n | 0 | 1 | 2 | 3 | 4 | 5 | |
f(n) | 0 | -1 | 1 | -2 | 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 :
Interestingly, the union of any two enumerable sets is enumerable. Given and which are both enumerable, the function
enumerates all elements of both sets. In fact, the union of an enumerable number of enumerable sets is still enumerable. Suppose we have a collection of sets . Then we can create a bijection between the whole numbers and all the elements of all the as follows:
Notice that this concept is used in the proof of the enumerability of the rational numbers, given below.
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 | ||||
Counterexamples
The set of real numbers is not enumerable, which we will prove by contradiction. 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.
This is known as Cantor's diagonalization argument. It is important to note that this argument assumes that two different decimal notations represent two different numbers. This is generally true, with one notable exception. Any digit followed by an infinite series of nines is equivalent to the same digit, increased by one, followed by an infinite series of zeros. For example, 0.3999… is equivalent to 0.4000…. This argument converts individual digits to either fours or fives, thereby avoiding any complications that could arise from this detail.