Tuesday, 23 May 2017

elementary set theory - Evaluating correctness of various definitions of countable sets



I was trying to understand the definition of countable set (again!!!). Wikipedia has a very great explanation:






  1. A set S is countable if there exists an injective function f from S to the natural numbers N.

  2. If such an f can be found that is also surjective (and therefore bijective), then S is called countably infinite.

  3. In other words, a set is countably infinite if it has bijection with the N.




So I summarize:




  1. S is countable iff SinjectionN


  2. S is countably infinite iff SbijectionN



But then wikipedia confuses by stating following points:




Theorem: Let S be a set. The following statements are equivalent:




  1. S is countable, i.e. there exists an injective function f:SN.


  2. Either S is empty or there exists a surjective function g:NS.

  3. Either S is finite or there exists a bijection h:NS.




Q1. I feel 2nd statement is wrong, as it allows some element in S to not to map to any element in N. That is NsurjectionS does not imply SinjectionN. Hence S is not countable. Right?
Q2. 3rd statement defines countably infinite set, so its countable also. Right?
Q3. Also I dont get if the extra restrictions of emptyness and finiteness in statements 2 and 3 are required.



Wikipedia further says:





Corollary: Let S and T be sets.




  1. If the function f:ST is injective and T is countable then S is countable.

  2. If the function g:ST is surjective and S is countable then T is countable.




Q4. Here, too, I feel 2nd statement is incorrect for the same reason as 2nd statement in the theorem. Right?




Edit



I dont know if its correct to add this edit. But its the source of my confusion. So adding it anyway. All answers on this post go on explaining how sujectivity and injectivity imply each other and hence bijectivity. But does that means, whenever injective f:XY exists, there also holds surjective g:YX (and also a bijective)? I dont feel so, as the wikipedia gives examples of injective f:XY, for which g:YX is not surjective:



enter image description here



On the same page, it gives example of surjective g:YX, for which f:XY is not injective:



enter image description here




How can I reconcile these facts with given answers? I must be missing something very basic!!!


Answer




  1. In fact, f:NsurjectionS does imply g:SinjectionN. Since f is a function, for each nN there exists a unique sS so that f(n)=s. Since f is surjective, each sS can be found in such a way. To define g, for each sS choose some nN so that f(n)=s. Define g(s)=n. This function must be injective, since if it weren't then two distinct s,t would map to the same natural n. By construction, f(n)=s and f(n)=t, contradicting st.


  2. The third statement doesn't quite define a countable set. In the one case, if there is a bijection, yes that agrees with your definition of a countable set. In the other, a very small amount of work needs to be done to show that there is an injection from any finite set into the naturals. This isn't quite included in your definition.


  3. S being empty needs to be treated as a special case because functions need outputs. If S is empty, no such function g can be defined. In your other point, finiteness is also required since all finite sets are countable by your definition (Order them as x1,,xn and define f(xi)=i. The details can be handled with induction.), but no finite set has a bijection with N, so they have to be handled as a special case.


  4. Once this is dealt with in the theorem, it is dealt with here as well. Injectivity and surjectivity can be flipped when the order of the sets is flipped as well. Another way of thinking about this is that once the theorem is proven true, as hard as it might be to accept the corollary it must be true as well since it is such a small leap from the theorem itself.



No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...