April 11, 2021
You have two 16-ounce cups — cup A and cup B. Both cups initially have 8 ounces of water in them.
You take half of the water in cup A and pour it into cup B. Then, you take half of the water in cup B and pour it back into cup A. You do this again. And again. And again. And then many, many, many more times — always pouring half the contents of A into B, and then half of B back into A.
When you finally pause for a breather, what fraction of the total water is in cup A?
Extra credit: Now suppose both cups initially have somewhere between 0 and 8 ounces of water in them. You don’t know the precise amount in each cup, but you know that both cups are not empty. Again, you pour half the water from cup A into cup B, and then half from cup B back to A. You do this many, many times. When you again finally pause for a breather, what fraction of the total water is in cup A?
Answer:
Explanation:
Let
After first transfering water from cup A to B, we have only
We thereby confirm that this equilibrium
Now the remaining question is, will every initial amount of water in cups A and B converge to this equilibrium? We can easily "find out" the answer by running computer simulations and making speculations after many runs, but let's try to see the answer mathematically here. Since the equilibrium point is unique, this means that either the process will converge to this value, or not converge at all. Therefore, the only case where our answer of