Expected flips of a biased coin until the first tail
Asked at Optiver, SIG
A biased coin lands heads with probability and tails with probability . You flip it until it lands tails for the first time.
What is the expected number of flips?
Show a hint
The event you are waiting for is a tail. What is its probability, and what is the mean of a geometric wait?