You friend challenges you to play "Grab & Guess" game. As the name suggests, he will grab a handful amount of coins from his money bag, and you'll guess whether the number of coins is odd or even.
Each correct guess will grant you 1 dollar before your friend puts the coins back and resumes the game, and you can continue playing infinitely as long as it's the right guess. On the other hand, the wrong guess will end the game immediately.
If your friend charges you 1 dollar as an entry fee, will this game earn or lose you money? (Assume there's no cheating!)
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Since the question indicates that the game would end if the player fails at guessing, we can come up with the following scenarios (P for Pass & F for Fail):
F earns 0 dollars.
PF earns 1 dollar.
PPF earns 2 dollars.
PPPF earns 3 dollars.
Therefore, the probability distribution of a discrete random variable X , where X denotes a number of successful guesses, is as follows:
P ( X = 0 ) = 2 1 P ( X = 1 ) = ( 2 1 ) 2 P ( X = 2 ) = ( 2 1 ) 3 P ( X = 3 ) = ( 2 1 ) 4 ⋮ P ( X = n ) = ( 2 1 ) n + 1
The expected earn E from the accumulative heads = n .
Therefore, the expected earn from this game = ∑ i = 0 ∞ P E
= ∑ i = 0 ∞ ( n ) ( ( 2 1 ) n + 1 )
= 1 × ( 2 1 ) 2 + ( 2 ) × ( 2 1 ) 3 + ( 3 ) × ( 2 1 ) 4 + . . .
= [ 1 × ( 2 1 ) 2 + ( 1 ) × ( 2 1 ) 3 + ( 1 ) × ( 2 1 ) 4 + . . . ] + [ 1 × ( 2 1 ) 3 + ( 1 ) × ( 2 1 ) 4 + . . . ] + [ 1 × ( 2 1 ) 4 . . . ] +....
Let S = 1 × ( 2 1 ) 2 + ( 1 ) × ( 2 1 ) 3 + ( 1 ) × ( 2 1 ) 4 + . . .
From the geometric progression, we will get: S = 1 − 2 1 4 1 = 2 1 .
Then the expected earn = S ( 1 + 2 1 + 4 1 + . . . ) = ( 2 1 ) × 2 = 1 .
From this game, the player's expected to earn 1 dollar, but since the entry fee is already 1 dollar. The player will neither earn or lose money from playing this game.