Runge-Kutta Integrator Overview: All Purpose Numerical Integration of Differential Equations

  Рет қаралды 53,149

Steve Brunton

Steve Brunton

Күн бұрын

Пікірлер
@benjtheo414
@benjtheo414 Жыл бұрын
I really appreciate your efforts in making all this knowledge available for free, you are doing humanity a great service.
@GuanyangLiu
@GuanyangLiu Жыл бұрын
Ladies and gentlemen, what you see is the future of education. I am very excited to witness this.
@吴彤-y2y
@吴彤-y2y Ай бұрын
Agree
@ehsanulbarihome
@ehsanulbarihome Ай бұрын
You are amazing with your explanation Dr. Brunton. These playlists are going to benefit future generations to come.
@jamesdennis6120
@jamesdennis6120 8 ай бұрын
I wonder if there was a hidden joke in the RK2 explanation, or; if it were a complete random occurrence 🤔. These lectures are amazing. They relieve so much stress caused by the heavy reading of the text material. After watching these the reading becomes way easier.
@angelicatorresgarcia5228
@angelicatorresgarcia5228 Жыл бұрын
beautifully explained !! thank you! i passed all my first and second year algebra courses with minimum effort during the pandemic so learning this for my scientific computing course has been hell, but you make it so simple i really get it now !!! you're a great teacher !!
@laurentthowai3359
@laurentthowai3359 2 жыл бұрын
Merci Mr Brunton, c’est toujours un plaisir de vous écouter ! Pour moi le matin en prenant mon petit déjeuner. Impatient d’écouter la suite.
@diemaschinedieviereckigeei2941
@diemaschinedieviereckigeei2941 Жыл бұрын
What a fantastic presentation. You are a great teacher!
@stanrunge
@stanrunge 7 ай бұрын
pretty cool to be a long descendant of the author for this numerical integrator (Carl Runge)
@Eigensteve
@Eigensteve 7 ай бұрын
That's super cool!!
@murtdoc
@murtdoc Жыл бұрын
Thank you, prof. Brunton. Your style of explaining, at least for me, it's very effective. Please keep up this great work!
@clementerosauro9127
@clementerosauro9127 6 күн бұрын
thanks a lot for the video. I needed some clarification on the RK4 model and boy did I get it!!
@jaihind6472
@jaihind6472 Жыл бұрын
thanks for explaining this in such an enthusiastic way. u saved my semester
@fizzyem
@fizzyem 5 ай бұрын
I almost don't want to point this out as this lecture is so beautiful: I think at t=12:01 the blue point @Eigensteve labelled as f1 should instead be labelled as [x_k + /delta(t)*f_1]. In my mind this would then mean that f_2 is calculated halfway on this vector at coordinates [x_k + /delta(t)/2*f_1]. So we are evaluating the vector field in the direction of f1 at a "distance" [/delta(t)/2*f1] away from x_k (i.e. it's in the direction of f1 but farther out). On another note the farther out than f1 implies /delta(t)/2 > 1. This is probably not often the case. I think we often choose /delta(t) around 0.01. This would mean the point where we calculate f_2 is actually closer to x_k than the magnitude of f_1. All these nitty-gritty details "erode" the beauty of the lecture and blurry the intuition that Steven is building up in our mind - an intuition that is more important than the details. Though in practice the details might become important. Hopefully I am not mistaken.
@bryan-9742
@bryan-9742 Жыл бұрын
wow! i'm excited to see how different this will be for stochastic systems.
@sakethmamidi2753
@sakethmamidi2753 Жыл бұрын
amazing way of explaining rk4!!
@POPO-kk6nh
@POPO-kk6nh Жыл бұрын
An amazing explanation! You nailed it. Thanks
@Torotama-b5t
@Torotama-b5t Ай бұрын
What a lecture! Thank you very much indeed!
@whdaffer1
@whdaffer1 10 ай бұрын
Your explanation of why the RK four method works is wonderful. It would be equally wonderful, as an example of the history of mathematics, if you could give some discussion on how the formula was derived.
@DB-nl9xw
@DB-nl9xw 2 жыл бұрын
didn't understand much about it, but i like the video, thanks for sharing and making it
@hafizfahad4643
@hafizfahad4643 4 ай бұрын
I learned alot best wishes
@saras756
@saras756 Жыл бұрын
So grateful for this lecture. It helped make sense of my notes. Thank you very much! :D
@Eigensteve
@Eigensteve Жыл бұрын
You're very welcome! Glad it was helpful.
@kambizmerati1119
@kambizmerati1119 4 ай бұрын
Brilliant! As always!
@KitagumaIgen
@KitagumaIgen 2 жыл бұрын
Great lecture series! Hopefully you'll get into symplectic integration-schemes too - for dynamical systems with conservation of some properties like energy and momentum.
@serdar_a
@serdar_a 2 жыл бұрын
Does anyone know where to get a transparent board which is used by Mr Brunton?
@lolilollolilol7773
@lolilollolilol7773 3 ай бұрын
I am always surprised that such a genius as Euler didn't give more thought on the topic of numerical integration. Surely he had the brainpower to come up with much better than the so called Euler method.
@ThenSaidHeUntoThem
@ThenSaidHeUntoThem 7 ай бұрын
Thou has done unto me that which is good.
@EnchanterOfMEMES
@EnchanterOfMEMES 5 ай бұрын
wonderful teaching, how are you writing on that board
@Pedritox0953
@Pedritox0953 2 жыл бұрын
Great explanation!
@VishalSingh-n8v5s
@VishalSingh-n8v5s Ай бұрын
I love your work
@tanaykumarkarmakar3447
@tanaykumarkarmakar3447 Жыл бұрын
Extraordinary lecture. Thank you, Steve.
@fabiofarina9579
@fabiofarina9579 2 жыл бұрын
would be interesting to have an overview on how to handle RK4 when f(x,t) is not analytical but is only known as a bunch of discrete values (sampled values or data-driven). Then, how to get \Delta{t}/2 values+
@dexdrurglum
@dexdrurglum 2 жыл бұрын
In my experience when I have only a dataset of discrete values, I just interpolate to get values that don't already exist in the dataset
@fabiofarina9579
@fabiofarina9579 2 жыл бұрын
@@dexdrurglum yeah, I usally do quadratic or spline interpolation but I'd really enjoy a video from Steve on this topic
@dexdrurglum
@dexdrurglum 2 жыл бұрын
@@fabiofarina9579 I agree! Steve is the king 👑
@alexistremblay1076
@alexistremblay1076 2 жыл бұрын
How about recurrent neural networks? Not entirely sure how it would handle future time steps.
@hoseinzahedifar1562
@hoseinzahedifar1562 2 жыл бұрын
Thank you very much for this great stuff. You are amazing...🌺🌺🌺.
@吴彤-y2y
@吴彤-y2y Ай бұрын
Great job
@GeorgeTsiros
@GeorgeTsiros 2 жыл бұрын
(consider adjusting the compressor in the audio, i _think_ you may need to decrease the attack (?) time?)
@MrNikelborg
@MrNikelborg 2 жыл бұрын
Shouldn't the f_i be first order derivatives or tangents? They become vectors only after you multiply them with delta_t or not?
@sim1_7
@sim1_7 2 жыл бұрын
does the runge-kutta 4 method need a root solver for nonlinear ode? if not, why? And instead why, for example, does the forward and backward euler method need a root solver (example: newton's method) for nonlinear ode?
@chensong254
@chensong254 2 жыл бұрын
I don't think we need a root solver for RK4 or FE. We are just evaluating the derivative function f at certain points, and derivative f can be either linear or nonlinear. As long as the derivative is represented in an explicit form, we don't need a root solver. For BE though, I think we need a root solver if f is nonlinear.
@sim1_7
@sim1_7 2 жыл бұрын
@@chensong254 yes, i think you are right. My knowledge at this point Is that explicit methods are Linear in the variable a time k+1 so there Is no Need for root solver algorithms. Implicit methods, instead, are nonlinear with respect to the variable at time k. I tried explicit RK-4 for some nonlinear odes and it works pretty well. Forward Euler, instead, works bad for these nonlinear odes. It works good if non-linearities are weak but as soon as they become more complex FE fails
@aakashmaniar9494
@aakashmaniar9494 2 жыл бұрын
So I dont think it will be better than rk but I am curious about the performance benefits of using previous states to estimate curvature and higher order properties, keeping the call to dynamics function only once or somewhere in between. IE x(n+1) is not just dependant of x(n) but upto x(n-m). Given a pair of position and velocity(m=1) a cubic polynomial can be fitted and taken a time step over. Is there any good comparison for such a techniques?
@UMRlike
@UMRlike Жыл бұрын
Amazing! How can he write in the back of the glass (which is like a mirror effort) but still keep the numbers normal?
@theintjengineer
@theintjengineer Жыл бұрын
He writes just like you and I usually would. It's the board's mirroring property that reverses it and makes it look like he's writing reverse/backward/whatever.
@henrydevelopment
@henrydevelopment Жыл бұрын
The AI of a thermos flask. When you put hot water in it, it keeps it hot. When you put cold water in it, it keeps it cold. How does it know?
@pietheijn-vo1gt
@pietheijn-vo1gt Жыл бұрын
Very simple. Film normally, mirror the video in your recording software...
@thomaspavelka7335
@thomaspavelka7335 Жыл бұрын
Thanks for this great explanation! Just the bracelet I find distracting
@GeorgeTsiros
@GeorgeTsiros 2 жыл бұрын
f1 and f2 are not _directions_ they are complete values, they do not have length of 1 necessarily?
@eig_himanshu
@eig_himanshu 2 жыл бұрын
Can you also keep a live doubt solving session on Numerical Analysis?
@hoseinzahedifar1562
@hoseinzahedifar1562 2 жыл бұрын
It is a good idea...👍
@pietheijn-vo1gt
@pietheijn-vo1gt Жыл бұрын
why do all indians call 'problems' as 'doubts'?
@ac2italy
@ac2italy 2 жыл бұрын
interesting that glass board? Is he writing left-to-right?
@ac2italy
@ac2italy 2 жыл бұрын
kzbin.info/www/bejne/m4eygXeHarCMqdE&ab_channel=ScopeTraining
@pietheijn-vo1gt
@pietheijn-vo1gt Жыл бұрын
Ofcourse. Just mirror the video in your recording software
@fabiobiffcg4980
@fabiobiffcg4980 2 жыл бұрын
So, could I keep taking more halves for RK5, RK6, RK7, RK8 ... "RKn" in order to make it more accurate? (Of course, considering only accuracy since it will be to expensive to compute them, probably)
@chensong254
@chensong254 2 жыл бұрын
I believe after a certain point, the benefit of using a higher order scheme becomes negligible compared to the floating point round-off error.
@fabiobiffcg4980
@fabiobiffcg4980 2 жыл бұрын
@@chensong254 yeah, after some thinking, that's what I thought
@samsaraAI2025
@samsaraAI2025 8 ай бұрын
a real example instead of so many functions, integral, delta etc
@danitron151
@danitron151 Жыл бұрын
Are you writing backwards!? A short video showing how you use a glass window to make these videos would be really cool!
@emmettdja
@emmettdja 21 күн бұрын
I guess you could say that this algorithm was "taylor made" to eliminate error.
@joelneto7360
@joelneto7360 11 ай бұрын
very helpfull
@Eigensteve
@Eigensteve 11 ай бұрын
Glad you think so!
Coding a Fourth-Order Runge-Kutta Integrator in Python and Matlab
36:52
Why Runge-Kutta is SO Much Better Than Euler's Method #somepi
13:32
Phanimations
Рет қаралды 161 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Where does “e” come from?
14:45
Ali the Dazzling
Рет қаралды 25 М.
Physics Students Need to Know These 5 Methods for Differential Equations
30:36
Physics with Elliot
Рет қаралды 1,1 МЛН
I never understood why you can't go faster than light - until now!
16:40
FloatHeadPhysics
Рет қаралды 4,7 МЛН
Numerical Integration: Discrete Riemann Integrals and Trapezoid Rule
29:43
Why Does Diffusion Work Better than Auto-Regression?
20:18
Algorithmic Simplicity
Рет қаралды 398 М.
Matrix Systems of Differential Equations
24:58
Steve Brunton
Рет қаралды 80 М.
Maxwell's Equations - The Ultimate Beginner's Guide
32:58
Up and Atom
Рет қаралды 166 М.
Runge-Kutta Methods
4:56
Dr Jon Shiach
Рет қаралды 12 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19