- 4,796
- 32
As I understand it, the polar coordinates of a point is defined by the rectangular coordinates of that point according to the transformation T from R² to R² defined by
T:(x,y)\mapsto (\sqrt{x^2+y^2},tan\left(\frac{y}{x}\right))
But this definition fails for y=pi and x=2 because tan(pi/2) is not defined.
We could defined it this way for (x,y)\in \mathbb{R}^2 \backslash \{(x,y) \ \vert \ y/x = (n+1/2)\pi, \ n\in \mathbb{Z}\}, and by
T:(x,y)\mapsto (\sqrt{x^2+y^2}, Arccos_n \left(\frac{x}{\sqrt{x^2+y^2}}\right))
for (x,y) \in \{(x,y) \ \vert \ y/x = (n+1/2)\pi, \ n\in \mathbb{Z}\} and where Arccos_n is the inverse function of cos in the interval containing (n+1/2)pi.. i.e. Arccos_n(z): [-1,1]\rightarrow [n\pi, (n+1)\pi].
This is phenomenally ugly. Is there a nicer way to define the polar coordinates?
T:(x,y)\mapsto (\sqrt{x^2+y^2},tan\left(\frac{y}{x}\right))
But this definition fails for y=pi and x=2 because tan(pi/2) is not defined.
We could defined it this way for (x,y)\in \mathbb{R}^2 \backslash \{(x,y) \ \vert \ y/x = (n+1/2)\pi, \ n\in \mathbb{Z}\}, and by
T:(x,y)\mapsto (\sqrt{x^2+y^2}, Arccos_n \left(\frac{x}{\sqrt{x^2+y^2}}\right))
for (x,y) \in \{(x,y) \ \vert \ y/x = (n+1/2)\pi, \ n\in \mathbb{Z}\} and where Arccos_n is the inverse function of cos in the interval containing (n+1/2)pi.. i.e. Arccos_n(z): [-1,1]\rightarrow [n\pi, (n+1)\pi].
This is phenomenally ugly. Is there a nicer way to define the polar coordinates?