Convert a spherical vector into cylindrical coordinates

In summary: It's like the problem of converting from rectangular to polar coordinates, where you replace ##x## by ##r\cos\theta## and ##y## by ##r\sin\theta##, but with one more variable for the azimuthal angle ##\varphi##. So you get ##F_r(\rho,\varphi)=\cdots+F_\varphi(\rho,\varphi)=\cdots## You can do the algebra now.
  • #1
Mulz
124
5

Homework Statement


Convert the vector given in spherical coordinates to cylindrical coordinates:

[tex] \vec{F}(r,\theta,\varphi) = \frac{F_{0}}{arsin\theta}\bigg{[}(a^2 + arsin\theta cos\varphi)(sin\theta \hat{r} + cos\theta \hat{\theta}) - (a^2 + arsin\theta sin\varphi - r^2 sin^2\theta) \hat{\varphi} \bigg] [/tex]

Homework Equations



[tex] \theta [/tex] is elevation:

[tex] \rho = rcos\theta [/tex]
[tex] \varphi = \varphi [/tex]
[tex] z = rsin\theta [/tex]

The Attempt at a Solution



I attempted to solve the problem by simple inserting all of the conversions into the spherical vector field. The problem was I keep on getting a bunch of r left that I don't know what to do. This is what I got by simply inserting the conversion above, I got them from https://en.wikipedia.org/wiki/Cylindrical_coordinate_system.

[tex] \vec{F}(\rho,\varphi,z) = \frac{F_{0}}{az}\bigg{[}(a^2 \frac{z}{r} + az\frac{z}{r}cos\varphi)\hat{\varphi} + (a^2 \frac{\rho}{r} + az\frac{\rho^2}{r^2})\hat{\varphi} - (a^2 + azsin\varphi - z^2)\hat{z}\bigg{]} [/tex]

Which I think is wrong since I have a lot of r's left. Can anyone make the conversion? I have tried for days.
 
Last edited:
Physics news on Phys.org
  • #2
What about using:

##r^2 = x^2 + y^2 + z^2 = \rho^2 + z^2##
 
  • #3
PeroK said:
What about using:

##r^2 = x^2 + y^2 + z^2 = \rho^2 + z^2##
After when I inserted the new coordinates or before, in the original expression?
 
  • #4
Mulz said:
After when I inserted the new coordinates or before, in the original expression?

I thought you just needed to replace the remaining ##r## coordinates in terms of the relevant cylindrical coordinates. I haven't checked anything else, by the way.
 
  • #5
PeroK said:
I thought you just needed to replace the remaining ##r## coordinates in terms of the relevant cylindrical coordinates. I haven't checked anything else, by the way.

If I put it in the first expression I would simply rewrite ##r## in terms of cylindrical coordinates I think. Not sure how it goes for ##\theta## and ##\phi##.
 
  • #6
Why not just replace ##r## in this expression and then you're done?

Mulz said:
[tex] \vec{F}(\rho,\varphi,z) = \frac{F_{0}}{az}\bigg{[}(a^2 \frac{z}{r} + az\frac{z}{r}cos\varphi)\hat{\varphi} + (a^2 \frac{\rho}{r} + az\frac{\rho^2}{r^2})\hat{\varphi} - (a^2 + azsin\varphi - z^2)\hat{z}\bigg{]} [/tex]

Which I think is wrong since I have a lot of r's left. Can anyone make the conversion? I have tried for days.

PS I guess that first unit vector should be ##\hat{\rho}##.
 
  • #7
It's all trig and algebra. You can do the conversion without too much struggle if first you draw a picture of an arbitrary point in space and on it draw the unit vectors associated with both the spherical and the cylindrical coordinates. The orthogonal ##\hat z## and ##\hat \rho## for cylindrical coordinates lie in the same plane as the orthogonal ##\hat r## and ##\hat \theta## for spherical coordinates. Knowing that the spherical angle ##\theta## is formed by ##\hat z## and ##\hat r##, you can easily find the coefficients ##a_{ij}## in the transformation equations ##\hat r=a_{11}~ \hat \rho +a_{12} ~\hat z## and ##\hat \theta=a_{21}~ \hat \rho +a_{22} ~\hat z.## They all involve sines and cosines of ##\theta##. This will allow you to substitute the unit vectors in the spherical expression. Note that ##\hat \varphi## is the same in both spherical and cylindrical.

The second step is to eliminate the spherical ##r## and ##\theta##. No need to do anything with ##\varphi##. Draw another drawing. Note that ##r=\sqrt{\rho^2+z^2}##, ##\cos\theta=z/\sqrt{\rho^2+z^2}## and ##\sin\theta =\rho/\sqrt{\rho^2+z^2}##. Substitute all of these in the given expression and simplify.

The final step is to pull it all together and cast it in the form ##\vec F(\rho,\varphi,z)=F_{\rho}~\hat \rho+F_{\varphi}~\hat \varphi+F_z~\hat z.##

