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).

learn more… | top users | synonyms

1
vote
1answer
256 views

Distance measurement between latitude/longiture pairs.

I need to calculate the distance between two lat/lng coordinate pairs. In addition, If given an initial lat/lng coordinate, angle of travel, and distance, I need to calculate the resulting lat/lng ...
1
vote
1answer
322 views

Integration on the unit sphere

I have an integral on the unit sphere as follows. $$I(\mathbf{s}_1, \mathbf{s}_2) = \int_{\mathbb{S}^2} f(\mathbf{x} \cdot \mathbf{s}_1)f(\mathbf{x}\cdot\mathbf{s}_2)d\mathbf{x} $$ where the ...
1
vote
1answer
271 views

Converting between spherical coordinate systems

Say I have the spherical coordinates of some locations, specifically their longitude ($0$ to 360) and latitude (latitude = $0$ at equator, $90$ at north pole, $-90$ at south pole) on a sphere with a ...
1
vote
1answer
182 views

Analytically derive n-spherical coordinates conversions from cartesian coordinates

I'm finding it difficult to find any non-geometrical derivation of coordinate conversions from cartisan to spherical. I can understand the derivations geometrically, because I can visualize the ...
1
vote
1answer
1k views

Divergence Theorem to evaluate integral where S is a sphere

Use the Divergence Theorem to evaluate $$\iint_S x^2y^2+y^2z^2+z^2x^2 dS$$ where $S$ is the surface of the sphere $x^2+y^2+z^2=1$. So the divergence of F is $2y^2x+2z^2y+2x^2z$. Then I tried to ...
1
vote
1answer
146 views

How many coordinates are necessary to determine a sphere?

Do determine a circle, you would need at least three coordinates. How many are necessary to determine a sphere?
1
vote
1answer
3k views

Equation for making a circle in 3D space

I have a 3D space with axis $(x, y ,z)$ and I can make a circle in the $xy$-plane. To make a circle in the xy-plane I currently use spherical coordinates $(r, \theta, \phi)$ where $r = 1$, $\theta = ...
1
vote
2answers
629 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 ...
1
vote
1answer
556 views

Coordinates of interception point Y with XY being the shortest distance of X to AB on sphere

How would one calculate the interception point $Y$ with $\overleftrightarrow{XY}$ being the shortest distance of $X$ to $\overleftrightarrow{AB}$? This answer to the question How to find the ...
1
vote
1answer
199 views

Parametric representation of rectangular form in terms of parameters $\rho$ & $\theta$

I need to represent the cone $z=\sqrt{3x^2+3y^2}$ parametrically in terms of $\rho$ and $\theta$ where $(\rho,\theta,\phi)$ are spherical coordinates. Attempt. I tried using: ...
1
vote
1answer
77 views

Integral from Sphere to Disc

Suppose one has an integral of the form $\int_{S_1^{d-1}} f(\phi(v)) d \text{vol}_{S_1^{d-1}}(v)$. Here $S_1^{d-1}\subset \mathbb{R}^d$ is the unit sphere. Let $B_1^{d-1}\subset\mathbb{R}^{d-1}$ be ...
1
vote
1answer
3k 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 ...
1
vote
1answer
145 views

Find third point in mapping system

I have two points defined: $A$ and $B$ For both I know $x,y$, longitude, and latitude (gps coordinates). How do I calculate $x,y$ of a third point $C$ when I know its longitude and latitude? I know ...
1
vote
1answer
20 views

Set up integral in spherical coordinates outside cylinder but inside sphere

I have the equation of a cylinder and the equation of a sphere given: Cylinder: $x^2+y^2=4$ Sphere: $x^2+y^2+z^2=25$ I'm asked to set this up in cylindrical and spherical coordinates. Cylindrical ...
1
vote
1answer
20 views

3D rotational matrix between two spherical co-ordinate systems.

So I have a classical mechanics problem where I have worked out the azimuthal and altitude angle for a vector, I then want to apply rotational matrices so that the vector is realigned with the z axis ...
1
vote
1answer
33 views

Convert from Spherical to Cylindrical Coordinates

The following integral is given in Spherical Coordinates, which procedure should I follow to express it in Cylindrical Coordinates? $$\int_{0}^\pi \int_{\frac{\pi}{6}}^{\frac{\pi}{2}} ...
1
vote
0answers
52 views

integrate over quadrant of sphere

It is known that $\int_{x\in S}\exp(\kappa\mu^Tx)dx$ where S is the surface of the unit sphere is $\frac{(2\pi)^{p/2} I_{p/2-1}(\kappa) }{\kappa^{p/2-1}}$ where $p$ is the number of dimensions and $I$ ...
1
vote
2answers
73 views

