Library · Geometric Probability · Chapter 21
Crofton’s expected chord of a disc
Problem 21.1
Pick a line uniformly at random from the space of lines that intersect the unit disc (“uniformly” with respect to the standard kinematic measure on line-space). Let be the length of the chord cut out of the disc by this line. What is ?
Solution. Parametrise a line by where is the angle of the line’s normal and is the signed distance from the origin. The kinematic measure is the unique (up to scaling) measure on lines invariant under rigid motions.
A line intersects the unit disc iff . Conditioning on this event, is uniform on and (by rotational symmetry) is uniform on .
The chord cut from the unit disc by such a line has length (standard right-triangle formula). Hence Therefore
Crofton’s general formula: for a convex body in the plane with area and perimeter , a uniform random line hitting has expected chord length For the unit disc, and , so , matching. For the unit square, and , so .
Compare with chord-length sampling via uniform endpoints (Chapter 13): that gives , smaller than . With uniform midpoint in the disc (Chapter 20): . Three different “uniform” rules yield three different averages — a reminder of Bertrand’s paradox.
import numpy as np
# Uniform random line: angle phi in [0, pi), signed distance p in [-1, 1].
phi = np.random.rand(10**7) * np.pi
p = np.random.uniform(-1, 1, 10**7)
chord = 2 * np.sqrt(1 - p*p)
print(f"sim: {chord.mean():.5f} exact: {np.pi/2:.5f}")
# sim: 1.57026 exact: 1.57080