CronoDAS comments on Mathematical simplicity bias and exponential functions - Less Wrong

12 Post author: taw 26 August 2009 06:34PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (82)

You are viewing a single comment's thread.

Comment author: CronoDAS 27 August 2009 07:29:37AM 1 point [-]

Any continuous function is approximately linear over a small enough scale. ;)

Comment author: Vladimir_Nesov 27 August 2009 09:38:00AM *  2 points [-]

Which is the origin of many physical laws, since Nature usually doesn't care about scale at which nonlinear effects kick in, leaving huge areas of applicability for the laws based on linear approximation.

Comment author: SforSingularity 27 August 2009 12:23:41PM 5 points [-]

False. What you mean is "any differentiable function is approximately linear over a small enough scale".

See this

Comment author: Eliezer_Yudkowsky 27 August 2009 05:11:37PM 7 points [-]

Heck, any linear function is approximately exponential over a small enough scale.

Comment author: SforSingularity 27 August 2009 06:55:07PM *  0 points [-]

Do you mean "the exponential function is approximately linear over a small enough scale"?

Comment author: Andrew 27 August 2009 07:11:17PM 2 points [-]

Both are true.

Comment author: ArthurB 27 August 2009 06:24:28PM 2 points [-]

Question is, what do you mean "approximately".

If you mean, for any error size, the supremum of distance between the linear approximation and the function is lower than this error for all scales smaller than a given scale, then a necessary and sufficient condition is "continuous". Differentiable is merely sufficient.

When the function is differentiable, you can make claims on how fast the error decreases asymptotically with scale.

Comment author: Johnicholas 27 August 2009 09:44:26PM 0 points [-]

And if you use the ArthurB definition of "approximately" (which is an excellent definition for many purposes), then a piecewise constant function would do just as well.

Comment author: ArthurB 27 August 2009 10:05:57PM 0 points [-]

Indeed.

But I may have gotten "scale" wrong here. If we scale the error at the same time as we scale the part we're looking at, then differentiability is necessary and sufficient. If we're concerned about approximating the function, on a smallish part, then continuous is what we're looking for.

Comment author: CronoDAS 27 August 2009 07:16:00PM 0 points [-]

Indeed, you can't get a good linear approximation to that function...

Comment author: Johnicholas 27 August 2009 10:29:09AM 3 points [-]

Under the usual mathematical meanings of "continuous", "function" and so on, this is strictly false. See: http://en.wikipedia.org/wiki/Weierstrass_function

It might be true under some radically intuitionist interpretation (a family of philosophies I have a lot of sympathy with). For example, I believe Brouwer argued that all "functions" from "reals" to "reals" are "continuous", though he was using his own interpretation of the terms inside of quotes. However, such an interpretation should probably be explained rather than assumed. ;)

Comment author: ArthurB 27 August 2009 06:33:11PM 1 point [-]

No he's right. The Weierstrass function can be approximated with a piecewise linear function. It's obvious, pick N equally spaced points and join then linearly. For N big enough, you won't see the difference. It means that is is becoming infinitesimally small as N gets bigger.

Comment author: SforSingularity 27 August 2009 06:53:04PM *  -1 points [-]

you won't see the difference

that is because our eyes cannot see nowhere differentiable functions, so a "picture" of the Weierstrass function is some piecewise linear function that is used as a human-readable symbol for it.

Consider that when you look at a "picture" of the Weierstrass function and pick a point on it, you would swear to yourself that the curve happens to be "going up" at that point. Think about that for a second: the function isn't differentialble - it isn't "going" anywhere at that point!

Comment author: ArthurB 27 August 2009 07:01:13PM *  2 points [-]

that is because our eyes cannot see nowhere differentiable functions

That is because they are approximated by piecewise linear functions.

Consider that when you look at a "picture" of the Weierstrass function and pick a point on it, you would swear to yourself that the curve happens to be "going up" at that point. Think about that for a second: the function isn't differentialble - it isn't "going" anywhere at that point!

It means on any point you can't make a linear approximation whose precision increases like the inverse of the scale, it doesn't mean you can't approximate.

Comment author: SforSingularity 27 August 2009 08:38:27PM 0 points [-]

taboo "approximate" and restate.

Comment author: ArthurB 27 August 2009 09:04:49PM 1 point [-]

I defined approximate in an other comment.

Approximate around x : for every epsilon > 0, there is a neighborhood of x over which the absolute difference between the approximation and the approximation function is always lower than epsilon.

Adding a slop to a small segment doesn't help or hurt the ability to make a local approximation, so continuous is both sufficient and necessary.

Comment author: SforSingularity 27 August 2009 09:28:33PM 0 points [-]

ok, but with this definition of "approximate", a piecewise linear function with finitely many pieces cannot approximate the Weierstrass function.

Furthermore, two nonidentical functions f and g cannot approximate each other. Just choose, for a given x, epsilon less than f(x) and g(x); then no matter how small your neighbourhood is, |f(x) - g(x)| > epsilon.

Comment author: ArthurB 27 August 2009 09:45:04PM 1 point [-]

ok, but with this definition of "approximate", a piecewise linear function with finitely many pieces cannot approximate the Weierstrass function.

The original question is whether a continuous function can be approximated by a linear function at a small enough scale. The answer is yes.

If you want the error to decrease linearly with scale, then continuous is not sufficient of course.

Comment author: SforSingularity 27 August 2009 10:13:00PM *  -2 points [-]

The answer is yes.

I think we have just established that the answer is no... for the definition of "approximate" that you gave...

Comment author: SforSingularity 27 August 2009 06:49:22PM 0 points [-]

you won't see the difference

that's because you can't "see" the The Weierstrass function in the first place, because our eyes cannot see functions that are everywhere (or almost everywhere) nondifferentiable. When you look at a picture of the The Weierstrass function on google image search, you are looking at a piecewise linear approaximation of it. Hence, if you compare what you see on google image search with a piecewise linear approaximation of it, they will look the same...

Comment author: CronoDAS 27 August 2009 07:24:18PM 0 points [-]

Yeah, you're right. I think I needed to say any analytic function, or something like that.

Comment author: tut 27 August 2009 11:21:04AM 0 points [-]

Mathematically he should have said "any C1 function". But if you are measuring with a tolerance level that allows a step function to be called exponential, then we can probably say that any continuous function is analytic too.