exercise:3f7aeef1b5: Difference between revisions
(Created page with "<div class="d-none"><math> \newcommand{\NA}{{\rm NA}} \newcommand{\mat}[1]{{\bf#1}} \newcommand{\exref}[1]{\ref{##1}} \newcommand{\secstoprocess}{\all} \newcommand{\NA}{{\rm NA}} \newcommand{\mathds}{\mathbb}</math></div> (from K. Levasseur<ref group="Notes" >K. Levasseur, “How to Beat Your Kids at Their Own Game,” ''Mathematics Magazine'' vol. 61, no. 5 (December, 1988), pp. 301-305.</ref>) A parent and his child play the following game. A deck of <math>2n</m...") |
No edit summary |
||
Line 47: | Line 47: | ||
\frac 12 + \frac 1{2\sqrt 2}\ . | \frac 12 + \frac 1{2\sqrt 2}\ . | ||
</math> | </math> | ||
'''Notes''' | '''Notes''' | ||
{{Reflist|group=Notes}} | {{Reflist|group=Notes}} |
Latest revision as of 00:38, 15 June 2024
(from K. Levasseur[Notes 1]) A parent and his child play the following game. A deck of [math]2n[/math] cards, [math]n[/math] red and [math]n[/math] black, is shuffled. The cards are turned up one at a time. Before each card is turned up, the parent and the child guess whether it will be red or black. Whoever makes more correct guesses wins the game. The child is assumed to guess each color with the same probability, so she will have a score of [math]n[/math], on average. The parent keeps track of how many cards of each color have already been turned up. If more black cards, say, than red cards remain in the deck, then the parent will guess black, while if an equal number of each color remain, then the parent guesses each color with probability 1/2. What is the expected number of correct guesses that will be made by the parent? Hint: Each of the [math]{{2n}\choose n}[/math] possible orderings of red and black cards corresponds to a random walk of length [math]2n[/math] that returns to the origin at time [math]2n[/math]. Show that between each pair of successive equalizations, the parent will be right exactly once more than he will be wrong. Explain why this means that the average number of correct guesses by the parent is greater than [math]n[/math] by exactly one-half the average number of equalizations. Now define the random variable [math]X_i[/math] to be 1 if there is an equalization at time [math]2i[/math], and 0 otherwise. Then, among all relevant paths, we have
Thus, the expected number of equalizations equals
One can now use generating functions to find the value of the sum.
It should be noted that in a game such as this, a more interesting question than the one
asked above is what is the probability that the parent wins the game? For this game, this
question was answered by D. Zagier.[Notes 2]
He showed that the probability of winning is asymptotic (for large
[math]n[/math]) to the quantity
Notes