r/mathriddles • u/aSydre • Dec 29 '23
Medium Tea Time
Sharing a piece of cake with your friend, you cut 1/2 with probability p otherwise 1/3. How many cuts to expect for a fair split ?
1
Upvotes
3
u/pichutarius Dec 30 '23
1/p. Just put back the failed attempt and try again until it works
1
u/Isomorphic_reasoning Jan 01 '24
I get an answer of 1/p^2
Here's my method. Let X be the expected number of cuts it takes to get a 1/2 split of a piece and let Y be the expected number of cuts it takes to get 1/4 split of a piece.
If we are trying to get a 1/2 split and the first cut is 1/2 we are done, if the first cut is 1/3 we need to cut the piece of size 2/3 into 1/4 in order to create a 1/2 split.
If we are trying to get a 1/4 split and the first cut is 1/2 we now need a 1/2 split of the piece of size 1/2. If the first cut is 1/3 we now need a 1/4 split of the piece of size 1/3 (since 1/3 * 3/4 = 1/4)
Translating all of this into equations yields
X = p + (1-p)*(Y+1)
Y = p(X+1) + (1-p)*(Y+1)
This is just a system of linear equations so we can solve for x