(i) | $k$ of these $n$ students are politically correct and, thus, refuse to say Merry Christmas. Instead, they say Happy Holidays. |
(ii) | $n - k$ of these $n$ students do not care about political correctness and, thus, they say Merry Christmas. |
Define the random variable $X$ as the number of positions $i$ with $1 \leq i \leq \left. n \middle/2 \right.$ such that both students at positions $i$ and $2i$ are politically correct.
What is the expected value $\mathbb{E}(X)$ of the random variable $X$?Hint: Use indicator random variables.
Let $X_i$ be 1 if the students at positions $i$ and $2i$ are politically correct
Well, $S_n$ corresponds to $S_{ \frac{n}{2} }$
$S_{n-2}$ corresponds to $S_{ \frac{n}{2}-1}$
$S_{n-4}$ corresponds to $S_{ \frac{n}{2}-2}$
Half of everyone has a corresponding junior
$ E(X) = \sum_{i=1}^{n/2} Pr(X_i=1) $
$ E(X) = \sum_{i=1}^{n/2} \frac{k \cdot (k-1) }{n \cdot (n-1) } $
$ E(X) = \frac{k (k-1) }{n (n-1) } \cdot \frac{n}{2} $
IT’S OVER. THE PAIN. THE SUFFERING. THE NIGHTMARES.