Learn / Library / Expected value
Red neighbours in a deck
A standard deck of cards, with red and black, is shuffled uniformly at random and laid out in a row. Count the adjacent pairs of positions where both cards are red. What is the expected value of this count? Give a fraction a/b in lowest terms.
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Find the probability that a specific adjacent pair of cards is entirely red, then multiply by the number of pairs.
Solution
- The row has adjacent pairs of positions.
- The first card of a pair is red with probability , and given that, the second is red with probability .
- So a pair is double red with probability .
- By linearity the expectation is , which equals .
Answer: