Difference between revisions of "1993 AIME Problems/Problem 11"

m (Solution 3)
 
(15 intermediate revisions by 9 users not shown)
Line 5: Line 5:
 
The probability that the <math>n</math>th flip in each game occurs and is a head is <math>\frac{1}{2^n}</math>. The first person wins if the coin lands heads on an odd numbered flip. So, the probability of the first person winning the game is <math>\frac{1}{2}+\frac{1}{8}+\frac{1}{32}+\cdots = \frac{\frac{1}{2}}{1-\frac{1}{4}}=\frac{2}{3}</math>, and the probability of the second person winning is <math>\frac{1}{3}</math>.  
 
The probability that the <math>n</math>th flip in each game occurs and is a head is <math>\frac{1}{2^n}</math>. The first person wins if the coin lands heads on an odd numbered flip. So, the probability of the first person winning the game is <math>\frac{1}{2}+\frac{1}{8}+\frac{1}{32}+\cdots = \frac{\frac{1}{2}}{1-\frac{1}{4}}=\frac{2}{3}</math>, and the probability of the second person winning is <math>\frac{1}{3}</math>.  
  
Let <math>a_n</math> be the probability that Alice wins the <math>n</math>th game, and let <math>b_n</math> be the probability that Bonnie wins the <math>n</math>th game.  
+
Let <math>a_n</math> be the probability that Alfred wins the <math>n</math>th game, and let <math>b_n</math> be the probability that Bonnie wins the <math>n</math>th game.  
  
 
If Alfred wins the <math>n</math>th game, then the probability that Alfred wins the <math>n+1</math>th game is <math>\frac{1}{3}</math>. If Bonnie wins the <math>n</math>th game, then the probability that Alfred wins the <math>n+1</math>th game is <math>\frac{2}{3}</math>.  
 
If Alfred wins the <math>n</math>th game, then the probability that Alfred wins the <math>n+1</math>th game is <math>\frac{1}{3}</math>. If Bonnie wins the <math>n</math>th game, then the probability that Alfred wins the <math>n+1</math>th game is <math>\frac{2}{3}</math>.  
Line 15: Line 15:
 
Since Alfred goes first in the <math>1</math>st game, <math>(a_1,b_1)=\left(\frac{2}{3}, \frac{1}{3}\right)</math>.  
 
Since Alfred goes first in the <math>1</math>st game, <math>(a_1,b_1)=\left(\frac{2}{3}, \frac{1}{3}\right)</math>.  
  
Using these [[recursive]] equations:  
+
Using these [[recursion|recursive]] equations:  
  
 
<math>(a_2,b_2)=\left(\frac{4}{9}, \frac{5}{9}\right)</math>  
 
<math>(a_2,b_2)=\left(\frac{4}{9}, \frac{5}{9}\right)</math>  
Line 27: Line 27:
 
<math>(a_6,b_6)=\left(\frac{364}{729}, \frac{365}{729}\right)</math>  
 
<math>(a_6,b_6)=\left(\frac{364}{729}, \frac{365}{729}\right)</math>  
  
Since <math>a_6=\frac{364}{729}</math>, <math>m+n = 1093 \equiv \boxed{093} \pmod{1000}</math>.  
+
Since <math>a_6=\frac{364}{729}</math>, <math>m+n = 1093 \equiv \boxed{093} \pmod{1000}</math>.
 +
 
 +
==Simpler Solution 1 ==
 +
Same as solution 1 except that <math>b_n=1-a_n</math>. So you don't need that extra calculation for <math>b_n</math>.
 +
 
 +
==Solution 2 (Kind of Bashy but very nice) ==
 +
 
 +
In order to begin this problem, we need to calculate the probability that Alfred will win on the first round.
 +
 
 +
Because he goes first, Alfred has a <math>\frac{1}{2}</math> chance of winning (getting heads) on his first flip.
 +
 
 +
Then, Bonnie, who goes second, has a <math>\frac{1}{2} \times \frac{1}{2} = \frac{1}{4}</math>, chance of winning on her first coin toss.
 +
 
 +
