Ask your own question, for FREE!
Mathematics 19 Online
imqwerty (imqwerty):

Fun question! :)) (Probability)

imqwerty (imqwerty):

Two guys "A" and "B" play a game in which they toss a coin alternatively. The winner is the one who gets heads first. "A" starts first in the first game. The loser of the game tosses first in the next game. What is the probability that A will win the sixth game?

random231 (random231):

wat happened?

random231 (random231):

the answer was 1/2 lol

imqwerty (imqwerty):

Nopez that not correct

random231 (random231):

the question you posted first. :P

imqwerty (imqwerty):

Then also it wouldn't be correct

random231 (random231):

O.o okay

OpenStudy (betterthanvalentyn):

1/64?

imqwerty (imqwerty):

Nope

OpenStudy (fairegaming):

I am confused

OpenStudy (fairegaming):

It could be multiple answers couldn't it since theres different chances like if A won all 5 and since B would go first, or if B won 5 and A wen't on the sixth etc.

OpenStudy (fairegaming):

"What is the probability that A will win the sixth game?" B has the same possibility since their both the same...

imqwerty (imqwerty):

Hint: the probability of winning a game is more for the person who starts the game :)) And yes there can be different cases like A wins the first 5 or maybe B wins the first 5,etc so you must consider all the possible cases when A wins the 6th game while calculating the probability

OpenStudy (518nad):

looks fun :) its very similiar to question of expected number of rolls to get 2 Heads in a row

OpenStudy (518nad):

k so i think the solution simplifies to this

OpenStudy (518nad):

there has to be 5 heads, and umm some number of tails even or odd dunno yet, and then a Head

OpenStudy (518nad):

u can first solve the case where A has a 1/2 chance of winning game 6, by solving for the chance 4 Heads and x number of tails, this one is either odd or even dunno yet, but i do know this has to be odd if the statement above is even and then 1 Head

OpenStudy (518nad):

umm scratch that this doesnt seem helpful

OpenStudy (kainui):

I'm gonna start playing with this looks fun

OpenStudy (518nad):

kay

OpenStudy (sunnnystrong):

If the probability of getting H or T on each flip is 1/2 than lets say: 1. First guy goes: H 2. Second guy goes T 3. Second guy goes: H 4. First guy goes: T 5. First guy goes: H 6. Second guy goes: T

OpenStudy (518nad):

maybe work like this There is 0% chance A wins in 6 rolls

OpenStudy (kainui):

In a way, I'm tempted to say, forget everything and just calculate the amount of times it takes to get heads 5 times by flipping a single coin successively.

OpenStudy (kainui):

6 times*

OpenStudy (518nad):

yeah i am doing that too, i think we shud just ditch the A and B and think about the coin itself

OpenStudy (sunnnystrong):

Or... 1. First guy goes: T 2. First guy goes: H 3. Second guy goes: T 4. Second guy goes: H 5. First guy goes: T 6. First guy goes: H

OpenStudy (518nad):

but u keep getting infinite series of probabilities showing up in there

OpenStudy (518nad):

so im thinking there has to be some nicer simpification

OpenStudy (sunnnystrong):

XD i dont see him winning not sure what the probability is though

OpenStudy (sunnnystrong):

@Kainui ... but the winner is the person who gets heads... :P

OpenStudy (sunnnystrong):

& the loser flips next

OpenStudy (kainui):

Yeah but it doesn't matter, all that matters is who's holding the coin after it's flipped heads 5 times.

OpenStudy (518nad):

ohh how about like this, if 6 games in N number of throws then okay 6 Throws, B wins 100% 7 Throws. A wins 100%

OpenStudy (518nad):

all even number ending will be B and odd number ending A

OpenStudy (kainui):

Yeah now you're on the same page

OpenStudy (sunnnystrong):

Oh okay makes sense :P

OpenStudy (518nad):

and then we can write combinatorically the solutions

OpenStudy (sunnnystrong):

but what if someone flips tails twice in a row :O? @518nad

OpenStudy (518nad):

