Quoto

Learn / Library / Expected value

Paying per flip

Expected valueEasy

A fair coin is flipped repeatedly until the first head appears. Each flip costs . What is the expected total cost?

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

First find the expected number of flips until the first head.

Solution
  1. The number of flips until the first head is geometric with success probability .
  2. Its expected value is flips.
  3. Each flip costs , so by linearity the expected cost is .
  4. The expected total cost is .

Answer: