Probability & Statistics

The Longest Broken Piece

Snap a stick at two random points into three pieces. On average, how much of the stick does the longest piece claim, and what is left for the middle and shortest?

solvedhard1 min

A stick of length 11 is broken at two points chosen independently and uniformly along its length, giving three pieces. What is the expected length of the longest piece? What about the shortest and the middle one?

Reveal solutionHide solution

#Three exchangeable pieces

Two uniform cuts split [0,1][0,1] into three pieces whose lengths are exchangeable and sum to 11, so each piece on its own averages 13\tfrac13. The order statistics, shortest to longest, split that 11 unevenly.

#The shortest piece directly

All three pieces exceed tt only when the two cuts avoid the two end-zones of width tt, which by a geometric argument has probability (13t)2(1 - 3t)^2 for t13t \le \tfrac13. Hence

E[shortest]=01/3(13t)2dt=[(13t)39]01/3=19.(1)\E[\text{shortest}] = \int_0^{1/3} (1 - 3t)^2\, dt = \left[-\frac{(1-3t)^3}{9}\right]_0^{1/3} = \frac19. \tag{1}

#The order-statistic formula

For nn uniform spacings the jj-th smallest has expected length

E[L(j)]=1ni=nj+1n1i.(2)\E[L_{(j)}] = \frac{1}{n}\sum_{i = n-j+1}^{n} \frac{1}{i}. \tag{2}

With n=3n = 3 this gives

E[shortest]=1313=19,E[middle]=13(13+12)=518,E[longest]=13(13+12+1)=1118.(3)\E[\text{shortest}] = \tfrac13 \cdot \tfrac13 = \tfrac19, \qquad \E[\text{middle}] = \tfrac13\big(\tfrac13 + \tfrac12\big) = \tfrac{5}{18}, \qquad \E[\text{longest}] = \tfrac13\big(\tfrac13 + \tfrac12 + 1\big) = \tfrac{11}{18}. \tag{3}
longest
middle
shortest
expected lengths sum to 1
Averaged over all breaks, the longest piece claims eleven eighteenths of the stick, the middle five eighteenths, and the shortest a ninth. The longest alone is more than half the stick, far from an even three-way split.

#Result

The longest piece averages 11180.61\tfrac{11}{18} \approx 0.61, the middle 5180.28\tfrac{5}{18} \approx 0.28, and the shortest 190.11\tfrac19 \approx 0.11, and the three sum to 11 as they must. The longest piece alone is more than half the stick on average.