All Topics  
Countable set

 

   Email Print
   Bookmark   Link






 

Countable set



 
 
In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, a countable set is a set with the same cardinality
Cardinality

In mathematics, the cardinality of a set is a measure of the "number of Element of the set". For example, the set A = contains 3 elements, and therefore A has a cardinality of 3....
 (i.e., number
Cardinal number

In mathematics, cardinal numbers, or cardinals for short, are a generalization of the natural numbers used to measure the cardinality of Set ....
 of elements) as some subset
Subset

In mathematics, especially in set theory, a Set A is a subset of a set B if A is "contained" inside B. Notice that A and B may coincide....
 of the set of natural number
Natural number

In mathematics, a natural number can mean either an element of the Set = *n = = ? = ? ...
s. The term was originated by Georg Cantor
Georg Cantor

Georg Ferdinand Ludwig Philipp Cantor was a Germany mathematician, born in Russia. He is best known as the creator of set theory, which has become a foundations of mathematics in mathematics....
; it stems from the fact that the natural numbers are often called counting numbers. A set that is not countable is called uncountable
Uncountable set

In mathematics, an uncountable set is an infinite Set which is too big to be countable set. The uncountability of a set is closely related to its cardinal number: a set is uncountable if its cardinal number is larger than that of the natural numbers....
.

Some authors use countable set to mean a set with the same cardinality as the set of natural numbers. The difference between the two definitions is that under the former, finite set
Finite set

In mathematics, finite set is a Set that has a finite number of element . For example,is a finite set with five elements. The number of elements of a finite set is a natural number , and is called the cardinality of the set....
s are also considered to be countable, while under the latter definition, they are not considered to be countable.






Discussion
Ask a question about 'Countable set'
Start a new discussion about 'Countable set'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, a countable set is a set with the same cardinality
Cardinality

In mathematics, the cardinality of a set is a measure of the "number of Element of the set". For example, the set A = contains 3 elements, and therefore A has a cardinality of 3....
 (i.e., number
Cardinal number

In mathematics, cardinal numbers, or cardinals for short, are a generalization of the natural numbers used to measure the cardinality of Set ....
 of elements) as some subset
Subset

In mathematics, especially in set theory, a Set A is a subset of a set B if A is "contained" inside B. Notice that A and B may coincide....
 of the set of natural number
Natural number

In mathematics, a natural number can mean either an element of the Set = *n = = ? = ? ...
s. The term was originated by Georg Cantor
Georg Cantor

Georg Ferdinand Ludwig Philipp Cantor was a Germany mathematician, born in Russia. He is best known as the creator of set theory, which has become a foundations of mathematics in mathematics....
; it stems from the fact that the natural numbers are often called counting numbers. A set that is not countable is called uncountable
Uncountable set

In mathematics, an uncountable set is an infinite Set which is too big to be countable set. The uncountability of a set is closely related to its cardinal number: a set is uncountable if its cardinal number is larger than that of the natural numbers....
.

Some authors use countable set to mean a set with the same cardinality as the set of natural numbers. The difference between the two definitions is that under the former, finite set
Finite set

In mathematics, finite set is a Set that has a finite number of element . For example,is a finite set with five elements. The number of elements of a finite set is a natural number , and is called the cardinality of the set....
s are also considered to be countable, while under the latter definition, they are not considered to be countable. To resolve this ambiguity, the term at most countable is sometimes used for the former notion, and countably infinite for the latter. The term denumerable is also used to mean countably infinite.

Definition

A set S is called countable if there exists an injective function
Injective function

In mathematics, an injective function is a function which associates distinct arguments with distinct values.An injective function is called an injection, and is also said to be a one-to-one function ....
from S to the natural numbers

If f is also surjective
Surjective function

In mathematics, a function f is said to be surjective or onto, if its values span its whole codomain; that is, for every y in the codomain, there is at least one x in the domain such that f = y ....
, thus making f bijective
Bijection

In mathematics, a bijection, or a bijective function is a function f from a set X to a set Y with the property that, for every y in Y, there is exactly one x in X such that f = y....
, then S is called countably infinite
Infinite set

