Who has more probability of winning the game? The 2019 Stack Overflow Developer Survey Results Are InA coin tossing game with two playersHow does one calculate the expected number of coin flips for this game to last?probability puzzle, expected payoff for gameprobability that Janani will win the game?Probability of A staying ahead of BProbability of winning a rigged coin-flipping gameCoin toss game - Probability of winningA coin Toss conditional probability questionwhat is the probability of BOB winning the game?Biased coin toss problem - Understanding a problem correctlyHow do the chances of winning Game A compare to the chances of winning Game B?

Why isn't airport relocation done gradually?

Is there a symbol for a right arrow with a square in the middle?

Multiply Two Integer Polynomials

Output the Arecibo Message

What does ひと匙 mean in this manga and has it been used colloquially?

What is the meaning of Triage in Cybersec world?

For what reasons would an animal species NOT cross a *horizontal* land bridge?

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Does the shape of a die affect the probability of a number being rolled?

Why do UK politicians seemingly ignore opinion polls on Brexit?

Why didn't the Event Horizon Telescope team mention Sagittarius A*?

How to support a colleague who finds meetings extremely tiring?

Button changing it's text & action. Good or terrible?

Why isn't the circumferential light around the M87 black hole's event horizon symmetric?

What do the Banks children have against barley water?

Should I use my personal e-mail address, or my workplace one, when registering to external websites for work purposes?

How to manage monthly salary

Time travel alters history but people keep saying nothing's changed

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?

Deal with toxic manager when you can't quit

When should I buy a clipper card after flying to OAK?

Have you ever entered Singapore using a different passport or name?

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?



Who has more probability of winning the game?



The 2019 Stack Overflow Developer Survey Results Are InA coin tossing game with two playersHow does one calculate the expected number of coin flips for this game to last?probability puzzle, expected payoff for gameprobability that Janani will win the game?Probability of A staying ahead of BProbability of winning a rigged coin-flipping gameCoin toss game - Probability of winningA coin Toss conditional probability questionwhat is the probability of BOB winning the game?Biased coin toss problem - Understanding a problem correctlyHow do the chances of winning Game A compare to the chances of winning Game B?










1












$begingroup$




Alice and Bob play a coin tossing game. A fair coin (that is, a coin with equal probability of landing heads and tails) is tossed repeatedly until one of the following happens.



$1.$ The coin lands "tails-tails" (that is, a tails is immediately followed by a tails) for the first time. In this case Alice wins.



$2.$ The coin lands "tails-heads" (that is, a tails is immediately followed by a heads) for the first time. In this case Bob wins.



Who has more probability of winning the game?





My attempt $:$



Let $X$ be the random variable which counts the number of tosses required to obtain "tails-tails" for the first time and $Y$ be the random variable which counts the number of tosses required to obtain "tails-heads" for the first time. It is quite clear that if $Bbb E(X) < Bbb E(Y)$ then Alice has more probability of winning the game than Bob$;$ otherwise Bob has more probability of winning the game than Alice. Let $X_1$ be the event which denotes "the first toss yields heads", $X_2$ be the event which denotes "tails in the first toss followed by heads in the second toss", $X_3$ be the event which denotes "tails in the first toss followed by tails in the second toss". Then $X_1,X_2$ and $X_3$ are mutually exclusive and exhaustive events. Let $Bbb E(X) = r.$ So we have $$beginalign r & = Bbb E(X mid X_1) cdot Bbb P(X_1) + Bbb E(X mid X_2) cdot Bbb P(X_2) + Bbb E(X mid X_3) cdot Bbb P(X_3). \ & = frac 1 2 cdot (r+1) + frac 1 4 cdot (r+2)+ 2 cdot frac 1 4. \ & = frac 3r 4 + frac 3 2. endalign$$ $implies frac r 4 = frac 3 2.$ So $Bbb E(X) = r = 6.$



But I find difficulty to find $Bbb E(Y).$ Would anybody please help me finding this?



Thank you very much for your valuable time.










share|cite|improve this question











$endgroup$











  • $begingroup$
    "It is quite clear that...": I don't see this at all.
    $endgroup$
    – TonyK
    Mar 23 at 19:25










  • $begingroup$
    If you can't see leave it @TonyK.
    $endgroup$
    – math maniac.
    Mar 23 at 19:37











  • $begingroup$
    Well, in this case it's true, because the set-up is so simple: for any $n$, $Bbb P(X=n)=Bbb P(Y=n)$, as Ethan Bolker's answer explains. But for general $X$ and $Y$, I don't think it's true. (And if you can't take criticism, then you shouldn't be posting here.)
    $endgroup$
    – TonyK
    Mar 23 at 19:56










  • $begingroup$
    Which is true and which is not true @TonyK?
    $endgroup$
    – math maniac.
    Mar 23 at 19:59















1












$begingroup$




Alice and Bob play a coin tossing game. A fair coin (that is, a coin with equal probability of landing heads and tails) is tossed repeatedly until one of the following happens.



$1.$ The coin lands "tails-tails" (that is, a tails is immediately followed by a tails) for the first time. In this case Alice wins.



$2.$ The coin lands "tails-heads" (that is, a tails is immediately followed by a heads) for the first time. In this case Bob wins.



Who has more probability of winning the game?





My attempt $:$



Let $X$ be the random variable which counts the number of tosses required to obtain "tails-tails" for the first time and $Y$ be the random variable which counts the number of tosses required to obtain "tails-heads" for the first time. It is quite clear that if $Bbb E(X) < Bbb E(Y)$ then Alice has more probability of winning the game than Bob$;$ otherwise Bob has more probability of winning the game than Alice. Let $X_1$ be the event which denotes "the first toss yields heads", $X_2$ be the event which denotes "tails in the first toss followed by heads in the second toss", $X_3$ be the event which denotes "tails in the first toss followed by tails in the second toss". Then $X_1,X_2$ and $X_3$ are mutually exclusive and exhaustive events. Let $Bbb E(X) = r.$ So we have $$beginalign r & = Bbb E(X mid X_1) cdot Bbb P(X_1) + Bbb E(X mid X_2) cdot Bbb P(X_2) + Bbb E(X mid X_3) cdot Bbb P(X_3). \ & = frac 1 2 cdot (r+1) + frac 1 4 cdot (r+2)+ 2 cdot frac 1 4. \ & = frac 3r 4 + frac 3 2. endalign$$ $implies frac r 4 = frac 3 2.$ So $Bbb E(X) = r = 6.$



