Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Pi explained (wikimedia.org)
81 points by shawndumas on June 17, 2011 | hide | past | favorite | 45 comments


Pi is the wrong constant.

That animation looks great, but it's misleading: the fundamental measurement of the circle is the radius, not the diameter.

Measured with a unit radius, we'd see 2*pi for a full "turn" of the wheel. Twice pi, or tau, is the magic number.

See http://tauday.com/ for details.


Random speculation: Maybe pi was chosen because the symbol for tau (τ) is hard to distinguish from a ‘T’ when hand-written?

BTW, I don't mean to take anything away from your comment; that link was awesome.


When π was "invented" it could have been 2 x 3.141. The author makes a case for tau because it is too late to redefine π


>Pi is the wrong constant.

Seems a bit pedantic. The post was about illustrating pi after all. I do enjoy the argument for tau though.


Actually I found that the animation showed a clear example demonstrating that pi is wrong. I don't know about you, but when I looked at it I immediately recognized the blue arrow and the centre of the wheel. That's a radius. There's no easy way to determine that a diameter was in the picture. As it rolls over the circumference, it's the radius line we follow. Therefore, I agree that pi is truly the wrong constant to show here. And it is wrong in a greater sense than what is presented at tauday. It's actually downright confusing or even misleading to highlight a radius and a circumference, and then talk about pi.


??? What do you think those vertical blue bars were all about?

I've read the Tau Manifesto before, and I think it makes some really good points. I'm probably 60-75% in agreement with it. But this animation is fine.


The animation itself admits the error by backing the circle up the distance of the radius before beginning rolling.


Pi is the right unit because it represents the largest irreducible radian size. It is the fundamental unit of 2 dimensional angles.


Only if all your shapes are convex. Arbitrary angles can be up to 2π.


I only really understood bezier curves after I saw a similar Wikipedia animation: http://en.wikipedia.org/wiki/B%C3%A9zier_curve#Constructing_...

It's amazing just how much seeing something move makes a difference.


You can also calculate pi by throwing frozen hot dogs: http://www.wikihow.com/Calculate-Pi-by-Throwing-Frozen-Hot-D...


Or you can see how ants calculate it in "The accuracy of Buffon’s needle: a rule of thumb used by ants to estimate area" at http://beheco.oxfordjournals.org/content/12/6/655.full.pdf


While I doubt this would actually explain pi to anyone who didn't already understand it, it is nonetheless kinda neat.


It could help someone who's just learning about pi to grok it more easily.


I agree that it is very neat and could be used for students that just can't quite grasp the concept of what pi really means. One of my teachers used something very similar to this to explain pi to students that did not quite understand the textbook definition.


Next question: Is it possible for a piece of string to be pi units long? How do transcendental numbers translate to the real world?


All measurements in the real world come with error bars. Indeed, at a certain scale the thing you're measuring generally becomes ill-defined. The length of a piece of string to tenths of an inch is pretty easy to define. If you magnify it so the end is rough, it's harder. Zoom in to subatomic, and things get really difficult to define, let alone measure.

Given that any error bar contains some rational numbers, the case can be made that rationals are all you'll ever need for measurements in the real world. Nothing can ever be measured so precisely that it has a definitively irrational length.

However, irrational numbers do serve as a useful abstraction when dealing with the real world, since one is often working in different scales. A rational approximation of pi that works in one context -- say, construction paper projects -- might not be good enough in another -- say, orbital mechanics. Identifying the abstract, transcendental value has the practical application that you can use a rational approximation appropriate to the scale.


Just as difficult a question: Is it possible for piece of string to be 2 units long?

In the real world, you always run into limits on how finely you can measure things before you run into quandaries about number theory.


I think something could be two units long. Two is discrete, and at a microscopic level, things can be exactly discrete values (i.e. two angstroms...). I think asking if something could be exactly pi long is a different question.


Actually, no they can't. At a quantum level things do not have definitive sizes. They have sort of "clouds", where the center of the cloud is more likely to be their size, and the edges are less likely - but still possible.


So a string of 24 carbon atoms is not 2 dozen carbon atoms long? Unit=dozen carbon atoms, length=2?


No. A carbon atom does not have a fixed size.

And especially when you attach atoms together the spacing between them varies depending on the strength and type of the bond.

Additionally, molecules are constantly in motion (heat) - one of the motions is changing the size of the spacing between them.

But even if you froze it to absolute zero (which is impossible), it doesn't matter, the size is not determinate, it's only probabilistic.

So a real physical object can never have a fixed size.


Yeah I gotta think about that one. If we assume that there is some smallest discrete base unit of space (which I think is plausible), then all string lengths could only be some integer multiple of that base unit. Therefore length pi is out of the question.

Now presumably 1 meter will be equivalent to some integer multiple of base units, though that may turn out not to be the case. Perhaps the current definition of a meter in terms of certain wavelengths of light will turn out to have a remainder of 1/7 of a base unit. ;) In that case you'd just define a slightly adjusted meter as a whole number of base units. So for simplicity let's assume that a meter is a whole number of base units.

Then it's clear that a string of any integer meter length would be possible. A string of length 1/3 meters might be possible, assuming that the number of base units in a meter was divisible by 3. But a string of length pi meters would be impossible.

As a computer programmer I tend to think of transcendental numbers in terms of processes which relentlessly converge, and that of course is the theory of limits. But I also recognize the financial constraints on running processes. So there will always be a "good enough" aspect to any physical measurement.


See my reply here: http://news.ycombinator.com/item?id=2667461

There is no discrete base unit of space, and on top of that objects do not have determinate sizes.


I thought the Planck length (1.616252×10−35) was the discrete unit of length. Is that not true?

