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?

No comments:

Post a Comment