- #1
Poly
- 1
- 0
Homework Statement
You have two players, player A and player B. Player A begins by flipping a coin, his coin lands on heads with a probability P1. If the coin lands on tails then player B begins flipping his coin, which lands on heads with a probability P2.
What are the chances that A wins, if the win conditions are:
The first person to,
a) throw two heads in a row.
b) throw at least two heads.
c) throw three heads in a row.
d) throw at least three heads.
Homework Equations
P(W) = P(W|H)P(H) + P(W|T)P(T)
The Attempt at a Solution
Okay, just so I'm clear on this, I'm confident I know how to solve the problem, the issue is the way I am currently solving the problem takes a lot of time and algebra.
I believe I've correctly solved part a with [tex]\frac{P1^2}{P1^2 + P2^2 - P1^2*P2^2}[/tex]. I did this by conditioning on the first coin flip, conditioning on the second coin flip for both of the conditionals, tied some loose ends, and then went through the algebra.
So I'm trying the same approach with the second one, but I get this monster.
Let W be the event A wins, T the event a tails is flipped and H the event a heads is flipped.
P(W) = P(W|H)P(H) + P(W|T)P(T)
P(W|H)= P(W|HH)P(H) + P(W|HT)P(T), P(W|HH) = 1
P(W|HT) = P(W|HTH)P(H) + P(W|HTT)P(T), P(W|HTT) = P(W|H)
P(W|HTH)=P(W|HTHH)P(H) +P(W|HTHT)P(T), P(W|HTHH) = 0
P(W|HTHT) = P(W|HTHTH)P(H) + P(W|HTHTT)P(T), P(W|HTHTT) = P(W|HTH), P(W|HTHTH) = 1
et cetera.
I'm confident I'm doing it right, but this method gets old really fast. I believe my professor could more or less skip the intermediate steps by drawing a tree, That method has certainly helped me, especially for the first problem, but it's still tedious. So just as a sanity check, I was curious if the problems really are this terrible, or if there is some clever trick or idea that would make this go smoother...Any and all suggestions are appreciated!