Expected value, unexpected famous fraction

Toss three fair coins at a time (first round of tosses). In the next round, you pick up only the coins that came up tails and toss them again. You repeat the procedure and count the rounds until there are no more tails to pick up.

The expected number of rounds of tosses before you stop can be expressed as A B \dfrac{A}{B} , with A , B A,B coprime.

Find A + B A+B .


Examples of possible outcomes: { T , H , T } , { T , T } , { T , H } , { T } , { H } 5 rounds { H , H , H } 1 round { H , H , T } , { T } , { T } , { H } 4 rounds { T , T , T } , { T , T , H } , { H , H } 3 rounds \{T,H,T\},\{T,T\},\{T,H\},\{T\},\{H\} \implies 5 \text{ rounds} \\ \{H,H,H\} \implies 1 \text{ round} \\ \{H,H,T\},\{T\},\{T\},\{H\} \implies 4 \text{ rounds} \\ \{T,T,T\},\{T,T,H\},\{H,H\} \implies 3 \text{ rounds} \\


The answer is 29.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Gabriel Chacón
Apr 22, 2019
  • If at any point of the process we have three heads, the expected value of rounds of tosses at that point is E 3 = 0 E_3=0 since we have achieved the goal. E 3 E_3 is the "state" of having three heads.

  • If at any point we have two heads ( E 2 ) (E_2) , we can write the following equation: E 2 = 1 + 1 2 E 3 + 1 2 E 2 E 2 = 1 + 1 2 0 + 1 2 E 2 E 2 = 2 E_2=1+\frac{1}{2}E_3+\frac{1}{2}E_2 \implies E_2=1+\frac{1}{2}\cdot 0+\frac{1}{2}E_2 \implies E_2=2 .

Make sure you understand what this last equation means: we toss the coins once more ( 1 + ) (1+\ldots) and we have a 50% chance of achieving the goal ( E 3 ) (E_3) or a 50% chance of going back to where we started ( E 2 ) (E_2) .

  • If at a certain point we have one heads, the equation now is: E 1 = 1 + 1 4 E 3 + 2 4 E 2 + 1 4 E 3 E 1 = 1 + 1 4 0 + 2 4 2 + 1 4 E 3 E 3 = 8 3 E_1=1+\frac{1}{4}E_3+\frac{2}{4}E_2+\frac{1}{4}E_3 \implies E_1=1+\frac{1}{4}0+\frac{2}{4}2+\frac{1}{4}E_3\implies E_3=\dfrac{8}{3} .

Note that in this case there is one way out of four of reaching the goal (H,H), two ways out of four of jumping to state E 2 E_2 , (H,T) and (T,H), and one way out of four of remaining in the same state E 1 E_1 , (T,T), hence the probabilities used.

  • Finally, at the start we have no heads, so the equation becomes: E 0 = 1 + 1 8 E 3 + 3 8 E 2 + 3 8 E 1 + 1 8 E 0 E 0 = 1 + 1 8 0 + 3 8 2 + 3 8 8 3 + 1 8 E 0 E 0 = 22 7 E_0=1+\frac{1}{8}E_3+\frac{3}{8}E_2+\frac{3}{8}E_1+\frac{1}{8}E_0 \implies E_0=1+\frac{1}{8}\cdot 0+\frac{3}{8}\cdot2+\frac{3}{8}\cdot\frac{8}{3}+\frac{1}{8}E_0 \implies E_0=\dfrac{22}{7}

A = 22 , B = 7 A=22, B=7 and A + B = 29 \boxed{A+B=29}

The title of the problem refers to the fraction 22 7 \dfrac{22}{7} , which is the famous approximation of π \pi used by Archimedes.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...