Newton–Pepys problem

From testwiki
Jump to navigation Jump to search

Template:Short description The Newton–Pepys problem is a probability problem concerning the probability of throwing sixes from a certain number of dice.[1]

In 1693 Samuel Pepys and Isaac Newton corresponded over a problem posed to Pepys by a school teacher named John Smith.[2] The problem was:

Template:Quote

Pepys initially thought that outcome C had the highest probability, but Newton correctly concluded that outcome A actually has the highest probability.

Solution

The probabilities of outcomes A, B and C are:[1]

P(A)=1(56)6=31031466560.6651,
P(B)=1x=01(12x)(16)x(56)12x=134670421121767823360.6187,
P(C)=1x=02(18x)(16)x(56)18x=15166600495229253899891671040.5973.

These results may be obtained by applying the binomial distribution (although Newton obtained them from first principles). In general, if P(n) is the probability of throwing at least n sixes with 6n dice, then:

P(n)=1x=0n1(6nx)(16)x(56)6nx.

As n grows, P(n) decreases monotonically towards an asymptotic limit of 1/2.

Example in R

The solution outlined above can be implemented in R as follows:

for (s in 1:3) {          # looking for s = 1, 2 or 3 sixes
  n = 6*s                 # ... in n = 6, 12 or 18 dice
  q = pbinom(s-1, n, 1/6) # q = Prob( <s sixes in n dice )
  cat("Probability of at least", s, "six in", n, "fair dice:", 1-q, "\n")
}

Newton's explanation

Although Newton correctly calculated the odds of each bet, he provided a separate intuitive explanation to Pepys. He imagined that B and C toss their dice in groups of six, and said that A was most favorable because it required a 6 in only one toss, while B and C required a 6 in each of their tosses. This explanation assumes that a group does not produce more than one 6, so it does not actually correspond to the original problem.[3]

Generalizations

A natural generalization of the problem is to consider n non-necessarily fair dice, with p the probability that each die will select the 6 face when thrown (notice that actually the number of faces of the dice and which face should be selected are irrelevant). If r is the total number of dice selecting the 6 face, then P(rk;n,p) is the probability of having at least k correct selections when throwing exactly n dice. Then the original Newton–Pepys problem can be generalized as follows:

Let ν1,ν2 be natural positive numbers s.t. ν1ν2. Is then P(rν1k;ν1n,p) not smaller than P(rν2k;ν2n,p) for all n, p, k?

Notice that, with this notation, the original Newton–Pepys problem reads as: is P(r1;6,1/6)P(r2;12,1/6)P(r3;18,1/6)?

As noticed in Rubin and Evans (1961), there are no uniform answers to the generalized Newton–Pepys problem since answers depend on k, n and p. There are nonetheless some variations of the previous questions that admit uniform answers:

(from Chaundy and Bullard (1960)):[4]

If k1,k2,n are positive natural numbers, and k1<k2, then P(rk1;k1n,1n)>P(rk2;k2n,1n).

If k,n1,n2 are positive natural numbers, and n1<n2, then P(rk;kn1,1n1)>P(rk;kn2,1n2).

(from Varagnolo, Pillonetto and Schenato (2013)):[5]

If ν1,ν2,n,k are positive natural numbers, and ν1ν2,kn,p[0,1] then P(r=ν1k;ν1n,p)P(r=ν2k;ν2n,p).

References

Template:Reflist

Template:Isaac Newton

  1. 1.0 1.1 Template:MathWorld
  2. Chaundy, T.W., Bullard, J.E., 1960. "John Smith’s Problem." The Mathematical Gazette 44, 253-260.
  3. Cite error: Invalid <ref> tag; no text was provided for refs named Stigler
  4. Chaundy, T.W., Bullard, J.E., 1960. "John Smith’s Problem." The Mathematical Gazette 44, 253-260.
  5. Template:Cite journal