Suppose the unit sphere in ℝ3 has coordinates (*ρ*, *η*) with *ρ* as the "co-latitude" angle (measured from positive *z*-axis) and *η* as the "longitude" angle measured from positive *x*-axis in the *xy* plane. I am given to understand that the metric tensor is


$g = \left[\matrix{1 & 0 \\ 0 & \sin^2\rho}\right]$


and I am further told that this induces a distance metric on the unit sphere.


How can I obtain a distance metric *d*(*x*, *y*) from this? I have seen several definitions similar to [this one](https://planetmath.org/riemannianmanifold) (see the note), but I am unsure how to actually reduce this to a usable form.


**Disclaimer:** Posted by an engineer in over his head.



Distance metric on the unit sphere in R^3?
Looking at the other answers and comments posted so far, I feel compelled to add a different answer. Only the advice by Anton Petrunin makes sense to me. You really should find a helpful mathematician and discuss your question in person. For one thing, if it were me, I would start by asking you what you need this for. Your answer would guide me in how to proceed.


Anyway, here are some thoughts (I'm not providing details until you say more about what you want):


First, if all you need is the distance between two points on the unit sphere, that is very easy to compute using the dot product of the two points. It's the same as in the plane (which isn't surprising since any two points on the unit sphere lie in a plane containing the origin).


Second, if you also want to be able to compute the length of a curve that lies in the unit sphere, then that is also easy, because it is the same as the length of the curve viewed as a curve in $R^3$, so you use the same arclength formula as you would for any curve in 3-dimensional space.


But if you need the "distance metric" for something more than this, you should give us some more details and that will help us help you better. The others are trying to explain to you what a Riemannian metric is and how to use it. You might need this, but I doubt it.


