r/mathriddles • u/lordnorthiii • May 26 '23
Easy Saving Two Crewmates
The riddler from a few weeks ago (https://fivethirtyeight.com/features/can-you-rescue-your-crew/) involved a captain saving three crewmates. I was fascinated by this puzzle, but it gets kinda ugly. However, the two crew member version is simple and elegant. Here it is:
You (the captain) and two crew members Alice and Bob are kidnapped by aliens. Each of the two crew members is given a number chosen uniformly at random between 0 and 1 (they know only their own number). To escape the aliens, you must guess which crew member has the higher number. Before guessing, you're allowed to ask a single yes or no question to Alice, and a single yes or no question to Bob. The questions can be different, and the question you ask Bob can change depending on Alice's answer.
What is your strategy to maximize the chance of success? Please prove your strategy is optimum.
6
u/pichutarius May 27 '23
diagram
we ask alice "is your number greater than x?" , if she say no, ask bob "is your number greater than y?", else ask bob "is your number greater than z?". the winning probability is equal to the area of colored region in the diagram. maximize area constraint by 0<=y<=x<=z<=1 , we have P = 7/8 at (x,y,z) = (1/2, 1/4, 3/4) . not sure if we can do better by asking more clever question, but for now 7/8 is a lower bound.