But I find difficulty to find $Bbb E(Y).$ Would anybody please help me finding this?



Thank you very much for your valuable time.










share|cite|improve this question











$endgroup$











  • $begingroup$
    "It is quite clear that...": I don't see this at all.
    $endgroup$
    – TonyK
    Mar 23 at 19:25










  • $begingroup$
    If you can't see leave it @TonyK.
    $endgroup$
    – math maniac.
    Mar 23 at 19:37











  • $begingroup$
    Well, in this case it's true, because the set-up is so simple: for any $n$, $Bbb P(X=n)=Bbb P(Y=n)$, as Ethan Bolker's answer explains. But for general $X$ and $Y$, I don't think it's true. (And if you can't take criticism, then you shouldn't be posting here.)
    $endgroup$
    – TonyK
    Mar 23 at 19:56










  • $begingroup$
    Which is true and which is not true @TonyK?
    $endgroup$
    – math maniac.
    Mar 23 at 19:59













1












1








1





$begingroup$




Alice and Bob play a coin tossing game. A fair coin (that is, a coin with equal probability of landing heads and tails) is tossed repeatedly until one of the following happens.



$1.$ The coin lands "tails-tails" (that is, a tails is immediately followed by a tails) for the first time. In this case Alice wins.



$2.$ The coin lands "tails-heads" (that is, a tails is immediately followed by a heads) for the first time. In this case Bob wins.



Who has more probability of winning the game?





My attempt $:$



Let $X$ be the random variable which counts the number of tosses required to obtain "tails-tails" for the first time and $Y$ be the random variable which counts the number of tosses required to obtain "tails-heads" for the first time. It is quite clear that if $Bbb E(X) < Bbb E(Y)$ then Alice has more probability of winning the game than Bob$;$ otherwise Bob has more probability of winning the game than Alice. Let $X_1$ be the event which denotes "the first toss yields heads", $X_2$ be the event which denotes "tails in the first toss followed by heads in the second toss", $X_3$ be the event which denotes "tails in the first toss followed by tails in the second toss". Then $X_1,X_2$ and $X_3$ are mutually exclusive and exhaustive events. Let $Bbb E(X) = r.$ So we have $$beginalign r & = Bbb E(X mid X_1) cdot Bbb P(X_1) + Bbb E(X mid X_2) cdot Bbb P(X_2) + Bbb E(X mid X_3) cdot Bbb P(X_3). \ & = frac 1 2 cdot (r+1) + frac 1 4 cdot (r+2)+ 2 cdot frac 1 4. \ & = frac 3r 4 + frac 3 2. endalign$$ $implies frac r 4 = frac 3 2.$ So $Bbb E(X) = r = 6.$



But I find difficulty to find $Bbb E(Y).$ Would anybody please help me finding this?



Thank you very much for your valuable time.










share|cite|improve this question











$endgroup$






Alice and Bob play a coin tossing game. A fair coin (that is, a coin with equal probability of landing heads and tails) is tossed repeatedly until one of the following happens.



$1.$ The coin lands "tails-tails" (that is, a tails is immediately followed by a tails) for the first time. In this case Alice wins.



$2.$ The coin lands "tails-heads" (that is, a tails is immediately followed by a heads) for the first time. In this case Bob wins.



Who has more probability of winning the game?





My attempt $:$



Let $X$ be the random variable which counts the number of tosses required to obtain "tails-tails" for the first time and $Y$ be the random variable which counts the number of tosses required to obtain "tails-heads" for the first time. It is quite clear that if $Bbb E(X) < Bbb E(Y)$ then Alice has more probability of winning the game than Bob$;$ otherwise Bob has more probability of winning the game than Alice. Let $X_1$ be the event which denotes "the first toss yields heads", $X_2$ be the event which denotes "tails in the first toss followed by heads in the second toss", $X_3$ be the event which denotes "tails in the first toss followed by tails in the second toss". Then $X_1,X_2$ and $X_3$ are mutually exclusive and exhaustive events. Let $Bbb E(X) = r.$ So we have $$beginalign r & = Bbb E(X mid X_1) cdot Bbb P(X_1) + Bbb E(X mid X_2) cdot Bbb P(X_2) + Bbb E(X mid X_3) cdot Bbb P(X_3). \ & = frac 1 2 cdot (r+1) + frac 1 4 cdot (r+2)+ 2 cdot frac 1 4. \ & = frac 3r 4 + frac 3 2. endalign$$ $implies frac r 4 = frac 3 2.$ So $Bbb E(X) = r = 6.$



But I find difficulty to find $Bbb E(Y).$ Would anybody please help me finding this?



Thank you very much for your valuable time.







probability






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 23 at 19:10







math maniac.

















asked Mar 23 at 18:58









math maniac.math maniac.

1647




1647











  • $begingroup$
    "It is quite clear that...": I don't see this at all.
    $endgroup$
    – TonyK
    Mar 23 at 19:25










  • $begingroup$
    If you can't see leave it @TonyK.
    $endgroup$
    – math maniac.
    Mar 23 at 19:37











  • $begingroup$
    Well, in this case it's true, because the set-up is so simple: for any $n$, $Bbb P(X=n)=Bbb P(Y=n)$, as Ethan Bolker's answer explains. But for general $X$ and $Y$, I don't think it's true. (And if you can't take criticism, then you shouldn't be posting here.)
    $endgroup$
    – TonyK
    Mar 23 at 19:56










  • $begingroup$
    Which is true and which is not true @TonyK?
    $endgroup$
    – math maniac.
    Mar 23 at 19:59
















  • $begingroup$
    "It is quite clear that...": I don't see this at all.
    $endgroup$
    – TonyK
    Mar 23 at 19:25










  • $begingroup$
    If you can't see leave it @TonyK.
    $endgroup$
    – math maniac.
    Mar 23 at 19:37











  • $begingroup$
    Well, in this case it's true, because the set-up is so simple: for any $n$, $Bbb P(X=n)=Bbb P(Y=n)$, as Ethan Bolker's answer explains. But for general $X$ and $Y$, I don't think it's true. (And if you can't take criticism, then you shouldn't be posting here.)
    $endgroup$
    – TonyK
    Mar 23 at 19:56










  • $begingroup$
    Which is true and which is not true @TonyK?
    $endgroup$
    – math maniac.
    Mar 23 at 19:59