Spherical harmonic expansion of a sphere

Seeing as one can expand any function on the sphere in terms of the spherical harmonics, I was thinking it should be possible to express the function for a sphere itself in terms of them. I have ...
1
vote
0answers
17 views

Convert geodetic coordinates to cartesian coordinates

I am working on some simulation software that will represent a number of entities in a defined geographic area in the world. The part of the software that I am currently working on is to implement ...
1
vote
0answers
33 views

Why did my teacher integrate \varphi in the opposite direction while solving a triple integral for volume in spherical coordinates?

In Calculus III class today we learned how to evaluate triple integrals in spherical coordinates. One of the example questions we worked on was to use a triple integral to find the volume of a shape. ...
1
vote
1answer
17 views

Line-of-Sight Angle on Sphere

I'm trying to calculate the angle (in degrees) between two latitude/longitude pairs, but with a twist. Most calculations I see use the Great Circle / bearing method, but this does not seem correct ...
1
vote
1answer
61 views

How to derive differential volume element in terms of spherical coordinates in high-dimensional Euclidean spaces?

How to derive differential volume element in terms of spherical coordinates in high-dimensional Euclidean spaces (explicitly)? A derivation is here but its conclusions seems not right? The expected ...
1
vote
0answers
12 views

angle difference in hyper-spherical coordinate

The question is kind of intuitive: Consider a points $p$ in $\mathbb{R}^d$ ($d$-dimensional Euclidean space). $$p=\{x_1, x_2, \ldots, x_d\}$$ We can always transform it into spherical coordinate. ...
1
vote
1answer
47 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 ...
1
vote
3answers
48 views

triple integral and limits

$$\iiint\limits_H (x^2+y^2) \, dx \, dy \, dz \\ H=\{(x,y,z) \in R^3: 1 \le x^2+y^2+z^2 \le9, z \le 0 \}$$ I'm using Spherical coordinate system: $$x=r\cos \theta \cos\phi $$ $$y=r\cos \theta ...
1
vote
0answers
33 views

Looking for algorithm for spherical point in polygon that works across meridian and anti-meridian

I need to process millions of latitude/longitude points every day to see if they are located within a defined lat/lon bounded polygon. The polygon may be rectangular, or it may be some irregular 3.. ...
1
vote
2answers
186 views

Equation of a straight line in spherical coordinates

I'm trying to prove the angle sum formula for a triangle on the surface of a sphere. In order to do this I wanted to create a general triangle on the sphere, with one vertex at $\theta = 0$ and one ...
1
vote
0answers
29 views

Parametrization of a bounded solid.