Therefore Alfred’s chance of winning on his second flip is <math>\frac{1}{4} \times \frac{1}{2} = \frac{1}{8}</math>
 +
 
 +
 
 +
 
 +
From this, we can see that Alfred’s (who goes first) chance of winning the first round is: <math>\frac{1}{2} + \frac{1}{8} + \frac{1}{32} + \cdots = \frac{2}{3}</math>
 +
 
 +
Bonnie’s (who goes second) chance of winning the first round is then <math>1 - \frac{2}{3} = \frac{1}{3}</math>.
 +
 
 +
This means that the person who goes first has a <math>\frac{2}{3}</math> chance of winning the round, while the person who goes second has a <math>\frac{1}{3}</math> chance of winning.
 +
 
 +
 
 +
 
 +
Now, through casework, we can calculate Alfred’s chance of winning the second round.
 +
 
 +
Case 1: Alfred wins twice; <math>\frac{2}{3} \times \frac{1}{3}</math> (Bonnie goes first this round) <math>=\frac{2}{9}</math>.
 +
 
 +
Case 2: Alfred loses the first round, but wins the second; <math>\frac{1}{3} \times \frac{2}{3} = \frac{2}{9}</math>.
 +
 
 +
Adding up the cases, we get <math>\frac{2}{9} + \frac{2}{9} = \frac{4}{9}</math>.
 +
 
 +
Alfred, therefore, has a <math>\frac{4}{9}</math> of winnning the second round, and Bonnie has a <math>1-\frac{4}{9} = \frac{5}{9}</math> chance of winning this round.
 +
 
 +
 
 +
 
 +
From here, it is not difficult to see that the probabilities alternate in a pattern.
 +
 
 +
Make <math>A</math> the probability that Alfred wins a round.
 +
 
 +
The chances of Alfred and Bonnie, respectively, winning the first round are <math>A</math> and <math>A - \frac{1}{3}</math>, which can be written as <math>2A - \frac{1}{3} = 1</math>
 +
 
 +
The second round’s for chances are <math>A</math> and <math>A + \frac{1}{9}</math>, which can also be written as <math>2A + \frac{1}{9}</math>
 +
 
 +
 
 +
 
 +
From this, we can conclude that for the <math>n</math>th even round, the probability that Alfred (<math>A</math>) wins can be calculated through the equation <math>2A + \frac{1}{3^n} = 1</math>.
 +
 
 +
Solving the equation for <math>n = 6</math>, we get <math>A = \frac{364}{729}</math>.
 +
 
 +
<math>364 + 729 = 1093</math>.
 +
 
 +
 
 +
 
 +
So our answer is <math>\boxed{093}</math>.
 +
 
 +
 
 +
==Solution 3==
 +
 
 +
Rather than categorizing games as wins or losses, we can categorize them as starters (S), where Alfred starts, and non-starters (NS), where Bonnie starts. Game 1 is a starter, and since Alfred must win Game 6, Game 7 is a non-starter.
 +
 
 +
As shown in Solution 1, if a player starts a certain game, the probability <math>P(NS)</math> that they will not start the next game (i.e. win the current game) is <math>\frac{2}{3}</math>, and the probability <math>P(S)</math> that they will start the next game (i.e. lose the current game) is <math>\frac{1}{3}</math>. Similarly, if a player does not start a certain game, <math>P(NS) = \frac{1}{3}</math> and <math>P(S) = \frac{2}{3}</math>. We conclude that the probability of switching from S to NS or vice versa is always <math>\frac{2}{3}</math>, and the probability of staying the same is always <math>\frac{1}{3}</math>.
 +
 
 +
Listing out all the games from Game 1 to Game 7, we get: S, ?, ?, ?, ?, ?, NS. Between the 7 games, there are 6 opportunities to either switch or stay the same. We need to eventually switch from S to NS, so there must be an odd number of switches. Furthermore, this number is less than 6, so it must be 1, 3, or 5.
 +
 
 +
