Let's consider two sets: $A := \{x^2: x \in R\}$ and $B:= \{x: x \in R\}$.
In my opinion its very intuitive that those two sets have exactly the same cardinality. In other words there has to be a bijection $g$ between $A$ and $B$ but I couldn't find proper form of $g$. I tried to pick $g(x) = x$ or $g(x) = \sqrt x$ but none of them works (second example doesn't work because domain differs).
Could you please help me finding this bijection?
Let $A_0=[0,1]$ and $A_n=(n,n+1]$ for $n\in \Bbb Z^+.$ Let $B_0=[0,1]$. For $n\in\Bbb Z^+$ let $B_{2n}=(n,n+1]$ and let $B_{2n-1}=[-n,1-n)$. For each non-negative integer $n$, map $A_n$ bijectively onto $B_n.$