Let Z be the number of the first toss in which we see a tail coming after a head.
What is the Expected value of Z (Mean)?
I figured out that for the Z-1 times the is the geometric for the first head appear.
Let Z be the number of the first toss in which we see a tail coming after a head.
What is the Expected value of Z (Mean)?
I figured out that for the Z-1 times the is the geometric for the first head appear.
Copyright © 2021 JogjaFile Inc.
Denote the desired expected value by $x$. If you get heads first, you then have to wait for tails with success probability $p=\frac12$ and thus expected time $1\div\frac12=2$. If you get tails first, you're back to where you started. Thus
$$ x=1+\frac12(2+x) $$
Solving for $x$ yields $x=4$.