1 switch: There are <math>{6 \choose 1} = 6</math> ways to place the switch, so <math>P = 6\left(\frac{1}{3}\right)^5\left(\frac{2}{3}\right) = \frac{12}{729}</math>.
 +
 
 +
3 switches: There are <math>{6 \choose 3} = 20</math> ways to place the switches, so <math>P = 20\left(\frac{1}{3}\right)^3\left(\frac{2}{3}\right)^3 = \frac{160}{729}</math>.
 +
 
 +
5 switches: There are <math>{6 \choose 5} = 6</math> ways to place the switch, so <math>P = 6\left(\frac{1}{3}\right)\left(\frac{2}{3}\right)^5 = \frac{192}{729}</math>.
 +
 
 +
Add up all these probabilities to get <math>\frac{12+160+192}{729} = \frac{364}{729}</math>.  <math>364+729=1093</math>, so the answer is <math>\boxed{093}</math>.
  
 
== See also ==
 
== See also ==
 
{{AIME box|year=1993|num-b=10|num-a=12}}
 
{{AIME box|year=1993|num-b=10|num-a=12}}
 +
{{MAA Notice}}

Latest revision as of 19:57, 22 December 2020

Problem

Alfred and Bonnie play a game in which they take turns tossing a fair coin. The winner of a game is the first person to obtain a head. Alfred and Bonnie play this game several times with the stipulation that the loser of a game goes first in the next game. Suppose that Alfred goes first in the first game, and that the probability that he wins the sixth game is $m/n\,$, where $m\,$ and $n\,$ are relatively prime positive integers. What are the last three digits of $m+n\,$?

Solution

The probability that the $n$th flip in each game occurs and is a head is $\frac{1}{2^n}$. The first person wins if the coin lands heads on an odd numbered flip. So, the probability of the first person winning the game is $\frac{1}{2}+\frac{1}{8}+\frac{1}{32}+\cdots = \frac{\frac{1}{2}}{1-\frac{1}{4}}=\frac{2}{3}$, and the probability of the second person winning is $\frac{1}{3}$.

Let $a_n$ be the probability that Alfred wins the $n$th game, and let $b_n$ be the probability that Bonnie wins the $n$th game.

If Alfred wins the $n$th game, then the probability that Alfred wins the $n+1$th game is $\frac{1}{3}$. If Bonnie wins the $n$th game, then the probability that Alfred wins the $n+1$th game is $\frac{2}{3}$.

Thus, $a_{n+1}=\frac{1}{3}a_n+\frac{2}{3}b_n$.

Similarly, $b_{n+1}=\frac{2}{3}a_n+\frac{1}{3}b_n$.

Since Alfred goes first in the $1$st game, $(a_1,b_1)=\left(\frac{2}{3}, \frac{1}{3}\right)$.

Using these recursive equations:

$(a_2,b_2)=\left(\frac{4}{9}, \frac{5}{9}\right)$

$(a_3,b_3)=\left(\frac{14}{27}, \frac{13}{27}\right)$

$(a_4,b_4)=\left(\frac{40}{81}, \frac{41}{81}\right)$

$(a_5,b_5)=\left(\frac{122}{243}, \frac{121}{243}\right)$

$(a_6,b_6)=\left(\frac{364}{729}, \frac{365}{729}\right)$

Since $a_6=\frac{364}{729}$, $m+n = 1093 \equiv \boxed{093} \pmod{1000}$.

Simpler Solution 1

Same as solution 1 except that $b_n=1-a_n$. So you don't need that extra calculation for $b_n$.

Solution 2 (Kind of Bashy but very nice)

In order to begin this problem, we need to calculate the probability that Alfred will win on the first round.

Because he goes first, Alfred has a $\frac{1}{2}$ chance of winning (getting heads) on his first flip.

Then, Bonnie, who goes second, has a $\frac{1}{2} \times \frac{1}{2} = \frac{1}{4}$, chance of winning on her first coin toss.