In set theory, an infinite set is a Set that is not a finite set. Infinite sets may be countable set or uncountable set. Some examples are:* the set of all integers, , is a countably infinite set; and...
.


As noted above, this terminology is not universal: some authors define countable not to include finite sets, i.e. they define countable to mean what is here called "countably infinite".

There are alternative (equivalent) formulations of the definition in terms of a bijective function or a surjective function as the following theorem shows. A proof of this result can be found in Lang's text.

Theorem: Let S be a set. The following statements are equivalent:
  1. S is countable, i.e. there exists an injective function
  2. .
  3. Either S is empty or there exists a surjective function
  4. .
  5. Either S is finite or there exists a bijection
    Bijection

    In mathematics, a bijection, or a bijective function is a function f from a set X to a set Y with the property that, for every y in Y, there is exactly one x in X such that f = y....
  6. .


Gentle introduction


A set is a collection of elements, and may be described in many ways. One way is simply to list all of its elements; for example, the set consisting of the integers 3, 4, and 5 may be denoted . This is only effective for small sets, however; for larger sets, this would be time-consuming and error-prone. Instead of listing every single element, sometimes ellipsis ('…') are used, if the writer believes that the reader can easily guess what is missing; for example, presumably denotes the set of integer
Integer

The integers are natural numbers including 0 and their negative and non-negative numberss . They are numbers that can be written without a fractional or decimal component, and fall within the set ....
s from 1 to 100. Even in this case, however, it is still possible to list all the elements, because the set is finite; it has a specific number of elements.

Some sets are infinite; these sets have more than n elements for any integer n. For example, the set of natural numbers, denotable by , has infinitely many elements, and we can't use any normal number to give its size. Nonetheless, it turns out that infinite sets do have a well-defined notion of size (or more properly, of cardinality, which is the technical term for the number of elements in a set), and not all infinite sets have the same cardinality.

To understand what this means, we must first examine what it does not mean. For example, there are infinitely many odd integers, infinitely many even integers, and (hence) infinitely many integers overall. However, it turns out that the number of odd integers, which is the same as the number of even integers, is also the same as the number of integers overall. This is because we arrange things such that for every integer, there is a distinct odd integer: … -2 ? -3, -1 ? -1, 0 ? 1, 1 ? 3, 2 ? 5, …; or, more generally, n ? 2n + 1. What we have done here is arranged the integers and the odd integers into a one-to-one correspondence (or bijection
Bijection

In mathematics, a bijection, or a bijective function is a function f from a set X to a set Y with the property that, for every y in Y, there is exactly one x in X such that f = y....
), which is a function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
 that maps between two sets such that each element of each set corresponds to a single element in the other set.

However, not all infinite sets have the same cardinality. For example, Georg Cantor (who introduced this branch of mathematics) demonstrated that the real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s cannot be put into one-to-one correspondence with the natural numbers (non-negative integers), and therefore that the set of real numbers has a greater cardinality than the set of natural numbers.

A set is countable if: (1) it is finite, or (2) it has the same cardinality (size) as the set of natural numbers. Equivalently, a set is countable if it has the same cardinality as some subset
Subset

In mathematics, especially in set theory, a Set A is a subset of a set B if A is "contained" inside B. Notice that A and B may coincide....
 of the set of natural numbers. Otherwise, it is uncountable.

More formal introduction

It might then seem natural to divide the sets into different classes: put all the sets containing one element together; all the sets containing two elements together; ...; finally, put together all infinite sets and consider them as having the same size. This view is not tenable, however, under the natural definition of size.

To elaborate this we need the concept of a bijection
Bijection

In mathematics, a bijection, or a bijective function is a function f from a set X to a set Y with the property that, for every y in Y, there is exactly one x in X such that f = y....
. Do the sets and have the same size?

"Obviously, yes."
"How do you know?"
"Well, it's obvious. Look, they've both got 3 elements."
"What's a 3?"


