Learn / Library / Expected value
Squared streak payout
A fair coin is flipped repeatedly and independently until the first tail. Let be the number of heads before that tail. You are paid . What is your expected payout?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Condition on the first flip: after a head the process restarts with the count shifted by .
Solution
- Let and note for this geometric count.
- With probability the first flip is a tail and .
- With probability it is a head, and then , where is a fresh copy of .
- So .
- This gives , hence .
Answer: