I am studying for my exam and could not understand why my tutor constructed such sequences to show that the following sets are countable:
for example: to show that N×N = {(n,m):n∈N, m∈N} is countable, he constructed the following sequence:
(1,1), (1,2), (1,3), ...
(2,1), (2,2), (2,3), ...
(3,1), (3,2), (3,3), ...
........................
........................
Construct a sequence diagonally: (1,1),(2,1),(1,2),(3,1),(2,2),(1,3),...
Another example: If $A_k$, $k=1,2,\dots$, $k\in N$ are countable sets, then $A= \bigcup\limits_{k=1}^\infty A_k$ is also countable. Method he used:
a11, a12, a13, a14, ... => Contains all elements of A1
a21, a22, a23, a24, ... => Contains all elements of A2
a31, a32, a33, a34, ... => Contains all elements of A3
.......................
.......................
Again construct a sequence diagonally: a11, a21, a12, a31,a22,a13,...
I know that a set A is countable if there exists a surjection $f : N \to A$. However, is it really necessary to construct a sequence in such manner (diagonally) to show that those sets are countable? For the second question, if I construct a sequence like: a11,a22,a13,...,a1n,a21,a22,...,a2n,.... would not it also show that my set is countable? Because it seems like still there exists a surjective function f from N to A. Am I wrong?
Could you please give me some tips, method suggestions to how to figure out if a set (infinite or finite) is countable or not?