Here we look at the average distance between two points inside the unit sphere.
Here are the results of trials repeated
times:
If ,
, and
are picked uniformly in the intervals
then as was the case in the circle, the spherical points in the unit sphere tend to be close to the origin. Assume that
,
, and
are uniformly in the intervals
,
, and
. Then the points
given by
are uniformly distributed in the unit sphere.
Why the cube root? To get the points uniformly distributed, the value of
corresponding to should yield a sphere whose volume is half the volume of the unit sphere. Indeed,
is half the volume of the unit sphere.
To find an integral that represents the average distance between to points in the unit sphere, assume that one of the points is on the positive -axis, so the point
where
is randomly distributed in the unit interval. Pick
,
, and
in the unit interval, then set
,
,
. The second point is given by
Then the square of the distance between the two points is
and the average distance is given by
