I was constructing a homeomorphism from $S^2 / \langle x \sim -x \rangle$ to $\mathbb{R}P^2$, the real projective plane, defined to be the space of all lines through the origin in $\mathbb{R}^3$.A basis for $\mathbb{R}P^2$ is given by the collection of subsets of lines specified by open double cones with the cone point at the origin .
The homeomorphism I came up with is $f:S^2 / \langle x \sim -x \rangle \rightarrow \mathbb{R}P^2,$ given by $f(\{x,-x\})=tx$.Where $t$ is a parameter.
I was having some difficulty showing that this map is continuous and came across the following theorem:
Let $p:X \rightarrow Y$ be a quotient map. Let $Z$ be a space and let $g:X \rightarrow Z$ be a map that is constant on each set $p^{-1}(\{y\})$, for $y \in Y$. Then $g$ induces a map $f:Y \rightarrow Z$ such that $f \circ p=g$. The induced map $f$ is continuous if and only if $g$ is continuous; $f$ is a quotient map if and only if $g$ is a quotient map.
Can I use this theorem to show the function $f$ I have constructed is continuous? For this I will denote $p:S^2 \rightarrow S^2/ \langle x \sim -x \rangle$ to be the quotient map, sending points $x,-x$ on the sphere to the equivalence class $\{x,-x\}$. So then in terms of the theorem I can take $p=p,X=S^2, Y=S^2/ \langle x \sim -x \rangle,Z=\mathbb{R}P^2,f=f,g=g$ and $g:S^2 \rightarrow \mathbb{R}P^2$ given by $g(x)=tx$ for all points in the sphere. Then $g$ is constant on $p^{-1}(\{\{x,-x\}\})$, since $g(x)=tx,g(-x)=tx$.
Can I just say $g$ is continuous since each of the components of $tx$ is a continuous polynomial, or is that not allowed since $\mathbb{R}P^2$ cannot be embedded in $\mathbb{R}^3$?
Now I am unsure whether this makes any progress, because I still have to show $g$ is continuous, which seems nonobvious. Any help?