Grinstead-Snell-Probability · Problem 33

Combinatorics

Mathematics · combinations-stirling

Problem

2n2n balls are chosen at random from a total of 2n2n red balls and 2n2n blue balls. Find a combinatorial expression for the probability that the chosen balls are equally divided in color. Use Stirling's formula to estimate this probability. Using BinomialProbabilities, compare the exact value with Stirling's approximation for n=20n = 20.
Intuitive explanation

The core concept is hypergeometric probability: you're sampling without replacement from a finite population, and you want the probability of getting exactly nn red and nn blue balls. The key insight is that the number of favorable outcomes (ways to choose nn red from 2n2n red and nn blue from 2n2n blue) divided by total outcomes (ways to choose 2n2n balls from 4n4n total) gives you a ratio of binomial coefficients. Stirling's formula then lets you approximate this ratio for large nn by converting factorials into simpler asymptotic forms, revealing how the probability scales with nn.

Intuitive explanation

The core concept is hypergeometric probability: you're sampling without replacement from a finite population, and you want the probability of getting exactly nn red and nn blue balls. The key insight is that the number of favorable outcomes (ways to choose nn red from 2n2n red and nn blue from 2n2n blue) divided by total outcomes (ways to choose 2n2n balls from 4n4n total) gives you a ratio of binomial coefficients. Stirling's formula then lets you approximate this ratio for large nn by converting factorials into simpler asymptotic forms, revealing how the probability scales with nn.

Browse the problem library