KatInterview

Two Random Cuts on a Rope: Chance of Forming a Triangle

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsgeometric-probabilityuniform-distributiontriangle-inequality

Last updated

Cut a unit-length rope at two independent uniform points and find the probability the three segments can be the sides of a triangle, with a clear derivation.

A rope of length 1 is cut at two locations. Each cut location is drawn independently from a uniform distribution on the interval from 0 to 1, and both cuts are made on the original rope at the same time. Ordering the two locations from left to right gives three segments.

Question: What is the probability that the three segments can be used as the side lengths of a (non-degenerate) triangle?

What is expected:

  • State your modelling assumptions explicitly.
  • Derive the probability rather than just quoting it.
  • Verify your result with an independent second method or a sanity check.
  • Briefly mention how the answer would change if the cutting process were different (for example, if the rope were cut once and then one of the resulting pieces were cut again).

Hints

Hint 1

Write the three segment lengths in terms of the two sorted cut points. Because they add up to 1, the triangle inequality for one side can be rewritten as a bound on that single side alone.

Hint 2

Show that all three triangle inequalities collapse to one condition: every segment must be shorter than 1/2. Then draw the unit square of cut pairs (x, y) and focus on the half where x < y.

Hint 3

To double-check, compute the probability of failure instead. A failure means one particular segment is at least 1/2, and these three events cannot overlap (apart from probability-zero boundaries). Compute each and subtract their sum from 1.