Let's address each part of the problem step-by-step.
1. What is Pr[Ej,T]?
Answer:
The event ( E_{j,T} ) signifies that all balls in subset ( T ) are placed into bin ( B_j ). Since each ball is placed independently and uniformly at random into one of the ( n ) bins, the probability that a single ball is placed into ( B_j ) is ( \frac{1}{n} ).
For a subset ( T ) of size ( k ), the probability that all ( k ) balls in ( T ) are placed into ( B_j ) is:
[
\Pr[E_{j,T}] = \left(\frac{1}{n}\right)^k
]
2. Express the event Ej in terms of events Ej,T.
Answer:
The event ( E_j ) denotes that bin ( B_j ) contains at least ( k ) balls. This can be expressed as the union of all possible events ( E_{j,T} ) where ( T ) is any subset of ( k ) balls. In other words, ( E_j ) occurs if any subset of ( k ) balls is entirely placed in ( B_j ).
Formally,
[
E_j = \bigcup_{\substack{T \subseteq {b_1, b_2, \dots, b_n} \ |T| = k}} E_{j,T}
]
3. What is an upper bound on Pr[Ej]?
Answer:
To find an upper bound on ( \Pr[E_j] ), we can apply the Union Bound. Since ( E_j ) is the union of all ( E_{j,T} ) events for each subset ( T ) of size ( k ), the probability of ( E_j ) is at most the sum of the probabilities of all ( E_{j,T} ).
The number of such subsets ( T ) is ( \binom{n}{k} ), and each ( \Pr[E_{j,T}] = \left(\frac{1}{n}\right)^k ). Therefore,
[
\Pr[E_j] \leq \binom{n}{k} \cdot \left(\frac{1}{n}\right)^k
]
Using the upper bound for the binomial coefficient ( \binom{n}{k} \leq \left(\frac{e n}{k}\right)^k ), we can further write:
[
\Pr[E_j] \leq \left(\frac{e n}{k}\right)^k \cdot \frac{1}{n^k} = \left(\frac{e}{k}\right)^k
]
4. What is the least value of k (call it k∗), as a function of n, such that Pr[Ej] ≤ 0.01/n? Give justification.
Answer:
We aim to find the smallest integer ( k^* ) such that:
[
\Pr[E_j] \leq \frac{0.01}{n}
]
From part 3, we have:
[
\Pr[E_j] \leq \left(\frac{e}{k}\right)^k
]
Setting this less than or equal to ( \frac{0.01}{n} ):
[
\left(\frac{e}{k^}\right)^{k^} \leq \frac{0.01}{n}
]
Taking natural logarithms on both sides:
[
k^* \left(1 - \ln k^\right) \leq \ln(0.01) - \ln n
]
To satisfy this inequality, ( k^ ) must be chosen such that the left-hand side grows sufficiently to counterbalance the right-hand side. Through asymptotic analysis, it's established that the minimal ( k^* ) satisfying this condition is:
[
k^* = \Theta\left(\frac{\ln n}{\ln \ln n}\right)
]
This means that up to a constant factor, ( k^* ) grows proportionally to ( \frac{\ln n}{\ln \ln n} ).
5. Show that with probability 0.99, all bins have at most k∗ balls.
Answer:
From part 4, for each bin ( B_j ), the probability that it contains at least ( k^* ) balls is at most ( \frac{0.01}{n} ):
[
\Pr[E_j] \leq \frac{0.01}{n}
]
To find the probability that any bin has at least ( k^* ) balls, we apply the Union Bound across all ( n ) bins:
[
\Pr\left(\bigcup_{j=1}^n E_j\right) \leq \sum_{j=1}^n \Pr[E_j] \leq n \cdot \frac{0.01}{n} = 0.01
]
This implies that the probability that no bin has at least ( k^* ) balls is at least ( 1 - 0.01 = 0.99 ). Therefore, with probability 0.99, all bins have at most ( k^* ) balls.
Summary:
- ( \Pr[E_{j,T}] = \left(\frac{1}{n}\right)^k ).
- ( E_j = \bigcup_{\substack{T \subseteq {b_1, \dots, b_n} \ |T| = k}} E_{j,T} ).
- ( \Pr[E_j] \leq \binom{n}{k} \cdot \left(\frac{1}{n}\right)^k ).
- The minimal ( k^* ) is on the order of ( \frac{\ln n}{\ln \ln n} ).
- With probability 0.99, all bins contain at most ( k^* ) balls.