To show two sets have equal cardinality is it always necessary to show bijection between the sets?
suppose I have two sets A and B isn't it enough to show that there exist one onto mapping from A to B and some another onto mapping form B to A. The reason why I am asking this question is that it sometimes becomes very difficult to construct such a function which gives bijection.
For example, when I wanted to show bijection between rationals and naturals.
It was difficult to construct such a function and later found out that
$f(m,n)=2^{m-1}(2n-1)$
will do the work.
Now,recently I came across another problem that show that [0,1] and (0,1) have equal cardinality. I was able to construct onto mapping from (0,1) to [0,1] and also another onto mapping from [0,1] to (0,1) but still now I couldn't construct such a function which will biject the two sets.