Define the unit sphere as $S^1=\{x\in \mathbb{R}^2: \|x\|=1\}$
Also define the real projective line as $\mathbb{R}P^1=S^1/(x\sim-x)$
We can consider the mapping $f:S^1\rightarrow S^1$, $f(x)=x^2$
If I can show that $f$ is a continuous quotient map, i.e. $f$ is a continuous surjective mapping such that $f(-x)=f(x)$ for all $x\in S^1$, then I can apply the universal property of a quotient topology and conclude that there exists an induced homeomorphism between $\mathbb{R}P^1$ and $S^1$.
I am unsure how to prove, however, that $f$ is both surjective and continuous. It's obvious that $f(-x)=f(x)$ for all $x\in S^1$, but how should I go about the other two claims? I think I am overthinking this. Any help would be much appreciated.
The map $f$ is surjective because in polar coordinates, it is given by $e^{i\theta} \mapsto e^{2i\theta}$, and every angle $\psi \in [0, 2\pi)$ can be uniquely represented as $2\theta$ for some angle $\theta \in [0, \pi)$. The map $f$ is a differentiable function from $\mathbb{R}$ to $S^1$, and it is periodic with period $2\pi$, so it is continuous as a function from $\mathbb{R}/(2\pi \mathbb{Z}) \simeq S^1$ to $S^1$.