Assuming that the earth is a perfect sphere with radius 6378 kilometers, what is the expected straight line distance through the earth (in km) between 2 points that are chosen uniformly on the surface of the earth?
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.
The 2nd half of this proof depends on the fact that, given one point on a sphere, another chosen at random on its surface is found at any latitude with equal probability. This stems from the fact that the area of a spherical segment is a function of the radius of the sphere and the height of the segment, regardless of what latitude it is. In trying to pick points randomly on a sphere, it's important to ensure that the distribution of the points occurs uniformly along the latitudes from pole to pole.
Because of this fact, it's okay to go ahead with the integration as you've done it, instead of having to weight it as might be normally expected in other cases.
Log in to reply
Woah. I didn't see this comment (haha, took me over 500 days to reply). Thanks. Does your comment answers Mattapalli Ram's concern?
Correction. It should be 2 1 ∫ − 1 1 2 − 2 X d X . Overall, indeed a nice solution! (y)
Could you elaborate on the second method? I mean in view of the fact that x-values are not all equally likely.
Log in to reply
You're choosing a fixed point ( 1 , 0 , 0 ) , then consider a random point ( X , Y , Z ) , find the expected value.
Log in to reply
Peter Byers is making a good point. Suppose this didn't involve a sphere, but some other solid of revolution. Then your 2nd method likely wouldn't have worked at all, since random points on its surface wouldn't likely be evenly distributed along the axis of the solid. The sphere happens to have this property that points distributed randomly on its surface are also uniformly distributed along its axis.
Hello Pi Han Goh. I am actually confused with your solution. As per my understanding, selecting a point randomly from a surface of sphere (or infact a circle) and if you consider the marginal distribution of X coordinate, it may not follow a uniform distribution. Which violates the assumption in your proof. If we consider the same approach with respect to the angle AOB, and assume it follows a U(0,2 pi) distribution, the answer is 4 R/pi. Kindly let me know if I am wrong.
Let A and B be the two points that are uniformly and randomly chosen on the surface of the earth. Let d be the straight line distance between A and B . See the picture below.
Using Δ ABO , D can easily be determined. d = 2 R sin ( 2 ϕ ) . In this case, there are three random variables, namely: D , Φ , and Θ . D is the straight line distance between A and B , Φ is the polar or zenith angle from the positive z -axis with 0 ≤ ϕ ≤ π , and Θ is the azimuthal angle in the x y -plane from the x -axis with 0 ≤ θ < 2 π .
Assuming that Φ and Θ are independent, the joint density function (pdf) of Φ and Θ turns out to be f Φ , Θ ( ϕ , θ ) = f Φ ( ϕ ) ⋅ f Θ ( θ ) where f Φ ( ϕ ) = 2 1 sin ϕ and f Θ ( θ ) = 2 π 1 . Thus, the average distance or expectation value of D is E [ D ] = ∫ θ = 0 2 π ∫ ϕ = 0 π d ⋅ f Φ , Θ ( ϕ , θ ) d ϕ d θ = ∫ θ = 0 2 π ∫ ϕ = 0 π 2 R sin ( 2 ϕ ) ⋅ f Φ ( ϕ ) f Θ ( θ ) d ϕ d θ = 2 R ∫ θ = 0 2 π ∫ ϕ = 0 π sin ( 2 ϕ ) ⋅ 2 1 sin ϕ ⋅ 2 π 1 d ϕ d θ = 2 π R ∫ θ = 0 2 π d θ ∫ ϕ = 0 π sin ( 2 ϕ ) sin ϕ d ϕ = 2 π R ⋅ 2 π ∫ ϕ = 0 π sin ( 2 ϕ ) ⋅ 2 sin ( 2 ϕ ) cos ( 2 ϕ ) d ϕ = 2 R ∫ ϕ = 0 π sin 2 ( 2 ϕ ) cos ( 2 ϕ ) d ϕ = 2 R ∫ ϕ = 0 π sin 2 ( 2 ϕ ) ⋅ 2 d ( sin ( 2 ϕ ) ) = 4 R ⋅ 3 1 sin 3 ( 2 ϕ ) ∣ ∣ ∣ ∣ ϕ = 0 π = 3 4 R = 3 4 ⋅ 6 3 7 8 = 8 5 0 4 km
# Q . E . D . #
How did you come up with the density function ?
Log in to reply
In spherical coordinate f Φ ( ϕ ) ∼ sin ϕ and f Θ ( θ ) ∼ k where k is constant . Thus, to make correct weighting I must first compute the factor of normality (normalizing), which has to be chosen such that the probabilities add up to 1 . Therefore ∫ 0 π f Φ ( ϕ ) d ϕ ∫ 0 π c sin ϕ d ϕ c = 1 = 1 = 2 1 and ∫ 0 2 π f Θ ( θ ) d θ ∫ 0 2 π k d θ k = 1 = 1 = 2 π 1 .
Problem Loading...
Note Loading...
Set Loading...
Fix a point to find the average distance of the other points from it. Take the point as A and centre O . Consider another point B on the surface. Let ∠ A O B = θ . A B = 2 sin ( 2 θ ) with band radius sin θ . So the average distance is
6 3 7 8 ⋅ 4 π 1 ∫ 0 π ( 2 π sin θ ) ⋅ 2 sin ( 2 θ ) d θ = = = 6 3 7 8 ⋅ ∫ 0 π 2 ( sin 2 2 θ ) cos ( 2 θ ) d θ 6 3 7 8 ⋅ 4 ∫ 0 1 y 3 d y , let y = sin 2 θ 6 3 7 8 ⋅ 3 4 = 8 5 0 4
In short, the average distance between two points of a sphere with radius r is 3 4 r
Alternatively, consider a unit sphere which satisfy the equation x 2 + y 2 + z 2 = 1 . Without loss of generality, fix one point to be ( 1 , 0 , 0 ) while the other is ( X , Y , Z ) . the distance is ( 1 − X ) 2 + Y 2 + Z 2 = 2 − 2 X , so the average is 2 1 ⋅ ∫ − 1 1 2 − 2 X d X = 4 1 ∫ 0 4 w d w = 3 4 . In this case, multiply it by 6 3 7 8 and you should get the same answer.
For further reading, you may refer to this