News for hackers. Stuff that matters.
Re:Is the average sinuosity of the world's rivers equal to pi? by StefanKarpinski on Wednesday July 22, 2015 @12:06AM (#9927681)
If you're going to be pedantic, do it right.

The average of 0 and 2π is π, so an average can certainly be π. Yes, the average of a finite number of rational numbers cannot be π since π is irrational. But why would the sinuosity of any river be rational? The sinuosity of a circle is exactly π, for example. The true sinuosity of any given river is almost certainly irrational as well, since irrational numbers vastly outnumber rational ones in a very relevant sense: if you pick a real number uniformly at random between 0 and 1, there is literally zero chance that you will pick a rational number. Similarly, there is zero chance that the sinuosity of any river will be π or that the average of any finite number of rivers will be π. However, what they mean when they say this is this more precise fact: if there were an infinite number of rivers formed like those on Earth, the average sinuosity of that infinite collection of rivers would be exactly π.

There. That's how to be pedantic.

Re:Is the average sinuosity of the world's rivers equal to pi? by eru on Wednesday July 22, 2015 @01:17AM (#9927861)
> The true sinuosity of any given river is almost certainly irrational as well, since irrational numbers vastly outnumber rational ones in a very relevant sense [...]

Though, at these levels of precision any physical quantity stops being a number, and becomes more like a distribution that varies over time.

Re:Is the average sinuosity of the world's rivers equal to pi? by pash on Wednesday July 22, 2015 @01:00AM (#9927817)
> If you're going to be pedantic, do it right.

Let's do it.

> The true sinuosity of any given river is almost certainly irrational as well, since irrational numbers vastly outnumber rational ones in a very relevant sense: if you pick a real number uniformly at random between 0 and 1, there is literally zero chance that you will pick a rational number.

Apparently you have access to measuring devices that can spit out irrational numbers. I'm impressed. No other scientist has ever seen such a thing. Unfortunately, because the computable numbers are countable, the set of irrational numbers that you will almost surely see in your setup will almost surely be uncomputable. In other words, not only will you almost surely select a number that cannot be the result of a measurement of finite precision, but you will almost surely select one that has no finite description at all.

So you will almost surely never get a measurement of the length of a river. The average of an empty set is undefined, and oofabz's objection above pertains: rivers almost surely lack lengths.

(Less pedantically: matt_kantor's pedantry was essentially correct, even if in an unintended way. Irrational numbers do not exist in the world of physical measurements. Abstracting from this reality, as StefanKarpinski did, can lead to ridulous models, because the real numbers are wholly artificial. Make probabilistic assertions about physical realities modeled with real numbers at your own peril.)

Re:Is the average sinuosity of the world's rivers equal to pi? by dogecoinbase on Wednesday July 22, 2015 @02:10AM (#9927974)
This is a trivially absurd argument for two reasons:

First, it would be extremely straightforward to make a measuring device that spits out irrational numbers. Take the output, truncate at half the accuracy, and append an irrational to the output.

Second, outputting an irrational number as a measurement does not imply that it's able to output any member of the complement of the rationals in the reals. You also conflate the computable numbers with the describable numbers -- but I'll give you the benefit of the doubt and assume you believe strong Church-Turing and aren't just committing an elementary error.

There are ways in which set theoretic concerns apply to the real world, but they are few and far between, and this is not among them. You're essentially in line with people who attempt to use Goedel's proofs to make grandiose pronouncement about human thought. It. Does. Not. Apply.

Re:Is the average sinuosity of the world's rivers equal to pi? by pash on Wednesday July 22, 2015 @03:53AM (#9928241)
> ... outputting an irrational number as a measurement does not* imply that it's able to output any member of the complement of the rationals in the reals.*

It's my fault, I'm sure, but you have missed the point entirely. The argument to which I responded, and which I extended absurdly, does imply that every real number is a valid output of a chance setup, and further assumes that each real number, including "any member of the complement of the rationals in the reals", is an equally likely outcome of that setup. That is anyway the conventionally understood definition of "pick a real number uniformly at random between 0 and 1".

I would attempt to clarify the rest of what I wrote, but your condescension dissuades me.

Re:Is the average sinuosity of the world's rivers equal to pi? by black_knight on Wednesday July 22, 2015 @01:22AM (#9927874)
> > if you pick a real number uniformly at random between 0 and 1, there is literally zero chance that you will pick a rational number.

> Unfortunately, because the computable numbers are countable, the set of irrational numbers that you will almost surely see in your setup will almost surely be uncomputable.

That only applies if you assume some continous distribution. The world may for all we know be discrete and finitary, and so it may be that any real number which pops up is computable.

And surely there is nothing preventing a measuring instrument to produce irrational numbers. It is just that it will still be an approximation, and thus there are rational numbers which are just as close to the real value.

Re:Is the average sinuosity of the world's rivers equal to pi? by LukeShu on Wednesday July 22, 2015 @03:13AM (#9928135)
> measuring devices that can spit out irrational numbers. ... No other scientist has ever seen such a thing.

There are devices that indirectly measure something, and relate it to the desired measurement involving pi.

Stupid example: Take a measuring wheel that counts encoder clicks. Say the encoder has 300 clicks/revolution. The device is quite likely calibrated to output clicks(2pi*radius/300).

Re:Is the average sinuosity of the world's rivers equal to pi? by pash on Wednesday July 22, 2015 @04:05AM (#9928275)
This sort of thing exists and is apparently what other commenters also have in mind, but I would argue that in your example the measuring device's output is a natural number n in the range [0, 300] and that its interpretation as a fraction of a circle's circumference is just that.

Clearly the existence of describable irrational numbers implies that we can describe a measurement using an irrational number. That does not make a finite measurement essentially irrational in any meaningful sense.

Re:Is the average sinuosity of the world's rivers equal to pi? by matt_kantor on Wednesday July 22, 2015 @12:24AM (#9927723)
Good call, I'm not sure why I hadn't considered that. I blame the whiskey!
Re:Is the average sinuosity of the world's rivers equal to pi? by StefanKarpinski on Wednesday July 22, 2015 @12:29AM (#9927736)
No worries. You gave me an excellent excuse to exercise my pedantry in a way that I usually try to avoid so as not to be a social pariah :-)
Re:Is the average sinuosity of the world's rivers equal to pi? by plonh on Wednesday July 22, 2015 @12:58AM (#9927805)
If you are going to be pedantic, please explain how anything in the Heisenberg Uncertainty-bounded universe can have a transcendental size.