Countable set: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Subpagination Bot
m (Add {{subpages}} and remove any categories (details))
imported>Ozan Demirlioglu
Line 19: Line 19:
|-
|-
|}
|}
The [[union (Mathematics)|union]] of the set of integers with any [[finite]] set is enumerable.  For instance, given the finite set
:<math>A = \{ a_0, a_1, \ldots, a_{n-1} \}</math>
with cardinality ''n'', this function will enumerate all elements of <math>A \cup \mathbb{N}</math>:
<math>i \mapsto \begin{cases} a_i, & i < n \\ i-n, & \mbox{otherwise} \end{cases}</math>
Interestingly, the union of any two enumerable sets is enumerable. Given <math>A=\{a_0, a_1, a_2, \ldots\}</math> and <math>B=\{b_0, b_1, \ldots\}</math> which are both enumerable, the function
<math>i \mapsto \begin{cases} a_{i/2}, & i \mbox{ is even} \\ b_{(i-1)/2}, & i \mbox{ is odd} \end{cases}</math>
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 <math>A_0 = \{a_{0,0}, a_{0,1}, a_{0,2}, \ldots\}, A_1 = \{a_{1,0}, a_{1,1}, \ldots\}, A_2, A_3, \ldots</math>. Then we can create a bijection between the whole numbers and all the elements of all the <math>A_i</math> as follows:
<math>a_{i,j} \leftrightarrow \frac{(i+j)^2+i+j}{2}+j</math>
Notice that this concept is used in the proof of the enumerability of the rational numbers, given below.


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 39: Line 55:
| <math>\vdots</math> || <math>\vdots</math> || <math>\vdots</math>  || <math>\ddots</math>
| <math>\vdots</math> || <math>\vdots</math> || <math>\vdots</math>  || <math>\ddots</math>
|}
|}
The [[union (Mathematics)|union]] of the set of integers with any [[finite]] set is enumerable.  For instance, given the finite set
:<math>A = \{ a_0, a_1, \ldots, a_{n-1} \}</math>
with cardinality ''n'', this function will enumerate all elements of <math>A \cup \mathbb{N}</math>:
<math>i \mapsto \begin{cases} a_i, & i < n \\ i-n, & \mbox{otherwise} \end{cases}</math>


== Counterexamples ==
== Counterexamples ==

Revision as of 17:30, 4 May 2008

This article has a Citable Version.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article has an approved citable version (see its Citable Version subpage). While we have done conscientious work, we cannot guarantee that this Main Article, or its citable version, is wholly free of mistakes. By helping to improve this editable Main Article, you will help the process of generating a new, improved citable version.

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

Table of all rational numbers
0 1 2
1
2
3

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