Learn / Library / Expected value
Biased coin game
A biased coin shows heads with probability on each independent flip. You flip until the first head. Each flip costs , and when the first head appears you receive . What is your expected net profit?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Net profit is the prize minus the expected cost of flipping.
Solution
- The number of flips until the first head is geometric with success probability .
- The expected number of flips is .
- The expected flipping cost is therefore .
- The prize is always received, so the expected net profit is .
- The answer is .
Answer: