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
296 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
366 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
358 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
245 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
2answers
790 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
708 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
213 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
149 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
0answers
11 views

Numerical evaluation of the Laplace operator near the singularity points in spherical coordinates

If one had to evaluate $\Delta Y_l^m$ numerically everywhere on the unit sphere, including the singularity points $\theta = 0,\pi$, how would they do it? Let's say $Y_l^m$ is a spherical harmonic. I'm ...
1
vote
3answers
59 views

Polar Co-ordinate proofs

The expression for acceleration in spherical polars is $$ \ddot{\mathbf r} =( \ddot r -r\dot\theta^2-r\dot\phi^2\sin^2\theta) \mathbf e_r + (r\ddot\theta+2\dot r ...
1
vote
0answers
17 views

Integrating over particular grids to obtain Spherical Harmonic coefficients

Theoretically the spherical harmonic expansion coefficients of a function $f$ should be calculated via a continuous integration: $$F_{lm} = \int_{0}^{2\pi}\int_{0}^{\pi} ...
1
vote
1answer
36 views

Spherical Parametrization of a Cholesky Decomposition

[Background: Trying to build up my math base knowledge (self-taught) to follow an explanation on page 291 of this document, dealing with spherical parametrization to estimate unknown ...
1
vote
0answers
44 views

Intersection of two spherical caps in $(n+1)$-dimensional Euclidian space

I want to compute the intersection area of two spherical caps whose tops are placed on two orthogonal axes in $\mathbb{R}^{n+1}$. In spherical coordinates, the surface element is given by $$ \,dS = ...
1
vote
1answer
123 views

PDE Heat Equation with Variable Coefficient {Second ODE Variable Coefficient}

Another PDE question: If I have a non constant coefficients in my heat equation (PDE), how do I solve it? For example we have: $\frac {\partial T}{\partial t} =\frac {\partial ^2 T}{\partial r^2} + ...
1
vote
0answers
17 views

Cover the entire sphere with a moving cone

Assume you have a cone with half-angle theta in a 3D cartesian space, with the vertex of the cone in the origin, and that you want to rotate the cone along a curve so that it covers the entire sphere. ...
1
vote
0answers
37 views

Problem with center of mass in polar coordinates

When we calculate center of mass using rectangular coordinates, we find the average values in each coordinate. Obviously we can't do this very same thing in polar coordinates: if we integrated a ...
1
vote
0answers
79 views

distance in n-dimensional space

According to answer of this question : Distance between 2 points in 3D space (in spherical polar coordinates) The distance between 2 points in 3 dimensional space is : $$ ...
1
vote
1answer
109 views

Center of mass of a trick sphere-cone intersection

B is the solid region occupying the space situated inside the sphere of radius R centered at the origin and above the cone of equation $z = \sqrt{x^2 + y^2}$. The B density is proportional to the ...
1
vote
0answers
28 views

How do you represent a vector that points to an arbitrary point on a sphere of radius R?

Is it just $$v = R \hat{r} + \theta\hat{\theta} + \psi \hat{\psi}$$ That doesn't seem right as the unit is not correct.
1
vote
1answer
142 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
74 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
42 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
28 views

Parameterization of a closed curve on a sphere

I'm looking for a parameterization of a closed curve C on a sphere. assume the projections of C on y-z, x-z, x-y plane are f(x), g(y), h(z), respectively, and ${\oint}f(x)dx={\oint}g(y)dy=0$, and ...
1
vote
2answers
1k views

Rotation matrix in spherical coordinates

When given arbitrary point on a unit sphere $a = (\theta, \phi)$ and an arbitrary axis $\vec{A}=(\Theta, \Phi)$, can we have an algebraic expression for $a_1=(\theta_1, \phi_1)$ which is a rotation of ...
1
vote
0answers
57 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
270 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
86 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
40 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
55 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
0answers
23 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
123 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
0answers
84 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
711 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
34 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
89 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
88 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
112 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
34 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
56 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
0answers
57 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
84 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
122 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
81 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
278 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
88 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
180 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
78 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
259 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 ...