This may seem a strange situation but, although a "bijection" seems a more advanced concept than a "number", the usual development of mathematics in terms of set theory defines functions before numbers, as they are based on much simpler sets. This is where the concept of a bijection comes in: define the correspondence

a ? 1, b ? 2, c ? 3


Since every element of is paired with precisely one element of , and vice versa, this defines a bijection.

We now generalize this situation and define two sets to be of the same size if (and only if) there is a bijection between them. For all finite sets this gives us the usual definition of "the same size". What does it tell us about the size of infinite sets?

Consider the sets A = , the set of positive integer
Integer

The integers are natural numbers including 0 and their negative and non-negative numberss . They are numbers that can be written without a fractional or decimal component, and fall within the set ....
s and B = , the set of even positive integers. We claim that, under our definition, these sets have the same size, and that therefore B is countably infinite. Recall that to prove this we need to exhibit a bijection between them. But this is easy, using n ? 2n, so that
1 ? 2, 2 ? 4, 3 ? 6, 4 ? 8, ....


As in the earlier example, every element of A has been paired off with precisely one element of B, and vice versa. Hence they have the same size. This gives an example of a set which is of the same size as one of its proper subsets, a situation which is impossible for finite sets.

Likewise, the set of all ordered pair
Ordered pair

In mathematics, an ordered pair is a collection of two distinguishable objects, one being the first coordinate system , and the other being the second coordinate ....
s of natural numbers is countably infinite, as can be seen by following a path like the one in the picture: The resulting mapping is like this:
0 ? (0,0), 1 ? (1,0), 2 ? (0,1), 3 ? (2,0), 4 ? (1,1), 5 ? (0,2), 6 ? (3,0) ….
It is evident that this mapping will cover all such ordered pairs.

Interestingly: if you treat each pair as being the numerator
Numerator

Numerator may refer to:* A numeral used to indicate a count, particularly of the equal parts in a fraction . A numerator is the number on top of the fraction....
 and denominator of a vulgar fraction, then for every positive fraction, we can come up with a distinct number corresponding to it. This representation includes also the natural numbers, since every natural number is also a fraction N/1. So we can conclude that there are exactly as many positive rational numbers as there are positive integers. This is true also for all rational numbers, as can be seen below (a more complex presentation is needed to deal with negative numbers).

Theorem: The Cartesian product
Cartesian product

In mathematics, the Cartesian product is a direct product of sets. The Cartesian product is named after Ren? Descartes, whose formulation of analytic geometry gave rise to this concept....
 of finitely many countable sets is countable.

This form of triangular mapping
Mapping

Mapping may refer to:*The making of maps, as in cartography, surveying, and photogrammetry;In biology and neuroscience:*Gene mapping, the assignment of DNA fragments to chromosomes...
 recursive
Recursive

Recursive may refer to:*Recursion*Recursively enumerable language*Recursively enumerable set*Recursive filter*Recursive function*Recursive language...
ly generalizes to vectors
Vector space

File:Vector addition ans scaling.pngA vector space is a mathematical structure formed by a collection of vectors: objects that may be Vector addition together and Scalar multiplication by numbers, called scalar s in this context....
 of finitely many natural numbers by repeatedly mapping the first two elements to a natural number. For example, (0,2,3) maps to (5,3) which maps to 41.

Sometimes more than one mapping is useful. This is where you map the set which you want to show countably infinite, onto another set; and then map this other set to the natural numbers. For example, the positive rational number
Rational number

In mathematics, a rational number is a number which can be expressed as a quotient of two integers. Non-integer rational numbers are usually written as the vulgar fraction , where b is not 0 ....
s can easily be mapped to (a subset of) the pairs of natural numbers because p/q maps to (pq).

What about infinite subsets of countably infinite sets? Do these have fewer elements than N?

Theorem: Every subset of a countable set is countable. In particular, every infinite subset of a countably infinite set is countably infinite.

For example, the set of prime number
Prime number