Therefore Alfred’s chance of winning on his second flip is $\frac{1}{4} \times \frac{1}{2} = \frac{1}{8}$


From this, we can see that Alfred’s (who goes first) chance of winning the first round is: $\frac{1}{2} + \frac{1}{8} + \frac{1}{32} + \cdots = \frac{2}{3}$

Bonnie’s (who goes second) chance of winning the first round is then $1 - \frac{2}{3} = \frac{1}{3}$.

This means that the person who goes first has a $\frac{2}{3}$ chance of winning the round, while the person who goes second has a $\frac{1}{3}$ chance of winning.


Now, through casework, we can calculate Alfred’s chance of winning the second round.

Case 1: Alfred wins twice; $\frac{2}{3} \times \frac{1}{3}$ (Bonnie goes first this round) $=\frac{2}{9}$.

Case 2: Alfred loses the first round, but wins the second; $\frac{1}{3} \times \frac{2}{3} = \frac{2}{9}$.

Adding up the cases, we get $\frac{2}{9} + \frac{2}{9} = \frac{4}{9}$.

Alfred, therefore, has a $\frac{4}{9}$ of winnning the second round, and Bonnie has a $1-\frac{4}{9} = \frac{5}{9}$ chance of winning this round.


From here, it is not difficult to see that the probabilities alternate in a pattern.

Make $A$ the probability that Alfred wins a round.

The chances of Alfred and Bonnie, respectively, winning the first round are $A$ and $A - \frac{1}{3}$, which can be written as $2A - \frac{1}{3} = 1$

The second round’s for chances are $A$ and $A + \frac{1}{9}$, which can also be written as $2A + \frac{1}{9}$


From this, we can conclude that for the $n$th even round, the probability that Alfred ($A$) wins can be calculated through the equation $2A + \frac{1}{3^n} = 1$.

Solving the equation for $n = 6$, we get $A = \frac{364}{729}$.

$364 + 729 = 1093$.


So our answer is $\boxed{093}$.


Solution 3

Rather than categorizing games as wins or losses, we can categorize them as starters (S), where Alfred starts, and non-starters (NS), where Bonnie starts. Game 1 is a starter, and since Alfred must win Game 6, Game 7 is a non-starter.

As shown in Solution 1, if a player starts a certain game, the probability $P(NS)$ that they will not start the next game (i.e. win the current game) is $\frac{2}{3}$, and the probability $P(S)$ that they will start the next game (i.e. lose the current game) is $\frac{1}{3}$. Similarly, if a player does not start a certain game, $P(NS) = \frac{1}{3}$ and $P(S) = \frac{2}{3}$. We conclude that the probability of switching from S to NS or vice versa is always $\frac{2}{3}$, and the probability of staying the same is always $\frac{1}{3}$.

Listing out all the games from Game 1 to Game 7, we get: S, ?, ?, ?, ?, ?, NS. Between the 7 games, there are 6 opportunities to either switch or stay the same. We need to eventually switch from S to NS, so there must be an odd number of switches. Furthermore, this number is less than 6, so it must be 1, 3, or 5.

1 switch: There are ${6 \choose 1} = 6$ ways to place the switch, so $P = 6\left(\frac{1}{3}\right)^5\left(\frac{2}{3}\right) = \frac{12}{729}$.

3 switches: There are ${6 \choose 3} = 20$ ways to place the switches, so $P = 20\left(\frac{1}{3}\right)^3\left(\frac{2}{3}\right)^3 = \frac{160}{729}$.

5 switches: There are ${6 \choose 5} = 6$ ways to place the switch, so $P = 6\left(\frac{1}{3}\right)\left(\frac{2}{3}\right)^5 = \frac{192}{729}$.

Add up all these probabilities to get $\frac{12+160+192}{729} = \frac{364}{729}$. $364+729=1093$, so the answer is $\boxed{093}$.

See also

1993 AIME (ProblemsAnswer KeyResources)
Preceded by
Problem 10
Followed by
Problem 12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
All AIME Problems and Solutions

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions. AMC logo.png