Monday 7 March 2011

For Pi Day, Pi equals Four?

Pi Day Countdown

A while back Dave Renfro graced this blog with a guest post.  One of his former students was reading and related a "paradox" that Dave had shared in one of his classes at Central Michigan.  He wrote:
"A person starts at (0,0) and wants to travel to (1,1) but can only move in right angles. If they travel one unit over then one up, they travel 2 units. If they go .5 units over, then .5 up, then .5 over, then .5 up, they travel 2 units. If they continue to decrease the distance traveled before turning by a factor of .5, to the point where the distance traveled before turning is at about 0 (limit as d -> o and as # of turns -> infinity) then the distance traveled suddenly becomes sqrt (2). "
 

I was reminded of this a few days ago when a post at Equalis used a similar approach to "prove" that pi = 4.  This close to Pi day, I thought I would circulate it in case any classroom teachers out there needed one more topic for the day of celebrations they had planned.  Here is the image from the post... see the whole discussion here:

The anaysis answer to the why involves the rather complex idea of semi-continuity.  I will leave that back in the capable hands of Dave Renfro who sort of started al this, so here are some remarks (slightly edited) he wrote about the topic
"..consider the (0,0)-to-(1,1) diagonal of the square whose vertices are (0,0), (1,0), (0,1), and (1,1) to be the limit curve, and use a sequence of ever smaller and more numerous
horizontally and vertically oriented staircase curves that approach the diagonal. The diagonal has length
sqrt(2) and each of the staircase curves has length 2,  and hence the limit of the lengths of the staircase
curves is 2. The fact that the staircase curves are not graphs of functions is unimportant, since we can
simply rotate things so that the diagonal is along the x-axis. I believe I've read somewhere that this example
made a strong impression on Lebesgue when he was an undergraduate student (mid to late 1890s), and it likely played a small role in stimulating Lebesgue's later work in real analysis, such as the "Lebesgue integral"
(google the phrase if not familiar with its importance), among other things."

"...the limit of the lengths is greater than the length of the limit. In general, it is always true (subject to very mild restrictions on what a "curve" is) that the limit of the lengths is greater than or equal to the length of
the limit. Thus, while arc length is not a continuous function in this setting, it is "lower semicontinuous"
at each curve. To consider what continuity and semicontinuity of the "arc length function" means,
we need to have in mind a domain space of curves and a "distance between two curves" notion (or at
least, a topology on the set of curves), which I'll skip in order to focus on what semicontinuity means."

"The notions "lower semicontinuous at x=b" and "upper semicontinuous at x=b" are two halves of the notion
"continuous at x=b" in a way that is similar to how "left continuous at x=b" and "right continuous at x=b"
are two halves of the notion "continuous at x=b". The former (semicontinuity) makes use of the two
sides (below and above) on which the outputs can be located, while the latter (unilateral continuity)
makes use of the two sides (left and right) on which the inputs can be located. Even more precisely, we
could consider what it means for a function to be right lower semicontinuous at x=b, or any of the other three
combined possibilities . . .Specifically, if f(x) is defined on an open interval containing b, then f(x) is lower semicontinuous at x=b means that, for each sequence x_n approaching b such that LIMIT[f(x_n)] exists, we have f(b) less than or equal to LIMIT[f(x_n)]. Requiring, instead, that f(b) be greater than or equal to LIMIT[f(x_n)] gives the notion "upper semicontinuous at x=b". 

OK, If you still think of pi as about 3.1415.... you can find a nice screen wallpaper background for the day from John Hanna's web page.
For those who know it goes on and on, here is a pretty fact for Pi Day....

31415926535897932384626433832795028841 is a prime number.  BUT, It’s also the first 38 digits of pi. Ok, So if you stopped after some arbitrary number of digits of Pi, what is the probability that those digits will form a prime number?  ... It's prime for one digit, and for two, but not for three, four or five... go on, your turn....


From a post a few  years  ago...And on the "statpics" blog, Robert W. Jernigan, Professor of Statistics at American University, posted some notes on the First Published Random Walk. Turns out it was by John Venn in 1888, only fourteen years after the first copyrite date of "Life on the Mississippi." And the randomizing device??? The digits of Pi... Here is the image from Venn's classic "The Logic of Chance" :



Some years after I wrote this I found a twitter link to a random walk of Pi with 100 billion digits, and lots of nice graphics, enjoy.
And there is actually an official(?) Pi Day organization with a web page ...and (surprise, surprise!) they will sell you stuff.. like Pi shirts and coffee cups and clocks...  and you can get a little count-down gadget like mine..it's free.

2 comments:

Steven Colyer said...

With apologies to Dave Renfro, I did not understand his explanation (although I tend to skim read, so upon further reading and re-reading, maybe...?) . . I have no problem with analysis, I just get steaming MAD when I see mathematical notation presented in keyboard form.

E.g., x^2 = x squared. I hate that. Also, what does X_n mean? X sub n?

ANGER in Mathematics? you may say. There's no ANGER in Mathematics, just as there is no crying in baseball. Right?

Well, I don't have a good defense, that's true. I guess it's an emotional control thing.

In any event, that is a GREAT puzzle Pat, thanks.

At this point my joking side wishes to weigh in with stuff like "So? Maybe it IS four! The Babylonians got it wrong when they guessimated it was 3, but at least they were off by ONLY 33.33 infinite 3's percent, and that's not bad!" or "Speaking as an Engineer, I have no problem with pi being 4, as we like to add on factors of safety. In fact, just to be on the safer side, make it 5."

But seriously folks ...

After about 5 minutes of thought (which would have been compressed into 30 seconds if this were a test question on a time-pressure exam), I "got" it. The trick is in the 3rd and fourth panels. Sure, the squares look nice, but they are at the midway points. It breaks down as we get closer to the four points where the circle and square meet. 8 directions really because each of those 4 points are approached from 2 different directions.

Is that right?

Pretty slick, Pat, thanks for making me think, which is the greatest gift one can give another IMO .... OK, 2nd greatest. :-)

Steven Colyer said...

Pat, have you see "The tao manifesto"? Pretty funny. It says Euler and Archimedes screwed up, and we should be using tau = 2 x pi instead, the reason being 2(pi) comes up quite a bit in analysis.

Click here to see it.

Sure but look what that would do to Euler's Equation. Not so pretty NOW is it, hmm?

As I wrote at Facebook (which, by the way, are you on that?):

It would certainly make Euler's Equation, generally considered the most beautiful equation in Mathematics, more interesting. Remove pi, replace with tau/2. Messier, though. Less elegant. Ew. So instead of having e, pi, i, 0, 1 and the operators +, x, =, and exponentiation, we would have e, tau, i, 0, 1, 2, and the operators +,x, /, =, and exponentiation. I dunno, can't we work subtraction in there somewhere? Oh, right, subtract one from both sides. But then it's not the tightest, and you lose addition! Arghh! Math Jokes <=== if you understand them, you probably don't have any friends. ;-) I'll stick with 1+e^(i(pi))=0, thanks.