Question Details

Suppose the probability that a coin toss shows “head” is p, where 0<p<1. The coin is tossed repeatedly until the first “head” appears. The expected number of tosses required is

Options

A

p/1-p

B

1-p/p

C

1/p

D

1/p2

Correct Answer :

1/p

Solution :

The correct option is 1/p.

To find the expected number of tosses required to get the first head, we can model this process using a geometric distribution. Let X be the random variable representing the number of tosses required to obtain the first "head".

The probability of getting a head on any individual toss is given as p, and the probability of getting a tail is 1-p. The first head occurs on the k-th toss if and only if we get k-1 consecutive tails followed by a head. Therefore, the probability mass function of X is:

P ( X = k ) = ( 1 - p ) k - 1 p

where k=1,2,3,...

The expected value E[X] is the sum of the product of each possible outcome and its probability:

E [ X ] = k = 1 k · P ( X = k ) = k = 1 k ( 1 - p ) k - 1 p

We can factor out the constant p from the summation:

E [ X ] = p k = 1 k ( 1 - p ) k - 1

To evaluate the infinite series, let q=1-p. Since 0<p<1, we have 0<q<1. The series becomes k=1kqk-1.
We know the sum of a standard infinite geometric series is:

k = 0 q k = 1 1 - q

Differentiating both sides with respect to q, we obtain:

k = 1 k q k - 1 = d d q ( 1 - q ) - 1 = 1 ( 1 - q ) 2

Substituting 1-q=p back into this equation gives:

k = 1 k ( 1 - p ) k - 1 = 1 p 2

Finally, we plug this result back into our expectation formula:

E [ X ] = p · 1 p 2 = 1 p

Thus, the expected number of tosses required to get the first head is 1p.

Unlock Our Free Library

Access expert-curated educational resources and study materials—completely free.