Library · Geometric Probability · Chapter 41
Expected reciprocal distance from the centre of a disc
Problem 41.1
Let be a point chosen uniformly at random in the unit disc. What is ?
Solution. With having density on , we integrate directly:
Despite the singularity of at the origin, the expectation is finite — a cancellation of the integrand’s blow-up with the vanishing density near . This is a distinctive feature of 2D: the density is linear in , precisely offsetting the factor.
In dimensions, the radial density of a uniform point in the unit ball is , so provided . (For , the integral diverges, because the density is everywhere and near .) In the ball this gives ; on a -ball ; and so on. The 2D answer fits with .
The same finiteness holds for with two independent uniform points in the unit disc: near coincidence the relative-displacement area element cancels the singularity, exactly as the factor did above, so the integrable singularity gives a finite value. In fact . (It is in one dimension that the reciprocal-distance expectation would diverge, since there the density does not vanish at .)
import numpy as np
r = np.sqrt(np.random.rand(10**7))
print(f"sim: {(1/r).mean():.5f} exact: 2.0")
# sim: 1.99498 exact: 2.0