News for hackers. Stuff that matters.
Re:Everything Is a Linear Model by sebastianavina on Sunday February 18, 2024 @03:53PM (#39423203)
"Classification of mathematical problems as linear and nonlinear is like classification of the Universe as bananas and non-bananas. "

and everything turns around the same principles. For example dynamical models and PID controls.

yet solving a banana, is the only thing we really know how to do. So we end up fitting everything in our banana models.

Re:Everything Is a Linear Model by whatshisface on Sunday February 18, 2024 @04:17PM (#39423456)
I disagree with the implication that linearity is an unnatural concept, it appears whenever the changes being studied are small relative to the key parameters that determine the system. Every system is linear for small perturbations. Even logic gates; in negative feedback they can form passable inverting amplifiers. In a place as big as the universe it is rather common for two things to be very different in scale and yet interacting.
Re:Everything Is a Linear Model by waveBidder on Sunday February 18, 2024 @06:03PM (#39424427)
> Every system is linear for small perturbations.

every smooth system, sure, but even continuity is no guarantee of locally linearity.

Re:Everything Is a Linear Model by whatshisface on Sunday February 18, 2024 @06:50PM (#39424774)
I've never actually seen a physical example of a system without a continuous first derivative. For example phase transitions, commonly touted as an example of discontinuity, don't actually occur until the matter has gone a bit over the point and a transition nucleates somewhere. The probability of a phase transition is a continuous function of temperature, with continuous derivatives.

I'm skeptical that discontinuities can exist because, if they did, they'd serve as infinitely powerful microscopes. If there's a discontinuity in nature, it must exist at absolute zero. I don't have a similarly good argument for continuous first derivatives but I do think it's interesting that there are no examples AFAIK.

Re:Everything Is a Linear Model by blt on Sunday February 18, 2024 @07:19PM (#39424934)
Any physical system that makes/breaks contact, such as walking robots. Sure, the foot is not perfectly rigid and technically is a stiff spring. But from a computational perspective, problems still bear all the hallmarks of a discontinuous system such as requiring a very short integration step.
Re:Everything Is a Linear Model by whatshisface on Sunday February 18, 2024 @08:21PM (#39425266)
Yes, that's another example of the discontinuity existing in an idealized model, but not real life.
Re:Everything Is a Linear Model by fnordpiglet on Sunday February 18, 2024 @09:15PM (#39425576)
Quantized space is absolutely discontinuous, and tunneling is a discontinuous system. In fact assuming the universe is quantum it’s discontinuous in reality but the appearance is continuous. But these distinctions aren’t super useful unless you’re dealing with these sorts of effects. Continuity is the approximation, discontinuity is the reality. But depending on what’s useful we use the mathematics that help us.
Re:Everything Is a Linear Model by whatshisface on Sunday February 18, 2024 @09:20PM (#39425607)
Tunneling currents are continuous in every parameter, although I admit that when you're dealing with particles you have continuous probability distributions with continuously varying means, rather than continua of matter. (But that should count, because all macroscopic variables are expectation values.)
Re:Everything Is a Linear Model by fnordpiglet on Monday February 19, 2024 @12:21PM (#39432240)
Specifically at quantized space and time levels everything is discrete even distribution functions. There’s no sense in having a continuous spacial distribution sub Planck lengths.
Re:Everything Is a Linear Model by aeonik on Sunday February 18, 2024 @07:27PM (#39424977)
If I wanted to understand and obtain your intuition about linearity, what would you recommend?
Re:Everything Is a Linear Model by whatshisface on Sunday February 18, 2024 @10:00PM (#39425833)
I question how strongly I would recommend the years of working with it. :-)
Re:Everything Is a Linear Model by aeonik on Monday February 19, 2024 @08:26AM (#39429486)
Like pure math? Engineering?

Study it in school?

There are a lot of linear problems that I'm interested in.

Do you use a computer algebra system?

Do you have a few books?

Re:Everything Is a Linear Model by sebastianavina on Sunday February 18, 2024 @07:12PM (#39424895)
yeah, we use a lot of small linear systems to model a non linear system.

We just break the problem in small bananas because that's what we can solve, and then solve for those lil'bananas and call it done.

Re:Everything Is a Linear Model by jakeinspace on Sunday February 18, 2024 @06:52PM (#39424791)
Isn’t the whole point of chaos sensitivity to initial conditions? Where the output even when minuscule differences varies wildly with input?
Re:Everything Is a Linear Model by whatshisface on Sunday February 18, 2024 @06:55PM (#39424801)
In chaotic systems, time becomes one of the parameters that has to be small for a linear model to make predictions, but they are still linear for brief times.
Re:Everything Is a Linear Model by szundi on Sunday February 18, 2024 @05:30PM (#39424158)
Interesting aspect to see the world from, thanks
Re:Everything Is a Linear Model by notjoemama on Sunday February 18, 2024 @05:21PM (#39424080)
So, Lady Finger, not Cavendish. Got it.
Re:Everything Is a Linear Model by Tommah on Sunday February 18, 2024 @04:07PM (#39423359)
Linear algebra was the first math class I took in undergrad. I thought the next one was going to be non-linear algebra! But it wasn't.
Re:Everything Is a Linear Model by SonOfLilit on Sunday February 18, 2024 @06:06PM (#39424459)
My favorite moment in university was in the first class of semester 2, where a prof said "lets look at a really small part of our thing, and assume we apply some force to it. This will make it stretch, lets assume the stretching is linear relative to the applied force". I raised my hand and asked "is this assumption supported empirically?" and he said "no, we know it's not always true, but if we don't make it we can't calculate anything".

At the time I was mad at engineers for being non-scientific, but after a few years I understood the deep wisdom in that. Nonlinear materials exist, and materials we use have nonlinear ranges. We just don't build things from those, because the math is too unwieldy. (except in very very specific edge cases where we spend a lot of money building a very limited thing)

Re:Everything Is a Linear Model by bongodongobob on Sunday February 18, 2024 @07:48PM (#39425110)
Can you give some examples of linear and non-linear materials?
Re:Everything Is a Linear Model by pistachiopro on Sunday February 18, 2024 @08:07PM (#39425195)
Practically all materials behave nonlinearly when stretched or compressed a visible amount. For certain structural applications, though, if that happens we've already failed. Linear models work really well for designing big concrete structures and certain metal structures. Sometimes we try to apply linear models to other things, but that's always kind of fishy.
Re:Everything Is a Linear Model by olivierduval on Monday February 19, 2024 @02:49AM (#39427135)
It's funny: I had the EXACT SAME PROBLEM !!!! Like "how is it science when a prof says: "this equation is too complicated too solve so let's erase these third and forth derivatives and pretend that it's the same - even if it's not - because that's all that we can do"

So I left the "physics" courses and went the "math" courses... only to learn 3 years later how to prove that this kind of approximation is mathematically sound indeed :-D

Re:Everything Is a Linear Model by AstralStorm on Monday February 19, 2024 @03:23AM (#39427301)
Should have taken one more course about chaos theory which is the special case when this approach fails.