News for hackers. Stuff that matters.
Re:Is the average sinuosity of the world's rivers equal to pi? by oofabz on Tuesday July 21, 2015 @10:35PM (#9927413)
Do rivers actually have a well-defined length? I know coastlines do not, and rivers seem similar.

https://en.wikipedia.org/wiki/Coastline_paradox

Re:Is the average sinuosity of the world's rivers equal to pi? by zamalek on Wednesday July 22, 2015 @04:40AM (#9928374)
The coastline paradox is a matter of accuracy (significant digits). As you "zoom in" on the coast this is what happens to the length:

100km > 120km > 128km > 129.5km > 129.52km > 129.528km > 129.6281km > ...

If you have to "zoom in" to see a length feature it means that the length feature is small and therefore the contribution to the overall length that these features provide diminishes. Something like a sigmoid[1], it would approach a limit (except in the case of some fractals, but not coastlines) - it can increase infinitely but at tinier and tinier increments. Eventually you reach the size of atoms and you are now talking about fractals and not real-life coastlines.

While it would technically apply to rivers as well, the website seems to be using a single significant digit. The above example becomes:

100km > 120km > 128km > 129.5km > 129.5km > 129.5km > 129.6km > ...

So we can accurately measure a coast/river length up to a specific significant digit.

[1]: https://upload.wikimedia.org/wikipedia/commons/5/55/Sigmoid_...

Re:Is the average sinuosity of the world's rivers equal to pi? by Osmium on Wednesday July 22, 2015 @04:51AM (#9928412)
> As you "zoom in" on the coast this is what happens to the length: 100km > 120km > 128km > 129.5km > 129.52km > 129.528km > 129.6281km > ...

I don't think that's true. In real life this series does not converge unless you specify a minimum feature size, which you hinted at. This isn't just a mathematical curiosity; real life coastlines are fractal and have no well-defined length, as the parent poster's link explains.

[Edited wording.]

Re:Is the average sinuosity of the world's rivers equal to pi? by zamalek on Wednesday July 22, 2015 @04:54AM (#9928422)
> To measure a coastline you have to specify a minimum feature size.

Not coastlines: only fractals. The name of the paradox is really unfortunate because it doesn't apply the coastlines "all the way down." You can't keep subdividing a coastline because eventually you start working with curves meaning that you can use calculus and meaning that you can work out limits.

The actual issue with real-life coastline (and river) length is that it's continuously changing.

[Edit to your edit]: yep. However the important result is that we can actually arrive at a length for a river, regardless of the mathematical thought experiment.

Re:Is the average sinuosity of the world's rivers equal to pi? by Osmium on Wednesday July 22, 2015 @04:58AM (#9928433)
Agreed that the fact it's continuously changing is an additional issue, but I don't see the "eventually you start working with curves" argument. Where are these curves on a typical coastline?

If you're measuring the coastline on a map, that argument holds, but the map is only one representation of the reality, and they've already made decisions regarding minimum feature size implicit in the construction of the map.

But yes, also agreed that measuring rivers should be fine, because you can represent it as a one-dimensional line along the 'centre of mass' of each segment of the river, which should give well-defined values regardless of what the 'edges' of the river look like.

Re:Is the average sinuosity of the world's rivers equal to pi? by zamalek on Wednesday July 22, 2015 @05:00AM (#9928448)
> Where are these curves on a typical coastline?

Between atom nuclei.

Re:Is the average sinuosity of the world's rivers equal to pi? by Osmium on Wednesday July 22, 2015 @05:02AM (#9928452)
How so? Do you fit the positions of your nuclei to a spline to get your curve? How about quantum uncertainty in its position? How do you assign whether a given nuclei belongs to the 'coast' or to the 'sea', etc. I don't think it holds.
Re:Is the average sinuosity of the world's rivers equal to pi? by zamalek on Wednesday July 22, 2015 @05:07AM (#9928467)
> How about quantum uncertainty in its position?

Aw crap, really good point. You're right.

Re:Is the average sinuosity of the world's rivers equal to pi? by Strilanc on Tuesday July 21, 2015 @11:14PM (#9927539)
Suppose you expanded every point of a coastline into a small disk (i.e. take the minkowski sum [1] of the coastline and a disk). Is the perimeter of the resulting shape still infinite?

The coastline had infinite perimeter because as you zoomed it got jankier and jankier. But once the janks get smaller than the disk, they start being hidden by disks from the surrounding points. You can't jump in and out anymore on tiny scales, because you run into the adjacent disks. This smooths out the noise and things converge instead of diverging.

... I think.

A river's length would smooth out for essentially the same reason. The set of points equidistant from both sides of the river is smoothed out compared to the sides because points on the side that are closer to the center of the river will hide jank from the nearby further points.

That's my intuition anyways. Not sure how it actually plays out.

Edit And if you go by "shortest path within the river from source to sink" as the length then it's definitely finite.

1: https://en.wikipedia.org/wiki/Minkowski_addition

Re:Is the average sinuosity of the world's rivers equal to pi? by unholiness on Tuesday July 21, 2015 @10:52PM (#9927475)
Yes.

With a coastline, the closer you measure, the more length-increasing features you observe, causing the measured length to diverge.

Rivers have a finite width, so once the distance between your measurements is smaller than the width of the river, the measured length will converge to the true length.

Re:Is the average sinuosity of the world's rivers equal to pi? by pmalynin on Tuesday July 21, 2015 @11:42PM (#9927623)
Indeed, one would reach the plank length -- and hence the distance simply cannot be infinite.
Re:Is the average sinuosity of the world's rivers equal to pi? by thedufer on Tuesday July 21, 2015 @11:53PM (#9927647)
The planck length is simply the base length when you set up your units such that c, G, and h are all 1. There's currently no reason to believe it has any sort of physical meaning beyond that.
Re:Is the average sinuosity of the world's rivers equal to pi? by iaw on Wednesday July 22, 2015 @01:12AM (#9927846)
I think wikipedia disagrees with your assessment: "According to the generalized uncertainty principle (a concept from speculative models of quantum gravity), the Planck length is, in principle, within a factor of 10, the shortest measurable length – and no theoretically known improvement in measurement instruments could change that."[1]

[1] https://en.wikipedia.org/wiki/Planck_length

Re:Is the average sinuosity of the world's rivers equal to pi? by thedufer on Wednesday July 22, 2015 @02:17AM (#9927992)
"within a factor of 10" is a curiosity rather than anything of real significance. And even that is based on untested theories. It is possible that the Planck length will end up being significant in the way described upthread, but given our scientific record it seems somewhat more likely that such an idea will end up looking similar to the theory about atoms being the smallest unit of matter.
Re:Is the average sinuosity of the world's rivers equal to pi? by placeybordeaux on Tuesday July 21, 2015 @10:48PM (#9927457)
The complexities there don't seem to have a correlary to the rivers.