Library · Geometric Probability · Chapter 49
Expected area of a random triangle in a disc
Problem 49.1
Three points are chosen independently and uniformly at random in the closed unit disc. What is the expected area of the triangle they form?
Solution. This is a classical constant (Woolhouse, 1867): the answer is We sketch the derivation.
Write with each uniform in the unit disc. Twice the signed area is We want .
Reduction. By rotational symmetry, condition on at distance from the origin (WLOG ). The marginal density of is . The remaining integration over is, for fixed , an expectation , which depends on .
Evaluation. This inner expectation can be computed in closed form using the joint density of and the trigonometric identity . After careful integration (spelled out in Klain & Rota, Introduction to Geometric Probability, 1997), the result is
The constant underlies Sylvester’s four-point probability in the disc (Chapter 46): the probability that four uniform random points in a disc form a convex quadrilateral is . Everywhere that “expected triangle area” appears for the disc, the constant appears.
import numpy as np
r = np.sqrt(np.random.rand(3, 10**7))
t = np.random.rand(3, 10**7) * 2*np.pi
x, y = r*np.cos(t), r*np.sin(t)
area = 0.5*np.abs((x[1]-x[0])*(y[2]-y[0]) - (x[2]-x[0])*(y[1]-y[0]))
print(f"sim: {area.mean():.5f} exact: {35/(48*np.pi):.5f}")
# sim: 0.23210 exact: 0.23210