I was reading: https://math.stackexchange.com/a/1839505/1015824
But still I can't understand how to calculate any of the following: $(3|), (3|H)...$
I know that $E(x)=E(E(X|Y))$ but I don't know how to calculate the above expected value...
I was reading: https://math.stackexchange.com/a/1839505/1015824
But still I can't understand how to calculate any of the following: $(3|), (3|H)...$
I know that $E(x)=E(E(X|Y))$ but I don't know how to calculate the above expected value...
The expected number of tosses to obtain three consecutive heads given that the first toss is a tail equals one plus the expected number of tosses to obtain three consecutive heads (starting from that point). $$\mathsf E(3H\mid T) = 1+\mathsf E(3H)$$
This is the $(1+x)$ factor in the original solution. The factor of $\tfrac 12$ is the probability for the first toss showing a tail.
So are the other terms evaluated.