If I choose two points completely at random from a sphere, exactly how far apart will they be (on average)?
on the surface of sphere?
I was thinking on the surface of the sphere. Another interesting problem is for inside the unit ball (and/or in other dimensions.)
well the min distance they could be apart would be 0 or very close to 0 the max distance would be pi*R, where R is radius of sphere so assuming a uniform distribution of the random points i would say that on average the distance would be right in the middle at pi/2*R
if you are forced to travel overland on the surface of the sphere to measure distance, then @dumbcow's answer of pi/2 (for unit sphere) is correct. But what happens when I take the straight-line Euclidean distance through space ... distance(p,q) = |p-q|?
In that case, it should be equal to (0+diameter)/2 i.e. radius of sphere.
no, the straight-line "average" distance averaged over the sphere doesn't come out to exactly the radius.
Join our real-time social learning platform and learn together with your friends!