then the game has been prolonged to more turns lets start writing an expression for 6 games ending in N turns and we can figure out a pattern

OpenStudy (baru):

just an observation, the first guy to toss has a 1/2 chance of winning, since the the second guy will not even get a chance to toss if the first toss is heads, the probability of the first gut loosing is 1//2 *1/2 =1/4 (A has to toss tails AND B has to toss heads)

OpenStudy (518nad):

yup baru

OpenStudy (sunnnystrong):

I feel like there is an infinite number of ways that A will win idk. @imqwerty What's the answer XD?

OpenStudy (518nad):

nooooooooo dont tell us!!! i think i got ittttttttt

OpenStudy (kainui):

Haha we'll figure it out

OpenStudy (518nad):

u will get infinite serieis of prob but they converge

OpenStudy (kainui):

there definitely is an infinite number of ways to win, just keep flipping tails lol.

OpenStudy (zarkon):

it's easy...waiting for a solution from anyone

OpenStudy (518nad):

i dont trust u zarkon, u probably alreayd coded it -.-

OpenStudy (baru):

how about this for the total possible cases, there are 6 tosses of coin pairs, on each pair, the possibilities are: (H,-) (T,H), (T,T) -> so three per game, so total possibilities: 3^6

OpenStudy (zarkon):

you don't need to code it. I have two ways I can do it...one using markov chains and another slicker way.

OpenStudy (518nad):

ooo! cool

OpenStudy (518nad):

is the 2nd way a recursive way

OpenStudy (zarkon):

yes

OpenStudy (sunnnystrong):

@Zarkon ... can you explain haha i'm a little slow XD

OpenStudy (baru):

How is it that there are infinite ways for A to win?

OpenStudy (zarkon):

here is the probability of winning the nth game \[P(n)=\frac{2}{3}\sum_{k=0}^{n-1}\left(\frac{(-1)^k}{3^k}\right)\]

OpenStudy (kainui):

They've flipped only 5 heads and it's someone's turn. They flip tails. So you pass it to the next person. They've flipped only 5 heads and it's someone's turn. They flip tails.

OpenStudy (sunnnystrong):

@baru Nah.. I just want someone to post the answer lol

OpenStudy (baru):

woops i missed that, I assumed game terminates if there is a tie

OpenStudy (zarkon):

use the relation\[ P(n)=\frac{2}{3}-\frac{1}{3}P(n-1)\] which you get from \[P(n)=P(n-1)\frac{1}{3}+[1-P(n-1)]\frac{2}{3}\]

OpenStudy (zarkon):

\[P(6)=\frac{364}{729}\]

OpenStudy (sunnnystrong):

49.9%?

OpenStudy (sunnnystrong):

... may as well be 50%

OpenStudy (zarkon):

that is the limit \[\lim_{n\to\infty}P(n)=\frac{2}{3}\frac{1}{1+\frac{1}3}=\frac{2}{3}\frac{1}{\frac{4}{3}}=\frac{2}{4}=\frac{1}{2}\]

OpenStudy (sunnnystrong):

oh :O well okkay thanks for blowing my mind @Zarkon

OpenStudy (sunnnystrong):

So.... OP posted a hint.. The probability of winning the game will always be more for person A. Is that true @Zarkon

OpenStudy (zarkon):

depends on what you mean ...P(2)=4/9=.4444444444 so the probability B wins game 2 is higher than A

OpenStudy (zarkon):

also \(P(6)\approx .499<.5\) so B has a better chance to win

OpenStudy (zarkon):

P(n)>.5 if n odd P(n)<.5 if n even

OpenStudy (sunnnystrong):

@Zarkon oh it's because you were a probability mechanics major . XD & Okay that it interesting

OpenStudy (zarkon):

In real life my undergraduate degree is in applied mathematics

OpenStudy (sunnnystrong):

Gotcha :P

OpenStudy (zarkon):

My graduate degrees are not in applied math

OpenStudy (518nad):

|dw:1481782889945:dw|

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!