Q. 4.3
Question
A coin that when flipped comes up heads with probability is flipped until either heads or tails has occurred twice. Find the expected number of flips
Step-by-Step Solution
VerifiedThe expected number of flips is
Given in the question that the coin was flipped comes up heads with probability is flipped until either heads or tails has occurred twice.
Consider is a number of tosses of the coin.
For and as two heads or two tails are not possible.
For and as two heads or two tails are not possible.
For and as two heads or two tails are possible.
Therefore,
or
We get,
Since if head occurs then the probability is otherwise if tail occurs then the probability is
For the probability of two heads or two tails is surely one.
But this has not occurred with
It means that if does not occur with
Outcome surely occurs
Thus, we find out changes outcome does not happen with
That is,
The Distribution Table is shown as below:
Find the value
Simplifying the equation
We get,
.
The expected number of flips is