Prove set S is countable iff there exists a surjective/injective function

  • Thread starter Thread starter cxc001
  • Start date Start date
  • Tags Tags
    Function Set
AI Thread Summary
A nonempty set S is countable if there exists a surjective function from the natural numbers N to S, and conversely, if such a surjective function exists, S is countable. For finite sets, a bijection can be established, and this can be extended to create a surjection from N to S. If S is infinite and a surjection exists, it can be shown that S is countably infinite by defining a mapping that demonstrates a bijection. The discussion emphasizes that a set is countable if it is either finite or denumerable, and that two denumerable sets share the same cardinality. The proofs for the surjective and injective functions are essential to establishing the countability of set S.
cxc001
Messages
15
Reaction score
0
(a) A nonempty set S is countable if and only if there exists surjective function f:N->S
(b) A nonempty set S is countable if and only if there exists a injective function g:S->NThere are two way proves for both (a) and (b)
(a-1) prove if a nonempty set S is countable, then there exists surjective function f:N->S; (a-2) also prove if there exists surjective function f:N->S, then a nonempty set S is countable

(b-1) prove if a nonempty set S is countable, then there exists a injective function g:S->N; (b-2) also prove if there exists a injective function g:S->N, then a nonempty set S is countable

---------------------------------------------------
A set is countable if it is either finite or denumerable
1) Two finite countable sets are not necessarily of the same cardinality
2) Every two denumerable sets are of the same cardinality.

Set A is denumerable if there is a bijection f:N->A
---------------------------------------------------

How to construct a surjection f:N->S?
Also the inverse of function f which is g:S->N is also injection?

Please help!
 
Physics news on Phys.org
I am assuming 'denumerable'='countably infinite'.
Suppose S is countable.
If S is countably infinite then there is a bijection, by definition, f:N-->S, so we are done.

If S is finite, then we know that there is a bijection h:{1,2,...,n}-->S. We can extend this to a surjection f:N-->S, as follows, f(i)=h(i) if 1<=i<=n, and f(i)=h(1) if i>n.

Now, assume that f:N-->S is a surjection. We need to show that S is either finite or countably infinite. If S is finite then it is clearly countable. Assume S is infinite.

Define E_i={j|f(i)=f(j)}. That is it consists of all elements in N that are mapped to the same element in S. Then consider the following mapping

h:S--> defined by h: i-->j, where j is some element of E_i... we can show that such a mapping is a bijection. Hence S is countably infinite.

You can do other cases similarly, and also fill in the gaps that i have left for you in this proof.
 
Last edited:
Thanks!
 
I was reading a Bachelor thesis on Peano Arithmetic (PA). PA has the following axioms (not including the induction schema): $$\begin{align} & (A1) ~~~~ \forall x \neg (x + 1 = 0) \nonumber \\ & (A2) ~~~~ \forall xy (x + 1 =y + 1 \to x = y) \nonumber \\ & (A3) ~~~~ \forall x (x + 0 = x) \nonumber \\ & (A4) ~~~~ \forall xy (x + (y +1) = (x + y ) + 1) \nonumber \\ & (A5) ~~~~ \forall x (x \cdot 0 = 0) \nonumber \\ & (A6) ~~~~ \forall xy (x \cdot (y + 1) = (x \cdot y) + x) \nonumber...
Back
Top