Knockout Stage

Sign up to mark as complete Sign up to bookmark this question
Asset Pricingx / 34
Behavioral Questionsx / 7
Brain Teasersx / 70
Derivatives Theoryx / 104
Digital Assets - Cryptox / 64
Energy Tradingx / 40
Linear Algebrax / 24
Math Questionsx / 26
Probability and Statistics Theoryx / 120
Programmingx / 34
Totalx / 524

Sign up to track your progress

Knockout Stage

32 teams are playing in a competition. They are currently at the knock out stage, where each game 2 teams compete with each other to continue to the next round. The stages look as follows:

knockoutstage

The teams are numbered from 1 to 32, according to their superiority. In other words, Team #1 always beats Team #2, Team #2 always beats Team #3, etc.

What's the probability that Team #1 and Team #3 will play in the final?
Consider the "two sides" of the knockout stage table, being the left side of the table, and the right side of the table. As you can see in the figure, teams from opposite sides of the final can only meet in the final. Therefore, we need to meet two conditions:
  • Team #3 needs to be on the opposite side of the table compared to Team #1, otherwise they won't meet in the final.
  • Team #2 needs to be on the same side as Team #1, such that it will be eliminated agains Team #1 and it won't face (and eliminate) Team #3.
So, the probability that Team #1 and Team #3 meet in the final is equal to

(1)  

  • "1" because Team #1 can start at either the left side or the right side.
  • because Team #3 needs to be at the opposite side from Team #1, where it can be at any of the 16 of the remaining 31 spots.
  • because team #2 needs to be at the same side as Team #1, where it can be at any of the 15 of the remaining 30 spots. The reason it's 15 and not 16 is because Team #1 already has one spot at that side of the tree.
Alternative method - Combinatorial Analysis

It would be possible to solve this using combinatorial analysis as well, however, it's more intensive to do so.
  • In order to construct a halve of the three, there is a total of ways to do so.
  • Considering the positions of Teams #1 (first halve), #2 (first halve), and #3 (second halve) are fixed, the number of successful ways to order the teams in the first halve is .
This is only done for if Teams #1 and #2 are in the first halve of the tree, and Team #3 in the other halve. It can also happen the other way around. Therefore, the probability that Team #1 and Team #3 end up in the final, is equal to

(2)  

Simulation
If you want to simulate this with Python, try the following:
import random


def simulate_tournament():
teams = list(range(1, 33))
random.shuffle(teams)

half1 = teams[:16]
half2 = teams[16:]

if 1 in half1 and 3 in half2 and 2 in half1:
return True
elif 1 in half2 and 3 in half1 and 2 in half2:
return True
else:
return False

def estimate_probability(num_simulations=100000):
count = 0
for _ in range(num_simulations):
if simulate_tournament():
count += 1
return count / num_simulations

probability = estimate_probability()
probability
Title Category Subcategory Difficulty Status
All Faces Probability and Statistics TheoryGeneralMedium
All-Boy City Probability and Statistics TheoryGeneralEasy
Bikes on Road Probability and Statistics TheoryGeneralEasy
Birthday Problem #1 Probability and Statistics TheoryGeneralEasy
Birthday Problem #2 Probability and Statistics TheoryGeneralEasy
Both Card Colors Probability and Statistics TheoryGeneralEasy
Checkmate Probability and Statistics TheoryGeneralEasy
Coins Race #1 Probability and Statistics TheoryGeneralEasy
Complementary Probability and Statistics TheoryGeneralMedium
Even Heads Probability and Statistics TheoryGeneralEasy
Even Sum Probability and Statistics TheoryGeneralEasy
Exponential Distribution #2 Probability and Statistics TheoryGeneralMedium
Five Ascending Cards Probability and Statistics TheoryGeneralMedium
Gambler's Ruin Probability and Statistics TheoryGeneralEasy
Going to the Beach Probability and Statistics TheoryGeneralHard
Higher Card Probability and Statistics TheoryGeneralMedium
Jumping Robots Probability and Statistics TheoryGeneralHard
Lower Dice Probability and Statistics TheoryGeneralMedium
Meeting Probability Probability and Statistics TheoryGeneralEasy
Old Phone #1 Probability and Statistics TheoryGeneralMedium
Old Phone #2 Probability and Statistics TheoryGeneralHard
Optimal Spread Probability and Statistics TheoryGeneralHard
Outcome Dice Probability and Statistics TheoryGeneralEasy
Perfect Correlation Probability and Statistics TheoryGeneralEasy
Rainy Day Probability and Statistics TheoryGeneralMedium
Tennis Game Probability and Statistics TheoryGeneralMedium
Example
Uniform Distribution #2 Probability and Statistics TheoryGeneralMedium
Uniform Distribution #3 Probability and Statistics TheoryGeneralMedium
Uniformly Distributed Profit Probability and Statistics TheoryGeneralMedium
Variance of Two Variables Probability and Statistics TheoryGeneralEasy
Walking Home Probability and Statistics TheoryGeneralEasy
Win in 2 or 3 Sets Probability and Statistics TheoryGeneralEasy

Please log in to see the discussion.