Could you please check if this construction makes sense and answer to questions to the parts in bold?
My construction:
The construction can be given explicitly as an inverse stereographic projection. Consider the map
$s: \mathbb{R} \rightarrow S^1$ given by
$x \rightarrow (\frac{1-x^2}{1 + x^2},\frac{2x}{1 + x^2})$
Then $s$ is a homeomorphism between $\mathbb{R}$ and $S^1 \setminus \{(-1,0)\}$. So, since $S^1 \setminus \{(-1,0)\}$ is dense in $S^1$ and $S^1 \setminus\left(S^1 \setminus\{(-1,0)\}\right)$ consists of a single point, $S^1$ is the one-point compactification of $\mathbb{R}$.
Question 1: Why is s a homeomorphism? (How to prove that?) I take this as a known fact from math. analysis, but I am not sure.
Question 2: How do we know that $S^1 \setminus \{(-1,0)\}$ is dense in $S^1$?