Q.7.5
Question
A deck of n cards consists of n red and n black cards. The cards are shuffled and then turned over one at a time. Suppose that each time a red card is turned over, we win 1 unit if more red cards than black cards have been turned over by that time. (For instance, if n = and the result is r b r b, then we would win a total of units.) Find the expected amount that we win.
Step-by-Step Solution
VerifiedThe expected amount that we win is
If n = and the result is r b r b, then we would win a total of units
Assume that deck of n cards consists of equal number of red and black cards, n of each. Further, assume that the cards are shuffled and then turned over one at a time, whereby each time a red card is turned over, we win unit if more red cards than black cards have been turned over by that time. Let X represents the amount that we win.
If we define indicator variables as:
Whereby Ej denote the event:
We have that
Therefore, the expected amount that we win is
So, let's find the probability P{Ej}. Since we win unit if j th red card appears before j th black card and by symmetry, we have that
The expected amount that we win is