Define a relation $\sim$ on $\mathbb{R}$ as follows: for any $a,b \in \mathbb{R}$, $$a\sim b \iff a-b\in \mathbb{Z}.$$
Let $S=\mathbb{R}/{\sim}$. That is, $S$ is the set of equivalence classes of elements of $\mathbb{R}$ under the equivalence relation $\sim$.
Define $f:S\rightarrow S$ by $f([t])=[t^2])$ for $t\in \mathbb{R}$. Is this well-defined?
Define $g:S\rightarrow S$ by $f([t])=[2t]$ for $t\in \mathbb{R}$. Is this well-defined?
Let $C=\{(x,y)\in\mathbb{R^2}:x^2+y^2=1\}$, and define $h:S\rightarrow C$ by $$h([t])=(\cos(2\pi t),\sin(2\pi t)).$$
What is the process here to realize whether or not $h$ is well-defined? Or whether it is a bijection?
I know that I have to show $$[t]=[t']\implies h([t])=h([t']),$$ and $$\forall x\in C \exists x'\in S : h([x'])=x,$$ but I'm not really sure how to go about this.
$$t-s\in\mathbb{Z}\implies t^2-s^2=(t-s)(t+s)\in\mathbb{Z}\tag{false}$$
$$t-s\in\mathbb{Z}\implies 2t-2s=2(t-s)\in\mathbb{Z}\tag{true}$$
$$t-s\in\mathbb{Z}\implies (\cos(2\pi t),\sin(2\pi t))=(\cos(2\pi s),\sin(2\pi s))\tag{true}$$