Probability & Statistics

Probability of a Triangle

A stick is snapped at two random points into three pieces. How often can those pieces be bent into a triangle?

solvedmedium1 min

A stick of length 11 is broken at two points chosen independently and uniformly along its length. What is the probability that the three resulting pieces can form a triangle?

Reveal solutionHide solution

#The triangle condition

Three lengths that sum to 11 form a triangle exactly when each is shorter than 12\tfrac{1}{2}. The triangle inequality only bites on the longest piece, which must be under the sum of the other two, namely 11 minus itself, so the longest must be below 12\tfrac{1}{2}, and then the other two automatically clear it.

#Map the two cuts

Let UU and VV be the cut positions, independent and uniform on [0,1][0,1], so (U,V)(U,V) is uniform on the unit square and probability is area. Split on which cut sits to the left.

If U<VU < V the pieces are UU, VUV - U, and 1V1 - V. Keeping all three below 12\tfrac{1}{2} asks for U<12U < \tfrac{1}{2}, V>12V > \tfrac{1}{2}, and VU<12V - U < \tfrac{1}{2}, a triangle with vertices (0,12)(0,\tfrac{1}{2}), (12,12)(\tfrac{1}{2},\tfrac{1}{2}), (12,1)(\tfrac{1}{2},1) of area 18\tfrac{1}{8}. The case U>VU > V is its mirror image with the same area.

triangletriangle1/21/2UV
Each cut point is uniform, so (U, V) is uniform on the square. A triangle needs every piece shorter than 1/2, which leaves only the two shaded triangles, a quarter of the area in all.

#Read it off

P(triangle)=18+18=14.(1)\PP(\text{triangle}) = \frac{1}{8} + \frac{1}{8} = \frac{1}{4}. \tag{1}

A triangle is the exception, not the rule. Three quarters of the time one piece swallows more than half the stick and the other two cannot reach across it.