Dice Sums, Matching and Geometric Probability: Quick Revision
A brief note on dice sums, matching and geometric probability: the ways to get a total, repeated trials seen as counting, birthdays and derangements, probability on a line and in a square, and checking an answer by simulation.
A brief note on Dice Sums, Matching and Geometric Probability. Read it before a test. Try each question at the end before you open its answer.
Dice and repeated trials
Two dice: a total of s has 6−∣s−7∣ ways out of 36.
Three dice: the ways for the totals 3 to 18 are 1,3,6,10,15,21,25,27,27,25,21,15,10,6,3,1 out of 216.
Exactly k heads in n tosses:2nnCk.
At least one in n trials:1−(chance of none in one trial)n.
Birthdays and matching
All different:365n365Pn. A shared birthday is the complement. For n=23 it is about 0.507.
Derangements:Dn=n!k=0∑nk!(−1)k and Dn=(n−1)(Dn−1+Dn−2).
No match:n!Dn, close to e1. Exactly r matches:n!nCr×Dn−r.
Geometric probability and simulation
On a line:total lengthgood length. In a square:total areagood area.
Two friends: both wait w minutes in an hour: 1−(6060−w)2.
Simulation: it estimates. The usual error is about Np(1−p).
A worked example
Two dice are thrown. Find the probability that the total is at most 5, and then the probability that it is at least 9.
At most 5. The totals 2, 3, 4, 5 have 1, 2, 3, 4 ways, so 10 outcomes and 3610=185.
At least 9. The totals 9, 10, 11, 12 have 4, 3, 2, 1 ways, so 10 outcomes and 185 again. This is the symmetry of the list.
Practice with new numbers
A program to try
The program finds the chance of a total of 7 with two dice and of exactly three heads in six tosses. Then it estimates the chance that a rod of length 12 cut at a random point has both pieces at least 3 long.
Mistakes to avoid
A total as one outcome. A total of 7 is six outcomes.
Forgetting the places of the successes. Exactly k in n trials needs nCk.
A length for two random numbers. Use the square and an area.
Calling an estimate exact. A simulation estimates.
Check yourself
How many of the 36 outcomes of two dice give a total of 6?
A fair coin is tossed 5 times. Find the probability of exactly two heads.
Three letters are put into three envelopes at random. Find the probability that exactly one is correct.
A bus comes every 10 minutes. Find the probability that you wait at most 4 minutes.
A simulation of 2500 trials gives an estimate near 0.5. About how large is the usual error?
Sources
OpenStax, Introductory Statistics, Chapter 3, section on terminology, and Chapter 5, section on the uniform distribution.
OpenStax, Precalculus 2e, Chapter 11, sections on counting principles and on probability.