Maths Olympiad Prep

Library / /997 of 1394

, 2019

Combinatorics Difficulty 5.5 AIME, harder Prove it United States

Problem:

Yannick is playing a game with 100 rounds, starting with 1 coin. During each round, there is a n%n \% chance that he gains an extra coin, where nn is the number of coins he has at the beginning of the round. What is the expected number of coins he will have at the end of the game?

Solution

Solution:

Let XiX_{i} be the random variable which is the number of coins at the end of round ii. Say that X0=1X_{0}=1 for convenience. Fix i>0i>0 and some positive integer xx. Conditioning on the event Xi1=xX_{i-1}=x, there are only two cases with positive probability. In particular,
Pr[Xi=x+1Xi1=x]=x100 \Pr\left[X_{i}=x+1 \mid X_{i-1}=x\right]=\frac{x}{100}
and
Pr[Xi=xXi1=x]=1x100 \Pr\left[X_{i}=x \mid X_{i-1}=x\right]=1-\frac{x}{100}
Therefore
E[Xi]=x>0xPr[Xi=x]=x>0x((1x100)Pr[Xi1=x]+x1100Pr[Xi1=x1])=x>0xPr[Xi1=x]1100x>0xPr[Xi1=x1]+1100x>0x2Pr[Xi1=x1]1100x>0x2Pr[Xi=x]=99100E[Xi1]1100+150E[Xi1]+1100=101100E[Xi1]. \begin{aligned} \mathbb{E}\left[X_{i}\right]= & \sum_{x>0} x \cdot \Pr\left[X_{i}=x\right] \\ = & \sum_{x>0} x \cdot\left(\left(1-\frac{x}{100}\right) \Pr\left[X_{i-1}=x\right]+\frac{x-1}{100} \Pr\left[X_{i-1}=x-1\right]\right) \\ = & \sum_{x>0} x \Pr\left[X_{i-1}=x\right]-\frac{1}{100} \sum_{x>0} x \Pr\left[X_{i-1}=x-1\right] \\ & \quad+\frac{1}{100} \sum_{x>0} x^{2} \Pr\left[X_{i-1}=x-1\right]-\frac{1}{100} \sum_{x>0} x^{2} \Pr\left[X_{i}=x\right] \\ = & \frac{99}{100} \mathbb{E}\left[X_{i-1}\right]-\frac{1}{100}+\frac{1}{50} \mathbb{E}\left[X_{i-1}\right]+\frac{1}{100} \\ = & \frac{101}{100} \mathbb{E}\left[X_{i-1}\right] . \end{aligned}
(A different way to understand this is that no matter how many coins Yannick has currently (as long as he does not have more than 100 coins, which is guaranteed in this problem), the expected number of coins after one round is always 1.01 times the current number of coins, so the expected value is multiplied by 1.01 each round.)
Therefore
E[X100]=(101100)100E[X0]=1.01100 \mathbb{E}\left[X_{100}\right]=\left(\frac{101}{100}\right)^{100} \mathbb{E}\left[X_{0}\right]=1.01^{100}

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.