The sphere as a topological surface

Consider the sphere with the subspace topology $$ \begin{align*} S^2 = \sb{(x,y,z)\in \R^3}{x^2 + y^2 + z^2 = 1} \subseteq \R^3. \end{align*} $$

$S^2$ is Hausdorff and second countable, inherited from $\R^3$.

There are two stereographic projections, $π_+$ and $π_-$, given by $$ \begin{align*} π_{\pm} : \quad S^2 \setminus \set{(0,0,\pm 1)} &\to \R^2 \\ (x,y,z) &\mapsto \Bigl(\frac{x}{1\mp z}, \frac{y}{1\mp z}\Bigr). \end{align*} $$ It has an inverse $$ \begin{alignat}{1} π_\pm\inv :&& \quad \R^2 &\to S^2 \setminus \set{(0,0,\pm 1)} \\ &&\quad (u,v) &\mapsto \Bigl(\frac{2u}{u^2+v^2+1}, \frac{2v}{u^2+v^2+1}, \pm\frac{u^2+v^2-1}{u^2+v^2+1}\Bigr) \end{alignat} $$ They are continuous, and thus $π_{\pm}$ are homeomorphisms.

https://www.geogebra.org/calculator/qqevykrs

Every $p\in S^2$ lies in either $S^2\setminus \set{0,0,1}$ or $S^2\setminus \set{0,0,-1}$, which is an open neighbourhood homeomorphic to $\R^2$, so $S^2$ is a topological surface.