Library · Geometric Probability · Chapter 51
Expected area of a triangle inscribed in a circle
Problem 51.1
Three points are chosen independently and uniformly on the unit circle. What is the expected area of the triangle they form?
Solution. A triangle inscribed in a circle of radius with arcs (summing to ) between consecutive vertices has area (Standard formula: drop a perpendicular from the centre to each side; the triangle decomposes into three isoceles sub-triangles whose areas combine.) For we need the expectation of this product, taken over the Dirichlet-type distribution of the three arcs with .
Substitute so the third arc’s half is ; the joint density of on the simplex is . Using , the expectation reduces to The double integral evaluates (by trigonometric identity and direct integration) to , giving
Compare with the disc (Chapter 49): . Points on the boundary (here) give a larger average area than points in the interior (disc), roughly by a factor of . Intuitively, boundary points spread farther from one another.
import numpy as np
theta = np.random.rand(3, 10**7) * 2*np.pi
x, y = np.cos(theta), np.sin(theta)
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: {3/(2*np.pi):.5f}")
# sim: 0.47798 exact: 0.47746