$begingroup$
"It is quite clear that...": I don't see this at all.
$endgroup$
– TonyK
Mar 23 at 19:25




$begingroup$
"It is quite clear that...": I don't see this at all.
$endgroup$
– TonyK
Mar 23 at 19:25












$begingroup$
If you can't see leave it @TonyK.
$endgroup$
– math maniac.
Mar 23 at 19:37





$begingroup$
If you can't see leave it @TonyK.
$endgroup$
– math maniac.
Mar 23 at 19:37













$begingroup$
Well, in this case it's true, because the set-up is so simple: for any $n$, $Bbb P(X=n)=Bbb P(Y=n)$, as Ethan Bolker's answer explains. But for general $X$ and $Y$, I don't think it's true. (And if you can't take criticism, then you shouldn't be posting here.)
$endgroup$
– TonyK
Mar 23 at 19:56




$begingroup$
Well, in this case it's true, because the set-up is so simple: for any $n$, $Bbb P(X=n)=Bbb P(Y=n)$, as Ethan Bolker's answer explains. But for general $X$ and $Y$, I don't think it's true. (And if you can't take criticism, then you shouldn't be posting here.)
$endgroup$
– TonyK
Mar 23 at 19:56












$begingroup$
Which is true and which is not true @TonyK?
$endgroup$
– math maniac.
Mar 23 at 19:59




$begingroup$
Which is true and which is not true @TonyK?
$endgroup$
– math maniac.
Mar 23 at 19:59










3 Answers
3






active

oldest

votes


















2












$begingroup$

To calculate $E=E[Y]$:



We work from states. There's $emptyset$, the starting state, or the state in which you've thrown nothing but $H$, there's $T$ in which the string has been $H^aT^b$ with $b>0$, and of course there's the end state.



From the start, you either stay in the starting state or you move to state $mathscr S_T$. Thus $$E=frac 12times (E+1)+frac 12times (E_T+1)$$



From state $mathscr S_T$ we either stay in $mathscr S_T$ or we end. Thus $$E_T=frac 12times (E_T+1)+frac 12times 1implies E_T=2$$



It follows that $$E=4$$



Just to stress: this certainly does not imply that $B$ has a greater chance of winning. The intuitive failure comes from the fact that if you have a $T$ already, and you throw an $H$ next, it takes you at least two turns to get $TT$ whereas if you have a $T$ and throw another $T$ you can still get your $TH$ on the next turn. Indeed, the two have an equal chance of winning, since the first toss after the first $T$ settles the game (as was clearly explained in the post from @EthanBolker).






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Yeah! This is exactly what I have got @lulu some times ago.
    $endgroup$
    – math maniac.
    Mar 23 at 20:16






  • 2




    $begingroup$
    To be clear, this in no way means that Bob has a greater chance of winning, not sure where that idea came from. It's quite clear that the two players have equal chances of victory. @EthanBolker 's argument is on point for that aspect.
    $endgroup$
    – lulu
    Mar 23 at 20:23










  • $begingroup$
    Then is the problem wrong?
    $endgroup$
    – math maniac.
    Mar 23 at 20:30






  • 2




    $begingroup$
    Well, the problem is fine, but your intuition was wrong. The inequality on expectations does not settle the question of who has the greater chance of winning. I have edited my posted solution to include a brief discussion of why intuition fails in this case. As a general point, it's never a great idea to use expectation as a surrogate for straight probability.
    $endgroup$
    – lulu
    Mar 23 at 20:31











  • $begingroup$
    There's a nice paradox here. The expected number of tosses to get TT is indeed greater than the expected number of tosses to get TH, But each participant has the same win probability. My comment on my answer asserting that the two expectations are the same was wrong but my answer is right.
    $endgroup$
    – Ethan Bolker
    Mar 23 at 20:33



















6












$begingroup$

Perhaps I am missing some subtlety, in which case someone here will tell me. That said:



The coin is tossed repeatedly. Alice and Bob watch bored until the first tail appears. The next toss will settle the game. Each has an equal chance to win.



The game is more interesting if Bob wins on the first "heads-tails". In that game suppose a head appears before anyone has won. Then Bob will win as soon as the first tail appears, which will happen eventually. Since the first flip is heads with probability $1/2$ Bob wins with at least that probability. If the first flip is tails then Alice wins with tails on the second toss. Bob wins eventually if the second toss is heads. So overall Bob wins with probability 3/4.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Is my reasoning not ok @Ethan Bolkar?
    $endgroup$
    – math maniac.
    Mar 23 at 19:21










  • $begingroup$
    @mathmaniac. Your reasoning so far might be right - I haven't checked. But you haven't calculated $E(Y)$.. When you do it will turn out to be the same as $E(X)$ so the weak inequality that's "clear" will be an equality.
    $endgroup$
    – Ethan Bolker
    Mar 23 at 19:34











  • $begingroup$
    No $Bbb E(Y) = 4.$ I have just calculated it. So $Bbb E(X) > Bbb E(Y).$ So Bob has more probability of winning this game than Alice. My intuition works fine so far @Ethan Bolker.
    $endgroup$
    – math maniac.
    Mar 23 at 19:41










  • $begingroup$
    @mathmaniac. Until someone convinces me that my answer is wrong I think yours must be. $E(X) = E(Y) = $ one more than the expected number of tosses to get the first tail. That's $1 + (1 + 1/2 + 1/4 + cdots) = 1+2=3$.
    $endgroup$
    – Ethan Bolker
    Mar 23 at 19:42










  • $begingroup$
    Then what's wrong in my computation of $Bbb E(X)$?
    $endgroup$
    – math maniac.
    Mar 23 at 19:45


















1












$begingroup$

There is 1 fundamental problems with the attempted solution by math maniac:



The comparison of expected values may give a hint, but can be totally misleading and is not an equivalent of who is more likely to win first.



Consider another game, again played with a sequence of fair coin tosses. Alice wins after 5 tosses, no matter what actually comes up. Bob wins after 2 coin tosses if those first 2 tosses are $HH$, otherwise he wins after 6 coin tosses. Who will win first?



The expected number of coin tosses for Alice to win is easy:



$$E(W_A)=5$$



For Bob, there are two cases: The first 2 tosses are $HH$ (probability $frac14$), or not (probability $frac34$). With the given number of tosses until the win, this means



$$E(W_B)=frac14times2 + frac34times 6 = frac2+184 = 5$$



