向概率牛求教一道概率题Two players take turns flipping a fair coin.The game ends when the same outcome occurs on three flips in a row.Whichever player fli pped the coin last,wins.For example:Player 1 flips HPlayer 2 flips TPlayer 1 flips TP
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/09 10:41:45
向概率牛求教一道概率题Two players take turns flipping a fair coin.The game ends when the same outcome occurs on three flips in a row.Whichever player fli pped the coin last,wins.For example:Player 1 flips HPlayer 2 flips TPlayer 1 flips TP
向概率牛求教一道概率题
Two players take turns flipping a fair coin.
The game ends when the same outcome occurs on three flips in a row.
Whichever player fli pped the coin last,wins.For example:
Player 1 flips H
Player 2 flips T
Player 1 flips T
Player 2 flips H
Player 1 flips H
Player 2 flips H
向概率牛求教一道概率题Two players take turns flipping a fair coin.The game ends when the same outcome occurs on three flips in a row.Whichever player fli pped the coin last,wins.For example:Player 1 flips HPlayer 2 flips TPlayer 1 flips TP
Method 1:
first flip:no one can win
second flip:no one can win
third flip:first player win with probability 1/4 (HHH or TTT)
fouth flip:second player win with probablility (3/4)*(1/4)
fifth flip:first play win with probablity (3/4)^2 * (1/4)
sixth flip:second play win with probablity (3/4)^3 * (1/4)
(Notice 1/4+(3/4)*(1/4)+(3/4)^2 * (1/4)+...= (1/4)*(1/(1-3/4))= 1)
P(first play wins)=(1/4)+(3/4)^2 * (1/4)+...=(1/4)* (1+(3/4)^2+(3/4)^4...)=(1/4)(1/(1-9/16))=4/7
Method 2:
We know third flip:first player win with probability 1/4 (HHH or TTT)
So second player is just like first player except there is the 1/4 chance that first player wins first.
=> P(second player win)=3/4 P(first player win)
P(second player win)+ P(first player win) = 1
=>3/4 P(first player win)+P(first player win)=1
=>P(first player win)=4/7