A birthday in St. Petersburg

Similar documents
Considering the Pasadena Paradox

Problems from Probability and Statistical Inference (9th ed.) by Hogg, Tanis and Zimmerman.

Math , Fall 2012: HW 5 Solutions

HW2 Solutions, for MATH441, STAT461, STAT561, due September 9th

P (A) = P (B) = P (C) = P (D) =

k P (X = k)

Great Theoretical Ideas in Computer Science

Chapter 14. From Randomness to Probability. Copyright 2012, 2008, 2005 Pearson Education, Inc.

Solution to HW 12. Since B and B 2 form a partition, we have P (A) = P (A B 1 )P (B 1 ) + P (A B 2 )P (B 2 ). Using P (A) = 21.

V. RANDOM VARIABLES, PROBABILITY DISTRIBUTIONS, EXPECTED VALUE

MAKING MONEY FROM FAIR GAMES: EXAMINING THE BOREL-CANTELLI LEMMA

RANDOM WALKS AND THE PROBABILITY OF RETURNING HOME

What is a random variable

12 1 = = 1

Conditional Probability

SIMPLE RANDOM WALKS: IMPROBABILITY OF PROFITABLE STOPPING

Expected Value 7/7/2006

CS 124 Math Review Section January 29, 2018

besides your solutions of these problems. 1 1 We note, however, that there will be many factors in the admission decision

Math 1313 Experiments, Events and Sample Spaces

CS 361: Probability & Statistics

Lecture 6 - Random Variables and Parameterized Sample Spaces

Introduction to Probability

Lecture 1. ABC of Probability

Senior Math Circles November 19, 2008 Probability II

The probability of an event is viewed as a numerical measure of the chance that the event will occur.

Name: 180A MIDTERM 2. (x + n)/2

Lecture 1 : The Mathematical Theory of Probability

Section 13.3 Probability

Notes 1 Autumn Sample space, events. S is the number of elements in the set S.)

TOPIC 12: RANDOM VARIABLES AND THEIR DISTRIBUTIONS

First Digit Tally Marks Final Count

P [(E and F )] P [F ]

Basic Probability. Introduction

14 - PROBABILITY Page 1 ( Answers at the end of all questions )

Expected Value and Variance

Lecture Notes. Here are some handy facts about the probability of various combinations of sets:

ADVANCE TOPICS IN PROBABILITY THEORY

MATH 3C: MIDTERM 1 REVIEW. 1. Counting

INTRODUCTION TO MARKOV CHAINS AND MARKOV CHAIN MIXING

2. AXIOMATIC PROBABILITY

The Range of a Random Walk on a Comb

Probability (Devore Chapter Two)

Probability Theory and Simulation Methods

Probability: Terminology and Examples Class 2, Jeremy Orloff and Jonathan Bloom

Exam 1 Review With Solutions Instructor: Brian Powers

Some Basic Concepts of Probability and Information Theory: Pt. 1

Notes 1 : Measure-theoretic foundations I

1 Normal Distribution.

CISC 1100/1400 Structures of Comp. Sci./Discrete Structures Chapter 7 Probability. Outline. Terminology and background. Arthur G.

MAS275 Probability Modelling Exercises

Math 180B Homework 4 Solutions

The Euler-MacLaurin formula applied to the St. Petersburg problem

Chapter 35 out of 37 from Discrete Mathematics for Neophytes: Number Theory, Probability, Algorithms, and Other Stuff by J. M. Cargal.

Probability Rules. MATH 130, Elements of Statistics I. J. Robert Buchanan. Fall Department of Mathematics

Conditional Probability 2 Solutions COR1-GB.1305 Statistics and Data Analysis

324 Stat Lecture Notes (1) Probability

Lecture 6: The Pigeonhole Principle and Probability Spaces

What are the odds? Coin tossing and applications

Discrete Structures for Computer Science

Probability Experiments, Trials, Outcomes, Sample Spaces Example 1 Example 2

Introduction to Probability

6.042/18.062J Mathematics for Computer Science. Independence

4/17/2012. NE ( ) # of ways an event can happen NS ( ) # of events in the sample space

ELECTRICAL NETWORK THEORY AND RECURRENCE IN DISCRETE RANDOM WALKS

arxiv: v1 [math.co] 21 Sep 2015

CSC Discrete Math I, Spring Discrete Probability

CS 237: Probability in Computing

What is Probability? Probability. Sample Spaces and Events. Simple Event

Topics in Probability Theory and Stochastic Processes Steven R. Dunbar. Binomial Distribution

Date: Tuesday, 18 February :00PM. Location: Museum of London

13-5 Probabilities of Independent and Dependent Events

Pólya s Random Walk Theorem

Probability 1 (MATH 11300) lecture slides

STA Module 4 Probability Concepts. Rev.F08 1

1 Sequences of events and their limits

1 What are probabilities? 2 Sample Spaces. 3 Events and probability spaces

Independence Solutions STAT-UB.0103 Statistics for Business Control and Regression Models

Organization Team Team ID#

the time it takes until a radioactive substance undergoes a decay

