Difference between revisions of "1994 AIME Problems/Problem 9"
(→Problem) |
(solution 3) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
Therefore, we obtain the [[recursion]] <math>P_k = \frac {3}{2k - 1}P_{k - 1}</math>. Iterating this for <math>k = 6,5,4,3,2</math> (obviously <math>P_1 = 1</math>), we get <math>\frac {3^5}{11*9*7*5*3} = \frac {9}{385}</math>, and <math>p+q=\boxed{394}</math>. | Therefore, we obtain the [[recursion]] <math>P_k = \frac {3}{2k - 1}P_{k - 1}</math>. Iterating this for <math>k = 6,5,4,3,2</math> (obviously <math>P_1 = 1</math>), we get <math>\frac {3^5}{11*9*7*5*3} = \frac {9}{385}</math>, and <math>p+q=\boxed{394}</math>. | ||
+ | |||
+ | ==Solution 2== | ||
+ | Call the case that we begin with [ABCDEF]. It doesn't matter what letter we choose at first, so WLOG assume we choose A. Now there is BCDEFABCDEF remaining in the bag. We have two cases to consider here. | ||
+ | |||
+ | 1. We pick the other A. There's a <math>\frac{1}{11}</math> chance for this to happen. We remain with the case [BCDEF] if this is the case. | ||
+ | |||
+ | 2. We pick any other letter that is not an A. There's a <math>\frac{10}{11}</math> chance for this to happen. WLOG, assume we pick the letter B. Now in order for us to continue the game, we must choose either the other A or B. There's a <math>\frac{2}{10}</math> chance for this to happen. WLOG, assume we choose A. Now we have BCDEFCDEF left. | ||
+ | |||
+ | Notice however that in the first case, the probability of emptying the bag with [BCDEF] is the same thing as with BCDEFCDEF, as the only difference is you've removed one of the letters (and it doesn't matter which you chose). | ||
+ | |||
+ | Hence for this case, there is a <math>\frac{1}{11} + \frac{10}{11}*\frac{2}{10} = \frac{3}{11}</math> * [BCDEF] chance to empty the bag. | ||
+ | |||
+ | Continuing this process, we get that: | ||
+ | |||
+ | [BCDEF] = <math>\frac{3}{9}</math> * [CDEF] | ||
+ | |||
+ | [CDEF] = <math>\frac{3}{7}</math> * [DEF] | ||
+ | |||
+ | [DEF] = <math>\frac{3}{5}</math> * [EF] | ||
+ | |||
+ | [EF] = 1 (clearly, since if we are only left with EFEF then we are going to empty the bag). | ||
+ | |||
+ | And hence [ABCDEF] = <math>1*\frac{3}{5}*\frac{3}{7}*\frac{3}{9}*\frac{3}{11} = \frac{9}{385}</math> so our answer is <math>9+385=\boxed{394}</math> | ||
+ | |||
+ | ==Solution 3== | ||
+ | Let <math>a_{m,n}</math> represent the situation in which <math>n</math> tiles are in your hand and <math>m</math> pairs have been removed; i.e., there are <math>2m</math> tiles remaining in play. We know that <math>a_{m,0}=a_{m,1}</math> to begin with, so we find some other recursions: | ||
+ | |||
+ | When the player has <math>1</math> tile in their hand with <math>m</math> pairs remaining, there is a <math>\frac{1}{2m-1}</math> chance that the player finds the one matching tile and the game state changes to <math>a_{m-1,0}</math>. There is a <math>\frac{2m-2}{2m-1}</math> chance that the player does not find the matching tile and the game state changes to <math>a_{m,2}</math>. As a result, <math>a_{m,1}=\frac{1}{2m-1}a_{m-1,0}+\frac{2m-2}{2m-1}a_{m,2}</math>. | ||
+ | |||
+ | When the player has <math>2</math> tiles in their hand with <math>m</math> pairs remaining, there is a <math>\frac{1}{m-1}</math> chance that the player finds a matching tile and the game moves on to game state <math>a_{m-1,1}</math>. As a result, <math>a_{m,2}=\frac{1}{m-1}a_{m-1,1}</math>. | ||
+ | |||
+ | We also know that <math>a_0=a_1=a_2=1</math> (i.e., you are guaranteed to win with two tiles remaining), so we are able to find an end to the recursion. | ||
+ | |||
+ | Now we are left with four rules: | ||
+ | |||
+ | 1) <math>a_{m,0}=a_{m,1}</math> | ||
+ | |||
+ | 2) <math>a_{m,1}=\frac{1}{2m-1}a_{m-1,0}+\frac{2m-2}{2m-1}a_{m,2}</math> | ||
+ | |||
+ | 3) <math>a_{m,2}=\frac{1}{m-1}a_{m-1,1}</math> | ||
+ | |||
+ | 4) <math>a_0=a_1=a_2=1</math> | ||
+ | |||
+ | We then calculate the terms of the multi-variable recursion and arrive at <math>a_{6,0}=\frac{9}{385}</math>, so the answer is <math>385+9=\boxed{394}</math>. | ||
+ | |||
+ | ~eevee9406 | ||
== See also == | == See also == | ||
Line 15: | Line 61: | ||
[[Category:Intermediate Combinatorics Problems]] | [[Category:Intermediate Combinatorics Problems]] | ||
+ | {{MAA Notice}} |
Latest revision as of 12:49, 20 July 2024
Problem
A solitaire game is played as follows. Six distinct pairs of matched tiles are placed in a bag. The player randomly draws tiles one at a time from the bag and retains them, except that matching tiles are put aside as soon as they appear in the player's hand. The game ends if the player ever holds three tiles, no two of which match; otherwise the drawing continues until the bag is empty. The probability that the bag will be emptied is where
and
are relatively prime positive integers. Find
Solution
Let be the probability of emptying the bag when it has
pairs in it. Let's consider the possible draws for the first three cards:
- Case 1. We draw a pair on the first two cards. The second card is the same as the first with probability
, then we have
pairs left. So this contributes probability
.
- Case 2. We draw a pair on the first and third cards. The second card is different from the first with probability
and the third is the same as the first with probability
. We are left with
pairs but one card already drawn. However, having drawn one card doesn't affect the game, so this also contributes probability
.
- Case 3. We draw a pair on the second and third cards. This is pretty much the same as case 2, so we get
.
Therefore, we obtain the recursion . Iterating this for
(obviously
), we get
, and
.
Solution 2
Call the case that we begin with [ABCDEF]. It doesn't matter what letter we choose at first, so WLOG assume we choose A. Now there is BCDEFABCDEF remaining in the bag. We have two cases to consider here.
1. We pick the other A. There's a chance for this to happen. We remain with the case [BCDEF] if this is the case.
2. We pick any other letter that is not an A. There's a chance for this to happen. WLOG, assume we pick the letter B. Now in order for us to continue the game, we must choose either the other A or B. There's a
chance for this to happen. WLOG, assume we choose A. Now we have BCDEFCDEF left.
Notice however that in the first case, the probability of emptying the bag with [BCDEF] is the same thing as with BCDEFCDEF, as the only difference is you've removed one of the letters (and it doesn't matter which you chose).
Hence for this case, there is a * [BCDEF] chance to empty the bag.
Continuing this process, we get that:
[BCDEF] = * [CDEF]
[CDEF] = * [DEF]
[DEF] = * [EF]
[EF] = 1 (clearly, since if we are only left with EFEF then we are going to empty the bag).
And hence [ABCDEF] = so our answer is
Solution 3
Let represent the situation in which
tiles are in your hand and
pairs have been removed; i.e., there are
tiles remaining in play. We know that
to begin with, so we find some other recursions:
When the player has tile in their hand with
pairs remaining, there is a
chance that the player finds the one matching tile and the game state changes to
. There is a
chance that the player does not find the matching tile and the game state changes to
. As a result,
.
When the player has tiles in their hand with
pairs remaining, there is a
chance that the player finds a matching tile and the game moves on to game state
. As a result,
.
We also know that (i.e., you are guaranteed to win with two tiles remaining), so we are able to find an end to the recursion.
Now we are left with four rules:
1)
2)
3)
4)
We then calculate the terms of the multi-variable recursion and arrive at , so the answer is
.
~eevee9406
See also
1994 AIME (Problems • Answer Key • Resources) | ||
Preceded by Problem 8 |
Followed by Problem 10 | |
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.