Consider $S^2$ with the two stereographic projections obtained by removing respectively the North pole and the South pole, find the gluing function obtained through the definition of Riemannian surface with the two charts given by the two projections.
We call $\varphi_1$ the stereographic projection from $S^2- \{N \}$ to $\mathbb{C}$ and $\varphi_2$ the stereographic projection from $S^2- \{S\}$ to $\mathbb{C}$. We assume that the gluing map is defined by $(\varphi_1)^{-1} \circ \varphi_2: \mathbb{C}^* \to \mathbb{C}^*$. However, considering $z=x+iy \in \mathbb{C}^*$, recalling that $(\varphi_1)^{-1}(x,y)=(\frac{2x}{1+x^2+y^2},\frac{2y}{1+x^2+y^2},\frac{-1+x^2+y^2}{1+x^2+y^2})$ and $\varphi_2(x,y,z)=(\frac{x}{z+1},\frac{y}{z+1})$, we have $(\varphi_1)^{-1} \circ \varphi_2 (z)=(\frac{x}{x^2+y^2},\frac{y}{x^2+y^2})=\frac{z}{|z|^2}=\frac{1}{\bar z}$. However, as I have seen in other parts, the result should be $\frac{1}{z}$. What is wrong?