Let $z$ be a complex number, with real part $x$ and imaginary part $y$, such that $(x,y) \notin \mathbb{R}^{-} \times \{0\}$. We denote
$$\theta(z) = 2\arctan\left(\frac{y}{x + \sqrt{x^2 + y^2}}\right) \quad \text{and} \quad R(z) = \frac{z + |z|}{\sqrt{2(\operatorname{Re}(z) + |z|)}}$$
Justify that $\theta$ and $R$ are well defined.