The standard argument that with 23 people selected at random, one has a (slightly) greater than 50% chance of getting a birthday match, assumes that birthdays are uniformly distributed.
See http://en.wikipedia.org/wiki/Birthday_problem or http://mathworld.wolfram.com/BirthdayProblem.html
The same assumptions and arguments show that with 60 people selected at random one is "almost certain" to get a match.
The second link ablove mentions that with only 14 people selected at random, one has a (slightly) greater than 50% chance of getting an "almost match" -- namely birthdays within a day of each other.
If, like me, you've generally asked each class (including Calc) for their birthday info on the first day of term, decade after decade, and wondered why "the Odds Gods" have smiled at you more often than you've any right to expect--giving matches most of the time even with class sizes under 30--there is a rational explanation.
About twenty years ago, Diaconis & Holmes showed that if one takes into account that in the US in modern times, there is a significant proportion of induced births which tend not to be scheduled at weekends, the resulting Mon-Fri clustering throws off the uniform distribution and this "lumpy logic" leads to an even higher chance of birthday coincidences:
http://www-stat.stanford.edu/~susan/papers/sankhya.pdf
For instance, with merely 16 or 17 people selected at random, one has a (slightly) greater than 50% chance of getting a birthday match. And the more the merrier: with 25 people the chances of getting a match is notable higher than it is under the unrealistic uniform distribution assumption.
Not that a class of students, who are probably born within a year or two of each other, is a group of people selected at random!
Tell that to your Ob/Gyn pals the next time you see them on the golf green, on a Friday afternoon or weekend. And thank them for making your classes more interesting:-)
If, like me, you don't play golf, you can simply text them.
"Card Colm" Mulcahy has been in the Dept of Mathematics at Spelman College, since 1988. His interests include algebra, number theory, geometry and card tricks.
Saturday, September 17, 2011
Friday, September 9, 2011
A round peg in a square hole is a better fit than a square peg in a round hole.
This can be deduced from considering this well-known puzzle:
http://www.smart-kit.com/s336/circle-square-puzzle/
The answer to that one is "a half" -- just imagine that the inner square is rotated 45 degrees and it becomes clear.
Now assume that the larger square has width 2, and hence area 4. The circle has area Pi. The smaller inside square has area 2.
So the square peg in round hole fit is 2/Pi.
So the round peg in square hole fit is Pi/4.
Since Pi > 3 it follows that Pi^2 > 8 and hence Pi > 8/Pi and so Pi/4 > 2/Pi:
Hence, a round peg in a square hole is a better fit than a square peg in a round hole.
Maybe that's why we see round tins in rectangular boxes more often than rectangular tins in cylindrical boxes:-)
Also see: http://mathworld.wolfram.com/Peg.html
For the record, "round peg in a square hole" gets 175,000 hits on google, and "square peg in a round hole" gets 1,330,000.
Exercise: does this generalize to dimension 3 and higher?
http://www.smart-kit.com/s336/circle-square-puzzle/
The answer to that one is "a half" -- just imagine that the inner square is rotated 45 degrees and it becomes clear.
Now assume that the larger square has width 2, and hence area 4. The circle has area Pi. The smaller inside square has area 2.
So the square peg in round hole fit is 2/Pi.
So the round peg in square hole fit is Pi/4.
Since Pi > 3 it follows that Pi^2 > 8 and hence Pi > 8/Pi and so Pi/4 > 2/Pi:
Hence, a round peg in a square hole is a better fit than a square peg in a round hole.
Maybe that's why we see round tins in rectangular boxes more often than rectangular tins in cylindrical boxes:-)
Also see: http://mathworld.wolfram.com/Peg.html
For the record, "round peg in a square hole" gets 175,000 hits on google, and "square peg in a round hole" gets 1,330,000.
Exercise: does this generalize to dimension 3 and higher?
Subscribe to:
Posts (Atom)