Randomized Algorithms

Random Variables. Statistics 110. Summer Copyright c 2006 by Mark E. Irwin

MATH 19B FINAL EXAM PROBABILITY REVIEW PROBLEMS SPRING, 2010

success and failure independent from one trial to the next?

Steve Smith Tuition: Maths Notes

Lecture Lecture 5

STEP Support Programme. Statistics STEP Questions

Total. Name: Student ID: CSE 21A. Midterm #2. February 28, 2013

Discrete Probability Distributions

Grades 7 & 8, Math Circles 24/25/26 October, Probability

6.042/18.062J Mathematics for Computer Science November 21, 2006 Tom Leighton and Ronitt Rubinfeld. Independence

Chapter 10 Markov Chains and Transition Matrices

arxiv: v1 [math.pr] 26 Mar 2008

6.042/18.062J Mathematics for Computer Science November 28, 2006 Tom Leighton and Ronitt Rubinfeld. Random Variables

Intro to Probability

MATH STUDENT BOOK. 12th Grade Unit 9

Markov Chains and Pandemics

Chapter 2: Probability Part 1

Probability concepts. Math 10A. October 33, 2017

UNIT 5 ~ Probability: What Are the Chances? 1

Transcription:

Mathematical Assoc of America College Mathematics Journal 45: July 29, 207 2:27 pm StPetersburgtex page A birthday in St Petersburg Bio to be included if accepted for publication Consider the following question: How many flips of the coin are required to get the same number of Heads as Tails? Sometimes, you only need two flips (when you get Heads-Tails or Tails-Heads), sometimes you need 4 (HHT T or T T HH ), or 6 (HHT HT T, HHHT T T, T T T HHH, or T T HT HH), etcetera We will use this problem as inspiration to revisit two famous paradoxes, the Birthday Paradox and the St Petersburg Paradox St Petersburg Paradox Revisited The St Petersburg paradox, as written in [3], is as follows: A fair coin is flipped and the player is paid $2 if a head occurs on the first toss, $4 if a head first appears on the second toss and, in general, $2 k if Heads first appears on the k-th toss What would you be willing to pay for the privilege of playing this game? The reason we consider it a paradox is that the expected value of the payment is, indeed the probability that the first H occurs in the k-th toss is 2 k because the only way it occurs is if we have the sequence T T T T H with k Tails at the beginning This implies that the expected payment is ( 2 2 + 2 2 + + + 2 2) The paradox was introduced by Daniel Bernoulli in [2] and has been heavily studied over the years Some references include [6], [9], and [] The game we will play is the following: A fair coin is flipped and the player is paid $2 if after two flips the coin landed Heads once and Tails once, $4 if it takes four coin flips to get the same number of Heads as Tails, and in general, $2k if it takes 2k flips for the coin to land the same number of times Heads as Tails How much would a person be willing to pay to play this game? Let X be the random variable representing the payment Like in the St Petersburg paradox, you get that the expected payoff diverges to infinity In this short article, we ll prove that E[X] by first calculating the probability that X 2k for a positive integer k (note that X is always even) Before we get to the theorem, let s remember a classical combinatorics result (which can be found in [0]) Lemma The number of paths from (0, 0) to (n, n) using only unit steps to the right or up that don t go above the diagonal from (0, 0) to (n, n) is the n-th Catalan number: n + n We will use H to represent Heads and T to represent Tails VOL 45, NO, JANUARY 204 THE COLLEGE MATHEMATICS JOURNAL

Mathematical Assoc of America College Mathematics Journal 45: July 29, 207 2:27 pm StPetersburgtex page 2 Proposition Let k be a positive integer Then P[X 2k] 2 Proof We want to figure out in how many ways we can get k Heads and k Tails without having the number of Heads equal the number of Tails happen beforehand We can think of this as the number of paths from (0, 0) to (k, k) using only steps to the right ( Heads ) and steps upwards ( Tails ) which don t intersect the diagonal from (0, 0) to (k, k) This is almost the situation of Lemma, however in this case we can t touch the diagonal, while Lemma allows touching the diagonal as long as it s not crossed If the first coin flip is Heads, then we re at (, 0) To avoid touching the diagonal from (0, 0) to (k, k), a path must move from (, 0) to (k, k ) but not cross the diagonal from (, 0) to (k, k ) (see Figure ) But considering the subsquare of sidelength k with vertices (, 0), (, k ), (k, 0), (k, k ) reveals that, by Lemma, the number of such paths is the (k ) th Catalan number, ie, k k Given that the first flip could be Tails, we multiply this number of paths by 2 Since there are 2 2k 4 k possible outcomes of flipping a coin 2k times, the formula for P[X 2k] follows Figure Example of k 4 The diagonal AB is to be avoided, hence the diagonal CD is not to be crossed Remark This result is known as the first return on a symmetric one dimensional random walk Most proofs I found of this result (see [4], [5]) use generating functions One proof that uses Catalan numbers can be found in [7] Now note that we can express P[X 2k] as 2 2k, 4 k k 4 k k and so 2 ( 4 k ) 2k k 4 k k 2 THE MATHEMATICAL ASSOCIATION OF AMERICA