So the expected number of tosses until the win is $5$ in both cases. Nevertheless, Alice will win in $frac34$ of all duels, Bob only in $frac14$. That's because Bob only wins if the sequence of coin tosses starts with $HH$.



The calculation of the expected value for Bob is weighting the outcomes (2 tosses or 6 tosses) with the probabilities ($frac14,frac34$). Because $2$ tosses is much smaller than $6$ tosses, the expexted value for Bob is reduced by $1$ from the $6$ tosses is has for the 'majority case' that the sequence does not start with $HH$.



But for the calculation of who will likely win first, it doesn't matter that Bob wins in only 2 tosses if he wins at all. The fact that $2$ is a much smaller number than $5$ (the number of tosses Alice will always need to win) is irrelevant here.



In other words, the fact that if Bob wins, he will use a much smaller number of tosses than Alice is only relevant for the expected value of coin tosses, but not for the win probability itself. That's the reason why the expected value of coin tosses until the win is not the arbiter of who wins first.






share|cite|improve this answer









$endgroup$













    Your Answer





    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("mathjaxEditing", function ()
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    );
    );
    , "mathjax-editing");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "69"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3159702%2fwho-has-more-probability-of-winning-the-game%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2












    $begingroup$

    To calculate $E=E[Y]$:



    We work from states. There's $emptyset$, the starting state, or the state in which you've thrown nothing but $H$, there's $T$ in which the string has been $H^aT^b$ with $b>0$, and of course there's the end state.



    From the start, you either stay in the starting state or you move to state $mathscr S_T$. Thus $$E=frac 12times (E+1)+frac 12times (E_T+1)$$



    From state $mathscr S_T$ we either stay in $mathscr S_T$ or we end. Thus $$E_T=frac 12times (E_T+1)+frac 12times 1implies E_T=2$$



    It follows that $$E=4$$



    Just to stress: this certainly does not imply that $B$ has a greater chance of winning. The intuitive failure comes from the fact that if you have a $T$ already, and you throw an $H$ next, it takes you at least two turns to get $TT$ whereas if you have a $T$ and throw another $T$ you can still get your $TH$ on the next turn. Indeed, the two have an equal chance of winning, since the first toss after the first $T$ settles the game (as was clearly explained in the post from @EthanBolker).






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      Yeah! This is exactly what I have got @lulu some times ago.
      $endgroup$
      – math maniac.
      Mar 23 at 20:16






    • 2




      $begingroup$
      To be clear, this in no way means that Bob has a greater chance of winning, not sure where that idea came from. It's quite clear that the two players have equal chances of victory. @EthanBolker 's argument is on point for that aspect.
      $endgroup$
      – lulu
      Mar 23 at 20:23










    • $begingroup$
      Then is the problem wrong?
      $endgroup$
      – math maniac.
      Mar 23 at 20:30






    • 2




      $begingroup$
      Well, the problem is fine, but your intuition was wrong. The inequality on expectations does not settle the question of who has the greater chance of winning. I have edited my posted solution to include a brief discussion of why intuition fails in this case. As a general point, it's never a great idea to use expectation as a surrogate for straight probability.
      $endgroup$
      – lulu
      Mar 23 at 20:31











    • $begingroup$
      There's a nice paradox here. The expected number of tosses to get TT is indeed greater than the expected number of tosses to get TH, But each participant has the same win probability. My comment on my answer asserting that the two expectations are the same was wrong but my answer is right.
      $endgroup$
      – Ethan Bolker
      Mar 23 at 20:33
















    2












    $begingroup$

    To calculate $E=E[Y]$:



    We work from states. There's $emptyset$, the starting state, or the state in which you've thrown nothing but $H$, there's $T$ in which the string has been $H^aT^b$ with $b>0$, and of course there's the end state.



    From the start, you either stay in the starting state or you move to state $mathscr S_T$. Thus $$E=frac 12times (E+1)+frac 12times (E_T+1)$$



    From state $mathscr S_T$ we either stay in $mathscr S_T$ or we end. Thus $$E_T=frac 12times (E_T+1)+frac 12times 1implies E_T=2$$



    It follows that $$E=4$$



    Just to stress: this certainly does not imply that $B$ has a greater chance of winning. The intuitive failure comes from the fact that if you have a $T$ already, and you throw an $H$ next, it takes you at least two turns to get $TT$ whereas if you have a $T$ and throw another $T$ you can still get your $TH$ on the next turn. Indeed, the two have an equal chance of winning, since the first toss after the first $T$ settles the game (as was clearly explained in the post from @EthanBolker).






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      Yeah! This is exactly what I have got @lulu some times ago.
      $endgroup$
      – math maniac.
      Mar 23 at 20:16






    • 2




      $begingroup$
      To be clear, this in no way means that Bob has a greater chance of winning, not sure where that idea came from. It's quite clear that the two players have equal chances of victory. @EthanBolker 's argument is on point for that aspect.
      $endgroup$
      – lulu
      Mar 23 at 20:23










    • $begingroup$
      Then is the problem wrong?
      $endgroup$
      – math maniac.
      Mar 23 at 20:30






    • 2




      $begingroup$
      Well, the problem is fine, but your intuition was wrong. The inequality on expectations does not settle the question of who has the greater chance of winning. I have edited my posted solution to include a brief discussion of why intuition fails in this case. As a general point, it's never a great idea to use expectation as a surrogate for straight probability.
      $endgroup$
      – lulu
      Mar 23 at 20:31











    • $begingroup$
      There's a nice paradox here. The expected number of tosses to get TT is indeed greater than the expected number of tosses to get TH, But each participant has the same win probability. My comment on my answer asserting that the two expectations are the same was wrong but my answer is right.
      $endgroup$
      – Ethan Bolker
      Mar 23 at 20:33














    2












    2








    2





    $begingroup$

    To calculate $E=E[Y]$:



    We work from states. There's $emptyset$, the starting state, or the state in which you've thrown nothing but $H$, there's $T$ in which the string has been $H^aT^b$ with $b>0$, and of course there's the end state.



    From the start, you either stay in the starting state or you move to state $mathscr S_T$. Thus $$E=frac 12times (E+1)+frac 12times (E_T+1)$$



    From state $mathscr S_T$ we either stay in $mathscr S_T$ or we end. Thus $$E_T=frac 12times (E_T+1)+frac 12times 1implies E_T=2$$



    It follows that $$E=4$$



    Just to stress: this certainly does not imply that $B$ has a greater chance of winning. The intuitive failure comes from the fact that if you have a $T$ already, and you throw an $H$ next, it takes you at least two turns to get $TT$ whereas if you have a $T$ and throw another $T$ you can still get your $TH$ on the next turn. Indeed, the two have an equal chance of winning, since the first toss after the first $T$ settles the game (as was clearly explained in the post from @EthanBolker).






    share|cite|improve this answer











    $endgroup$



    To calculate $E=E[Y]$:



    We work from states. There's $emptyset$, the starting state, or the state in which you've thrown nothing but $H$, there's $T$ in which the string has been $H^aT^b$ with $b>0$, and of course there's the end state.



    From the start, you either stay in the starting state or you move to state $mathscr S_T$. Thus $$E=frac 12times (E+1)+frac 12times (E_T+1)$$



    From state $mathscr S_T$ we either stay in $mathscr S_T$ or we end. Thus $$E_T=frac 12times (E_T+1)+frac 12times 1implies E_T=2$$



    It follows that $$E=4$$



    Just to stress: this certainly does not imply that $B$ has a greater chance of winning. The intuitive failure comes from the fact that if you have a $T$ already, and you throw an $H$ next, it takes you at least two turns to get $TT$ whereas if you have a $T$ and throw another $T$ you can still get your $TH$ on the next turn. Indeed, the two have an equal chance of winning, since the first toss after the first $T$ settles the game (as was clearly explained in the post from @EthanBolker).







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited Mar 23 at 20:31

























    answered Mar 23 at 20:14









    lulululu

    43.6k25081




    43.6k25081











    • $begingroup$
      Yeah! This is exactly what I have got @lulu some times ago.
      $endgroup$
      – math maniac.
      Mar 23 at 20:16






    • 2




      $begingroup$
      To be clear, this in no way means that Bob has a greater chance of winning, not sure where that idea came from. It's quite clear that the two players have equal chances of victory. @EthanBolker 's argument is on point for that aspect.
      $endgroup$
      – lulu
      Mar 23 at 20:23










    • $begingroup$
      Then is the problem wrong?
      $endgroup$
      – math maniac.
      Mar 23 at 20:30






    • 2




      $begingroup$
      Well, the problem is fine, but your intuition was wrong. The inequality on expectations does not settle the question of who has the greater chance of winning. I have edited my posted solution to include a brief discussion of why intuition fails in this case. As a general point, it's never a great idea to use expectation as a surrogate for straight probability.
      $endgroup$
      – lulu
      Mar 23 at 20:31











    • $begingroup$
      There's a nice paradox here. The expected number of tosses to get TT is indeed greater than the expected number of tosses to get TH, But each participant has the same win probability. My comment on my answer asserting that the two expectations are the same was wrong but my answer is right.
      $endgroup$
      – Ethan Bolker
      Mar 23 at 20:33

















    • $begingroup$
      Yeah! This is exactly what I have got @lulu some times ago.
      $endgroup$
      – math maniac.
      Mar 23 at 20:16






    • 2




      $begingroup$
      To be clear, this in no way means that Bob has a greater chance of winning, not sure where that idea came from. It's quite clear that the two players have equal chances of victory. @EthanBolker 's argument is on point for that aspect.
      $endgroup$
      – lulu
      Mar 23 at 20:23










    • $begingroup$
      Then is the problem wrong?
      $endgroup$
      – math maniac.
      Mar 23 at 20:30






    • 2




      $begingroup$
      Well, the problem is fine, but your intuition was wrong. The inequality on expectations does not settle the question of who has the greater chance of winning. I have edited my posted solution to include a brief discussion of why intuition fails in this case. As a general point, it's never a great idea to use expectation as a surrogate for straight probability.
      $endgroup$
      – lulu
      Mar 23 at 20:31











    • $begingroup$
      There's a nice paradox here. The expected number of tosses to get TT is indeed greater than the expected number of tosses to get TH, But each participant has the same win probability. My comment on my answer asserting that the two expectations are the same was wrong but my answer is right.
      $endgroup$
      – Ethan Bolker
      Mar 23 at 20:33
















    $begingroup$
    Yeah! This is exactly what I have got @lulu some times ago.
    $endgroup$
    – math maniac.
    Mar 23 at 20:16




    $begingroup$
    Yeah! This is exactly what I have got @lulu some times ago.
    $endgroup$
    – math maniac.
    Mar 23 at 20:16




    2




    2




    $begingroup$
    To be clear, this in no way means that Bob has a greater chance of winning, not sure where that idea came from. It's quite clear that the two players have equal chances of victory. @EthanBolker 's argument is on point for that aspect.
    $endgroup$
    – lulu
    Mar 23 at 20:23




    $begingroup$
    To be clear, this in no way means that Bob has a greater chance of winning, not sure where that idea came from. It's quite clear that the two players have equal chances of victory. @EthanBolker 's argument is on point for that aspect.
    $endgroup$
    – lulu
    Mar 23 at 20:23












    $begingroup$
    Then is the problem wrong?
    $endgroup$
    – math maniac.
    Mar 23 at 20:30




    $begingroup$
    Then is the problem wrong?
    $endgroup$
    – math maniac.
    Mar 23 at 20:30




    2




    2




    $begingroup$
    Well, the problem is fine, but your intuition was wrong. The inequality on expectations does not settle the question of who has the greater chance of winning. I have edited my posted solution to include a brief discussion of why intuition fails in this case. As a general point, it's never a great idea to use expectation as a surrogate for straight probability.
    $endgroup$
    – lulu
    Mar 23 at 20:31





    $begingroup$
    Well, the problem is fine, but your intuition was wrong. The inequality on expectations does not settle the question of who has the greater chance of winning. I have edited my posted solution to include a brief discussion of why intuition fails in this case. As a general point, it's never a great idea to use expectation as a surrogate for straight probability.
    $endgroup$
    – lulu
    Mar 23 at 20:31













    $begingroup$
    There's a nice paradox here. The expected number of tosses to get TT is indeed greater than the expected number of tosses to get TH, But each participant has the same win probability. My comment on my answer asserting that the two expectations are the same was wrong but my answer is right.
    $endgroup$
    – Ethan Bolker
    Mar 23 at 20:33





    $begingroup$
    There's a nice paradox here. The expected number of tosses to get TT is indeed greater than the expected number of tosses to get TH, But each participant has the same win probability. My comment on my answer asserting that the two expectations are the same was wrong but my answer is right.
    $endgroup$
    – Ethan Bolker
    Mar 23 at 20:33












    6












    $begingroup$

    Perhaps I am missing some subtlety, in which case someone here will tell me. That said:



    The coin is tossed repeatedly. Alice and Bob watch bored until the first tail appears. The next toss will settle the game. Each has an equal chance to win.



    The game is more interesting if Bob wins on the first "heads-tails". In that game suppose a head appears before anyone has won. Then Bob will win as soon as the first tail appears, which will happen eventually. Since the first flip is heads with probability $1/2$ Bob wins with at least that probability. If the first flip is tails then Alice wins with tails on the second toss. Bob wins eventually if the second toss is heads. So overall Bob wins with probability 3/4.






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      Is my reasoning not ok @Ethan Bolkar?
      $endgroup$
      – math maniac.
      Mar 23 at 19:21










    • $begingroup$
      @mathmaniac. Your reasoning so far might be right - I haven't checked. But you haven't calculated $E(Y)$.. When you do it will turn out to be the same as $E(X)$ so the weak inequality that's "clear" will be an equality.
      $endgroup$
      – Ethan Bolker
      Mar 23 at 19:34











    • $begingroup$
      No $Bbb E(Y) = 4.$ I have just calculated it. So $Bbb E(X) > Bbb E(Y).$ So Bob has more probability of winning this game than Alice. My intuition works fine so far @Ethan Bolker.
      $endgroup$
      – math maniac.
      Mar 23 at 19:41










    • $begingroup$
      @mathmaniac. Until someone convinces me that my answer is wrong I think yours must be. $E(X) = E(Y) = $ one more than the expected number of tosses to get the first tail. That's $1 + (1 + 1/2 + 1/4 + cdots) = 1+2=3$.
      $endgroup$
      – Ethan Bolker
      Mar 23 at 19:42










    • $begingroup$
      Then what's wrong in my computation of $Bbb E(X)$?
      $endgroup$
      – math maniac.
      Mar 23 at 19:45















    6












    $begingroup$

    Perhaps I am missing some subtlety, in which case someone here will tell me. That said:



    The coin is tossed repeatedly. Alice and Bob watch bored until the first tail appears. The next toss will settle the game. Each has an equal chance to win.



    The game is more interesting if Bob wins on the first "heads-tails". In that game suppose a head appears before anyone has won. Then Bob will win as soon as the first tail appears, which will happen eventually. Since the first flip is heads with probability $1/2$ Bob wins with at least that probability. If the first flip is tails then Alice wins with tails on the second toss. Bob wins eventually if the second toss is heads. So overall Bob wins with probability 3/4.






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      Is my reasoning not ok @Ethan Bolkar?
      $endgroup$
      – math maniac.
      Mar 23 at 19:21










    • $begingroup$
      @mathmaniac. Your reasoning so far might be right - I haven't checked. But you haven't calculated $E(Y)$.. When you do it will turn out to be the same as $E(X)$ so the weak inequality that's "clear" will be an equality.
      $endgroup$
      – Ethan Bolker
      Mar 23 at 19:34











    • $begingroup$
      No $Bbb E(Y) = 4.$ I have just calculated it. So $Bbb E(X) > Bbb E(Y).$ So Bob has more probability of winning this game than Alice. My intuition works fine so far @Ethan Bolker.
      $endgroup$
      – math maniac.
      Mar 23 at 19:41










    • $begingroup$
      @mathmaniac. Until someone convinces me that my answer is wrong I think yours must be. $E(X) = E(Y) = $ one more than the expected number of tosses to get the first tail. That's $1 + (1 + 1/2 + 1/4 + cdots) = 1+2=3$.
      $endgroup$
      – Ethan Bolker
      Mar 23 at 19:42










    • $begingroup$
      Then what's wrong in my computation of $Bbb E(X)$?
      $endgroup$
      – math maniac.
      Mar 23 at 19:45













    6












    6








    6





    $begingroup$

    Perhaps I am missing some subtlety, in which case someone here will tell me. That said:



    The coin is tossed repeatedly. Alice and Bob watch bored until the first tail appears. The next toss will settle the game. Each has an equal chance to win.



    The game is more interesting if Bob wins on the first "heads-tails". In that game suppose a head appears before anyone has won. Then Bob will win as soon as the first tail appears, which will happen eventually. Since the first flip is heads with probability $1/2$ Bob wins with at least that probability. If the first flip is tails then Alice wins with tails on the second toss. Bob wins eventually if the second toss is heads. So overall Bob wins with probability 3/4.






    share|cite|improve this answer











    $endgroup$



    Perhaps I am missing some subtlety, in which case someone here will tell me. That said:



    The coin is tossed repeatedly. Alice and Bob watch bored until the first tail appears. The next toss will settle the game. Each has an equal chance to win.



    The game is more interesting if Bob wins on the first "heads-tails". In that game suppose a head appears before anyone has won. Then Bob will win as soon as the first tail appears, which will happen eventually. Since the first flip is heads with probability $1/2$ Bob wins with at least that probability. If the first flip is tails then Alice wins with tails on the second toss. Bob wins eventually if the second toss is heads. So overall Bob wins with probability 3/4.







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited Mar 23 at 19:30

























    answered Mar 23 at 19:17









    Ethan BolkerEthan Bolker

    46k553120




    46k553120











    • $begingroup$
      Is my reasoning not ok @Ethan Bolkar?
      $endgroup$
      – math maniac.
      Mar 23 at 19:21










    • $begingroup$
      @mathmaniac. Your reasoning so far might be right - I haven't checked. But you haven't calculated $E(Y)$.. When you do it will turn out to be the same as $E(X)$ so the weak inequality that's "clear" will be an equality.
      $endgroup$
      – Ethan Bolker
      Mar 23 at 19:34











    • $begingroup$
      No $Bbb E(Y) = 4.$ I have just calculated it. So $Bbb E(X) > Bbb E(Y).$ So Bob has more probability of winning this game than Alice. My intuition works fine so far @Ethan Bolker.
      $endgroup$
      – math maniac.
      Mar 23 at 19:41










    • $begingroup$
      @mathmaniac. Until someone convinces me that my answer is wrong I think yours must be. $E(X) = E(Y) = $ one more than the expected number of tosses to get the first tail. That's $1 + (1 + 1/2 + 1/4 + cdots) = 1+2=3$.
      $endgroup$
      – Ethan Bolker
      Mar 23 at 19:42










    • $begingroup$
      Then what's wrong in my computation of $Bbb E(X)$?
      $endgroup$
      – math maniac.
      Mar 23 at 19:45
















    • $begingroup$
      Is my reasoning not ok @Ethan Bolkar?
      $endgroup$
      – math maniac.
      Mar 23 at 19:21










    • $begingroup$
      @mathmaniac. Your reasoning so far might be right - I haven't checked. But you haven't calculated $E(Y)$.. When you do it will turn out to be the same as $E(X)$ so the weak inequality that's "clear" will be an equality.
      $endgroup$
      – Ethan Bolker
      Mar 23 at 19:34











    • $begingroup$
      No $Bbb E(Y) = 4.$ I have just calculated it. So $Bbb E(X) > Bbb E(Y).$ So Bob has more probability of winning this game than Alice. My intuition works fine so far @Ethan Bolker.
      $endgroup$
      – math maniac.
      Mar 23 at 19:41










    • $begingroup$
      @mathmaniac. Until someone convinces me that my answer is wrong I think yours must be. $E(X) = E(Y) = $ one more than the expected number of tosses to get the first tail. That's $1 + (1 + 1/2 + 1/4 + cdots) = 1+2=3$.
      $endgroup$
      – Ethan Bolker
      Mar 23 at 19:42










    • $begingroup$
      Then what's wrong in my computation of $Bbb E(X)$?
      $endgroup$
      – math maniac.
      Mar 23 at 19:45















    $begingroup$
    Is my reasoning not ok @Ethan Bolkar?
    $endgroup$
    – math maniac.
    Mar 23 at 19:21




    $begingroup$
    Is my reasoning not ok @Ethan Bolkar?
    $endgroup$
    – math maniac.
    Mar 23 at 19:21












    $begingroup$
    @mathmaniac. Your reasoning so far might be right - I haven't checked. But you haven't calculated $E(Y)$.. When you do it will turn out to be the same as $E(X)$ so the weak inequality that's "clear" will be an equality.
    $endgroup$
    – Ethan Bolker
    Mar 23 at 19:34





    $begingroup$
    @mathmaniac. Your reasoning so far might be right - I haven't checked. But you haven't calculated $E(Y)$.. When you do it will turn out to be the same as $E(X)$ so the weak inequality that's "clear" will be an equality.
    $endgroup$
    – Ethan Bolker
    Mar 23 at 19:34













    $begingroup$
    No $Bbb E(Y) = 4.$ I have just calculated it. So $Bbb E(X) > Bbb E(Y).$ So Bob has more probability of winning this game than Alice. My intuition works fine so far @Ethan Bolker.
    $endgroup$
    – math maniac.
    Mar 23 at 19:41




    $begingroup$
    No $Bbb E(Y) = 4.$ I have just calculated it. So $Bbb E(X) > Bbb E(Y).$ So Bob has more probability of winning this game than Alice. My intuition works fine so far @Ethan Bolker.
    $endgroup$
    – math maniac.
    Mar 23 at 19:41












    $begingroup$
    @mathmaniac. Until someone convinces me that my answer is wrong I think yours must be. $E(X) = E(Y) = $ one more than the expected number of tosses to get the first tail. That's $1 + (1 + 1/2 + 1/4 + cdots) = 1+2=3$.
    $endgroup$
    – Ethan Bolker
    Mar 23 at 19:42




    $begingroup$
    @mathmaniac. Until someone convinces me that my answer is wrong I think yours must be. $E(X) = E(Y) = $ one more than the expected number of tosses to get the first tail. That's $1 + (1 + 1/2 + 1/4 + cdots) = 1+2=3$.
    $endgroup$
    – Ethan Bolker
    Mar 23 at 19:42












    $begingroup$
    Then what's wrong in my computation of $Bbb E(X)$?
    $endgroup$
    – math maniac.
    Mar 23 at 19:45




    $begingroup$
    Then what's wrong in my computation of $Bbb E(X)$?
    $endgroup$
    – math maniac.
    Mar 23 at 19:45











    1












    $begingroup$

    There is 1 fundamental problems with the attempted solution by math maniac:



    The comparison of expected values may give a hint, but can be totally misleading and is not an equivalent of who is more likely to win first.



    Consider another game, again played with a sequence of fair coin tosses. Alice wins after 5 tosses, no matter what actually comes up. Bob wins after 2 coin tosses if those first 2 tosses are $HH$, otherwise he wins after 6 coin tosses. Who will win first?



    The expected number of coin tosses for Alice to win is easy:



    $$E(W_A)=5$$



    For Bob, there are two cases: The first 2 tosses are $HH$ (probability $frac14$), or not (probability $frac34$). With the given number of tosses until the win, this means



    $$E(W_B)=frac14times2 + frac34times 6 = frac2+184 = 5$$



    So the expected number of tosses until the win is $5$ in both cases. Nevertheless, Alice will win in $frac34$ of all duels, Bob only in $frac14$. That's because Bob only wins if the sequence of coin tosses starts with $HH$.



    The calculation of the expected value for Bob is weighting the outcomes (2 tosses or 6 tosses) with the probabilities ($frac14,frac34$). Because $2$ tosses is much smaller than $6$ tosses, the expexted value for Bob is reduced by $1$ from the $6$ tosses is has for the 'majority case' that the sequence does not start with $HH$.



    But for the calculation of who will likely win first, it doesn't matter that Bob wins in only 2 tosses if he wins at all. The fact that $2$ is a much smaller number than $5$ (the number of tosses Alice will always need to win) is irrelevant here.



    In other words, the fact that if Bob wins, he will use a much smaller number of tosses than Alice is only relevant for the expected value of coin tosses, but not for the win probability itself. That's the reason why the expected value of coin tosses until the win is not the arbiter of who wins first.






    share|cite|improve this answer









    $endgroup$

















      1












      $begingroup$

      There is 1 fundamental problems with the attempted solution by math maniac:



      The comparison of expected values may give a hint, but can be totally misleading and is not an equivalent of who is more likely to win first.



      Consider another game, again played with a sequence of fair coin tosses. Alice wins after 5 tosses, no matter what actually comes up. Bob wins after 2 coin tosses if those first 2 tosses are $HH$, otherwise he wins after 6 coin tosses. Who will win first?



      The expected number of coin tosses for Alice to win is easy:



      $$E(W_A)=5$$



      For Bob, there are two cases: The first 2 tosses are $HH$ (probability $frac14$), or not (probability $frac34$). With the given number of tosses until the win, this means



      $$E(W_B)=frac14times2 + frac34times 6 = frac2+184 = 5$$



      So the expected number of tosses until the win is $5$ in both cases. Nevertheless, Alice will win in $frac34$ of all duels, Bob only in $frac14$. That's because Bob only wins if the sequence of coin tosses starts with $HH$.



      The calculation of the expected value for Bob is weighting the outcomes (2 tosses or 6 tosses) with the probabilities ($frac14,frac34$). Because $2$ tosses is much smaller than $6$ tosses, the expexted value for Bob is reduced by $1$ from the $6$ tosses is has for the 'majority case' that the sequence does not start with $HH$.



      But for the calculation of who will likely win first, it doesn't matter that Bob wins in only 2 tosses if he wins at all. The fact that $2$ is a much smaller number than $5$ (the number of tosses Alice will always need to win) is irrelevant here.



      In other words, the fact that if Bob wins, he will use a much smaller number of tosses than Alice is only relevant for the expected value of coin tosses, but not for the win probability itself. That's the reason why the expected value of coin tosses until the win is not the arbiter of who wins first.






      share|cite|improve this answer









      $endgroup$















        1












        1








        1





        $begingroup$

        There is 1 fundamental problems with the attempted solution by math maniac:



        The comparison of expected values may give a hint, but can be totally misleading and is not an equivalent of who is more likely to win first.



        Consider another game, again played with a sequence of fair coin tosses. Alice wins after 5 tosses, no matter what actually comes up. Bob wins after 2 coin tosses if those first 2 tosses are $HH$, otherwise he wins after 6 coin tosses. Who will win first?



        The expected number of coin tosses for Alice to win is easy:



        $$E(W_A)=5$$



        For Bob, there are two cases: The first 2 tosses are $HH$ (probability $frac14$), or not (probability $frac34$). With the given number of tosses until the win, this means



        $$E(W_B)=frac14times2 + frac34times 6 = frac2+184 = 5$$



        So the expected number of tosses until the win is $5$ in both cases. Nevertheless, Alice will win in $frac34$ of all duels, Bob only in $frac14$. That's because Bob only wins if the sequence of coin tosses starts with $HH$.



        The calculation of the expected value for Bob is weighting the outcomes (2 tosses or 6 tosses) with the probabilities ($frac14,frac34$). Because $2$ tosses is much smaller than $6$ tosses, the expexted value for Bob is reduced by $1$ from the $6$ tosses is has for the 'majority case' that the sequence does not start with $HH$.



        But for the calculation of who will likely win first, it doesn't matter that Bob wins in only 2 tosses if he wins at all. The fact that $2$ is a much smaller number than $5$ (the number of tosses Alice will always need to win) is irrelevant here.



        In other words, the fact that if Bob wins, he will use a much smaller number of tosses than Alice is only relevant for the expected value of coin tosses, but not for the win probability itself. That's the reason why the expected value of coin tosses until the win is not the arbiter of who wins first.






        share|cite|improve this answer









        $endgroup$



        There is 1 fundamental problems with the attempted solution by math maniac:



        The comparison of expected values may give a hint, but can be totally misleading and is not an equivalent of who is more likely to win first.



        Consider another game, again played with a sequence of fair coin tosses. Alice wins after 5 tosses, no matter what actually comes up. Bob wins after 2 coin tosses if those first 2 tosses are $HH$, otherwise he wins after 6 coin tosses. Who will win first?



        The expected number of coin tosses for Alice to win is easy:



        $$E(W_A)=5$$



        For Bob, there are two cases: The first 2 tosses are $HH$ (probability $frac14$), or not (probability $frac34$). With the given number of tosses until the win, this means



        $$E(W_B)=frac14times2 + frac34times 6 = frac2+184 = 5$$



        So the expected number of tosses until the win is $5$ in both cases. Nevertheless, Alice will win in $frac34$ of all duels, Bob only in $frac14$. That's because Bob only wins if the sequence of coin tosses starts with $HH$.



        The calculation of the expected value for Bob is weighting the outcomes (2 tosses or 6 tosses) with the probabilities ($frac14,frac34$). Because $2$ tosses is much smaller than $6$ tosses, the expexted value for Bob is reduced by $1$ from the $6$ tosses is has for the 'majority case' that the sequence does not start with $HH$.



        But for the calculation of who will likely win first, it doesn't matter that Bob wins in only 2 tosses if he wins at all. The fact that $2$ is a much smaller number than $5$ (the number of tosses Alice will always need to win) is irrelevant here.



        In other words, the fact that if Bob wins, he will use a much smaller number of tosses than Alice is only relevant for the expected value of coin tosses, but not for the win probability itself. That's the reason why the expected value of coin tosses until the win is not the arbiter of who wins first.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Mar 23 at 21:03









        IngixIngix

        5,192259




        5,192259



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3159702%2fwho-has-more-probability-of-winning-the-game%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Lowndes Grove History Architecture References Navigation menu32°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661132°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661178002500"National Register Information System"Historic houses of South Carolina"Lowndes Grove""+32° 48' 6.00", −79° 57' 58.00""Lowndes Grove, Charleston County (260 St. Margaret St., Charleston)""Lowndes Grove"The Charleston ExpositionIt Happened in South Carolina"Lowndes Grove (House), Saint Margaret Street & Sixth Avenue, Charleston, Charleston County, SC(Photographs)"Plantations of the Carolina Low Countrye

            random experiment with two different functions on unit interval Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Random variable and probability space notionsRandom Walk with EdgesFinding functions where the increase over a random interval is Poisson distributedNumber of days until dayCan an observed event in fact be of zero probability?Unit random processmodels of coins and uniform distributionHow to get the number of successes given $n$ trials , probability $P$ and a random variable $X$Absorbing Markov chain in a computer. Is “almost every” turned into always convergence in computer executions?Stopped random walk is not uniformly integrable

            How should I support this large drywall patch? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I cover large gaps in drywall?How do I keep drywall around a patch from crumbling?Can I glue a second layer of drywall?How to patch long strip on drywall?Large drywall patch: how to avoid bulging seams?Drywall Mesh Patch vs. Bulge? To remove or not to remove?How to fix this drywall job?Prep drywall before backsplashWhat's the best way to fix this horrible drywall patch job?Drywall patching using 3M Patch Plus Primer