Converting Cylindrical Coordinates to Orthogonal and Spherical Coordinates?

  • Context: MHB 
  • Thread starter Thread starter mathmari
  • Start date Start date
  • Tags Tags
    Coordinates Point
Click For Summary
SUMMARY

This discussion focuses on converting cylindrical coordinates to orthogonal (Cartesian) and spherical coordinates using the point (2, π/2, -4). The orthogonal coordinates are calculated as (0, 2, -4) using the formulas x = r cos θ, y = r sin θ, and z = z. The spherical coordinates are derived as (2√5, π/2, arccos(-2/√5)). A crucial point raised is the use of atan2 instead of arctan for calculating θ to ensure the correct range of values.

PREREQUISITES
  • Cylindrical coordinates and their representation (r, θ, z)
  • Orthogonal (Cartesian) coordinates and their representation (x, y, z)
  • Spherical coordinates and their representation (ρ, θ, φ)
  • Understanding of trigonometric functions and their ranges
NEXT STEPS
  • Learn about the atan2 function and its advantages over arctan in coordinate conversions
  • Study the properties and applications of spherical coordinates in 3D geometry
  • Explore the implications of coordinate transformations in physics and engineering
  • Investigate common pitfalls in converting between different coordinate systems
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who are working with coordinate transformations and 3D spatial analysis.

mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hey! :o

We are given the following point in cylindrical coordinates. We have to write in orthogonal and spherical coordinates.
The point is $\left (2, \frac{\pi}{2}, -4\right )$.

First of all, do orthogonal coordinates mean cartesian coordinates?? (Wondering)

The cylindrical coordinates are of the form $(r, \theta , z)$, that are defined by $x=r \cos \theta , y=r \sin \theta , z=z$.

The orthogonal coordinates are of the form $(x, y, z)$.

$x=r \cos \theta=2 \cos \frac{\pi}{2}=0 , y=r \sin \theta =2 \sin \frac{\pi}{2}=2 , z=z=-4$

So, the orthogonal coordinates of the point are $(0, 2, -4)$.
The spherical coordinates are of the form $(\rho, \theta , \phi)$, where $\rho =\sqrt{x^2+y^2+z^2}, \theta=\arctan \left (\frac{y}{x}\right ), \phi=\arccos \left (\frac{z}{\rho}\right )$.

$\rho=\sqrt{x^2+y^2+z^2}=\sqrt{0^2+2^2+(-4)^2}=2 \sqrt{5}, \theta=\arctan \left (\frac{y}{x}\right )=\arctan \left ( \frac{2}{0}\right ) \Rightarrow \theta=\frac{\pi}{2}, \phi=\arccos \left (\frac{z}{\rho}\right )=\arccos \left (\frac{-4}{2\sqrt{5}}\right )=\arccos \left ( \frac{-2}{\sqrt{5}}\right )$

So, the spherical coordinates of the point are $\left (2 \sqrt{5}, \frac{\pi}{2}, \arccos \left ( \frac{-2}{\sqrt{5}}\right )\right )$.
Is the formulation correct?? (Wondering)

Could I improve something?? (Wondering)
 
Last edited by a moderator:
Physics news on Phys.org
mathmari said:
Hey! :o

We are given the following point in cylindrical coordinates. We have to write in orthogonal and spherical coordinates.
The point is $\left (2, \frac{\pi}{2}, -4\right )$.

First of all, do orthogonal coordinates mean cartesian coordinates?? (Wondering)

The cylindrical coordinates are of the form $(r, \theta , z)$, that are defined by $x=r \cos \theta , y=r \sin \theta , z=z$.

The orthogonal coordinates are of the form $(x, y, z)$.

$x=r \cos \theta=2 \cos \frac{\pi}{2}=0 , y=r \sin \theta =2 \sin \frac{\pi}{2}=2 , z=z=-4$

So, the orthogonal coordinates of the point are $(0, 2, -4)$.
The spherical coordinates are of the form $(\rho, \theta , \phi)$, where $\rho =\sqrt{x^2+y^2+z^2}, \theta=\arctan \left (\frac{y}{x}\right ), \phi=\arccos \left (\frac{z}{\rho}\right )$.

$\rho=\sqrt{x^2+y^2+z^2}=\sqrt{0^2+2^2+(-4)^2}=2 \sqrt{5}, \theta=\arctan \left (\frac{y}{x}\right )=\arctan \left ( \frac{2}{0}\right ) \Rightarrow \theta=\frac{\pi}{2}, \phi=\arccos \left (\frac{z}{\rho}\right )=\arccos \left (\frac{-4}{2\sqrt{5}}\right )=\arccos \left ( \frac{-2}{\sqrt{5}}\right )$

So, the spherical coordinates of the point are $\left (2 \sqrt{5}, \frac{\pi}{2}, \arccos \left ( \frac{-2}{\sqrt{5}}\right )\right )$.
Is the formulation correct?? (Wondering)

Could I improve something?? (Wondering)

Hi!

It's perfect. (Nod)

If anything, be careful with $\theta=\arctan \left (\frac{y}{x}\right )$, because it is not generally true.
Properly, it should be something like $\theta=\operatorname{atan2}(y, x)$.
That's because the range of $\arctan$ is limited to $(-\pi/2,\pi/2]$, while $\theta$ really has the full range.
 
Nice! (Happy)

I applied the formula $\rho=\sqrt{z^2+r^2},\ \ \theta=\theta , \ \ \phi=\arctan \left (\frac{r}{z}\right )$ for the point in cylindrical coordinates $\left (1, -\frac{\pi}{6}, 0\right )$.

To calculate $\phi$ do we write it as followed?? $$\phi=\arctan \left (\frac{1}{0}\right )$$
Or is there an other way to write it?? (Wondering)

Do we say: "Since it $\frac{1}{0}$ is not defined and we know that $\tan $ is not defined at $\frac{\pi}{2}$, we conclude that $\phi=\frac{\pi}{2}$." ?? (Wondering)

Is the formulation correct?? Could I improve something?? (Wondering)
 
mathmari said:
Nice! (Happy)

I applied the formula $\rho=\sqrt{z^2+r^2},\ \ \theta=\theta , \ \ \phi=\arctan \left (\frac{r}{z}\right )$ for the point in cylindrical coordinates $\left (1, -\frac{\pi}{6}, 0\right )$.

To calculate $\phi$ do we write it as followed?? $$\phi=\arctan \left (\frac{1}{0}\right )$$
Or is there an other way to write it?? (Wondering)

Do we say: "Since it $\frac{1}{0}$ is not defined and we know that $\tan $ is not defined at $\frac{\pi}{2}$, we conclude that $\phi=\frac{\pi}{2}$." ?? (Wondering)

Is the formulation correct?? Could I improve something?? (Wondering)

You should add that the range of $\phi$ in spherical coordinates is [$0,\pi$], which is why $\frac{\pi}{2}$ is the correct answer as opposed to $-\frac{\pi}{2}$. (Nerd)
 
Ok... Thank you very much! (Smile)
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 29 ·
Replies
29
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K