In mathematics, a prime number is a natural number which has exactly two distinct natural number divisors: 1 and itself. An infinitude of prime numbers exists, as demonstrated by Euclid around 300 BC....
s is countable, by mapping the n-th prime number to n:
  • 2 maps to 1
  • 3 maps to 2
  • 5 maps to 3
  • 7 maps to 4
  • 11 maps to 5
  • 13 maps to 6
  • 17 maps to 7
  • 19 maps to 8
  • 23 maps to 9
  • etc.


What about sets being "larger than" N? An obvious place to look would be Q, the set of all rational number
Rational number

In mathematics, a rational number is a number which can be expressed as a quotient of two integers. Non-integer rational numbers are usually written as the vulgar fraction , where b is not 0 ....
s, which is "clearly" much bigger than N. But looks can be deceiving, for we assert:

Theorem: Q (the set of all rational numbers) is countable.

Q can be defined as the set of all fractions a/b where a and b are integers and b > 0. This can be mapped onto the subset of ordered triples of natural numbers (a, b, c) such that a = 0, b > 0, a and b are coprime
Coprime

In mathematics, the integers a and b are said to be coprime or relatively prime if they have no common divisor other than 1 or, equivalently, if their greatest common divisor is 1....
, and c ? such that c = 0 if a/b = 0 and c = 1 otherwise.

  • 0 maps to (0,1,0)
  • 1 maps to (1,1,0)
  • -1 maps to (1,1,1)
  • 1/2 maps to (1,2,0)
  • -1/2 maps to (1,2,1)
  • 2 maps to (2,1,0)
  • -2 maps to (2,1,1)
  • 1/3 maps to (1,3,0)
  • -1/3 maps to (1,3,1)
  • 3 maps to (3,1,0)
  • -3 maps to (3,1,1)


  • 1/4 maps to (1,4,0)
  • -1/4 maps to (1,4,1)
  • 2/3 maps to (2,3,0)
  • -2/3 maps to (2,3,1)
  • 3/2 maps to (3,2,0)
  • -3/2 maps to (3,2,1)
  • 4 maps to (4,1,0)
  • -4 maps to (4,1,1)
  • ...


By a similar development, the set of algebraic number
Algebraic number

In mathematics, an algebraic number is a complex number that is a root of a non-zero polynomial in one variable with rational number coefficients....
s is countable, and so is the set of definable number
Definable number

A real number a is first-order definable in the language of set theory, without parameters, if there is a formula f in the language of set theory, with one free variable, such that a is the unique real number such that f holds ....
s.

Theorem: (Assuming the axiom of countable choice
Axiom of countable choice

The axiom of countable choice or axiom of denumerable choice, denoted AC?, is an axiom of axiomatic set theory, similar to the axiom of choice....
) The union
Union (set theory)

In set theory, the term Union refers to a set operation used in the convergence of set elements to form a resultant set containing the elements of both sets....
 of countably many countable sets is countable.

For example, given countable sets a, b, c ...

Using a variant of the triangular enumeration we saw above:

  • a0 maps to 0


  • a1 maps to 1
  • b0 maps to 2


  • a2 maps to 3
  • b1 maps to 4
  • c0 maps to 5


  • a3 maps to 6
  • b2 maps to 7
  • c1 maps to 8
  • d0 maps to 9


  • a4 maps to 10
  • ...


Note that this only works if the sets a, b, c,... are disjoint
Disjoint

Disjoint may refer to:*Disjoint sets*Disjoint union...
. If not, then the union is even smaller and is therefore also countable by a previous theorem.

Theorem: The set of all finite-length sequence
Sequence

In mathematics, a sequence is an ordered list of objects . Like a Set , it contains Element , and the number of terms is called the length of the sequence....
s of natural numbers is countable.

This set is the union of the length-1 sequences, the length-2 sequences, the length-3 sequences, each of which is a countable set (finite Cartesian product). So we are talking about a countable union of countable sets, which is countable by the previous theorem.

Theorem: The set of all finite subset
Subset

In mathematics, especially in set theory, a Set A is a subset of a set B if A is "contained" inside B. Notice that A and B may coincide....
s of the natural numbers is countable.

