# Tagged Questions

Questions on spherical coordinates, a three-dimensional coordinate system where a point is represented in terms of its distance from the origin, and its latitude and longitude angles (or complements thereof).

17k views

### Great arc distance between two points on a unit sphere

Suppose I have two points on a unit sphere whose spherical coordinates are $(\theta_1, \varphi_1)$ and $(\theta_2, \varphi_2)$. What is the great arc distance between these two points? I found ...
27k views

### What is the general formula for calculating dot and cross products in spherical coordinates?

I was writing a C++ class for working with 3D vectors. I have written operations in the Cartesian coordinates easily, but I'm stuck and very confused at spherical coordinates. I googled my question ...
4k views

### How can I pick a random point on the surface of a sphere with equal distribution?

I've got a random number generator that yields values between 0 and 1, and I'd like to use it to select a random point on the surface of a sphere where all points on the sphere are equally likely. ...
954 views

### Optimal distribution of points over the surface of a sphere

How can one generate a distribution of N points over the surface of a sphere so that the all N voronoi cells have the same area? Which is the best algorithm for this?
3k views

### How to calculate volume of a cylinder using triple integration in “spherical” co-ordinate system?

Lets have a cylinder given by $x^2+y^2=1$ which is cut from the top by plane $z=2$ and bottom by $z=-2$.I am having problem regarding the limits of ρ for the equation ∭ ρ sin^2ϕ dρ dϕ dθ where ϕ is ...
4k views

### Transforming from one spherical coordinate system to another

I have a set of points on the surface of a sphere specified in one coordinate system (specifically, the equatorial coordinate system), and for each point I need to work on all its neighbouring points ...
343 views

### Project point onto line in Latitude/Longitude

Given line AB made from two Latitude/Longitude co-ordinates, and point C, how can I calculate the position of D, which is C projected onto D. Diagram:
41k views

### Surface Element in Spherical Coordinates

In spherical polars, $$x=r\cos(\phi)\sin(\theta)$$ $$y=r\sin(\phi)\sin(\theta)$$ $$z=r\cos(\theta)$$ I want to work out an integral over the surface of a sphere - ie $r$ constant. I'm able to derive ...
232 views

### Transformations from n-sphere coordinates to cartesian coordinates.

I was wondering how one would proceed to convert between coordinate systems in $\mathbb R^n$. For $\mathbb R^2$ the conversion is easy and just basic trigonometry. Given $(r, \theta)$ we can ...
51 views

### How to compute the following Jacobian

I need to show that the Jacobian of the n-dimensional spherical coordinates is $$\displaystyle r^{n-1}\sin^{n-2}\phi_1\sin^{n-3}\phi_2\cdots\sin\phi_{n-2}$$ then I have computed the Jacobian matrix, ...
2k views

### How to find the distance between a point and line joining two points on a sphere?

How do I calculate the distance between the line joining the two points on a spherical surface and another point on same surface? I have illustrated my problem in the image below. In the above ...
321 views

### Proving that $\nabla \times (U(r) \hat{r} = 0$

I was just checking to see if I wsa doing this right, as it isn't a formal proof. Just showing the identity. Let $U(r) \hat{r}$ b a vector in spherical coordinates. Given that the vector is only ...
5k views

### Converting Lat/Long coords to Cartesian X/Y, then calculating shortest distance between point & line segment

I'm having an issue with accuracy when converting Lat/Long coordinates to X,Y and then finding the shortest distance from a Point to a Line with said coordinates. The distance is off by around 40-50% ...
453 views

### Can you formulate a $\phi, \theta$ restriction in spherical coordinates for a great circle?

Further to this question Quaternion rotation has a nice property that you can trace any great circle you like. You specify the axis of rotation, and you will automatically follow the great circle ...
562 views

### How to use a Rhumb Line?

I am new to working with coordinate data and figured out the equation I am looking for is the Rhumb Line. I went to go research it and found a lot of equations and I still have no idea where to start. ...
1k views

244 views

### How to describe the region inside a sphere and below a cone in cylindrical and spherical coordinates?

If E is the region of space located inside the sphere $x^2 + y^2 + z^2 = 4$ and below the cone $z = \sqrt{3x^2 + 3y^2}$ How may I describe E in cylindrical and spherical coordinates? And how may I ...
1k views

### Monte Carlo simulation on sphere: unbiased random steps

Im doing a Metropolis Monte Carlo simulation with particles on a sphere and have a question concerning the random movement in a given time step. I understand that to obtain a uniform distribution of ...
147 views

### Doubt with bounds and integrand of $\int_{0}^{2\pi}\int_{0}^{\pi/2}\int_{0}^{2}\rho^2\sin{\phi}d\rho d\phi d\theta$

Question as follows. Find the volume of the solid enclosed between the spheres $x^2+y^2+z^2=4$ and $x^2+y^2+z^2=4z \Leftrightarrow x^2+y^2+(z-2)^2=4$. I constructed the following integral and after ...