Тёмный
No video :(

Lagrange Interpolation 

Dr. Will Wood
Подписаться 40 тыс.
Просмотров 138 тыс.
50% 1

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

 

22 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 220   
@tombackhouse9121
@tombackhouse9121 2 года назад
Dude you make stuff so clear, watching your videos feel like cheating.
@DrWillWood
@DrWillWood 2 года назад
Thanks a lot! that's exactly what I'm aiming for!
@Peter-bg1ku
@Peter-bg1ku 2 года назад
Great video! Now it all makes sense. When I studied Lagrange polynomials, I only understood enough to work out the interpolation polynomials but never really grasped the intricate details behind them. Your video - like your other video of Pade approximations - has made the whole concept a lot clearer to me. Thank you!
@DrWillWood
@DrWillWood 2 года назад
Awesome, thanks!
@einstien311
@einstien311 2 года назад
I remember developing the interpolation polynomial formula in college for fun. My discrete math professor gave a puzzle to the class to come up with polynomials that for many integer inputs return prime number outputs. I switched the problem a little bit for myself in that I asked "how can I make a polynomial that passes through each of these arbitrary points?" And as I solved this puzzle on my own over the next two weeks I developed this interpolation method on my own and it felt so empowering. I showed it to a few of my other professors and we proved that there is only one line passing through two points, only one parabola passing through three points, only one cubic passing through four points, only one quartic passing though five points, etcetera for all natural numbers of points. Anyway, some of my most enjoyable days of college were solving these puzzles.
@stewartzayat7526
@stewartzayat7526 2 года назад
Remember: when you come up with something new, you can be sure somebody else did it before you :)
@JesperDramsch
@JesperDramsch 8 месяцев назад
I found this video from the Advent of Code 2023, because it needed Lagrange Polynomials to solve one of the problems (without telling you). Maybe you'd enjoy the problems in Advent of Code as well? It's free and open, so could just check it out. One of these year people also found the Chinese Remainder Theorem for example...
@allyourcode
@allyourcode 2 года назад
This can be used to create error correcting codes. The design of such a code is left as an exercise to the reader :P
@justdoityourself7134
@justdoityourself7134 2 года назад
Best comment ever! Really though, it is such a fun journey to figure out error correcting codes. Might I suggest my favorite the Reed Solomon Vandermonde variant as the most challenging IHMO. For a cherry on the cake implement a real finite field of any scalar bit width and don't cheat with dog slow 8 bit toy implementations :). Taught me everything I'll ever want to know about applied mathematics in computer science.
@23_dhimantsinhsolanki9
@23_dhimantsinhsolanki9 9 месяцев назад
I created such codes. Proof is left as exercise for reader :P Not allyourcode
@ricksoslick
@ricksoslick 8 месяцев назад
1 minute in and the visualization already helped more than hours of uni lectures
@whitewalker608
@whitewalker608 Месяц назад
I swear this Lagrange guy is everywhere. Every field of math I'm trying to understand, something Lagrange pops up.
@purungo
@purungo 2 года назад
I love the way you explain things, its so straight forward and intuitive that it makes it feel like it's something I could've come up with. Really good explanations in this video and the Padé approximations, which I had never heard before. Thanks for making great content
@kojonketia9231
@kojonketia9231 2 года назад
Great explaination!. And I got this at the right time for my computational math class.
@kojonketia9231
@kojonketia9231 2 года назад
And please do a video on Error Bounds and Newton's Divided Differences if you can
@DrWillWood
@DrWillWood 2 года назад
Thank you very much! I will be making videos on Newton interpolation and error in polynomial interpolation soon! :-)
@kojonketia9231
@kojonketia9231 2 года назад
@@DrWillWood Alright, Sir
@justdoityourself7134
@justdoityourself7134 2 года назад
I love it when the video drops all the necessary knowledge in the first 30 seconds. Well done.
@AJ-et3vf
@AJ-et3vf 2 года назад
Wow! Awesome explanation! I particularly love how you broke down Lagrange polynomials into the smaller order polynomials that compose it and how those were "guessed" in the first place. Very intuitive explanation. Thank you!
@DrWillWood
@DrWillWood 2 года назад
Thank you very much for the kind words!
@marcozelioli
@marcozelioli 2 года назад
This was perfect. Why can't professors explain like this? Easy to understand with nice graphics for the visual learners + soothing voice that helps you concentrate. Thank you!
@jaminkidd6285
@jaminkidd6285 2 года назад
I can tell this channel will be great for topics related to computational physics. Please keep it up!
@asiimwemmanuel
@asiimwemmanuel 5 дней назад
I've been using this video as a reference for quite a while and just realized it was released on my birthday. Thanks for all the guidance Dr. Wood ❤
@clementp.5984
@clementp.5984 2 года назад
I'm a French student and I have to do researches on Lagrange interpolation theorem. Your video is the only that helped me understand the subject, not a single French video helped me on this.
@Angel-oq5bs
@Angel-oq5bs 3 месяца назад
well, i'm actually dealing with maths in french, and it is my second language, but I swear that no french speaking professor on youtube was able to transmit this idea as smoothly as you did,sir. I appreciate that tysm...
@muess
@muess 2 года назад
This is excellent. I've reviewed my materials and looked at a bunch of others online but this is far and away the best explanation I've found. Thank you!
@DrWillWood
@DrWillWood 2 года назад
thank you very much!
@zoomerb0y752
@zoomerb0y752 4 месяца назад
Been putting of studying these for an upcoming test as they looked really complicated. Thank you so much for this video!
@redroth57
@redroth57 2 года назад
Just found your channel and I really enjoy your videos!
@DrWillWood
@DrWillWood 2 года назад
Thanks a lot!
@OneShotKill3r
@OneShotKill3r 2 года назад
Dr. Will THANK YOU! I'm getting all worked up over the bad explanation of my teacher and book, and I watch the first minute of your video and I get it. You rock!
@DrWillWood
@DrWillWood 2 года назад
That's awesome! thanks a lot!
@kangalio
@kangalio 2 года назад
This is so beautiful One aha moment after the other, effortlessly
@kiat4797
@kiat4797 2 года назад
Best explanation I've ever seen concerning Lagrange polynomials. I can now visualize proofs that use Lagrange interpolation.tysm
@max_kl
@max_kl 2 года назад
Awesome video, got this in my recommendations just as the professor covered in my metrology class
@nikhilsrajan
@nikhilsrajan 2 года назад
omg. two minutes in an i understand what days of a course couldn't .
@vlasnovokhatnii4019
@vlasnovokhatnii4019 2 года назад
Thank you so much! Being able to present math in such a beautiful and crystal clear way is a true art, and you are a true artist!
@DrWillWood
@DrWillWood 2 года назад
Thanks so much. very kind words!
@itaisod
@itaisod Год назад
Thank you! The visual representation really makes it clear how the interpolated polynomial gets the correct values. Also, splitting it into steps rather than just giving us the entire equation all at once!
@jonasdegrave5916
@jonasdegrave5916 2 года назад
This is excellent. You've helped me in Optimal Control Theory :)
@DrWillWood
@DrWillWood 2 года назад
Thank you very much! glad it was useful :-)
@lucassamuel6069
@lucassamuel6069 4 месяца назад
This Lagrange guy is really smart. I see a bright future ahead for him
@waltzofthestars2078
@waltzofthestars2078 2 года назад
Great video. Just connected all the dots in my head. Thank you! I cannot believe that some random guys with far lesser skills in teaching dominate the search results...
@DevonBomer
@DevonBomer Год назад
The graphics were super insightful! You made every nuance of the concept extremely easy to grasp! Thank you.
@restacks8777
@restacks8777 2 года назад
This is the best educational video i've ever seen
@DrWillWood
@DrWillWood 2 года назад
Thank you very much!!
@busycow8334
@busycow8334 6 месяцев назад
Thank you for educating me, Sire. You have my eternal gratitude
@ar3568row
@ar3568row 2 года назад
best way of introducing to lagrange interpolation
@arshawitoelar7675
@arshawitoelar7675 2 года назад
As an 11th grader this video was a trip
@paulmitchell6602
@paulmitchell6602 2 года назад
A music teacher told me that a really good music teacher is always a really good musician.. I wonder how true that is of mathematicians. I took a BA in math at UCSC and only had a couple really good teachers.. Tnx Dr Wood for these very helpful videos.. Almost want to take out my old Burden and Faires and write some code!
@hagengo
@hagengo 2 года назад
*Insert* Obama giving Obama a medal meme :D I agree though these videos are amazing.
@takyc7883
@takyc7883 2 года назад
I feel blessed to have found this RU-vid channel
@doggydoggywho
@doggydoggywho 2 года назад
Students if you are watching this make note that this is the most brilliant explanation of this concept.
@DrWillWood
@DrWillWood 2 года назад
Thank you very much!
@pr3ll351
@pr3ll351 Год назад
Thank you for this! In my math class at Uni, they just sort of wrote up lagrange polynomial interpolation so they could use it for integral approximation. However they told us nothing of where it came from, so this helps a lot!
@tartaric2040
@tartaric2040 2 года назад
I feel lucky to have access to such content
@rodanmuro
@rodanmuro 2 года назад
Well....I'm here only to say "beautiful explanation" and, thank you so much!!
@DrWillWood
@DrWillWood 2 года назад
Thank you!
@conando025
@conando025 2 года назад
Thank you so much! I stumbled upon that when researching Shamir's Secret Sharing Algorithm but at that point the formulas just went straight over my head but this is explained so clear, I love it
@bentationfunkiloglio
@bentationfunkiloglio 2 года назад
Loved the video! Explanation was clear and straightforward. Lagrange interpolation is a wonderfully useful gadget.
@gironic
@gironic 2 года назад
Great material. In comms, we use Lagrange interpolators in control loops doing timing recovery. Typically, we refer to them as Farrow filters. But they are, in essence, just a lagrange polynomial. A matrix multiply derives the coefficients, and then we evaluate the polynomial at the desired sample location. In modern FPGAs, we have resolutions of 1/2^26 evaluation points between samples. They're flexible as resamplers, interpolators or phase shifters for phased antenna arrays. So many great applications.
@gironic
@gironic 2 года назад
Also, in FPGAs, where multiply and accum (MAC) HW is prevalent, the Horner decomposition is really useful. Y = c0 + c1*x + c2*x^2 + c3*x^3 + c4*x^4 Y = c0 + x(c1 + x(c2 + x(c3 + c4*x))) It can be decomposed this way into a series of MACs for which we have fast hardware. If you have enough clocks, you can even get it done reusing 1 MAC (DSP48e2).
@DrWillWood
@DrWillWood 2 года назад
Awesome! thanks for sharing!
@drvanon
@drvanon 2 года назад
I'm really unfamiliar with that topic could you give me some hand holds/ search terms to look this up? I'm really curious about the application of this method.
@gironic
@gironic 2 года назад
@@drvanon Sure. Happy to comment. First, a fantastic reference on the subject is "Digital Signal Processing with Field Programmable Gate Arrays (Fourth Edition)" by Uwe Meyer-Baese. He covers the topic in section 5.6, Arbitrary Sample Rate Converters. Subsection 5.6.2 is Polynomial Fractional Delay Design specifically treats Lagrange Polynomial interpolators. If you're a MATLAB user, Farrow filters are equivalent mathematically to cubic spline interp. But if you have the comms or DSP toolbox (can't remember which), there's a Fractional Rate Converter that is a farrow and will actually give you the matrix of coefficients you need for the matrix mult to derive the polynomial coefficients. In HW, you only have to do one multiply for that matrix, as the other coeffiecients are divisions by powers of 2, so shifts work. So you do one multiply, and then a bunch of shifts and some adds. Then, for evaluating the polynomial, it's a bunch of recursive MACs. There's a bunch of bookeeping to handle. You'll need a phase accumulator that will need to wrap. You can use this for interpolation or decimation. In the decimation case, you'll occasionally need to slip a sample. In the interp case, you'll potentially have multiple polynomial evaluations per sample location.
@gironic
@gironic 2 года назад
One nuance to add is that you can use a lagrange polynomial of arbitrary length. Typically a 3rd or 4th order polynomial is used in comms work, as going beyond that doesn't give much of a return on investment. Uwe-Meyer mentions that in some audio work in SW processing, they've used polynomials of very high order. I'm not sure what the motivation is. But with a 3rd or 4th order polynomial, it's still very efficient in HW. If you're working in something like a Zynq Ultrascale+, and are running at 350 MHz for your sysclk, and have a signal in the 30 MSPS range, this is VERY realizable with 1 DSP for real and 1 DSP for imag. (I think I use a third DSP for my phase accumulator so I can hit a good fmax). I do a lot of OFDM work. Typically, when I'm running my timing control loops, I'll measure the accumulated phase angle of the channel estimates and run that into a PID which is then driving the Farrow Filter resample rate. Driving the error to zero essentially locks you "on-baud" in the OFDM sense that you're triggering your FFTs precisely on the instant that you need to. That helps in tracking the signal timing drift, but it also means your equalizer doesn't have to work very hard... i.e. the sinusoid in the frequency domain on your channel estimate isn't there, and you have more significant bits for equalizer precision. It's worth the effort. It translates to multiple dB SNR improvement on the recovered constellation.
@robertwalkley4665
@robertwalkley4665 2 года назад
This was an excellent, clear and succinct explanatory video, thank you!
@Namerson
@Namerson 2 года назад
I'm a chemist, and have no idea what a Legendre transformation is - any chance you could do a video on them?
@davidmurphy563
@davidmurphy563 2 года назад
Ugh, I just used Lagrange interp to make a camera fly about between points so 5 minutes ago, if I was asked if I understood it I'd have said nodded my head and said "pretty decent understanding". After this video I'm revising my self-appraisal to "I'm effectively clueless".
@f1uc1k1y1o1u
@f1uc1k1y1o1u Год назад
Unreal or Unity?
@brianyeh2695
@brianyeh2695 3 месяца назад
Very clear! Thank you!
@user-ih2mt6ge7x
@user-ih2mt6ge7x 5 месяцев назад
what a brilliant video mate, saving my degree haha keep it up
@ananditatiwari21
@ananditatiwari21 Год назад
broooooooooooo this was freakin genius
@nitsanbh
@nitsanbh 2 года назад
Superb video. Great explanation. Covers everything, without any bs. Thank you
@triton62674
@triton62674 2 года назад
Wonderful, thanks for the clear and concise video
@liqs_xd
@liqs_xd Год назад
Great video, thanks helped me understand the concept.
@fakestory1753
@fakestory1753 2 года назад
You make this so easy to understand.
@mattiafiore7568
@mattiafiore7568 Год назад
this video is perfection
@estebancanizales3303
@estebancanizales3303 Год назад
BEAUTIFUL THANK YOU SO MUCH
@AntonioLasoGonzalez
@AntonioLasoGonzalez Год назад
Very good explanation!
@BetaChri5
@BetaChri5 Год назад
Thank you, very good explanation! :)
@samuelmcdonagh1590
@samuelmcdonagh1590 2 года назад
good video. liked the music. concise.
@ziningwang1807
@ziningwang1807 2 года назад
Wonderful illustration! Thank you!
@knaz7468
@knaz7468 2 года назад
This really cleared things up for me. Thanks!
@Unknownfor13
@Unknownfor13 4 месяца назад
Very well explained
@joaofrancisco8864
@joaofrancisco8864 2 года назад
Really well explained!
@DrWillWood
@DrWillWood 2 года назад
Thanks!
@tidaimon2149
@tidaimon2149 Год назад
Thank you for your video!
@osamaelatfi2583
@osamaelatfi2583 Год назад
Fantastic explanation
@janurek3050
@janurek3050 2 года назад
you don't know how this material was unnecessarily made complicated in your classes in university. I'm amazed how clearly and simply you explain what others couldn't. Thanks a lot
@hongminh4963
@hongminh4963 2 года назад
It brings back memories of my glorious days that I used this thing to predict pattern of the prime numbers. No matter how hard I tried, everything just failed successfully.
@f1uc1k1y1o1u
@f1uc1k1y1o1u Год назад
Prime generating curve?
@coltonbourque693
@coltonbourque693 Год назад
Wow, really well explained! Thanks
@abbasramees4238
@abbasramees4238 Год назад
I wish I had been taught like this. Till now I have no idea how it worked.
@clorox6447
@clorox6447 2 года назад
great and clean video!
@DrWillWood
@DrWillWood 2 года назад
Thanks!
@EngMostafaEssam
@EngMostafaEssam 2 года назад
Thanks a lot ❤ Please can you make a video teaching us how we can draw and animate graphs like the animation in this video?
@surabhi6576
@surabhi6576 Год назад
Amazing video! Thank you for this.
@nalayak862
@nalayak862 Год назад
wow dude , understanding some thing so thoroughly , doesn't require you to actively memorise facts/ formulaes - i can feel the equations now
@sultandaniels1732
@sultandaniels1732 2 года назад
absolutely beautiful video
@DrWillWood
@DrWillWood 2 года назад
Thanks a lot! appreciate the kind words
@everydaySupremacey
@everydaySupremacey 2 года назад
Wonderfully explained!
@timothymattnew
@timothymattnew 2 года назад
Wow, this is sweet!
@adrianv.v.4445
@adrianv.v.4445 2 года назад
How didnt I find this channel earlier? Amazing content
@DrWillWood
@DrWillWood 2 года назад
Thank you!
@linguamathematica2582
@linguamathematica2582 2 года назад
Fantastic explanation, thank you!
@rcangelosi
@rcangelosi 10 месяцев назад
Very nice explanation.
@maestro_100
@maestro_100 10 месяцев назад
Thank You Soooo Much Sir!
@matematicaspanish8301
@matematicaspanish8301 2 года назад
Loved it!
@lukasbalmer9137
@lukasbalmer9137 Месяц назад
what a great video!
@christianchavez2202
@christianchavez2202 2 года назад
This is great!
@nadew.02
@nadew.02 8 месяцев назад
Thank you so much.
@epic8648
@epic8648 2 года назад
Amazing video!
@overcomplete
@overcomplete 2 года назад
very cool, would have loved to have seen an example at the end where the polynomial is of lower order than the number of points
@parthivreddy7989
@parthivreddy7989 2 года назад
beautifully explained
@DrWillWood
@DrWillWood 2 года назад
thank you!
@ianprado1488
@ianprado1488 2 года назад
Bro, your videos are amazing
@DrWillWood
@DrWillWood 2 года назад
Thanks a lot!
@jaimeduncan6167
@jaimeduncan6167 Год назад
A very important point is that the interpolation formula (another polynomial) can be doing something totally different than the function outside the selected points, even between the selected points.
@carlosrodriguezronchel2031
@carlosrodriguezronchel2031 Год назад
Outstanding
@maverick292
@maverick292 10 месяцев назад
Great video! ty
@ohboy1113
@ohboy1113 2 года назад
This is an awesome video
@RazgrizDuTTA
@RazgrizDuTTA 2 года назад
Great video! Thanks! I would love a video about Hermite polynomials :)
@jeffreykalb9752
@jeffreykalb9752 2 года назад
You said you were going to "use" the Lagrange interpolation, but then you just went on with further proof.
@drevoksi
@drevoksi 3 месяца назад
I think the sub-title was "Using Lagrange polynomials" - to construct the Lagrange interpolation?
@weetabixharry
@weetabixharry 2 года назад
Is this method unsuitable if there's any noise in the original observation of the "nodes"? If this method guarantees the lowest order polynomial, then I guess it could give a polynomial of order 1 million that *exactly* fits the nodes, instead of a very low order polynomial that *almost* fits the nodes.
@drvanon
@drvanon 2 года назад
My background is in physics and this is exactly what I was wondering too! My thought was that it introduces a new variable for each data point, which practically never works with "real life data". Im curious if that means this is not suited for fitting then, or if it can be modified to be more suitable. If the former, what are then the practical uses of this?
@f1uc1k1y1o1u
@f1uc1k1y1o1u Год назад
The higher the order of the polynomials, the more that noise yields vastly different results. It gets more unstable as you add more points. The polynomial will still always fit the intended points, but the interpolating polynomials become wildly different for more and more points. If approximations robust to noise are what you need, you can try other interpolation methods, like fourier
@yangli3932
@yangli3932 Год назад
It is a remarkable proof.
@Ron_Shvartsman
@Ron_Shvartsman 2 года назад
Excellent video!!
@qasimsaeed5630
@qasimsaeed5630 2 года назад
Great Video
@nomthethomaseko1833
@nomthethomaseko1833 10 месяцев назад
Thank you
@paulkolodner2445
@paulkolodner2445 2 года назад
And this technique can be used to interpolate functions of more than one variable.
@justdoityourself7134
@justdoityourself7134 2 года назад
Yes! Of any variable count, and in any configuration you can imagine ( Degree of each variable ). As long as you don't run out of data points. I like to think of it as a fractal reduction of functions.
@pendalink
@pendalink 2 года назад
fantastic, thank you!
@ayushagrawal8198
@ayushagrawal8198 2 года назад
Great video!! bumped in accidently but found a gem. Also, which software are you using for these amazing animations?
Далее
The Vandermonde Matrix and Polynomial Interpolation
9:46
Padé Approximants
6:49
Просмотров 437 тыс.
Мама приболела😂@kak__oska
00:16
Просмотров 655 тыс.
Never Troll Shelly🫡 | Brawl Stars
00:10
Просмотров 1,4 млн
The Boundary of Computation
12:59
Просмотров 1 млн
Interpolation in 5 minutes
5:31
Просмотров 17 тыс.
Newton Interpolation and Divided Differences
14:03
Просмотров 34 тыс.
Superpermutations: the maths problem solved by 4chan
20:31
Why do calculators get this wrong? (We don't know!)
12:19
I Made A Water Computer And It Actually Works
16:30
Lagrange Interpolation
20:44
Просмотров 30 тыс.
Dirichlet Invented this Function to Prove a Point
4:57
Lagrange Interpolating Polynomial - Easy Method
8:11
Просмотров 278 тыс.
Interpolation - Lagrange Polynomials
15:39
Просмотров 61 тыс.
Мама приболела😂@kak__oska
00:16
Просмотров 655 тыс.