If you have a finite subset, you can order the elements into a finite sequence. There are only countably many finite sequences, so also there are only countably many finite subsets.

Basic properties

This section presents terse but rigorous proofs of some of the basic facts about countable sets.

By definition a set S is countable if there exists an injective function
Injective function

In mathematics, an injective function is a function which associates distinct arguments with distinct values.An injective function is called an injection, and is also said to be a one-to-one function ....
from S to the natural numbers

The following theorem gives equivalent formulations in terms of a bijective function or a surjective function
Surjective function

In mathematics, a function f is said to be surjective or onto, if its values span its whole codomain; that is, for every y in the codomain, there is at least one x in the domain such that f = y ....
. A proof of this result can be found in Lang's text.

Basic Theorem: Let S be a set. The following statements are equivalent:
  1. S is countable, i.e. there exists an injective function
  2. .
  3. Either S is empty or there exists a surjective function
  4. .
  5. Either S is finite or there exists a bijection
    Bijection

    In mathematics, a bijection, or a bijective function is a function f from a set X to a set Y with the property that, for every y in Y, there is exactly one x in X such that f = y....
  6. .


Several standard properties follow easily from this theorem. We present them here tersely. For a gentler presentation see the sections above. Observe that in the theorem can be replaced with any countably infinite set. In particular we have the following Corollary.

Corollary: Let S and T be sets.
  1. If the function
  2. is injective and T is countable then S is countable.
  3. If the function
  4. is surjective and S is countable then T is countable.


Proof: For (1) observe that if T is countable there is an injective function Then if is injective the composition is injective, so S is countable.

For (2) observe that if S is countable there is a surjective function Then if is surjective the composition is surjective, so T is countable.

Proposition: Any subset of a countable set is countable.

Proof: The restriction of an injective function to a subset of its domain
Domain (mathematics)

In mathematics, the domain of a given function is the set of "input" values for which the function is defined. For instance, the domain of cosine would be all real numbers, while the domain of the square root would be only numbers greater than or equal to 0 ....
 is still injective.

Proposition: The Cartesian product
Cartesian product

In mathematics, the Cartesian product is a direct product of sets. The Cartesian product is named after Ren? Descartes, whose formulation of analytic geometry gave rise to this concept....
 of two countable sets A and B is countable.

Proof: Note that is countable as a consequence of the definition because the function given by is injective. It then follows from the Basic Theorem and the Corollary that the Cartesian product of any two countable sets is countable. This follows because if A and B are countable there are surjections and . So is a surjection from the countable set to the set and the Corollary implies is countable. This result generalizes to the Cartesian product of any finite collection of countable sets and the proof follows by induction
Mathematical induction

Mathematical induction is a method of mathematical proof typically used to establish that a given statement is true of all natural numbers. It is done by proving that the first statement in the infinite sequence of statements is true, and then proving that if any one statement in the infinite sequence of statements is true, then...
 on the number of sets in the collection.

Proposition: The integers are countable and the rational numbers are countable.

Proof: The integers are countable because the function given by if n is non-negative and if n is negative is an injective function. The rational numbers are countable because the function given by is a surjection from the countable set to the rationals .

Proposition: If is a countable set for each then is countable.

Proof: This is a consequence of the fact that for each n there is a surjective function and hence the function given by is a surjection. Since is countable the Corollary implies is countable. We are using the axiom of countable choice
Axiom of countable choice

The axiom of countable choice or axiom of denumerable choice, denoted AC?, is an axiom of axiomatic set theory, similar to the axiom of choice....
 in this proof in order to pick for each a surjection from the non-empty collection of surjections from to .

Cantor's Theorem
Cantor's theorem

In elementary set theory, Cantor's theorem states that, for any Set A, the set of all subsets of A has a strictly greater cardinality than A itself....
 asserts that if is a set and is its power set
Power set

In mathematics, given a Set S, the power set of S, written , P, ℘ or Power set#Representing subsets as functions, is the set of all subsets of S....
, i.e. the set of all subsets of , then there is no surjective function from to . A proof is given in the article Cantor's Theorem
Cantor's theorem

