A piece of cake
At MathsJam, I was pointed at a puzzle from the New Scientist, which I’ll paraphrase as:
You have a long, thin cake of length 1. Two candles are places at random 1 points on the top of the cake, and the cake is cut (perpendicular to its edges) at a third random point. What is the probability that the two resulting pieces of cake each have a candle on?
In discussion, we came up with three ways, which I’ll present in reverse order of complexity. Spoilers below the line.
In three dimensions (my way)
Let the first candle be at position
The resulting 3D graph forms a pair of tetrahedra, each with a base of area
A single integral
Suppose the cut takes place at position
A simple and logical approach
Philipp pointed out that the three points are in an order from left to right, and the probability of any given one of them being in the middle is
I love it when there’s an elegant solution! Did you tackle it a different way?
Footnotes:
1. Throughout, “random” means “at a point drawn from a uniform distribution on the cake’s length”.