What is the expected distance from the point to a random point on the unit-sphere centered on the origin?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
First, by the cosine law we note that the distance d from ( 0 , 0 , 1 ) to any point on the unit-sphere with polar angle θ is given by
d 2 = 1 2 + 1 2 − 2 × 1 × 1 × cos θ = 2 ( 1 − cos θ ) = 2 × 2 sin 2 2 θ ⟹ d = 2 sin 2 θ ,
where the identity cos ( 2 x ) = 1 − 2 sin 2 ( x ) was used. So by integration using spherical coordinates with r = 1 , we obtain a desired expected distance of
4 π 1 ∫ ϕ = 0 2 π ∫ θ = 0 π 2 sin 2 θ sin θ d θ d ϕ = ∫ 0 π 2 sin 2 2 θ cos 2 θ d θ = 4 ∫ 0 1 u 2 d u = 3 4 = 1 . 3 3 3 . . . . ,
where the identity sin θ = 2 sin 2 θ cos 2 θ and the substitution u = sin 2 θ were used.
Note: The averaging factor of 4 π represents the surface area of a unit sphere.