Library · Geometric Probability · Chapter 24

Random chord longer than the side of a regular n-gon

Revised Report an error

Problem 24.1

For an integer n≥3n \geq 3, two points are chosen independently and uniformly on the unit circle, defining a chord. What is the probability the chord is longer than the side of the regular nn-gon inscribed in the circle?

Solution. A regular nn-gon inscribed in the unit circle has side length 2sin⁡(π/n)2 \sin(\pi / n) (by standard trigonometry: each side subtends a central angle of 2π/n2\pi/n, so its length is 2sin⁡(π/n)2 \sin(\pi / n)).

As in Chapter 13, let ϕ∈[0,2π)\phi \in [0, 2\pi) be the angular separation of the two endpoints; ϕ\phi is uniform on [0,2π)[0, 2\pi). The chord length is 2sin⁡(ϕ/2)2 \sin(\phi / 2), which is monotone on [0,π][0, \pi] and symmetric about π\pi. The reduced angular separation ϕ∗=min⁡(ϕ,2π−ϕ)∈[0,π]\phi^* = \min(\phi, 2\pi - \phi) \in [0, \pi] is uniform on [0,π][0, \pi].

The chord exceeds 2sin⁡(π/n)2 \sin(\pi/n) iff sin⁡(ϕ∗/2)>sin⁡(π/n)\sin(\phi^*/2) > \sin(\pi/n), i.e., iff ϕ∗>2π/n\phi^* > 2\pi/n. The set {ϕ∗:ϕ∗>2π/n}\{\phi^* : \phi^* > 2\pi/n\} has measure π−2π/n\pi - 2\pi/n, so P(chord>side of inscribed n-gon)=π−2π/nπ=1−2n.■\boxed{\mathbb{P}(\text{chord} > \text{side of inscribed } n\text{-gon}) = \frac{\pi - 2\pi/n}{\pi} = 1 - \frac{2}{n}.} \qedhere

Specialisations:

  • n=3n = 3 (equilateral triangle, side 3\sqrt 3): P=1/3\mathbb{P} = 1/3 (Bertrand’s first sampling).

  • n=4n = 4 (square, side 2\sqrt 2): P=1/2\mathbb{P} = 1/2.

  • n=6n = 6 (hexagon, side =1== 1 = radius): P=2/3\mathbb{P} = 2/3, recovering Chapter 15.

  • n→∞n \to \infty (side →0\to 0): P→1\mathbb{P} \to 1 (the chord almost always exceeds a vanishing side).

This simple pattern 1−2/n1 - 2/n is one of the cleanest families in classical geometric probability.

Three inscribed regular polygons in the unit circle. A uniform random chord exceeds the polygon’s side with probability 1 - 2/n : \tfrac13 for the triangle, \tfrac12 for the square, \tfrac23 for the hexagon.
Three inscribed regular polygons in the unit circle. A uniform random chord exceeds the polygon’s side with probability 1−2/n1 - 2/n: 13\tfrac13 for the triangle, 12\tfrac12 for the square, 23\tfrac23 for the hexagon.
import numpy as np
for n in [3, 4, 6, 8]:
    theta = np.random.rand(2, 10**6) * 2*np.pi
    chord = 2 * np.abs(np.sin((theta[0]-theta[1])/2))
    thresh = 2*np.sin(np.pi/n)
    print(f"n={n}: sim={(chord>thresh).mean():.5f}  exact={1 - 2/n:.5f}")
# n=3: sim=0.33415  exact=0.33333
# n=4: sim=0.50046  exact=0.50000
# n=6: sim=0.66734  exact=0.66667
# n=8: sim=0.75101  exact=0.75000
Report an error on this page

Reports are stored by Netlify. See the privacy note.