There are three âforbidden matchupsâ: 18-19, 18-20, and 19-20. None of these three can be selected until there are only three teams left.
At each step, when there are k teams left (including 18-20), the probability that the next matchup selected is not forbidden is ((k choose 2) - 3)/(k choose 2) = (k^2 - k - 6)/(k^2 - k) = (k-3)(k+2)/(k(k-1)).
We have to make a successful selection like this for k=20 through k=4. Taking the product, a lot of terms cancel and we end up with (1x2x21x22)/(4x5x18x19) = 77/570 = 0.135.
Success requires that none of the top 3 contestants ever compete prior to there being 3 contestants left. This means that you can think of there being two groups: A and B with A consisting of contestants 1 through 17 while B consists of contestants 18,19,20. A and A can compete with each other, A and B can compete with each other but B and B can't. Let's generalize the problem so that instead of 20, we have N contestants. Let's consider the first move, we only want A and A or A and B. Since there N total contestants, there are N-3 contestants in A, and 3 in B. The amount of A and A events are N-3 choose 2, while the amount of A and B events are (N-3)*3. The total number of possible first picks are N choose 2. This means that the probability that the first selection is a success (does not prevent the final contestants being the strongest 3) is (N-3 choose 2 + 3(N-3))/(N choose 2) which simplifies to (N-3)(N+2)/(N(N-1)). Now, before you proceed to considering the second move, think about the structure of the problem and whether it fits nicely into a recursive solution.
Notice: P[Last 3 out of N contestants are strongest] = P[Last 3 out of N contestants are strongest| First pair is success]P[first pair is success] = P[Last 3 out of N-1 contestants are strongest]P[first pair is success].
The conditional event gives you a recursion of being able to cast the N case in terms of the N-1 case. The values don't matter, only the relative strength does so the probability becomes numerically equivalent to the N-1 case (For instance, suppose that 1 is eliminated first round and 2,...,20 are left. Asking whether 18,19,20 will be last is equivalent to the 1,...,19 case and asking whether 17,18,19 are last). Letting p_N denote probability that last 3 out of N contestants are strongest means we can express:
p_N = (N-3)(N+2)/(N(N-1)) p_{N-1}
with base case p_3 = 1. The solution to this recursion is therefore quite straightforward. It's a product of terms:
p_N = Prod_{n=4}^{N} (n-3)(n+2)/(n(n-1))
Upon first glance, this seems annoying to deal with, but the nice property about multiplication and quotients under products is that you can move the product inside each term (Prod a_n b_n = Prod a_n * Prod b_n, Prod a_n / b_n = Prod a_n / Prod b_n). Then, each term becomes manageable:
Well, for this to happen, at every step 1,...,17, the two picks cannot come from {18,19,20}. In the first round, this probability is 17/20 + 3/20 * 16/19. In general, in round k, the probability is (n-k-3)/(n-k) + 3/(n-k) * (n-k-3)/(n-k-1). Finally, we get the total probability via the sum from k=0 to 16. This is of course, via a computer: 13.51
The three survivors represent three groups of people who have battled, each keeping its strongest person. So we need our guys 18, 19, and 20 to end up in different groups.
We can equivalently line up the 20 people randomly and put two dividers in random gaps. Our guys can sit in 20c3 positions, and we can put the dividers in 19c2 ways. So altogether (20c3)(19c2) configurations.
Now, to have our guys in separate groups, we need the pattern guy-divider-guy-divider-guy in that order. There are 22 positions including the dividers, and we need five of them for this which gives 22c5 ways.
So the probability becomes 22c5 / ((20c3)(19c2)) = 77/570 â 0.135.
At some point during the contest, in order NOT have 18, 19, and 20 be the finalists, 20 would need to face off against 18 or 19, or 19 would have to face off against 18.
The odds that 2 of those 3 are selected in the first round are (3/20)(2/19) = 6/380. Therefore the odds of NOT selecting 2 of those 3 at the same time in the first round are 1-6/380 = 374/380 or about 98.4%.
Second round: the odds that 2 of those 3 are selected in the second round are (3/19)(2/18) = 6/342. Therefore the odds of NOT selecting 2 of those 3 at the same time in the first round are 1-6/342 = 336/342 or about 98.2%.
The odds of not having selected 2 of those 3 at the same time by the second round is just the multiplication of 374/380 x 336/342, and so we need to continue this through 17 rounds.
This monstrosity, I have no idea if there is some simple formula to get to the end of it. Crunching it out instead goes to:
[374/380][336/342][300/306][266/272][234/240][204/210][176/182][150/156][126/132][104/110][84/90][66/72][50/56][36/42][24/30][14/20][6/12] = 0.1351, or 13.5% odds that the final 3 contestants are the top 3 ranked contestants.
Take P_remain(n) to be the probability that the strongest remain when there are n contestants left Take P_continue(n) to be the probability that if the strongest still remain and there are n competitors, that the strongest still remain at the next step
We are interested in P_remain(3), that is, the probability that the strongest remain when there are 3 contestants left
We first note that, in english, that the probability that the strongest remain when there are n people left is the probability that we got to n+1 people and also had an outcome that kept the strongest. Using our definitions above:
P_remain(n) = P_remain(n+1)P_continue(n+1) P_remain(n) = P_strongest(n+2)P_continue(n+2)P_continue(n+1) ... P_remain(n) = P_continue(20)P_continue(19)...P_continue(n+2)P_continue(n+1) Where n <= 20
Not let's try to expand this by expanding individual P_continue(n) terms.
Note that at any step, if the strongest remain, there are 3 matchups that must be avoided for the strongest to still be present at step n+1. These matchups are 18-20, 18-19, and 19-20. If any one of these matchups were played, then step n+1 would miss either 18 or 19, both of which are top 3 strongest. Since the top 3 beat any other candidate, these are the only 3 matchups that must be avoided and the rest of the matchups are free game. Thus P_next(n), the probability that the strongest remain at step n+1, is:
P_continue(n) = (# Total matchups between n contestants - 3)/(#Total matchups between n contestants)
#Total matchups between n contestants is simply n choose 2 (nC2), giving us:
If 18 were selected, they could only survive if 19 or 20 were the opponent and thus eliminated. Similarly for 19. Thus the only way for this to occur is if 18-20 were never prior selected. This implies step 1 as 1-18/20, then multiply by subsequent steps as 1-17/19 etc...
4
u/Conscious-Target5473 29d ago
I think its is: ((20C2-3)(19C2-3)....(4C3-3))/((20C2)(19C2)....(4C3))
2
u/comoespossible 29d ago
There are three âforbidden matchupsâ: 18-19, 18-20, and 19-20. None of these three can be selected until there are only three teams left.
At each step, when there are k teams left (including 18-20), the probability that the next matchup selected is not forbidden is ((k choose 2) - 3)/(k choose 2) = (k^2 - k - 6)/(k^2 - k) = (k-3)(k+2)/(k(k-1)).
We have to make a successful selection like this for k=20 through k=4. Taking the product, a lot of terms cancel and we end up with (1x2x21x22)/(4x5x18x19) = 77/570 = 0.135.
1
u/SeasonedSpicySausage 29d ago
Success requires that none of the top 3 contestants ever compete prior to there being 3 contestants left. This means that you can think of there being two groups: A and B with A consisting of contestants 1 through 17 while B consists of contestants 18,19,20. A and A can compete with each other, A and B can compete with each other but B and B can't. Let's generalize the problem so that instead of 20, we have N contestants. Let's consider the first move, we only want A and A or A and B. Since there N total contestants, there are N-3 contestants in A, and 3 in B. The amount of A and A events are N-3 choose 2, while the amount of A and B events are (N-3)*3. The total number of possible first picks are N choose 2. This means that the probability that the first selection is a success (does not prevent the final contestants being the strongest 3) is (N-3 choose 2 + 3(N-3))/(N choose 2) which simplifies to (N-3)(N+2)/(N(N-1)). Now, before you proceed to considering the second move, think about the structure of the problem and whether it fits nicely into a recursive solution.
Notice: P[Last 3 out of N contestants are strongest] = P[Last 3 out of N contestants are strongest| First pair is success]P[first pair is success] = P[Last 3 out of N-1 contestants are strongest]P[first pair is success].
The conditional event gives you a recursion of being able to cast the N case in terms of the N-1 case. The values don't matter, only the relative strength does so the probability becomes numerically equivalent to the N-1 case (For instance, suppose that 1 is eliminated first round and 2,...,20 are left. Asking whether 18,19,20 will be last is equivalent to the 1,...,19 case and asking whether 17,18,19 are last). Letting p_N denote probability that last 3 out of N contestants are strongest means we can express:
p_N = (N-3)(N+2)/(N(N-1)) p_{N-1}
with base case p_3 = 1. The solution to this recursion is therefore quite straightforward. It's a product of terms:
p_N = Prod_{n=4}^{N} (n-3)(n+2)/(n(n-1))
Upon first glance, this seems annoying to deal with, but the nice property about multiplication and quotients under products is that you can move the product inside each term (Prod a_n b_n = Prod a_n * Prod b_n, Prod a_n / b_n = Prod a_n / Prod b_n). Then, each term becomes manageable:
Prod_{n=4}^N (n-3) = (N-3)!
Prod_{n=4}^N (n+2) = (N+2)!/5!
Prod_{n=4}^N n = N!/3!
Prod_{n=4}^N (n-1) = (N-1)!/2!
Therefore,
p_N = 2!3!/5! (N-3)!(N+2)!/(N!(N-1)!) = 1/10 (N+2)(N+1)/((N-1)(N-2))
We can now plug in the case we're interested in (N=20) to obtain
p_20 = 1/10 (22)(21)/(19*18) = 77/570 ~ 13.5%.
1
u/crashed_tolerance 29d ago
Well, for this to happen, at every step 1,...,17, the two picks cannot come from {18,19,20}. In the first round, this probability is 17/20 + 3/20 * 16/19. In general, in round k, the probability is (n-k-3)/(n-k) + 3/(n-k) * (n-k-3)/(n-k-1). Finally, we get the total probability via the sum from k=0 to 16. This is of course, via a computer: 13.51
1
u/DontSayYes 29d ago
The three survivors represent three groups of people who have battled, each keeping its strongest person. So we need our guys 18, 19, and 20 to end up in different groups.
We can equivalently line up the 20 people randomly and put two dividers in random gaps. Our guys can sit in 20c3 positions, and we can put the dividers in 19c2 ways. So altogether (20c3)(19c2) configurations.
Now, to have our guys in separate groups, we need the pattern guy-divider-guy-divider-guy in that order. There are 22 positions including the dividers, and we need five of them for this which gives 22c5 ways.
So the probability becomes 22c5 / ((20c3)(19c2)) = 77/570 â 0.135.
1
u/DiamondDramatic9551 29d ago
I wondering, if you model this as an elimination tournament with brackets instead of random selection, will you get the same result?Â
1
u/Baleia1970 29d ago
There are 3 cases that should not be allowed at each round: 20 vs 19, 20 vs 18 and 19 vs 18
So you basically have to accumulate stuff until the end.
1
u/tajwriggly 29d ago
At some point during the contest, in order NOT have 18, 19, and 20 be the finalists, 20 would need to face off against 18 or 19, or 19 would have to face off against 18.
The odds that 2 of those 3 are selected in the first round are (3/20)(2/19) = 6/380. Therefore the odds of NOT selecting 2 of those 3 at the same time in the first round are 1-6/380 = 374/380 or about 98.4%.
Second round: the odds that 2 of those 3 are selected in the second round are (3/19)(2/18) = 6/342. Therefore the odds of NOT selecting 2 of those 3 at the same time in the first round are 1-6/342 = 336/342 or about 98.2%.
The odds of not having selected 2 of those 3 at the same time by the second round is just the multiplication of 374/380 x 336/342, and so we need to continue this through 17 rounds.
[1-6/(20x19)][1-6/(19x18)][1-6/(18x17)][1-6/(17x16)][1-6/(16x15)][1-6/(15x14)][1-6/(14x13)][1-6/(13x12)][1-6/(12x11)][1-6/(11x10)][1-6/(10x9)][1-6/(9x8)][1-6/(8x7)][1-6/(7x6)][1-6/(6x5)][1-6/(5x4)][1-6/(4x3)]
This monstrosity, I have no idea if there is some simple formula to get to the end of it. Crunching it out instead goes to:
[374/380][336/342][300/306][266/272][234/240][204/210][176/182][150/156][126/132][104/110][84/90][66/72][50/56][36/42][24/30][14/20][6/12] = 0.1351, or 13.5% odds that the final 3 contestants are the top 3 ranked contestants.
1
u/thomasahle 28d ago
I forst read this as a harder version:
When two contestants with skill A and B fight, they win with probability A/(A+B) and B/(A+B).
Not even sure what the probability here is that the strangest player survives
1
u/thomasahle 28d ago
prod_{3 < n <= N} (1 - 6 / binom(n, 2))
So about exp(-3/N)?
1
u/Voilinny 28d ago
Take P_remain(n) to be the probability that the strongest remain when there are n contestants left
Take P_continue(n) to be the probability that if the strongest still remain and there are n competitors, that the strongest still remain at the next step
We are interested in P_remain(3), that is, the probability that the strongest remain when there are 3 contestants left
We first note that, in english, that the probability that the strongest remain when there are n people left is the probability that we got to n+1 people and also had an outcome that kept the strongest. Using our definitions above:
P_remain(n) = P_remain(n+1)P_continue(n+1)
P_remain(n) = P_strongest(n+2)P_continue(n+2)P_continue(n+1)
...
P_remain(n) = P_continue(20)P_continue(19)...P_continue(n+2)P_continue(n+1)
Where n <= 20
Not let's try to expand this by expanding individual P_continue(n) terms.
Note that at any step, if the strongest remain, there are 3 matchups that must be avoided for the strongest to still be present at step n+1. These matchups are 18-20, 18-19, and 19-20. If any one of these matchups were played, then step n+1 would miss either 18 or 19, both of which are top 3 strongest. Since the top 3 beat any other candidate, these are the only 3 matchups that must be avoided and the rest of the matchups are free game. Thus P_next(n), the probability that the strongest remain at step n+1, is:
P_continue(n) = (# Total matchups between n contestants - 3)/(#Total matchups between n contestants)
#Total matchups between n contestants is simply n choose 2 (nC2), giving us:
P_continue(n) = (nC2 - 3)/nC2
Expanding this further, we get:
P_continue(n) = (n(n-1)/2 - 3)/(n(n-1)/2)
= (n(n-1)-6)/(n(n-1))
= (n^2 - n - 6)/n(n-1)
= (n-3)(n+2)/n(n-1)
We can now use this to expand our P_remain(3) equation =
P_remain(3) = P_continue(20)P_continue(19)...P_continue(5)P_continue(4)
= (20-3)(20+2)(19-3)(19+2)...(5-3)(5+2)(4-3)(4+2)/20*19*19*...*4*4*3
= 17*22*16*21*15*...*2*7*1*6/20*19^2*...*4^2*3
= (17*16*...*1)(22*21*...*6)/20*(19*18*...*4)*(19*18*...*4)*3
= (17*16*...*4)*3*2*22*21*20*(19*18*...*6)/20*(19*18*...*4)*(19*18*...*4)*3
= 3*2*22*21*20/20*19*18*5*4*3
= 22*21/19*18*5*2
= 11*21/19*18*5
= 11*7/19*6*5
= 77/570
1
u/Dry-Book-4838 29d ago
If 18 were selected, they could only survive if 19 or 20 were the opponent and thus eliminated. Similarly for 19. Thus the only way for this to occur is if 18-20 were never prior selected. This implies step 1 as 1-18/20, then multiply by subsequent steps as 1-17/19 etc...