Quoto

Learn / Library / Expected value

Red neighbours in a deck

Expected valueMedium

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.

A whole number, a decimal, a fraction like 3/8 or a percent.

Hint

Find the probability that a specific adjacent pair of cards is entirely red, then multiply by the number of pairs.

Solution
  1. The row has adjacent pairs of positions.
  2. The first card of a pair is red with probability , and given that, the second is red with probability .
  3. So a pair is double red with probability .
  4. By linearity the expectation is , which equals .

Answer: