I don't understand what I found when calculating the expected value of a card game.
A deck contains 40 cards. 8 of them are red cards and 32 of them are blue cards. At the start of the game, 5 cards are drawn to be the starting hand. The question is to find the expected value of drawing red cards in the starting hand.
d = number of cards in deck
r = number of red cards in deck
b = number of blue cards in deck
s = number of starting hands
n = number of red cards drawn in starting hand
I believe the probability drawing n red cards in starting hand is something like this,
$P_n = \frac{C_n^r×C_{s-n}^{b}}{C_s^{d}}$
I believe the expected value of number of red cards drawn in starting hand should be like (and given that r>s),
$$E(n) = \sum_{n=0}^s n×P_n$$
So r=8 in this case, E(n) should be 1 if calculated correctly
After that, I modify the deck, so there will be 16 red cards and 24 blue cards. And the deck size remains unchanged. So r=16 and the returned value of E(n) is 2 if I calculated correctly.
At this moment, I noticed that to calculate E(n), I can just simply calculate this,
$\frac{r} {d}×s$
I don't understand why this is possible. I tried to simplify the expression of the equation from my original calculation but I failed. Could anyone kindly explain to me what happened?
Edit: Thank you very much for the first 2 responses, but I would like to ask if there is a way to simplify this,
$\sum_{n=0}^s n × \frac{C_n^r×C_{s-n}^{b}}{C_s^{d}}$ (where r>s)
Into this, $\frac{r} {d}×s$