in Set Theory & Algebra retagged by
21,823 views
52 votes
52 votes

Let $N$ be the set of natural numbers. Consider the following sets,

  • $P:$ Set of Rational numbers (positive and negative)
  • $Q:$ Set of functions from $\{0,1\}$ to $N$
  • $R:$ Set of functions from $N$ to $\{0, 1\}$
  • $S:$ Set of finite subsets of $N$

Which of the above sets are countable?

  1. $Q$ and $S$ only
  2. $P$ and $S$ only
  3. $P$ and $R$ only
  4. $P, Q$ and $S$ only
in Set Theory & Algebra retagged by
by
21.8k views

4 Comments

Any set A is countable, if and only if |A| <= |N|, or if we make a function mapping from the elements of set A to the elements of N, then we must get either a bijection or an injection.

Alternatively, if all the elements of a set A can possibly be listed in a sequence, then also A is countable.

P = Set of rational numbers.

Now, we know that a rational number is of the form p/q, I can make an enumerating sequence of the elements of P as :- We take the value of |p| + |q|, where both p and q aren’t 0 and then assign that value to the same value in the natural number set, for the element 0 in rational numbers, we just assign it to an arbritrary element, say 1. Now, we can observe that there exists an injection between my enumerating sequence of Q and N, hence P is countable.

Q = Set of functions from {0, 1} to N.

Let my function f be such that f = {(0, a), (1, b)} (many such functions are possible, here a, b belong to N) and I make a mapping of f to the value (a + b) in the natural number set – thence, there exists an injection from Q to N, hence Q is countable.

R = Set of functions from N to {0, 1}

Here, |R| = 2 ^ |N|, where |N| is the cardinality of the natural numbers’ set. Now according to Cantor’s theorem, for any set A, |A| < |P(A)|, where P(A) is the power set of A and |P(A)| = 2 ^ |A|. Thus, |R| > |N| and this violates the 1st definition given above and hence R is uncountable.

S = Set of finite subsets of N.

Here a mapping can be created as follows :- Take any finite subset and assign it to that element of N equal to the minimum element of that subset. Thus, again an injection has been obtained and hence, S is countable.

3
3
edited by
Note that this is not proof : I am explaining the statement
(R) : The set of all subsets of natural numbers, also known as the power set of natural numbers (denoted as ℘(ℕ) or 2^ℕ), is uncountable
Suppose if we considered that 0 is false and 1 is true and try to make function then ,

M = { {} ,{1} .{2} ,{3} ,…………..{1,1} ,{1,2} …….}

The first element  of M set  is the All natural number is 0 , that means no element is in the set and this could a function 1 .

The Second element of M set is the All natural number of set is 0 except 1 that’s why it is in the set ,that means only 1 element is in the set and this could a function 2 .

so on this way it creating such powerset which had such set of function . This is Uncountable set.
0
0

6 Answers

3 votes
3 votes
  • When S is countably infinite, $2^{S}$ is uncountable. So, R is uncountable

     
  • $N^{2}$ is countable. (Consider it as the set of squares of all natural numbers?). So, Q is countable.

     
  • N is countable. Hence all it's finite subsets are countable, too. (Powersets would create a problem, not subsets) So, S is countable.

     
  • It is well known that rational numbers are countable, while real numbers aren't.
    P is countable.

 

Option D

edited by

4 Comments

If we see it the other way , number of subsets of a set = 2^N , and if N is countable , 2^N is UNCOUNTABLE, what about that?
0
0

if N is countable , 2^N is UNCOUNTABLE

This is incorrect.

Correct one is: if $N$ is countably infinite, $2^N$ is uncountable.

0
0
edited by
Ok thanks for your time . Finally,Got the points .
0
0
1 vote
1 vote

We say a set is countable if we can give the elements of the set in some step by step manner [each step (maps to a natural number) produces a result and hence the element produced in each step maps to a natural number]

$P$: Set of Rational numbers (positive and negative)

Let our rational numbers be of the form $\frac{p}{q}$. We output the rational numbers in steps such that we display all the rational numbers having a particular sum of $p$ and $q$ and then increase the sum value by $1$. i.e.

i=2
step=1
while(1)
{
    for p = 1 to i-1
    {
        q=i-p
        print (step : p/q)
        print (step+1 : -(p/q))
        step=step+2
    }
    i=i+1
}

So set in $P$ is countable.

------------------------------------------------------------------------------------------------------------------------------

$Q$: Set of functions from $\{0,1\}$ to $\mathbb{N}$

Let us consider possible functions from sets $A$ to $B$ where we assume that $A=\{0,1\}$ and set $B$ contains elements $\{0,1,..,i\}$ in pass $i$, such that in subsequent passes the size of $B$ increases by $1$ and in a pass we output all possible functions from $A$ to current $B$. i.e.

A ={0,1}
i=0
step =1
while(1)
{
    B={0,1,...,i}
    output the functions possible from A to B
    in (i+1)^2 steps as there are (i+1)^2 functions
    from A to B.
    step=step+(i+1)^2
    i=i+1
}

So set in $Q$ is countable.

------------------------------------------------------------------------------------------------------------------------------

$S$: Set of finite subsets of $\mathbb{N}$

Let us assume that in pass $i$ we consider the subset $A=\{0,1,…,i\}$ and we output all the possible subsets of $A$. i.e.

 

output the NULL set in step 1
i=0
step =2
while(1)
{
    A={0,1,...,i}
    output all possible subset of A except NULL set
    i.e. 2^|A|-1 or 2^(i+1)-1 subsets of A in
    2^(i+1)-1 steps.
    step=step+2^(i+1)-1
    i=i+1
}

Hence the set in $S$ is countable.

------------------------------------------------------------------------------------------------------------------------------

From these observations we see that option $(D)$ is the answer.

------------------------------------------------------------------------------------------------------------------------------

Now why is $R$ not countable? Let do some intuitive analysis similar to Cantor’s Diagonalization:

Let us assume that the set of functions from $\mathbb{N}$ to $\{0,1\}$ is countable. Thus we must have a listing methodology which lists all the functions possible in set. The figure below shows a such thing:

The matrix shows the values taken by function $f_i$ for the domain $\mathbb{N}$. By our hypothesis, this listing shall contain all possible functions. But take the diagonal marked in orange. Complement the bits in it. The string which we shall get does not corresponding to any row of the matrix above. So, we have found a function, which have not been listed by our methodology. So our assumption was wrong and the set in $R$ is not countable!!

edited by
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true