Quoto

Learn / Library / Expected value

Matching neighbours in coin row

Expected valueEasy

A fair coin is flipped times independently, giving a row of outcomes. Count the adjacent pairs of flips that show the same side. 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

Count the adjacent pairs, then find the chance that one pair matches.

Solution
  1. A row of flips has adjacent pairs.
  2. For one pair, the second flip equals the first with probability .
  3. Each pair has an indicator with expectation , and linearity applies even though neighbouring pairs overlap.
  4. The total is .

Answer: