Library · Geometric Probability · Chapter 29

Five random points on a sphere

Revised Report an error

Problem 29.1

Five points are chosen independently and uniformly on a sphere. What is the probability that their convex hull contains the centre of the sphere?

Solution. We apply Wendel’s general formula, already used with n=4n = 4 in Chapter 27. For nn iid uniform points on the unit sphere Sd−1⊂RdS^{d-1} \subset \mathbb{R}^d, the probability that their convex hull contains the origin is Pn,d  =  1−12n−1∑k=0d−1(n−1k).\mathbb{P}_{n, d} \;=\; 1 - \frac{1}{2^{n-1}} \sum_{k = 0}^{d - 1} \binom{n - 1}{k}. For (n,d)=(5,3)(n, d) = (5, 3), P5,3=1−124((40)+(41)+(42))=1−1+4+616=1−1116.\mathbb{P}_{5, 3} = 1 - \frac{1}{2^4} \Big( \binom{4}{0} + \binom{4}{1} + \binom{4}{2} \Big) = 1 - \frac{1 + 4 + 6}{16} = 1 - \frac{11}{16}. Therefore P(5 points’ hull contains centre of sphere)=516.■\boxed{\mathbb{P}(\text{5 points' hull contains centre of sphere}) = \frac{5}{16}.} \qedhere

Sketch of Wendel’s argument. By antipodal symmetry, the configuration (ε1P1,…,εnPn)(\varepsilon_1 P_1, \ldots, \varepsilon_n P_n) for ε∈{±1}n\varepsilon \in \{\pm 1\}^n has the same joint distribution. Among the 2n2^n such sign patterns, the hull contains the origin iff no closed hemisphere contains all chosen points. A counting lemma from linear algebra (Wendel 1962) shows that for nn points in general position on Sd−1S^{d-1}, exactly ∑k=0d−1(n−1k)\sum_{k = 0}^{d - 1} \binom{n-1}{k} of the 2n−12^{n-1} (unordered) sign patterns place all points in some closed hemisphere. The ratio gives the “not contained” probability.

The pattern over small (n,d)(n, d) is:

(n,d)(n, d) Formula Value
(3,2)(3, 2) 1−(1+2)/41 - (1+2)/4 14\tfrac{1}{4}
(4,3)(4, 3) 1−(1+3+3)/81 - (1+3+3)/8 18\tfrac{1}{8}
(5,3)(5, 3) 1−(1+4+6)/161 - (1+4+6)/16 516\tfrac{5}{16}
(6,3)(6, 3) 1−(1+5+10)/321 - (1+5+10)/32 12\tfrac{1}{2}

For fixed dimension dd, Pn,d→1\mathbb{P}_{n, d} \to 1 as n→∞n \to \infty: many points are (almost) always in general position so the hull fills the ball. ■

A popular math.stackexchange exercise: “how many points are needed on the sphere so that their convex hull contains the centre with probability at least 12\tfrac12?” The table above answers n=6n = 6 exactly: P6,3=12\mathbb{P}_{6, 3} = \tfrac{1}{2}.

import numpy as np
from scipy.optimize import linprog
# Origin is in conv{P_1,...,P_5} iff there exist weights w_i >= 0 summing
# to 1 with sum w_i * P_i = 0. Use LP feasibility directly.
N, count = 10**4, 0
for _ in range(N):
    pts = np.random.randn(3, 5); pts /= np.linalg.norm(pts, axis=0)
    A_eq = np.vstack([pts, np.ones((1, 5))])
    b_eq = np.array([0., 0., 0., 1.])
    res = linprog(np.zeros(5), A_eq=A_eq, b_eq=b_eq,
                  bounds=[(0, None)] * 5, method='highs')
    if res.success:
        count += 1
print(f"sim: {count/N:.5f}   exact: {5/16:.5f}")
# sim: 0.31210   exact: 0.31250
Report an error on this page

Reports are stored by Netlify. See the privacy note.