Mathematical Assoc of America College Mathematics Journal 45: July 29, 207 2:27 pm StPetersburgtex page 3 The reason it equals is that the sum telescopes, and this is legal because by Stirling s formula 2 2k lim 0 k 4 k k This implies the following Corollary The probability that eventually the number of Heads will equal the number of Tails is In other words, the probability that the process terminates is, which implies P[X ] 0 Remark This corollary was first proven by Pólya in [8] in a more general setting We are now ready to prove that our St Petersburg variant game has infinite expected payout Theorem Let X be the number of coin flips it takes to get the same number of Heads as Tails Then E[X] Proof Since P[X ] 0, the expected value of X is E[X] (2k)P[X 2k] (2k) 2 4 k k 4 n n Since the sum of the -th row of Pascal s triangle is 4 n, and n is the biggest of the + terms in the n-th row of Pascal s triangle, then n + 4n Therefore E[X] n0 n0 + > n Birthday Paradox Revisited Now suppose you have a class of n students and you ask each of them to flip a coin until they each have the same number of Heads as Tails Consider the maximum among all of the students As shown above, the expected value of coin flips for each student is infinite However, in practice, the process will end Anecdotal evidence suggests that the maximum number of coin flips (among the results for the students) is surprisingly large (generally in the hundreds) even in small classes (a few dozen) In this section we ll analyze this question 2 Stirling s formula states that n! n n ( e 2πn This implies that ) n 4 n πn VOL 45, NO, JANUARY 204 THE COLLEGE MATHEMATICS JOURNAL 3

Mathematical Assoc of America College Mathematics Journal 45: July 29, 207 2:27 pm StPetersburgtex page 4 We ll start with calculating the probability that at least one of the students flips a coin m or more times (we may assume m is even, since the number of coin flips is never odd when the game terminates) This probability is m 2 2 4 k k n k Below is a table of values of the probability for a given m and n m\n 0 5 20 25 30 50 00 0 09590 0997 09983 09997 09999 00 05675 0755 0829 08770 099 09849 09998 000 02257 0386 04004 04724 05357 0726 09225 0000 00770 032 048 085 0236 0330 0552 00000 00249 00372 00493 0062 00730 087 02232 000000 00080 009 0058 0098 00237 0039 00767 Table Probability (rounded) that among n people someone flips a coin at least m times before they get the same number of Heads as Tails For example, for a class of 30 students there is better than even chance that at least 000 flips will be required for at least one student in order for the game to terminate The Birthday paradox is the surprising statement that you only need 23 people in a room so that the probability of two sharing the same birthday is at least 50% We can adapt our coin flip game to this setting We calculate the following table that represents the number of students n one needs to have a better than even chance that one of them will flip the coin at least m times m n 0 3 00 9 000 28 0000 87 00000 275 000000 869 Table 2 Number of students n that guarantee a greater than even chance that at least one of them flips a coin at least m times Therefore, you only need 9 students to make it more likely than not that one student will need to flip the coin at least 00 hundred times to get the same number of Heads as Tails Acknowledgment Summary We consider a probability question and use it to revisit two famous paradoxes, the St Petersburg paradox and the Birthday paradox 4 THE MATHEMATICAL ASSOCIATION OF AMERICA

Mathematical Assoc of America College Mathematics Journal 45: July 29, 207 2:27 pm StPetersburgtex page 5 References Robert J Aumann, The St Petersburg paradox: A discussion of some recent comments, Journal of Economic Theory 4 (977), no 2, 443 445 2 Daniel Bernoulli, Exposition of a new theory on the measurement of risk, Econometrica 22 (954), no, 23 36 3 Allan J Ceasar, A Monte Carlo simulation related to the St Petersburg paradox, The College Mathematics Journal 5 (984), no 4, 339 342 4 William Feller, An introduction to probability theory and its applications Vol I, Third edition, John Wiley & Sons, Inc, New York-London-Sydney, 968 MR 0228020 5 Charles M Grinstead and J Laurie Snell, Introduction to probability, Second edition 6 Karl Menger, Das unsicherheitsmoment in der wertlehre, Zeitschrift für Nationalökonomie 5 (934), no 4, 459 485 7 R Monte, The random walk for dummies, MIT Undergraduate Journal of Mathematics (999), no, 43 48 8 Georg Pólya, über eine Aufgabe der Wahrscheinlichkeitsrechnung betreffend die Irrfahrt im Straßennetz, Math Ann 84 (92), no -2, 49 60 MR 52028 9 Lloyd S Shapley, The St Petersburg paradox: A con games?, Journal of Economic Theory 4 (977), no 2, 439 442 0 Richard P Stanley and and, Enumerative combinatorics Vol 2, Cambridge Studies in Advanced Mathematics, vol 62, Cambridge University Press, Cambridge, 999, With a foreword by Gian-Carlo Rota and appendix by Sergey Fomin MR 676282 VOL 45, NO, JANUARY 204 THE COLLEGE MATHEMATICS JOURNAL 5