play and relax: games for kids games
  Cut the knot: learn to enjoy mathematics
A math books store at a unique math study site. Learn to enjoy mathematics.
Google
Web CTK
Best sites for teachers
Sites for teachers
Sites for parents
Terms of use
Awards

Interactive Activities
CTK Exchange
CTK Insights - a blog

Games & Puzzles
What Is What
Arithmetic/Algebra
Geometry
Probability
Outline Mathematics
Make an Identity
Book Reviews
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
Visual Illusions
My Logo
Math Poll
Cut The Knot!
MSET99 Talk
Other Math sites
Front Page
Movie shortcuts
Personal info
Privacy Policy

Guest book
News sites

Recommend this site
Best sites for teachers
Sites for teachers
Sites for parents

Education & Parenting

Manifesto: what CTK is about Search CTK Buying a book is a commitment to learning Table of content Things you can find on CTK Chronology of updates Email to Cut The Knot Recommend this page

Probability Problems

In a world as crazy as this one, it ought to be easy to find something that happens solely by chance. It isn't.

Kevin McKeen
The Orderly Pursuit of Pure Disorder.
Discover, January, 1981

American Heritage Dictionary defines Probability Theory as the branch of Mathematics that studies the likelihood of occurrence of random events in order to predict the behavior of defined systems.

Starting with this definition, it would (probably :-) be right to conclude that the Probability Theory, being a branch of Mathematics, is an exact, deductive science that studies uncertain quantities related to random events. This might seem to be a strange marriage of mathematical certainty and uncertainty of randomness. On a second thought, though, most people will agree that a newly conceived baby has a 50-50 chance (exact but, likely, inaccurate estimate) to be, for example, a girl or a boy, for that matter.

Interestingly, a recent book by Marilyn vos Savant dealing with people's perception of probability and statistics is titled The Power of Logical Thinking. My first problems will be drawn from this book.

As with other mathematical problems, it's often helpful to experiment with a problem in order to gain an insight as to what the correct answer might be. By necessity, probabilistic experiments require computer simulation of random events. It must sound as an oxymoron - a computer (i.e., deterministic device) producing random events - numbers, in our case, to be exact. See, if you can convince yourself that your computer can credibly handle this task also. A knowledgeable reader would, probably, note that this is a program (albeit deterministic) and not the computer that does the random number simulation. That's right. It's me and not your computer to blame if the simulation below does not exactly produce random numbers.

When you press the "Start" button below, the program will start random selection. Every second it will pick up one of the three numbers - 1, 2, or 3. You can terminate the process anytime by pressing the "Stop" button. Frequencies of selections appear in the corresponding input boxes. Do they look random?

 
1 2 3

If this computer simulation of random selection seems sufficiently credible, you may want to continue and tackle the Monty Hall Problem.

Remark

Actually, the process of selection includes no selection at all. As a mathematician Robert Coveyou from the Oak Ridge National Laboratory has said, The generation of random numbers is too important to be left to chance. Instead, I have a function that is invoked every second. Each time it's invoked, it produces one of the three 1, 2, 3 numbers. This is how the function works.

I start with an integer seed = 0. When a new random number is needed, the seed is replaced with the result of the following operation

  seed = (7621 × seed + 1) mod 9999

In other words, in order to get a new value of seed, multiply the old value by 7621, add 1, and, finally, take the result modulo 9999. Now, assume, as in the example above, we need a random selection from the triple 1, 2, 3. That is, we seek a random integer n satisfying 1 ≤ n ≤ 3. The formula is

  n = [3 × seed/9999] + 1.

Taking it step by step, dividing seed by 9999 produces a nonnegative real number between 0 and 1. This times 3 gives a real number between 0 and 3. Brackets reduce the latter to the nearest integer which is not greater than the number itself. The result is a nonnegative integer that is less than 3. Adding 1 makes it one of the three 1, 2, or 3.

See Seminumerical Algorithms by Donald Knuth for more details.

Problems

  1. 100 Prisoners and a Light Bulb
  2. Amoeba's Survival
  3. Aspiring Tennis Club Candidate
  4. Balls of Two Colors
  5. Barycentric Coordinates and Geometric Probability
  6. Bear cubs problem
  7. Benford's Law and Zipf's Law
  8. Bertrand's Paradox [Java]
  9. Birds On a Wire [Java]
  10. Birthday Coincidence
  11. Book Index Range
  12. Buffon’s Needle Problem
  13. Buffon's Noodle [Java]
  14. Careless Mailing Clerk
  15. Chess Players Truel [Java]
  16. Chevalier de Méré's Problem
  17. Diminishing Hopes
  18. Family Statistics [Java]
  19. How to Ask an Embarrassing Question
  20. Incidence of Breast Cancer
  21. Integer Rectangle [Java]
  22. Lewis Carroll's pillow problem [JavaScript]
  23. Lost Boarding Pass
  24. Mathematics and Biology [Java]
  25. Misuse and Misconception of Statistics
  26. Monty Hall Dilemma [JavaScript]
  27. Parrondo Paradox [Java]
  28. Pauling's joke
  29. Probability and Infinity
  30. Random Clock Hands [Java]
  31. Sick Child and Doctor
  32. Simpson's paradox
  33. Three pancakes problem [JavaScript]
  34. Two Envelopes Paradox
  35. Unreliable Witness
  36. Who Needs Monty? [Java]

Copyright © 1996-2008 Alexander Bogomolny

29436758Page copy protected against web site content infringement by Copyscape


Search:
Keywords:


Latest on CTK Exchange
try this puzzle ?/?? + ?/?? + ?/? ...
Posted by albert1950
0 messages
07:05 AM, Jul-10-08

Monty Hall Problem
Posted by linkdon
72 messages
06:07 PM, Jul-24-08

Missing information
Posted by roboknight
2 messages
07:32 AM, Jun-22-08

Can You See The Patterns..?
Posted by wustvn
0 messages
10:08 AM, Jul-23-08

Mistake on the page (an aside, Be ...
Posted by Max
4 messages
10:28 AM, Feb-28-08

Central Limit Theorem proof problem
Posted by Manuel
1 messages
01:54 PM, Jul-22-08

You can drill a square hole
Posted by Giorgis
1 messages
10:15 PM, Jul-12-08