Тёмный

Explanation of the butterfly effect and deterministic chaos using billiards 

JuliaDynamics
Подписаться 1 тыс.
Просмотров 28 тыс.
50% 1

Created by George Datseris.
In this relatively short education video I want to explain the
butterfly effect and deterministic chaos at a fundamental level,
using the simple and intuitive concept of billiards.
Heavily inspired by 3Blue1Brown videos, and made as an entry for SoME1:
www.3blue1brow...
Source code for all animations:
github.com/Jul...
Background audio:
Reflections by Vincent Rubinetti from "The Music of 3Blue1Brown"
vincerubinetti...

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 70   
@HenriqueFerrolho
@HenriqueFerrolho 3 года назад
Congratulations on such an amazing video! I have a question: knowing that 'stretching' and 'folding' are the two factors that make a deterministic system chaotic, can you go back to the double pendulum example and identify the stretching and folding mechanisms there? You did mention that it is hard to identify the stretching mechanism on the Lorenz system; I hope that is not the case for the double pendulum. Thank you.
@juliadynamics6863
@juliadynamics6863 3 года назад
Thanks! Unfortunately it isn't easy there either. To get the folding is not hard. In an intuitive level you can say that conservation of energy makes the folding, because it constrains the system into a narrow slice of all state space (the slices that has energy equal to the starting energy). For the stretching, it isn't straightforward to pinpoint a "single, simple mechanism". It all comes down to local instabilities. Once our book "Nonlinear Dynamics: An introduction interlaced with code" comes out, have a look at section 3.2. The math isn't hard, just not something I wanted to show to RU-vid on my very first video... Best, George.
@overloader7900
@overloader7900 3 года назад
@@juliadynamics6863 The points where the far pendulum rotates over close one at some low speed?
@luismisanmartin98
@luismisanmartin98 2 года назад
@@juliadynamics6863 I only just started a PhD in mathematical modelling of neural dynamics, and I was strongly considering learning Julia. I have just seen that your book got published this March and now I am convinced I will go with that! :) Thank you for the fantastic video by the way.
@KaliFissure
@KaliFissure 3 года назад
Great use of natural dampening effects to show why butterfly effect is rarely a worry in the real world. Sustained feedback mechanisms are more problematic.
@ka_1242
@ka_1242 Год назад
What a wonderful video, thank you so much for your clarity and beautiful visuals!)
@benruniko
@benruniko 2 года назад
A great video and good explanation! I believe the two examples (double pendulum, balls on a pool table with circle boundary) the chaos is being introduced by Pi. Given than it is a number that cannot be written down completely and never repeats, even slightly different numbers multiplied by pi diverge exponentially from certain points of view.
@omarhatem9598
@omarhatem9598 3 года назад
Long time fan of 3b1b, and I still gotta say that this is very cool. I did officially learn something new today. I also gotta say, if this was not done with 3b1b's Manim library, you have done an excellent job in emulating his style
@juliadynamics6863
@juliadynamics6863 3 года назад
Thanks! Long time fan here as well! Indeed, this wasn't done with Manim, but with Makie.jl a powerful Julia library!
@omarhatem9598
@omarhatem9598 3 года назад
@@juliadynamics6863 oh, I didn't know Makie can do videos!
@juliadynamics6863
@juliadynamics6863 3 года назад
@@omarhatem9598 Oh yes, it can, and quite easily as well! We just made a video tutorial on that here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-L-gyDvhjzGQ.html
@Math4e
@Math4e Год назад
Great Job! Thanks for making this video :)
@anmolmehrotra923
@anmolmehrotra923 3 года назад
Great introduction to the subject Looking forward for more videos
@thebees955
@thebees955 3 года назад
Watched this last night - loved it. Hope you make more videos!
@running11
@running11 3 года назад
So many light bulb moments. Thank you
@zuthalsoraniz6764
@zuthalsoraniz6764 3 года назад
You could probably demonstrate the sensitive dependence on initial conditions with kneading bread dough as well! As you start kneading, push a small cluster of small, distinct objects, say poppy seeds, into the dough. If a dough being kneaded is indeed a chaotic system, they should after long enough kneading end up spread relatively evenly throughout the dough, and thus the finished bread.
@juliadynamics6863
@juliadynamics6863 2 года назад
Yes, you can do it with food coloring. I have seen a video of that in an old lecture but couldn't find it on RU-vid to put it in this video...
@branquinho8444
@branquinho8444 3 года назад
Very good content. Cheer from Brazil! Keep it up
@sazajac77z
@sazajac77z 2 года назад
Well done, thank you!
@upsilonalpha3982
@upsilonalpha3982 3 года назад
Incredible video!
@wallywutsizface6346
@wallywutsizface6346 3 года назад
That answers so many questions I’ve always had, thank you so much
@wanda7353
@wanda7353 2 года назад
good video thank you for making it
@philkaw
@philkaw 3 года назад
I remember Ian Stewart saying something similar of the sort about the folding and stretching of systems which exist necessarily to lead to chaos
@puzzLEGO
@puzzLEGO 3 года назад
cool video!!
@thefourthperspective
@thefourthperspective 11 месяцев назад
Nice video
@luisirisarri1085
@luisirisarri1085 2 года назад
Good video
@gritcrit4385
@gritcrit4385 3 года назад
Did you use Julia programming language?
@friedrichfreigeist3292
@friedrichfreigeist3292 3 года назад
Based
@joonasmakinen4807
@joonasmakinen4807 2 года назад
Excellent video, thank you! Could you tell which numerical methods (space discretization and time integration) did you use? Did you use explicit time integration like the 4th order Runge Kutta method or implicit time integration like the 4th order Gauss-Legendre method? Also, did you always use the same method for all shown cases? This is important, because the explicit time integrators (if not properly bounded) are known to induce unintentional numerical chaos into the simulated dynamical system due to the transition from continuum PDE to discretized PDE. One excellent example is the well-known Logistic Map, which can be generated by the 1st order explicit Euler time integration method from the Logistic Differential Equation (free of any chaos and bifurcations), being the simplest proof of numerical chaos artefacts.
@juliadynamics6863
@juliadynamics6863 2 года назад
Hi, thanks! None of the systems used here are PDEs, not sure where this confusion came from. Billiards are solved explicitly see juliadynamics.github.io/DynamicalBilliards.jl/dev/#Features so there is no time discretization. The Lorenz system was solved with a Runge-Kutta-Solver yes. It is extremely rare that numerical integration introduces artificial chaos. You'd have to use some over-the-top-bad method (Euler) or extremely large stepping for this to even be something to consider.
@joonasmakinen4807
@joonasmakinen4807 2 года назад
@@juliadynamics6863 Thanks for the clarification! It makes sense that the billiard ball movements and collisions are just explicit solutions. But are you saying the double pendulum system is not a PDE simulation just like the Lorenz system?
@2DXYSU
@2DXYSU 3 года назад
Bear in mind that actual Billiards physics is far more complex than "specular reflection". First, the balls are subject to gravity and table cloth is not friction free, so the balls slow down. Second, this friction causes any moving ball (but not any photon) to roll forward. This rolling spin affects the angle of reflection when any ball rebounds at an angle off of a cushion. This rebound actually follows a parabolic arc until the rolling friction adapts to the new direction. Third, the cushions are rubber, not mirrors. The faster a ball is moving the more it depresses the cushion, which changes the "angle of reflection". Fourth, the cushions are also not friction free. Any ball hitting a cushion at an angle experiences friction which induces side spin on the ball. This spin will vary depending on the angle of incidence, the speed of the ball and the rolling spin of the ball. This in turn will have follow on effects when the ball hits another cushion or ball. Fifth, collisions between balls are not friction free. The collision angle and the spins of both balls all affect BOTH the direction and the spin of both balls after collision. These changes in direction from what specular reflection would predict are called "collision induced throw" and "spin induced throw". Sixth, of course, the cue almost always imparts some side, follow or reverse spin on the cue ball. All professional players know all of these facts "instinctively" often without being able to describe the physics. But it also seems that many professional physicists who haven't played the game don't understand these facts.
@BigParadox
@BigParadox 3 года назад
Sure, real billiard is much more complex. But in spite of the video using a simplified version of billiard, we still get the chaotic effect.
@2DXYSU
@2DXYSU 3 года назад
@@BigParadox which is why using a billiard analogy was a poor choice.
@BigParadox
@BigParadox 3 года назад
@@2DXYSU Rather the opposite. Even though he uses a simplified version of billiard it still exhibits a chaotic nature. If he would have used a more realistic version of billiard, we would have seen an even more chaotic nature, provided of course that the ball would continue to roll.
@2DXYSU
@2DXYSU 3 года назад
@@BigParadox If you watch the video, he says that the basic principle of billiards is specular reflection and he chose billiards because people who play it intuitively understand this. But he says this is too complex for his purpose so he proposes 3 and only 3 "simplifications": no pockets, one ball, zero size ball. This displays astonishing naivety of the true complexity of billiards which actually requires far greater simplification for his purposes.
@BigParadox
@BigParadox 3 года назад
@@2DXYSU I am sure he understands how complex real billiard is. He starts his reasoning from an already (implicitly) simplified version of billiard, and then he explicitly adds some more simplifications (like removing the pockets etc.) The fact that he starts from an already simplified version of billiard should not be taken as an indication that he does not understand the complex nature of real billiard. He has already at that initial stage implicitly simplified it. It is a common way to discuss things to use implicit simplifications. If we did not do that when we discuss things or talk with eachother we would end up in enormously complicated forms of communication. If I say I will come and pick you upp at 1 o'clock and I come 1 minute after 1, you cannot conclude that I do not understand what 1 o'clock means. I made an implicit simplification when I said 1 o'clock, which all people understand. (And for your information "all" up there was an implicit simplification.)
@PongskornSaipetch
@PongskornSaipetch 3 года назад
Excellent!
@LoganKilpatrickYT
@LoganKilpatrickYT 3 года назад
This is great!
@Jaylooker
@Jaylooker 2 года назад
Nice
@mukkuru
@mukkuru 3 года назад
8:21 is the second non chaotic thing diverging exponentially fast though? Seems to me like it is linear divergence
@juliadynamics6863
@juliadynamics6863 3 года назад
Damn, I think you are right... I think I missed up in the animation script and made the balls move linearly instead of exponentially fast. Sorry about that, but congrats on having such a keen eye!
@mukkuru
@mukkuru 3 года назад
@@juliadynamics6863 why would they move out exponentially fast though? Isn't the idea that they have a constant speed? I would think a chaotic system would always have an exponential increase in distance apart
@juliadynamics6863
@juliadynamics6863 3 года назад
@@mukkuru Yeap, if you assume these to be billiards ball in a billiard, they would move out linearly. They point was to make them move out exponentially fast so that indeed their distance would actually also increase exponentially. It was just a hypothetical scenario of particles that diverge exponentially fast but still are not chaotic.
@JAYMOAP
@JAYMOAP Год назад
The last simulation is the electron random walk in confined container.
@olipolygon
@olipolygon 3 года назад
this got me thinking... is there a way to more precisely quantify chaos, or at least the attributes that make it so? can you have a system that's just *barely* chaotic, or a system on the verge of chaos but not quite there? i might just be sputtering nonsense, but i do like to think about limits
@MCLooyverse
@MCLooyverse 3 года назад
One notion of partial chaos might be how much of the state space yields chaos. IIRC, with the double pendulum, a gentle swing does not act chaotically, so you might say it isn't fully chaotic.
@juliadynamics6863
@juliadynamics6863 2 года назад
Transient chaos is a typical situation that would count as your "barely chaotic". It describes scenarios where time evolution is chaotic for some initial part, but then eventually stabilizes itself towards regular motion. The way to "more precisely" quantify a chaotic set is" "an invariant bounded set with at least one positive Lyapunov exponent".
@olipolygon
@olipolygon 2 года назад
thanks! youve both given me things to look up 💝
@liuyxpp
@liuyxpp 3 года назад
Very cool!
@benjlung
@benjlung 3 года назад
Awesome!
@subornogupta5867
@subornogupta5867 3 года назад
I really wonder how the median of all the points behave at 13:08.
@aron8999
@aron8999 Год назад
8:20 They aren't diverging exponentially fast, they're diverging linearly fast.
@rubenlarochelle1881
@rubenlarochelle1881 3 года назад
Moral of the story: _Math imitates pizza._
@gibbogle
@gibbogle 3 года назад
Good talk, great videos. Drop the background music - it distracts and doesn't add anything.
@o_o............
@o_o............ 3 года назад
I don't understand why the ball bouncing inside the rectangle is considered non chaotic, i mean, if two nearby balls hit the corner, aren't they going to diverge? Or the problem is that the divergence isn't exponential?
@juliadynamics6863
@juliadynamics6863 3 года назад
Indeed, if you have different angles you will get divergence, but it will not be *exponentially fast*. That is a crucial distinction. I now realize that I didn't raise this point strongly enough in the video: it is not enough to have divergence, it needs to be exponentially fast as well. In the rectangle billiard you can have at most linearly fast divergence. Thanks for pointing this out! Best, George
@rubenlarochelle1881
@rubenlarochelle1881 3 года назад
"Billiards are chaotic and unpredictable." > Ronnie O'Sullivan has entered the chat.
@hamzaich7034
@hamzaich7034 3 года назад
What tool did u use for this animation Hope to answer me ❤️❤️
@undergroundmonorail
@undergroundmonorail 3 года назад
the source code for the animations is in the description, they had to program them
@sergeyilienko6573
@sergeyilienko6573 3 года назад
Ok I bored, so I watch.
@stevenwhitener5623
@stevenwhitener5623 2 года назад
Period 3 implies chaos
@jari2018
@jari2018 3 года назад
Shouldnt it be a "chaotic" fractal pattern instead -since all forms on earth are -> fractals or are the averge and a slushy even plain chaos ?
@JAYMOAP
@JAYMOAP Год назад
Duffing oscillator
@_Superpants
@_Superpants 2 года назад
Very well put together!
@JAYMOAP
@JAYMOAP Год назад
Nice
Далее
Chaos Theory: the language of (in)stability
12:37
Просмотров 563 тыс.
The Incredible Story Of Randomness
22:47
Просмотров 412 тыс.
The Tale of Three Triangles
32:45
Просмотров 68 тыс.
I spent an entire summer to find these spirals  #SoME1
12:01
The Butterfly Effect
11:19
Просмотров 3,2 млн
Neural manifolds - The Geometry of Behaviour
23:17
Просмотров 274 тыс.
Domokos Szász: Mathematical billiards and chaos
49:05
Просмотров 2,5 тыс.