Countable set: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Martin Goldstern
m (natural nuimbers -- equivalent, but more custmary)
imported>Michael Hardy
(→‎Examples of enumerable sets: I'm guessing this mangled phrase was supposed to be "integers". Also allowing delimeters to assume proper sizes.)
Line 5: Line 5:
== Examples of enumerable sets ==
== Examples of enumerable sets ==


The set of [[inter number]s is enumerable.  Indeed, the function  
The set of [[integer]s is enumerable.  Indeed, the function
:<math> f(n) = (-1)^n\cdot \lfloor \frac{n+1}{2}\rfloor </math>
 
:<math> f(n) = (-1)^n\cdot \left\lfloor \frac{n+1}{2}\right\rfloor </math>
 
is a bijection between the natural numbers and the integers:  
is a bijection between the natural numbers and the integers:  
{| class="wikitable" style="text-align:center"
{| class="wikitable" style="text-align:center"

Revision as of 16:25, 17 May 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 natural numbers onto X. By the definition, an enumerable set has the same cardinality as the set of natural numbers.

Enumerable sets are subject to many useful properties. Inductive proofs rely upon enumeration of induction variables.

Examples of enumerable sets

The set of [[integer]s 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 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.

Table of 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.

Enumeration of all real numbers
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.

See also