Library · Geometric Probability · Chapter 50

Expected perimeter of a triangle inscribed in a circle

Revised Report an error

Problem 50.1

Three points are chosen independently and uniformly on the unit circle. What is the expected perimeter of the triangle they form?

Solution. The perimeter is the sum of three chord lengths: perimeter=∣P1P2∣+∣P2P3∣+∣P3P1∣.\text{perimeter} = |P_1 P_2| + |P_2 P_3| + |P_3 P_1|. By linearity of expectation, each term has the same expected value (each side joins two independent uniform points on the circle; the three sides are dependent), so E[perimeter]=3⋅E[∣P1P2∣].\mathbb{E}[\text{perimeter}] = 3 \cdot \mathbb{E}[|P_1 P_2|]. From Chapter 13, the expected length of a chord between two uniform random points on the unit circle is 4/π4/\pi. Therefore E[perimeter]=3⋅4π=12π≈3.820.■\boxed{\mathbb{E}[\text{perimeter}] = 3 \cdot \frac{4}{\pi} = \frac{12}{\pi} \approx 3.820.} \qedhere

Compare Chapter 47 (random triangle inside a disc, expected perimeter 128/(15π)≈2.716128/(15\pi) \approx 2.716). Inscribing the triangle on the boundary, where the three points are spread around the whole circle rather than clustered in the interior, increases the expected perimeter by roughly 41%41\%. As a sanity check, the maximum possible perimeter of an inscribed triangle is 33≈5.1963\sqrt3 \approx 5.196 (the equilateral case), and the expected value 12/π≈3.82012/\pi \approx 3.820 sits comfortably below it, as well as below the cruder bound 66 coming from three chords each at most the diameter 22.

import numpy as np
theta = np.random.rand(3, 10**7) * 2*np.pi
x, y = np.cos(theta), np.sin(theta)
d = lambda i,j: np.sqrt((x[i]-x[j])**2 + (y[i]-y[j])**2)
perim = d(0,1) + d(1,2) + d(2,0)
print(f"sim: {perim.mean():.5f}   exact: {12/np.pi:.5f}")
# sim: 3.82020   exact: 3.81972
Report an error on this page

Reports are stored by Netlify. See the privacy note.