I am doing some homework exercises and stumbled upon this question. I don't know where to start.
Prove that the union of countably many countable sets is countable.
Just reading it confuses me.
Any hints or help is greatly appreciated! Cheers!
Answer
Let's start with a quick review of "countable". A set is countable if we can set up a 1-1 correspondence between the set and the natural numbers. As an example, let's take Z, which consists of all the integers. Is Z countable?
It may seem uncountable if you pick a naive correspondence, say 1↦1, 2↦2..., which leaves all of the negative numbers unmapped. But if we organize the integers like this:
0
1,−1
2,−2
3,−3
...
We quickly see that there is a map that works. Map 1 to 0, 2 to 1, 3 to -1, 4 to 2, 5 to -2, etc. So given an element x in Z, we either have that 1↦x if x=0, 2x↦x if x>0, or 2|x|+1↦x if x<0. So the integers are countable.
We proved this by finding a map between the integers and the natural numbers. So to show that the union of countably many sets is countable, we need to find a similar mapping. First, let's unpack "the union of countably many countable sets is countable":
"countable sets" pretty simple. If S is in our set of sets, there's a 1-1 correspondence between elements of S and N.
"countably many countable sets" we have a 1-1 correspondence between N and the sets themselves. In other words, we can write the sets as S1, S2, S3... Let's call the set of sets {Sn},n∈N.
"union of countably many countable sets is countable". There is a 1-1 mapping between the elements in N and the elements in S1∪S2∪S3...
So how do we prove this? We need to find a correspondence, of course. Fortunately, there's a simple way to do this. Let snm be the mth element of Sn. We can do this because Sn is by definition of the problem countable. We can write the elements of ALL the sets like this:
s11,s12,s13...
s21,s22,s23...
s31,s32,s33...
...
Now let 1↦s11, 2↦s12, 3↦s21, 4↦s13, etc. You might notice that if we cross out every element that we've mapped, we're crossing them out in diagonal lines. With 1 we cross out the first diagonal, 2−3 we cross out the second diagonal, 4−6 the third diagonal, 7−10 the fourth diagonal, etc. The nth diagonal requires us to map n elements to cross it out. Since we never "run out" of elements in N, eventually given any diagonal we'll create a map to every element in it. Since obviously every element in S1∪S2∪S3... is in one of the diagonals, we've created a 1-1 map between N and the set of sets.
Let's extend this one step further. What if we made s11=1/1, s12=1/2, s21=2/1, etc? Then S1∪S2∪S3...=Q+! This is how you prove that the rationals are countable. Well, the positive rationals anyway. Can you extend these proofs to show that the rationals are countable?
No comments:
Post a Comment