I have a bag containing M tokens, m of which are red. I remove n tokens from the bag at random without replacement. Let Xi=1 if the ith token I remove is red; let Xi=0 if not. Let X be the total number of red tokens I remove.
- Explain briefly why X=X1+X2+⋯+Xn.
- Find the expectation E(Xi).
- Show that E(X)=Mmn.
- Find P(X=k) for k=0,1,2,…,n.
- Deduce that k=1∑nk(km)(n−kM−m)=m(n−1M−1).