Sign up ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Suppose flipping a coin with probability $p$ to get a head. Suppose we flip it until a head appear. What is the mean number of flip required getting a head? (Better to use conditional expectation to show the mean)

share|cite|improve this question
What do you mean by the last sentence? Is it a question? – Stefan Hansen Sep 29 '12 at 10:07
Ya, but i am asking if someone can use conditional expectation to solve the problem – Mathematics Sep 29 '12 at 10:20

1 Answer 1

If $E$ is the expected number of flips, then we have following relation $$ E = p\cdot 1+ (1-p)\cdot(1+E)$$ because with probability $p$ we succeed at first try and with probability $1-p$ we have "wasted" one try and start again. Once we agree that $E$ is finite, this produces $$ E = \frac1p.$$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.