This is kind of an extension question to this: Expected value of sums. Suppose we draw cards out of a deck without replacement. How many cards do we expect to draw out before we get the first ace and the first king (including the ace/king depending on which comes out first)?
My solution:
- Let the first ace be $A$ and the first king be $K$. By symmetry, half the time we would expect $A$ to come before $K$.
- Now we have a situation like this $----A----K----$ i.e. $3$ spaces. Let's call them $X_1, X_2,$ and $X_3$ going from left to right.
- Now all non aces and non kings can go in $X_1, X_2 and X_3$ with equal probability. There are $52 - 8 = 44$ such cards so at the moment, we have $E(X_1) = \frac{44}{3}, E(X_2) = \frac{44}{3}, E(X_3) = \frac{44}{3}$
- For A to be the first ace, the other 3 aces can only go in spaces $X_2 or X_3$ and each of these aces goes in with probability $\frac{1}{2}$ giving $3 * \frac{1}{2} = \frac{3}{2}$.
- For the remaining 3 kings, they must all go in $X_3$ with probability 1.
- So $E(X_1) = \frac{44}{3}, E(X_2) = \frac{44}{3} + \frac{3}{2} = \frac{97}{6} and E(X_3) = \frac{44}{3} + \frac{3}{2} + 3 = \frac{115}{6}$
- Going back to this $----A----K----$, the expected number of cards drawn before we get an ace and a king is $E(X_1) + 1 + E(X_2) + 1 = \frac{197}{6}$
Is this correct? I don't have the answer because I made it up myself.