Countable Sets

A set A is countable if N∼A. An infinite set that is not countable is called an uncountable set.
Q countable, R uncountable

i. Q is countable
ii. R is uncountable

Proof
i:
Set A1={0} and for each n≥2 let An be the set defined by:

An={±pq|p,q∈N,p+q=n,p,q are in lowest terms}

For example:

A1={0},A2={11,−11},A3={12,−12,21,−21},…

We can make the following pairings:

Pasted image 20241006153346.png

Trying to write the explicit formula for f here is a bit awkward. But what's important is given any rational q∈Q then q=mn so then q=mn∈Am+n. So 227∈A29 for example. This argument shows surjectivity. To show one-to-one (injective) notice that each An is disjoint with other Am's, thus any two rationals that aren't in the same set cannot equal.

ii:
Assume that there does exist some bijection f:N→R. Then x1=f(1),x2=f(2),… so then we can say:

R={x1,x2,…}

and be confident each real x∈R is one of these xi's.

Using the Nested Interval Property, let I1 be a closed interval that does not contain x1. Next, let I2 be a closed interval within I1 that doesn't contain x2. Repeat this process such that:

  1. In+1⊆In
  2. xn+1∉In+1

Now consider ⋂n=1∞In. If xn0 is some real number from the list then xn0∉In0+1. As a result then xn0∉⋂n=1∞In. Since xn0 was arbitrary then ⋂n=1∞In=∅.

However, the Nested Interval Property states that ⋂n=1∞In≠∅, so then there is some x∈⋂n=1∞In such that it's not in our list of xi's, which is a contradiction. Thus R must be uncountable.
☐

What about I? Since R=Q∪I and via theorem then I must be the I cannot be countable since if it was then otherwise R would be.

If A⊆B and B is countable, then A is either countable or finite.
Theorem

i. If A1,A2,…,Am are each countable sets, then the union A1∪A2∪⋯∪Am is countable.
ii. If An is a countable set for each n∈N then ⋃n=1∞An is countable.

The proofs of these are pretty easy to show and are left to the read (always wanted to do that).