So, I have a solid bounded by $z=\sqrt{x^2+y^2}, z=\sqrt{1-x^2-y^2}, z=2$ I had to parametrize it using spherical coordinates so I used $$\begin{cases} x(\rho, \theta, ...
1
vote
0answers
56 views

Calculate a point on a geodesic line on an ellipsoid

I have a problem which i don't understand how to achieve. Maybe someone could sheed some light on it. Have a look at this picture: What I try to achieve is to determine the point D on the geodesic ...
1
vote
1answer
57 views

Implicit partial derivative of a spherical cap

Consider a spherical cap, for which the base radius is $a$ and the height is $h$. Then, the surface area and volume is (these equations can be found on Wolfram Mathworld) $A(a,h) = \pi(a^2 +h^2)$, ...
1
vote
0answers
63 views

How to find Latitudes and Longitudes of projections of the vertices of a rectangular plane below earth's surface?

I want to find out the latitudes and longitudes of projections of the vertices of a rectangular plane inside the earth's surface. I know dimensions of rectangle, angles of orientation and latitude and ...
1
vote
0answers
27 views

Projecting non-central Gaussian on a sphere?

Suppose I have an $n$-dimensional Gaussian random variable with mean $\mu\in \mathbb{R}^n$ and covariance matrix $\sigma^2I_n$, where $I_n$ is the identity matrix. If I condition on the distribution ...
1
vote
0answers
54 views

volume in spherical coordinates

I am trying to find the region bounded by the sphere $p = 2\cos\psi$ and hemisphere $p=1$, $z\geq 0$. Not quiet sure not to do this problem, so please help.
1
vote
1answer
42 views

Distortion in spherical coordinates

I'm trying to realized 3d models of stones. My idea was to create a 2D random angular distribution with opportune correlation, namely $R(\theta,\varphi)=rand(\theta,\varphi,c_l)$ where ...
1
vote
0answers
42 views

Proof of $\vec(r) \times \nabla$ in spherical coordinates

My professor claims, that $\vec{r} \times \vec{\nabla} = \vec{e}_{\varphi} \frac{\partial}{\partial \vartheta} - \vec{e}_{\vartheta} \frac{1}{r\sin \vartheta} \frac{\partial}{\partial \varphi}$ in ...
1
vote
1answer
73 views

Numerical solution needed for the quadratic equation (spheres)

There are three point coordinates $A(x_1,y_1,z_1),B(x_2,y_2,z_2),C(x_3,y_3,z_3)$, where $z_1=z_2=z_3$ Now, $(x-x_1)^2+(y-y_1)^2+(z-z_1)^2=d_1^2$ this equation can be written for my system as ...
1
vote
2answers
87 views

Computing distance from line to point in geodetic environment

Supposing to be in a cartesian plan and that I have the following point: $$A(x_{1},y_{1}), B(x_{2},y_{2}), C(x_{3},y_{3}), D(x_{4},y_{4})$$ $$P(x_{0},y_{0})$$ Now immagine two lines, the fist one ...
1
vote
0answers
63 views

Integrating Over Truncated Sphere

Consider the volume bounded by the sphere of radius R (with center $r_0$ = R/2 z) and the plane z = 0. Evaluate $\int dS$ over the surface of the truncated sphere. I'm not sure how to integrate over ...
1
vote
0answers
175 views

Conversion from Spherical Coordinates to Cartesian Coordinates aligned along arbitrary polar axis

I have spherical coordinates $w = (\theta, \phi)$ such that $\theta$ is the angle between $w$ and the polar axis (let's assume $z$ is up). Assuming $w$ is a unit vector, the conversion to cartesian ...
1
vote
1answer
72 views

How to derive curl in spherical coordinates

This is one of those questions where I know I am making a dumb mistake someplace and I am trying to check where it is. $$ \begin{vmatrix} \frac{\bf\hat r}{r^2\sin\theta} & ...
1
vote
1answer
124 views

Angled Spherical Sector - formulas?

I am glad to be here. First off, please excuse my almost saddening lack of knowledge. Math (in general) isn't my strong point. I might ask some really basic questions, you have been warned :) The ...
1
vote
0answers
70 views

Joint PDF for spherical region

A sphere has a coordinate system (r, $\theta$, $\phi$) with the origin at the center of the sphere. What is the joint PDF of the r and $\phi$ coordinates, $f_{r,\phi}(r,\phi)$, for a randomly ...
1
vote
1answer
197 views

Directions in spherical coordinates

Say I have a system with standard spherical coordinates. There's a man on that sphere and he's standing on the equator facing east. He chooses a random angle $0°-360°$ and turns that much in the clock ...
1
vote
0answers
337 views

Distance of two points in spherical coordinates

Today I was trying to solve a physics exercise and ran into some mathematical problems. Consider two concentric spheres $K_{1,2}$ with radii $R_{1,2}$. I wanna solve the following integral: $$E_{ij} ...
1
vote
0answers
439 views

Generating evenly distributed points on a sphere

How could I write an algorithm to generate n points distributed 'evenly' on a sphere? I already wrote an algorithm to generate points distributed uniformly on the surface (here), but by 'evenly' ...
1
vote
0answers
181 views

Centre of a spherical triangle

Suppose I have a triangle defined by 3 unit vectors {$v_1, v_2, v_3$} in a 3 dimensional complex inner product space. What would be the centre of such a triangle? I guess it should be something like ...
1
vote
0answers
552 views

Rotating co-ordinates in 3D

Suppose I have 3 axes, $x$, $y$, and $z$ such that $x$ is horizontal, $y$ is vertical, and $z$ goes in/out of the computer screen where $+$ve values stick out and $-$ve values are sunken in. Suppose ...
1
vote
0answers
68 views

Knowing coordinates of a point having two coordinates and the distance.

I have the two geographic coordinates of the lower corners of a wall. So, for example, i want to know what is the coordinate that is for example 15cm on the right of the lower corner left. Is that ...
1
vote
0answers
165 views

Cross-section of a circle with a three-dimensional Gaussian

Suppose I have a three-dimensional Gaussian with mean $\bar{\mu}$, volume $A$ and covariance matrix $\Sigma$ $$G(X)=\frac{A}{\sqrt{(2\pi)^{3}\det(\Sigma)}}e^{-\frac{1}{2}(X-\mu)^{T}\cdot ...
1
vote
1answer
266 views

dotting gradient in spherical coordinates with displacement vector

The gradient in spherical coordinates is given by: $\nabla f = \left(\frac{\partial f}{\partial r}, \frac{1}{r} \frac{\partial f}{\partial \theta}, \frac{1}{r \sin \theta} \frac{\partial f}{\partial ...