110k views
1 vote
A coin will be flipped repeatedly until the sequence TTH (tail/tail/head) comes up. Successive flips are independent, and the coin has probability p of coming up heads. Let N,TTH be the number of coin flips until TTH first appears. What value of p minimizes Ex[N,TTH]

1 Answer

4 votes

Answer:


P = (1)/(3)

Explanation:

The calculation of the value of p minimizes is shown below:-

We will assume the probability of coming heads be p

p(H) = p

p(T) = 1 - P

Now, H and T are only outcomes of flipping a coin

So,

P(TTH) = (1 - P) = (1 - P) (1 - P) P

= (1 + P^2 - 2 P) P

= P^3 - 2P^2 + P

In order to less N,TTH

we need to increase P(TTH)

The equation will be


(d P(TTH))/(dP) = 0

3P^2 - 4P + 1 = 0

(3P - 1) (P - 1) = 0

P = 1 and 1 ÷ 3

For P(TTH) to be maximum


(d^2 P(TTH))/(dP) < 0 for\ P\ critical\\\\(d (3P^2 - 4P - 1))/(dP)

= 6P - 4

and

(6P - 4) is negative which is for


P = (1)/(3)

User Xxbbcc
by
4.4k points