Library · Geometric Probability · Chapter 20

A random chord via a uniform midpoint

Revised Report an error

Problem 20.1

A chord of the unit disc is determined as follows: pick a point MM uniformly at random in the closed unit disc, and take the chord perpendicular to OM\mathbf{OM} passing through MM (where OO is the disc’s centre). What is the expected length of this chord?

Solution. Let r=∣OM∣∈[0,1]r = |OM| \in [0, 1] denote the distance from the disc’s centre to the midpoint MM. A chord at perpendicular distance rr from the centre has length ℓ(r)=21−r2.\ell(r) = 2 \sqrt{1 - r^2}. For MM uniform in the unit disc, P(r≤t)\mathbb{P}(r \le t) is the area of the radius-tt disc over the area of the unit disc, namely t2t^2; differentiating, rr has density fr(t)=2tf_r(t) = 2t on [0,1][0, 1].

Therefore E[ℓ]=∫0121−t2⋅2t dt=4∫01t1−t2 dt.\mathbb{E}[\ell] = \int_0^1 2 \sqrt{1 - t^2} \cdot 2 t \, dt = 4 \int_0^1 t \sqrt{1 - t^2} \, dt. Substitute u=1−t2u = 1 - t^2, du=−2t dtdu = -2 t \, dt: =4∫0112u du=2⋅23=43.■= 4 \int_0^1 \tfrac12 \sqrt{u} \, du = 2 \cdot \tfrac{2}{3} = \boxed{\tfrac{4}{3}.} \qedhere

Two sample chords determined by uniform-in-disc midpoints M_1 and M_2 . Each chord is perpendicular to \mathbf{OM}_i at M_i , with length 2 \sqrt{1 - |M_i|^2} computed exactly.
Two sample chords determined by uniform-in-disc midpoints M1M_1 and M2M_2. Each chord is perpendicular to OMi\mathbf{OM}_i at MiM_i, with length 21−∣Mi∣22 \sqrt{1 - |M_i|^2} computed exactly.

Compare with the “uniform endpoints” sampling of a chord (Chapter 13): there, two iid uniform points on the boundary circle give an expected chord length of 4π≈1.27\tfrac{4}{\pi} \approx 1.27, smaller than the 43≈1.33\tfrac{4}{3} \approx 1.33 obtained here. The two sampling schemes are both “uniform” in distinct senses — they are not the same probability measure on the space of chords.

This is the third sampling rule from Bertrand’s classical paradox, which asks a related question: what is the probability that a random chord of the unit circle exceeds 3\sqrt 3? The answer under “uniform midpoint in disc” sampling is P(21−r2>3)=P(r<12)=π(1/2)2π=14,\mathbb{P}\left( 2 \sqrt{1 - r^2} > \sqrt 3 \right) = \mathbb{P}\left( r < \tfrac12 \right) = \frac{\pi (1/2)^2}{\pi} = \tfrac14, matching the classical Bertrand value under that sampling rule.

import numpy as np
# Sample midpoint M uniform in unit disc; r = |OM| has density 2r.
r = np.sqrt(np.random.rand(10**7))
chord = 2 * np.sqrt(1 - r*r)
print(f"sim E[chord]: {chord.mean():.5f}   exact: {4/3:.5f}")
# sim: 1.33349   exact: 1.33333
Report an error on this page

Reports are stored by Netlify. See the privacy note.