In elementary set theory, Cantor's theorem states that, for any Set A, the set of all subsets of A has a strictly greater cardinality than A itself....
. As an immediate consequence of this and the Basic Theorem above we have:

Proposition: The set is not countable; i.e. it is uncountable.

For an elaboration of this result see Cantor's diagonal argument
Cantor's diagonal argument

Cantor's diagonal argument, also called the diagonalisation argument, the diagonal slash argument or the diagonal method, was published in 1891 by Georg Cantor as a mathematical proof that there are infinity Set which cannot be put into bijection with the infinite set of natural numbers....
.

The set of real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s is uncountable (see Cantor's first uncountability proof
Cantor's first uncountability proof

Georg Cantor's first uncountability proof demonstrates that the set of all real numbers is uncountable set. Cantor formulated the proof in December 1873 and published it in 1874 in Crelle's Journal, more formally known as the Journal f?r die Reine und Angewandte Mathematik ....
), and so is the set of all infinite sequence
Sequence

In mathematics, a sequence is an ordered list of objects . Like a Set , it contains Element , and the number of terms is called the length of the sequence....
s of natural numbers. A topological proof for the uncountability of the real numbers is described at finite intersection property
Finite intersection property

In general topology, the finite intersection property is a property of a collection of subsets of a set X. A collection has this property if the intersection over any finite subcollection of the collection is nonempty....
.

Minimal model of set theory is countable

If there is a set which is a standard model (see inner model
Inner model

In mathematical logic, suppose T is a Theory_ in the languageof set theory.If M is a model of describing a set theory and N is a class of M such that...
) of ZFC set theory, then there is a minimal standard model (see Constructible universe
Constructible universe

In mathematics, the constructible universe , denoted L, is a particular class of sets which can be described entirely in terms of simpler sets....
). The Löwenheim-Skolem theorem can be used to show that this minimal model is countable. The fact that the notion of "uncountability" makes sense even in this model, and in particular that this model M contains elements which are
  • subsets of M, hence countable,
  • but uncountable from the point of view of M,
was seen as paradoxical in the early days of set theory, see Skolem's paradox
Skolem's paradox

In mathematical logic and philosophy, Skolem's paradox is a seeming contradiction that arises from the downward L?wenheim-Skolem theorem. Thoralf Skolem was the first to discuss the seemingly contradictory aspects of the theorem, and to discover the relativity of set-theoretic notions now known as non-absoluteness ....
.

The minimal standard model includes all the algebraic number
Algebraic number

In mathematics, an algebraic number is a complex number that is a root of a non-zero polynomial in one variable with rational number coefficients....
s and all effectively computable transcendental number
Transcendental number

In mathematics, a transcendental number is a number that is not algebraic number, that is, not a solution of a non-zero polynomial equation with rational number coefficients....
s, as well as many other kinds of numbers.

Total orders

Countable sets can be totally ordered
Total order

In mathematics and set theory, a total order, linear order, simple order, or ordering is a binary relation on some Set X....
 in various ways, e.g.:
  • well orders (see also ordinal number
    Ordinal number

    In set theory, an ordinal number, or just ordinal, is the order type of a well-order. They are usually identified with hereditarily transitive sets....
    ):
    • the usual order of natural numbers
    • the integers in the order 0, 1, 2, 3, .., -1, -2, -3, ..
  • other:
    • the usual order of integers
    • the usual order of rational numbers


See also

  • Aleph number
    Aleph number

    In the branch of mathematics known as set theory, the aleph numbers are a sequence of numbers used to represent the cardinality of infinite sets....
  • Counting
    Counting

    Counting is the mathematics action of repeatedly adding one, usually to find out how many objects there are or to set aside a desired number of objects , or for well-ordered objects, to find the ordinal number of a particular object, or to find the object with a particular ordinal number....
  • Hilbert's paradox of the Grand Hotel
    Hilbert's paradox of the Grand Hotel

    Hilbert's paradox of the Grand Hotel is a mathematical paradox about infinite sets presented by German mathematician David Hilbert ....