http://en.wikipedia.org/wiki/Planck_length


Right, and I'm sure you're aware of the Planck constant for energy quanta as well. That's the kind of thing that made me say that a base unit of length is "plausible".

So although it's a fun thought experiment to think about strings that that are precisely 4998997308233 base units long, actually measuring such a thing is too expensive or even impossible due to Heisenberg.

Nevertheless, mathematics has demonstrated that it's useful to think of "real numbers" as infinitely precise things, because that way your number system doesn't impose any preordained limits on your measurements -- even though nature itself does.

By far most real numbers are actually non-computable, meaning that there is no finitely expressible procedure for listing their digits to any desired length.

Now it's always seemed clear to me that if a thing is fundamentally unobservable and unidentifiable in any way, you might as well say that thing does not exist at all. Nevertheless, the theory of real numbers implies that the uncomputable numbers "exist" in some sense.

That actually simplifies the theory. Otherwise you'd have to confine yourself to the computable numbers, namely all strings of binary digits that can be produced by some Fexl function (see http://fexl.com/). For example, the number .1010... could be expressed as:

  \number == (1; 0; number)
(I use Fexl because it's based on combinatorics, which behave according to very simple rules. Ultimately any Fexl function can be expressed as a binary tree with only "S" and "C" at the leaves.)

That might make the strict constructivists happy, but it might also hamper the free reigning thought processes of mathematicians.


Even if there is a discrete unit of length (which is not known), an actual physical object is not a multiple of it (this is known).

A physical object does not have a sharp edge.


I was just taking the gambit and running with it. Certainly when you start zeroing in on the end of the string, things start to get very fuzzy indeed.


Isn't the Planck length a theoretical base unit?


Theoretical, yes. No (current) evidence for it to be a base unit though.

But it doesn't matter, actual physical object do not have definitive sizes.


> number theory

How does number theory relate to this?

(I think you just misused the term, and are thinking more about the philosophy of mathematics and not about that specific discipline.)


Number theory relates because his question suggests that a transcendental length might be especially problematic. I don't think it is, because of the hard limits on our ability to measure physical phenomena.

So it doesn't matter if we're talking about lengths that are integer, rational, algebraic, transcendental, computable, or otherwise. The end of the string is fuzzy at many different scales, so even defining its length at high precision becomes a problem, and at very high precisions, you actually change the length when you measure it.

If that sounds like me ducking the question it's because nature itself ducks the question.


> Number theory relates because his question suggests that a transcendental length

That isn't what the field of number theory concerns itself with.


I understand that. I'm just saying that the original post drags in the concept of transcendental numbers, a key aspect of real number theory, and attempts to mash it into the real world where it doesn't fit.

Recall what I said here: "In the real world, you always run into limits on how finely you can measure things before you run into quandaries about number theory."

In other words, when you measure entities and processes in the real world, it is unlikely that you'll ever have to think about the nature of the continuum, or transcendental numbers, or even for that matter precise integers.

For example, back in the '80s when I was using an Apple II computer to collect measurements from a microwave dish, it was obvious that we should measure amplitudes to four decimal places (or whatever, I forgot), and not concern ourselves with the impossible task of counting a precise integer number of energy quanta at each frequency.

Certainly when you're measuring energies in a particle accelerator you'll have different standards, but you will still always come face to face with the economics of "good enough" and even Heisenberg's hard limits on observability in principle.

So to reiterate: the constraints of the real physical world will always bind you long before you ever have to care about the vagaries of number theory.

Nevertheless, the abstract theory of real numbers is definitely useful even in the physical sciences, because that theory transcends all physical constraints and therefore imposes no a priori limits on observations. So it is not wise to fetter your mathematics with the chains of physical constraints.


Sure. Take any circle made with a piece of string and declare it to be your reference unit circle.

Blammo! Its diameter is 1 and its length is now pi ;).


That just pushes the problem back to whether perfect circles can exist in reality.


In which case, problem solved: They can't.


And neither can perfectly straight lines.


Except that the length of a real objects can never be defined exactly. You can only give probabilities, eg. it has an 80% chance of being X or more units long, a 5% chance of being X or more etc, etc. At an extremely (an I mean very very extremely) low probability an atom is the size of the sun.

When things interact they also do it by probabilities. The lower the probability, the longer it takes to interact. (i.e. bring two deuterium nuclei near each other - will they fuse? Well, it depends on how close they are, the closer they are the less time it takes, since there is a greater chance that they are in the same spot at the same time.)

So in some sense, that's what time is.


Transcendental numbers translate into the real world just as well as any other Real number.[1]

You can't fabricate a string that is exactly Pi long anymore than you can fabricate a string that is exactly One long. But you can get as close to a transcendental number as you can to an algebraic number.

[1] I'm ignoring the trivial case.


Another diagram that gets the number for pi wrong: http://www.physicsforums.com/showthread.php?t=452917


How about some animations relating that to calculation of pi via assorted algorithms? esp. the "pick a digit" one?


"The Amazing Number π" by Peter Borwein,

http://www.nieuwarchief.nl/serie5/deel01/sep2000/pdf/borwein...

one of the leading researchers on π, has a history of investigation of the number and formulas for calculating π to increasingly accurate place-value approximations.

A very interesting secondary school textbook in English from Kerala, India

http://www.education.kerala.gov.in/englishmedium/mathseng/te...

shows the same visual representation of π on the number in section 3.1 of chapter 3.


Kinda neat. But I was always more intrigued by the Monte Carlo approximation for thinking about pi. http://www.eveandersson.com/pi/monte-carlo-demo. Although it does take alot of iterations to converge to a decent estimate of pi.


An animation is worth a thousand incantations.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: