1
$\begingroup$

I have some pairs of real numbers $(\rho_1,\alpha_1),\dots (\rho_n, \alpha_n)$. I know that all my $\rho$'s are positive, but there is no constraints on my $\alpha$'s. I want to find a function $\phi$ such as $((\rho_1,\theta_1),\dots,(\rho_n,\theta_n)$ are some cartesian products, with $\theta_i = \phi(\rho_i,\alpha_i)$.

Is there a way to find such a $\phi$? Thanks!

  • 0
    @AymanHourieh Yes, that will do the trick I suppose! I can't believe I didn't think of it. Thanks!2012-06-19

1 Answers 1

1

If I understood this correctly, you want a bijection from $\mathbb{R^+}\times\mathbb{R^+}$ to $\mathbb{R^+}\times[0,2\pi)$. How about:

$ \phi(\rho_i, \alpha_i) = \left(\rho_i, 2\pi\tanh(\alpha_i)\right) $

Here is a plot of $2\pi\tanh(x)$ on $[0,3]$:

tanh

  • 0
    @S4M - Happy to help! Please note that it's $\tanh$ (without $^{-1}$). I made a mistake in a previous comment.2012-06-19