Good luck.
 
Last edited:
  • #8
Mulz said:

Homework Statement


Convert the vector given in spherical coordinates to cylindrical coordinates:

[tex] \vec{F}(r,\theta,\varphi) = \frac{F_{0}}{arsin\theta}\bigg{[}(a^2 + arsin\theta cos\varphi)(sin\theta \hat{r} + cos\theta \hat{\theta}) - (a^2 + arsin\theta sin\varphi - r^2 sin^2\theta) \hat{\varphi} \bigg] [/tex]

Homework Equations



[tex] \theta [/tex] is elevation:

[tex] \rho = rcos\theta [/tex]
[tex] \varphi = \varphi [/tex]
[tex] z = rsin\theta [/tex]

The Attempt at a Solution



I attempted to solve the problem by simple inserting all of the conversions into the spherical vector field. The problem was I keep on getting a bunch of r left that I don't know what to do. This is what I got by simply inserting the conversion above, I got them from https://en.wikipedia.org/wiki/Cylindrical_coordinate_system.

[tex] \vec{F}(\rho,\varphi,z) = \frac{F_{0}}{az}\bigg{[}(a^2 \frac{z}{r} + az\frac{z}{r}cos\varphi)\hat{\varphi} + (a^2 \frac{\rho}{r} + az\frac{\rho^2}{r^2})\hat{\varphi} - (a^2 + azsin\varphi - z^2)\hat{z}\bigg{]} [/tex]

Which I think is wrong since I have a lot of r's left. Can anyone make the conversion? I have tried for days.

Your equations are confusing and somewhat ambiguous: It is not clear if your ##arsin \theta## mean ##ar \sin \theta## or is a mis-spelling of ##\arcsin \theta## (although taking the arcsine of something called ##\theta## would be very unusual). Better: in LaTeX, type "\sin" instead of "sin"; the difference is between ##sin \theta## and ##\sin \theta##, and the second is much more readable. (The same applies to the other trig functions and their inverses, to "log" or "ln", to "max", "min", "lim" and many others.)

It is also not clear which of the two conventions you are using for spherical polar coordinates. One convention (perhaps used mostly in physics) is that ##\theta## is the polar angle (like latitude) and ##\phi## is the longitude; the other convention (used a lot by mathematicians) swaps the meaning of ##\theta## and ##\phi.##
 
  • #9
Isn't ##sin\theta \hat{r} + cos\theta \hat{\theta}=\hat{\rho}##? This would mean that the vector F is parallel to the x-y plane.
 
Last edited:
  • #10
Chestermiller said:
Isn't ##sin\theta \hat{r} + cos\theta \hat{\theta}=\hat{\rho}##? This would mean that the vector F is parallel to the x-y plane.
That is correct. It simplifies to that. Also, ##r\sin\theta=\rho## and those two realizations are all there is to this problem. The vector field is 2-dimensional and independent of ##z##.
 

1. What are spherical and cylindrical coordinates?

Spherical coordinates are a way to represent points in three-dimensional space using distance, polar angle, and azimuthal angle. Cylindrical coordinates are a similar system that uses distance, angle, and height to represent points in three-dimensional space.

2. Why would I need to convert a spherical vector into cylindrical coordinates?

Converting between coordinate systems can be useful in many scientific fields, such as physics, engineering, and mathematics. It allows for easier visualization and analysis of data or objects in different coordinate systems.

3. How do I convert a spherical vector into cylindrical coordinates?

To convert a spherical vector into cylindrical coordinates, you will need to use the following equations:

  • r = √(x² + y²)
  • θ = tan⁻¹(y/x)
  • z = z
Where r is the distance from the origin, θ is the angle from the x-axis, and z is the same as in the spherical coordinates.

4. What are the advantages of using cylindrical coordinates over spherical coordinates?

Cylindrical coordinates are often more convenient in applications involving objects with cylindrical symmetry, such as cylinders, cones, and spirals. They also have simpler equations for vector operations, making calculations easier.

5. Are there any limitations to using cylindrical coordinates?

One limitation of using cylindrical coordinates is that they are not as suitable for representing points near the poles of a sphere, as the distance r becomes undefined at these points. They are also not as intuitive for visualizing points in three-dimensional space compared to Cartesian coordinates.

Similar threads

  • Introductory Physics Homework Help
Replies
10
Views
272
  • Introductory Physics Homework Help
Replies
2
Views
924
  • Introductory Physics Homework Help
Replies
5
Views
2K
  • Introductory Physics Homework Help
Replies
1
Views
905
  • Introductory Physics Homework Help
Replies
1
Views
200
  • Introductory Physics Homework Help
Replies
21
Views
1K
  • Introductory Physics Homework Help
Replies
2
Views
380
  • Introductory Physics Homework Help
Replies
3
Views
226
  • Introductory Physics Homework Help
Replies
2
Views
1K
  • Introductory Physics Homework Help
Replies
17
Views
407
Back
Top